Function at 0x4364a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
mov edx, dword [ebp + 0x28]
mov ecx, dword [ebp + 0x14]
push ebx
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0x1c]
push edi
mov edi, dword [ebp + 0x18]
push edx
mov edx, dword [ebp + 0x20]
push edx
push esi
push edi
push ecx
mov dword [esp + 0x5c], eax
push eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x64], ecx
mov ecx, dword [ebp + 8]
xor ebx, ebx
push eax
push ecx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x50], ebx
call fcn.00435fd0
add esp, 0x20
test eax, eax
jne 0x4364f3
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x20]
mov ecx, dword [edi]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov eax, dword [edx]
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x38], 0
lea edx, [ecx + eax*8]
mov ecx, dword [esi]
add eax, ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 8]
mov esi, dword [ecx + 0x14]
mov dword [esp + 0x28], edx
mov edi, dword [eax + 0x14]
mov dword [esp + 0x3c], 0
mov al, byte [edi + 1]
test al, 2
jne 0x4366fb
test al, 8
je 0x4366fb
mov al, byte [esi + 1]
test al, 2
jne 0x4366ef
test al, 8
je 0x4366ef
push esi
push edi
call fcn.0042e4b0
add esp, 8
test eax, eax
je 0x436580
mov dl, byte [edi]
and dl, 0xf3
or dl, 2
mov byte [edi], dl
jmp 0x4366ef
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
test byte [edi], 0xe
jne 0x4366ef
mov eax, dword [esi + 0x28]
mov ecx, dword [edi + 0x28]
lea edx, [esp + 0x24]
push edx
lea edx, [esp + 0x24]
push edx
lea edx, [eax + 8]
push edx
push eax
lea eax, [ecx + 8]
push eax
push ecx
call fcn.00436990
add esp, 0x18
test eax, eax
je 0x4366ef
cmp dword [esp + 0x20], ebx
je 0x43668f
cmp dword [esp + 0x24], ebx
je 0x436628
mov eax, dword [esi + 0x28]
push ebx
lea ecx, [esp + 0x30]
push ebx
lea edx, [esp + 0x18]
push ecx
push edx
lea ecx, [esp + 0x48]
push eax
lea edx, [esp + 0x54]
push ecx
push edx
push esi
push edi
call fcn.00433320
mov edx, dword [esi + 0x28]
mov edi, dword [esp + 0x34]
push ebx
lea eax, [esp + 0x54]
push ebx
lea ecx, [esp + 0x3c]
push eax
add edx, 8
push ecx
lea eax, [esp + 0x6c]
push edx
lea ecx, [esp + 0x78]
push eax
push ecx
push esi
push edi
call fcn.00433320
mov edx, dword [esp + 0x58]
add esp, 0x48
mov eax, dword [edx + 0x54]
mov cl, byte [eax]
and cl, 0xf3
or cl, 2
mov byte [eax], cl
cmp dword [esp + 0x20], ebx
je 0x43668f
cmp dword [esp + 0x24], ebx
jne 0x436689
mov ecx, dword [esi + 0x28]
push ebx
lea edx, [esp + 0x30]
push ebx
lea eax, [esp + 0x18]
push edx
push eax
lea edx, [esp + 0x48]
push ecx
lea eax, [esp + 0x54]
push edx
push eax
push esi
push edi
call fcn.00433320
mov edi, dword [esp + 0x34]
mov eax, dword [esi + 0x28]
add esp, 0x24
mov ecx, dword [edi + 0x28]
mov edx, dword [ecx]
cmp edx, dword [eax]
jne 0x436681
mov ecx, dword [ecx + 4]
mov edx, dword [eax + 4]
cmp ecx, edx
jne 0x436681
mov eax, dword [edi + 0x54]
mov dl, byte [eax]
and dl, 0xf3
or dl, 2
mov byte [eax], dl
jmp 0x436689
mov al, byte [edi]
and al, 0xf3
or al, 2
mov byte [edi], al
cmp dword [esp + 0x20], ebx
jne 0x4366ef
cmp dword [esp + 0x24], ebx
je 0x4366ef
mov eax, dword [esi + 0x28]
push ebx
lea ecx, [esp + 0x30]
push ebx
lea edx, [esp + 0x18]
push ecx
add eax, 8
push edx
lea ecx, [esp + 0x48]
push eax
lea edx, [esp + 0x54]
push ecx
push edx
push esi
push edi
call fcn.00433320
mov edi, dword [esp + 0x34]
mov eax, dword [esi + 0x28]
add esp, 0x24
mov ecx, dword [edi + 0x28]
mov edx, dword [ecx]
cmp edx, dword [eax]
jne 0x4366e2
mov ecx, dword [ecx + 4]
mov edx, dword [eax + 4]
cmp ecx, edx
jne 0x4366e2
mov dl, byte [edi]
and dl, 0xf3
or dl, 2
mov byte [edi], dl
jmp 0x4366ef
mov eax, dword [edi + 0x54]
mov cl, byte [eax]
and cl, 0xf3
or cl, 2
mov byte [eax], cl
mov esi, dword [esi + 0x54]
test byte [esi], 1
je 0x436550
mov edi, dword [edi + 0x54]
test byte [edi], 1
je 0x43653d
jmp 0x43670b
xor ebx, ebx
mov edx, dword [ebp + 0x20]
mov eax, dword [edx]
mov edx, dword [ebp + 8]
mov dword [esp + 0x20], eax
mov al, byte [edx + 0x10]
mov ecx, dword [edx + 0x14]
test al, 9
jne 0x436835
mov al, byte [ecx]
test al, 0xe
jne 0x436731
test byte [ecx + 1], 2
je 0x436740
mov ecx, dword [ecx + 0x54]
mov al, byte [ecx]
test al, 1
jne 0x436835
jmp 0x436727
mov dword [esp + 0x1c], ebx
mov dl, byte [ecx]
shr edx, 4
and edx, 3
mov dword [esp + 0x18], ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x34], ebx
mov eax, dword [ecx + 0x28]
mov dword [esp + 0x2c], ecx
test ecx, ecx
mov edi, dword [eax]
mov ebx, dword [eax + 4]
je 0x4368be
mov dl, byte [ecx]
and dl, 0xe
cmp dl, 8
ja 0x4368be
mov esi, dword [ebp + 0x20]
mov eax, dword [ebp + 0x28]
mov edx, dword [esi]
add edx, 0xa
cmp edx, dword [eax]
jle 0x4367a8
mov ecx, dword [ebp + 0x18]
push 0xffffffffffffffff
push eax
mov eax, dword [ebp + 0x1c]
push eax
push ecx
call fcn.00431510
add esp, 0x10
test eax, eax
je 0x4364ea
mov ecx, dword [esp + 0x18]
mov edx, dword [ebp + 0x18]
mov eax, dword [esi]
mov edx, dword [edx]
lea esi, [edx + eax*8]
mov edx, dword [ebp + 0x1c]
add eax, dword [edx]
mov edx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x20]
push edx
mov edx, dword [ebp + 0x20]
push edx
push eax
push esi
push ecx
mov dword [esp + 0x2c], eax
call fcn.00435c70
mov ecx, dword [esp + 0x2c]
lea esi, [esi + eax*8]
add ecx, eax
add esp, 0x18
mov eax, dword [esi]
mov dword [esp + 0x28], esi
cmp eax, edi
mov dword [esp + 0x14], ecx
jne 0x4367f4
cmp dword [esi + 4], ebx
je 0x4368c2
mov eax, dword [esp + 0x18]
mov edx, dword [ebp + 8]
push ebx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x28], eax
push edi
push ecx
lea eax, [esp + 0x40]
push edx
lea ecx, [esp + 0x2c]
push eax
lea edx, [esp + 0x2c]
push ecx
push edx
call fcn.0042f6a0
mov ecx, dword [esp + 0x38]
add esp, 0x1c
test ecx, ecx
jne 0x43689e
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
xor edx, edx
cmp dword [esi + 0x54], ecx
jmp 0x4368ab
cmp dword [ebp + 0x24], ebx
jne 0x436964
cmp dword [ebp + 0x10], ebx
jne 0x43684d
cmp dword [ebp + 0x14], 1
je 0x436964
mov eax, dword [ebp + 0xc]
test byte [eax + 0x10], 9
jne 0x43696f
mov ecx, dword [eax + 0x14]
mov esi, dword [esp + 0x4c]
test byte [ecx + 1], 2
jne 0x43687b
mov al, byte [ecx]
mov dl, al
shr edx, 4
and edx, 3
cmp edx, esi
je 0x436889
and al, 0x30
cmp al, 0x20
je 0x436889
mov ecx, dword [ecx + 0x54]
test byte [ecx], 1
jne 0x436969
jmp 0x436861
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x34], 1
jmp 0x436758
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
xor edx, edx
cmp dword [esi + 0x50], ecx
setne dl
test eax, eax
mov dword [esp + 0x30], edx
je 0x4368be
test ecx, ecx
jne 0x43676c
mov esi, dword [esp + 0x28]
mov ecx, dword [ebp + 0x1c]
mov edx, dword [esp + 0x20]
mov eax, dword [ecx]
add eax, edx
mov bl, byte [eax]
and bl, 0x3f
mov byte [eax], bl
mov eax, dword [ebp + 0x18]
mov edi, dword [esi]
mov eax, dword [eax]
mov ebx, dword [eax + edx*8]
lea eax, [eax + edx*8]
cmp edi, ebx
jne 0x436901
mov edi, dword [esi + 4]
mov ebx, dword [eax + 4]
cmp edi, ebx
jne 0x436901
mov eax, dword [esp + 0x14]
mov bl, byte [eax]
or bl, 8
mov byte [eax], bl
mov eax, dword [ecx]
add eax, edx
or byte [eax], 8
mov eax, dword [ebp + 0x20]
mov ebx, dword [esp + 0x14]
add esi, 8
mov edi, dword [eax]
mov dword [esp + 0x28], esi
inc edi
inc ebx
mov dword [eax], edi
mov eax, dword [esp + 0x1c]
test eax, eax
mov dword [esp + 0x14], ebx
jne 0x436933
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x2c]
cmp dword [eax + 0x54], esi
jne 0x436947
jmp 0x436709
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
cmp dword [ecx + 0x50], eax
je 0x436709
mov ecx, dword [ebp + 0x1c]
mov eax, dword [esp + 0x14]
mov bl, byte [eax]
and bl, 0xcf
mov byte [eax], bl
mov ecx, dword [ecx]
lea eax, [ecx + edx]
mov cl, byte [ecx + edx]
and cl, 0xcf
mov byte [eax], cl
jmp 0x436709
mov eax, dword [ebp + 0xc]
jmp 0x43696f
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov cl, byte [eax + 0x10]
pop edi
or cl, 1
pop esi
mov byte [eax + 0x10], cl
mov al, byte [edx + 0x10]
or al, 1
pop ebx
mov byte [edx + 0x10], al
mov eax, 1
mov esp, ebp
pop ebp
ret