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

Disassembly:
sub esp, 0xc8
push ebx
push ebp
push esi
mov esi, dword [esp + 0xd8]
mov eax, dword [esi + 4]
xor ebp, ebp
cmp eax, ebp
mov ebx, ecx
mov ecx, dword [esi + 0x10]
push edi
mov dword [esp + 0x68], 0x18
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x78], ecx
je 0x439790
mov dword [esp + 0x6c], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x74], eax
mov dword [esp + 0x70], ebp
jmp 0x4397a2
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x74], edx
mov dword [esp + 0x70], eax
lea ecx, [esp + 0x98]
call fcn.00430400
lea edx, [esp + 0x20]
push 4
push edx
call fcn.0041a4a0
add esp, 8
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x70]
push edx
mov ecx, ebx
call fcn.004375f0
mov eax, dword [esp + 0xb8]
cmp eax, ebp
jne 0x43987d
mov edi, dword [esp + 0xb0]
cmp edi, ebp
je 0x4397f8
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push edi
call ecx
mov edx, dword [edi]
mov eax, dword [edx + 0x58]
mov ecx, edi
call eax
test eax, eax
je 0x43980c
mov edx, dword [edi]
mov eax, dword [edx + 0x60]
jmp 0x439816
cmp dword [ebx], 1
jne 0x439845
mov edx, dword [edi]
mov eax, dword [edx + 0x6c]
mov esi, dword [esp + 0xe0]
mov ecx, edi
push esi
call eax
cmp esi, ebp
je 0x439d26
cmp dword [esp + 0xe4], ebp
je 0x439d26
mov edx, dword [edi]
mov eax, dword [edx + 0x70]
mov ecx, edi
call eax
jmp 0x439d26
cmp dword [esp + 0xe0], ebp
je 0x439868
mov ecx, dword [0x100ee438]
mov eax, dword [ecx + 0x160]
lea edx, [esp + 0x68]
push edx
call eax
mov esi, eax
jmp 0x439d28
mov eax, dword [0x100ee438]
mov eax, dword [eax + 0x160]
push esi
call eax
mov esi, eax
jmp 0x439d28
cmp eax, 2
jne 0x439cf9
mov edi, dword [esp + 0xb4]
cmp edi, ebp
mov dword [esp + 0x34], edi
je 0x43989d
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push edi
call ecx
mov edx, dword [edi]
mov eax, dword [edx + 0x58]
mov ecx, edi
call eax
test eax, eax
je 0x4398ca
lea ecx, [esp + 0x98]
call fcn.0042f320
mov esi, eax
neg esi
sbb esi, esi
and esi, 6
add esi, 0xc0000034
jmp 0x439d28
cmp dword [ebx], 1
jne 0x439868
mov ecx, dword [esp + 0xc8]
lea edx, [esp + 0x1c]
push 4
push edx
mov dword [esp + 0x38], ecx
call fcn.0041a4a0
lea eax, [esp + 0x20]
push 4
push eax
call fcn.0041a4a0
mov ecx, dword [edi]
mov edx, dword [ecx + 4]
add esp, 0x10
push edi
mov dword [esp + 0x14], edi
call edx
push 0x200
mov esi, 0xff
push ebp
mov dword [esp + 0x6c], esi
call fcn.0041a5a0
mov ebx, eax
push 0x200
push ebp
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebp
mov word [ebx], bp
mov dword [esp + 0x68], esi
call fcn.0041a5a0
mov esi, eax
add esp, 0x10
cmp dword [esp + 0x30], ebp
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], ebp
mov word [esi], bp
je 0x439bfb
jmp 0x439950
mov eax, dword [edi]
mov edx, dword [eax + 0x74]
mov ecx, edi
call edx
test al, 0x10
je 0x439c6f
mov eax, dword [edi]
mov edx, dword [eax + 0x1c]
lea ecx, [esp + 0x38]
push ecx
mov ecx, edi
call edx
mov eax, dword [esp + 0x3c]
cmp eax, ebp
je 0x439991
mov ecx, dword [esp + 0x38]
cmp word [ecx + eax*2 - 2], 0x5c
je 0x439991
push 0x1005b86c
lea ecx, [esp + 0x3c]
call fcn.0041cc40
mov esi, dword [esp + 0x30]
push esi
lea ecx, [esp + 0x3c]
call fcn.0041cc40
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x10]
push edx
push eax
call fcn.00430490
mov ebx, dword [esp + 0x18]
add esp, 8
cmp ebx, 0xffffffff
je 0x439ccf
push 0x200
push ebp
mov dword [esp + 0x54], 0xff
call fcn.0041a5a0
push 0x200
push ebp
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ebp
mov word [eax], bp
mov dword [esp + 0x3c], 0xff
call fcn.0041a5a0
mov word [eax], bp
mov edx, dword [edi]
mov edx, dword [edx + 0x1c]
mov dword [esp + 0x34], eax
add esp, 0x10
lea eax, [esp + 0x8c]
push eax
mov ecx, edi
mov dword [esp + 0x2c], ebp
call edx
mov eax, dword [eax]
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x48]
push edx
push esi
push eax
call fcn.0042fe30
mov eax, dword [esp + 0x9c]
add esp, 0x10
cmp eax, ebp
je 0x439a4d
push eax
call fcn.0041a630
add esp, 4
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x90], ebp
mov dword [esp + 0x94], ebp
mov esi, dword [esp + 0x28]
mov edx, dword [edi]
mov edx, dword [edx + 0x1c]
neg esi
lea eax, [esp + 0x80]
sbb esi, esi
and esi, dword [esp + 0x24]
push eax
mov ecx, edi
call edx
mov eax, dword [eax]
push ebp
push ebp
push ebp
shr ebx, 3
and ebx, 2
push ebx
push esi
mov esi, dword [esp + 0x58]
push esi
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.00462600
mov eax, dword [esp + 0xa0]
add esp, 0x20
cmp eax, ebp
je 0x439ab3
push eax
call fcn.0041a630
add esp, 4
mov dword [esp + 0x80], ebp
mov dword [esp + 0x84], ebp
mov dword [esp + 0x88], ebp
cmp dword [esp + 0x1c], ebp
mov eax, dword [esp + 0x14]
jne 0x439ae7
cmp eax, ebp
mov dword [esp + 0x1c], eax
je 0x439acd
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
push esi
lea ecx, [esp + 0x60]
call fcn.004190e0
mov ecx, dword [esp + 0x24]
push ecx
lea ecx, [esp + 0x54]
call fcn.004190e0
jmp 0x439af7
mov ecx, dword [esp + 0x24]
mov edx, dword [edi]
mov edx, dword [edx + 0x54]
push eax
push ecx
push esi
mov ecx, edi
call edx
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
mov esi, dword [esp + 0x14]
cmp esi, ebp
mov edi, esi
je 0x439b15
mov edx, dword [esi]
mov eax, dword [edx + 4]
push esi
call eax
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x439b29
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov esi, dword [esp + 0x14]
cmp edi, ebp
mov dword [esp + 0x18], edi
je 0x439b3d
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push edi
call ecx
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0xa0]
cmp edx, dword [esp + 0xa4]
jb 0x439b51
xor ebx, ebx
jmp 0x439b78
xor ecx, ecx
cmp word [edx], bp
mov eax, edx
je 0x439b6b
lea ebx, [ebx]
add eax, 2
add ecx, 1
cmp word [eax], bp
jne 0x439b60
lea eax, [edx + ecx*2 + 2]
mov dword [esp + 0xa0], eax
mov ebx, edx
cmp esi, ebp
mov dword [esp + 0x30], ebx
je 0x439b8c
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
call edx
mov dword [esp + 0x14], ebp
mov eax, dword [esp + 0x24]
cmp eax, ebp
je 0x439ba9
push eax
call fcn.0041a630
add esp, 4
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov eax, dword [esp + 0x44]
cmp eax, ebp
je 0x439bc6
push eax
call fcn.0041a630
add esp, 4
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
mov eax, dword [esp + 0x38]
cmp eax, ebp
je 0x439be3
push eax
call fcn.0041a630
add esp, 4
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
cmp ebx, ebp
jne 0x439950
mov ebx, dword [esp + 0x5c]
mov esi, dword [esp + 0x50]
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov edx, dword [esp + 0xe0]
mov eax, dword [eax + 0x6c]
push edx
call eax
mov eax, dword [esp + 0x1c]
mov edx, dword [edi]
mov edx, dword [edx + 0x54]
push eax
push esi
push ebx
mov ecx, edi
call edx
xor esi, esi
cmp dword [esp + 0xe0], ebp
je 0x439c3d
cmp dword [esp + 0xe4], ebp
je 0x439c3d
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov edx, dword [eax + 0x70]
call edx
lea ecx, [esp + 0x50]
call fcn.00419210
lea ecx, [esp + 0x5c]
call fcn.00419210
lea ecx, [esp + 0x10]
call fcn.004190c0
lea ecx, [esp + 0x18]
call fcn.004190c0
lea ecx, [esp + 0x1c]
call fcn.004190c0
jmp 0x439d28
lea ecx, [esp + 0x98]
mov dword [esp + 0x10], edi
call fcn.0042f320
mov esi, eax
neg esi
sbb esi, esi
and esi, 6
add esi, 0xc0000034
lea ecx, [esp + 0x50]
call fcn.00419210
lea ecx, [esp + 0x5c]
call fcn.00419210
lea ecx, [esp + 0x10]
call fcn.004190c0
lea ecx, [esp + 0x18]
call fcn.004190c0
lea ecx, [esp + 0x1c]
call fcn.004190c0
lea ecx, [esp + 0x34]
call fcn.004190c0
lea ecx, [esp + 0x20]
call fcn.004190c0
jmp 0x439d44
lea ecx, [esp + 0x98]
mov dword [esp + 0x10], edi
call fcn.0042f320
mov esi, eax
neg esi
sbb esi, esi
and esi, 6
lea ecx, [esp + 0x38]
add esi, 0xc0000034
call fcn.00419210
jmp 0x439c8e
cmp dword [esp + 0xe0], ebp
je 0x439d09
mov esi, 0xc0000034
jmp 0x439d30
mov edi, dword [esp + 0xb0]
cmp edi, ebp
je 0x439d1c
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push edi
call ecx
mov edx, dword [edi]
mov eax, dword [edx + 0x6c]
push ebp
mov ecx, edi
call eax
xor esi, esi
mov ecx, dword [edi]
mov edx, dword [ecx + 8]
push edi
call edx
mov eax, dword [esp + 0x20]
cmp eax, ebp
je 0x439d44
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x20], ebp
lea ecx, [esp + 0x98]
call fcn.0042f9c0
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0xc8
ret 0xc