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

Disassembly:
sub esp, 0x24
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov esi, dword [esp + 0x30]
push edi
mov dword [esp + 0xc], 0
mov dword [esp + 0x18], 0
mov eax, dword [esi + 0x928]
lea ecx, [eax + eax*2]
mov eax, dword [ebp + 0x1c]
lea edi, [eax + ecx*4]
mov eax, dword [ebp + 0x20]
mov ecx, dword [edi]
mov dword [esp + 0x2c], edi
lea eax, [eax + ecx*4]
movzx ecx, byte [edi + 0xa]
xor edi, edi
mov dword [esp + 0x38], eax
mov dword [esp + 0x10], ecx
mov dword [esi + 0xb8], 0
test ecx, ecx
je 0x43a068
push ebx
nop word [eax + eax]
mov eax, dword [eax + edi*4]
mov edx, eax
mov dword [esp + 0x24], eax
movzx ebx, ax
mov eax, dword [ebp + 0x10]
shr edx, 0x18
mov dword [esp + 0x38], edx
lea eax, [eax + ebx*8]
mov dword [esp + 0x18], eax
mov eax, ebx
and eax, 0x1f
mov dword [esp + 0x20], eax
mov eax, 1
mov ecx, dword [esp + 0x20]
shl eax, cl
test dword [esp + 0x10], eax
je 0x43992f
xor ecx, ecx
test edi, edi
je 0x43992f
nop dword [eax]
mov eax, dword [esp + 0x3c]
mov edx, dword [eax + ecx*4]
movzx eax, dx
cmp eax, ebx
je 0x439915
inc ecx
cmp ecx, edi
jb 0x439900
jmp 0x43992b
shr edx, 0x18
mov ecx, dword [esi + edx*4 + 0x210]
and ecx, 0xffecffff
jne 0x4399cb
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
bts ecx, eax
mov dword [esp + 0x10], ecx
cmp ebx, 0x8000
jae 0x43995d
push dword [esp + 0x18]
push esi
call fcn.0043a700
add esp, 8
jmp 0x4399c9
mov ecx, dword [esp + 0x18]
movzx eax, word [ecx + 6]
and eax, 0xffffff80
cmp eax, 0x80
jne 0x43997b
mov dword [esp + 0x1c], 1
mov ecx, edx
jmp 0x4399cf
cmp byte [ecx + 5], 0x47
mov ebx, 0x21
mov al, byte [ecx + 4]
jne 0x439993
movzx ebx, word [ecx + 2]
and ebx, 0x10
or ebx, 0x21
and al, 0x1f
mov word [esi + 0x78], dx
movzx eax, al
mov ecx, 0x4700
or ax, cx
mov word [esi + 0x7c], ax
mov eax, ebx
or eax, 0x40
test dword [esp + 0x24], 0x100000
movzx ecx, ax
movzx eax, bx
cmove ecx, eax
mov word [esi + 0x7a], cx
mov ecx, esi
call fcn.00451d80
mov ecx, eax
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x24]
mov eax, ebx
and eax, 0x130000
or eax, ecx
mov dword [esi + edx*4 + 0x210], eax
test ebx, 0x30000
je 0x4399f6
test edx, edx
je 0x4399f6
mov eax, 1
jmp 0x4399f8
xor eax, eax
add dword [esi + 0xb8], eax
test ebx, 0x10000
je 0x439a0c
lea eax, [edx + 1]
mov dword [esi + 0x70], eax
mov eax, dword [esp + 0x3c]
inc edi
cmp edi, dword [esp + 0x14]
jb 0x4398c0
cmp dword [esp + 0x1c], 0
je 0x43a067
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x1c], 0
movzx ecx, word [eax + 4]
mov eax, dword [ebp + 0x10]
lea eax, [eax + ecx*8]
xor ecx, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x38], ecx
nop word [eax + eax]
mov edi, dword [edx + ecx*4]
mov eax, dword [ebp + 0x10]
movzx ecx, di
cmp byte [eax + ecx*8 + 6], 0xfd
lea ebx, [eax + ecx*8]
mov dword [esp + 0x2c], ecx
jne 0x439c00
shr edi, 0x18
cmp dword [esi + edi*4 + 0x210], edi
jne 0x439c3b
movzx eax, word [ebx]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x1c], 1
cmp eax, dword [ebp + 0x14]
jb 0x439aa4
push eax
push edi
push dword [esp + 0x1c]
push edx
push ebp
push esi
call fcn.0043a5d0
mov edx, dword [esp + 0x54]
add esp, 0x18
movzx eax, word [ebx + 2]
cmp eax, dword [ebp + 0x14]
jb 0x439abe
push eax
push edi
push dword [esp + 0x1c]
push edx
push ebp
push esi
call fcn.0043a5d0
add esp, 0x18
cmp byte [ebx + 5], 0x54
jne 0x439af9
mov eax, dword [esp + 0x2c]
inc eax
cmp eax, dword [ebp + 8]
jae 0x439c37
cmp byte [ebx + 0xd], 0x10
jne 0x439c37
movzx eax, word [ebx + 0xa]
push eax
push edi
push dword [esp + 0x1c]
push dword [esp + 0x48]
push ebp
push esi
call fcn.0043a5d0
add esp, 0x18
jmp 0x439c37
mov edx, dword [esp + 0x18]
lea edi, [ebx + 8]
cmp edi, edx
jae 0x439c37
nop dword [eax + eax]
cmp byte [edi + 6], 0xfe
jne 0x439bbb
mov al, byte [edi + 7]
cmp al, 0xff
je 0x439b2d
movzx eax, al
xor ecx, ecx
lea eax, [ebx + eax*8]
cmp eax, edi
jmp 0x439b6f
mov al, byte [edi + 5]
cmp al, 0x4a
je 0x439b44
cmp al, 0x4b
je 0x439b44
cmp al, 0x4d
je 0x439b44
cmp al, 0x4e
je 0x439b44
xor ecx, ecx
jmp 0x439b72
mov ecx, dword [ebp + 0x10]
movzx eax, word [edi]
mov dl, byte [ecx + eax*8 + 5]
lea eax, [ecx + eax*8]
cmp dl, 0x38
je 0x439b5b
cmp dl, 0x39
jne 0x439b61
movzx eax, word [eax]
lea eax, [ecx + eax*8]
movzx eax, word [eax]
mov edx, dword [esp + 0x18]
lea eax, [ecx + eax*8]
xor ecx, ecx
cmp eax, ebx
sete cl
test ecx, ecx
je 0x439bbb
movzx eax, word [edi + 2]
push eax
push dword [esp + 0x14]
push dword [esp + 0x1c]
push dword [esp + 0x48]
push ebp
push esi
call fcn.0043a5d0
add esp, 0x18
test eax, eax
jne 0x439bc8
movzx ecx, word [edi + 2]
mov eax, dword [ebp + 0x10]
movzx eax, word [eax + ecx*8]
push eax
push dword [esp + 0x14]
push dword [esp + 0x1c]
push dword [esp + 0x48]
push ebp
push esi
call fcn.0043a5d0
mov edx, dword [esp + 0x30]
add esp, 0x18
add edi, 8
cmp edi, edx
jb 0x439b10
jmp 0x439c37
mov edx, dword [esp + 0x18]
lea eax, [edi + 8]
cmp eax, edx
jae 0x439bbb
cmp byte [edi + 0xd], 0x10
jne 0x439bbb
movzx eax, word [edi + 0xa]
push eax
push dword [esp + 0x14]
push dword [esp + 0x1c]
push dword [esp + 0x48]
push ebp
push esi
call fcn.0043a5d0
mov edx, dword [esp + 0x30]
add esp, 0x18
add edi, 8
jmp 0x439b10
cmp ecx, 0x8000
jb 0x439c3b
movzx eax, word [ebx + 6]
and eax, 0xffffff80
cmp eax, 0x80
jne 0x439c3b
movzx eax, word [ebx]
push eax
push dword [esp + 0x14]
push dword [esp + 0x1c]
push edx
push ebp
push esi
call fcn.0043a5d0
add esp, 0x18
shr edi, 0x18
mov dword [esi + edi*4 + 0x210], eax
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x14]
inc ecx
mov dword [esp + 0x38], ecx
cmp ecx, eax
jb 0x439a50
xor ecx, ecx
mov dword [esp + 0x2c], ecx
cmp dword [esp + 0x1c], ecx
je 0x43a067
cmp ecx, eax
jae 0x43a067
mov ecx, dword [edx + ecx*4]
mov eax, dword [ebp + 0x10]
movzx edx, cx
cmp byte [eax + edx*8 + 6], 0xfd
lea edi, [eax + edx*8]
mov dword [esp + 0x28], edx
mov dword [esp + 0x20], edi
jne 0x43a051
shr ecx, 0x18
lea edx, [esi + 0x210]
mov eax, dword [edx + ecx*4]
lea edx, [edx + ecx*4]
mov dword [esp + 0x38], edx
cmp eax, ecx
je 0x439cba
mov ecx, dword [esp + 0x2c]
mov eax, dword [esi + eax*4 + 0x210]
inc ecx
mov dword [edx], eax
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x2c], ecx
jmp 0x439c60
movzx ebx, word [edi]
cmp ebx, dword [ebp + 0x14]
jb 0x439cdb
push ebx
push dword [esp + 0x14]
push dword [esp + 0x1c]
push dword [esp + 0x48]
push ebp
push esi
call fcn.0043a5d0
add esp, 0x18
mov ebx, eax
movzx edi, word [edi + 2]
cmp edi, dword [ebp + 0x14]
jb 0x439cfd
push edi
push dword [esp + 0x14]
push dword [esp + 0x1c]
push dword [esp + 0x48]
push ebp
push esi
call fcn.0043a5d0
add esp, 0x18
mov edi, eax
mov eax, dword [esp + 0x20]
cmp byte [eax + 5], 0x54
jne 0x439d99
mov ecx, dword [esp + 0x28]
inc ecx
cmp ecx, dword [ebp + 8]
jae 0x439d5e
cmp byte [eax + 0xd], 0x10
jne 0x439d5e
mov byte [esi + 0x134], 1
movzx eax, word [eax + 0xa]
push eax
push dword [esp + 0x14]
push dword [esp + 0x1c]
push dword [esp + 0x48]
push ebp
push esi
call fcn.0043a5d0
mov ecx, 0x1015
movzx eax, ax
add esp, 0x18
mov word [esi + 0x7c], cx
mov ecx, esi
mov word [esi + 0x78], di
mov word [esi + 0x7a], ax
call fcn.00451d80
mov edi, eax
mov eax, dword [esp + 0x20]
mov ax, word [eax + 4]
mov ecx, 0xff9f
and ax, cx
mov word [esi + 0x78], bx
mov ecx, esi
mov word [esi + 0x7c], ax
mov word [esi + 0x7a], di
call fcn.0045b770
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [ecx], eax
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
inc ecx
mov dword [esp + 0x2c], ecx
jmp 0x439c60
mov ax, word [eax + 4]
mov ecx, esi
mov word [esi + 0x7c], ax
mov word [esi + 0x78], bx
mov word [esi + 0x7a], di
call fcn.0045b770
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x20]
mov dword [esp + 0x24], eax
mov dword [ecx], eax
mov eax, dword [esp + 0x18]
lea ebx, [edi + 8]
cmp ebx, eax
jae 0x43a051
nop dword [eax]
cmp byte [ebx + 6], 0xfe
jne 0x43a022
mov al, byte [ebx + 7]
cmp al, 0xff
je 0x439ded
movzx eax, al
xor ecx, ecx
lea eax, [edi + eax*8]
cmp eax, ebx
jmp 0x439e33
mov al, byte [ebx + 5]
cmp al, 0x4a
je 0x439e04
cmp al, 0x4b
je 0x439e04
cmp al, 0x4d
je 0x439e04
cmp al, 0x4e
je 0x439e04
xor ecx, ecx
jmp 0x439e36
mov ecx, dword [ebp + 0x10]
movzx eax, word [ebx]
lea eax, [ecx + eax*8]
mov cl, byte [eax + 5]
mov byte [esp + 0x38], cl
cmp cl, 0x38
mov ecx, dword [ebp + 0x10]
je 0x439e23
cmp byte [esp + 0x38], 0x39
jne 0x439e29
movzx eax, word [eax]
lea eax, [ecx + eax*8]
movzx eax, word [eax]
lea eax, [ecx + eax*8]
xor ecx, ecx
cmp eax, edi
sete cl
test ecx, ecx
je 0x43a01e
movzx eax, word [ebx]
mov ecx, dword [ebp + 0x10]
movzx edx, word [ecx + eax*8 + 2]
lea edi, [ecx + eax*8]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x28], eax
mov al, byte [edi + 5]
cmp al, 0x3e
je 0x439ece
lea ecx, [ecx + edx*8]
cmp al, 0x39
jne 0x439e86
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx]
mov ecx, dword [ebp + 0x10]
lea eax, [ecx + eax*8]
push eax
push esi
call fcn.0043a700
add esp, 8
push eax
push esi
call fcn.004525f0
add esp, 0xc
jmp 0x439e90
push ecx
push esi
call fcn.0043a700
add esp, 8
mov edx, eax
mov al, byte [edi + 5]
mov dword [esp + 0x38], edx
cmp al, 0x39
je 0x439ea1
cmp al, 0x38
jne 0x439ece
movzx ecx, word [edi]
mov eax, dword [ebp + 0x10]
movzx edx, word [eax + ecx*8 + 2]
mov ax, word [eax + ecx*8 + 4]
mov ecx, esi
mov word [esi + 0x7c], ax
mov eax, dword [esp + 0x24]
mov word [esi + 0x78], ax
mov word [esi + 0x7a], dx
call fcn.0045b770
mov edx, dword [esp + 0x38]
jmp 0x439ed2
mov eax, dword [esp + 0x28]
mov cx, word [edi + 4]
mov word [esi + 0x7c], cx
mov ecx, esi
mov word [esi + 0x78], ax
mov word [esi + 0x7a], dx
call fcn.0045b770
movzx ecx, word [ebx + 2]
push ecx
push dword [esp + 0x14]
mov dword [esp + 0x40], eax
push dword [esp + 0x1c]
push dword [esp + 0x48]
push ebp
push esi
call fcn.0043a5d0
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x439f68
movzx ecx, word [ebx + 2]
mov eax, dword [ebp + 0x10]
movzx eax, word [eax + ecx*8]
push eax
push dword [esp + 0x14]
push dword [esp + 0x1c]
push dword [esp + 0x48]
push ebp
push esi
call fcn.0043a5d0
add esp, 0x18
mov dword [esi + 0x7a], 0x5b0e01d3
mov ecx, esi
mov word [esi + 0x78], ax
call fcn.0045b770
mov edi, eax
mov ax, word [ebx + 4]
mov ecx, esi
mov word [esi + 0x7c], ax
mov eax, dword [esp + 0x38]
mov word [esi + 0x78], ax
mov word [esi + 0x7a], di
call fcn.0045b770
mov edi, dword [esp + 0x20]
jmp 0x43a042
lea eax, [ebx + 8]
cmp eax, dword [esp + 0x18]
jae 0x439f44
cmp byte [ebx + 0xd], 0x10
jne 0x439f44
mov byte [esi + 0x134], 1
mov edx, 0x8000
movzx ecx, word [ebx + 2]
cmp cx, dx
jae 0x439fb3
movzx eax, word [ebx + 0xa]
cmp ax, dx
jae 0x439fb3
mov edi, dword [ebp + 0x10]
mov eax, dword [edi + eax*8]
cdq
xor edx, edx
add edx, dword [edi + ecx*8]
adc eax, 0
push eax
push edx
push 0x1d
push esi
call fcn.00452280
add esp, 0x10
jmp 0x439fe9
movzx eax, word [ebx + 0xa]
push eax
push dword [esp + 0x14]
push dword [esp + 0x1c]
push dword [esp + 0x48]
push ebp
push esi
call fcn.0043a5d0
mov ecx, 0x1015
movzx eax, ax
add esp, 0x18
mov word [esi + 0x7c], cx
mov ecx, esi
mov word [esi + 0x78], di
mov word [esi + 0x7a], ax
call fcn.00451d80
mov ecx, eax
movzx eax, byte [ebx + 5]
shl ax, 8
or ax, 0x15
mov word [esi + 0x7a], cx
mov word [esi + 0x7c], ax
mov ecx, esi
mov eax, dword [esp + 0x38]
mov word [esi + 0x78], ax
call fcn.0045b770
mov edi, dword [esp + 0x20]
add ebx, 8
mov eax, dword [esp + 0x18]
jmp 0x439dd0
mov eax, dword [esp + 0x18]
cmp byte [ebx + 5], 0x5a
jne 0x43a046
cmp byte [edi + 5], 0x53
jne 0x43a046
xor eax, eax
mov dword [esi + 0x7a], 0x5a000000
mov ecx, esi
mov word [esi + 0x78], ax
call fcn.0045b770
mov eax, dword [esp + 0x18]
add ebx, 8
cmp ebx, eax
jb 0x439dd0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x3c]
inc ecx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x2c], ecx
jmp 0x439c60
pop ebx
mov ecx, dword [esi + 0x70]
lea eax, [esi + 0x210]
push esi
lea eax, [eax + ecx*4]
mov dword [esi + 0x64], eax
mov eax, dword [esp + 0x30]
movzx eax, byte [eax + 8]
sub eax, ecx
mov dword [esi + 0x6c], eax
call fcn.004394d0
add esp, 4
cmp dword [esp + 0x18], 0
pop edi
je 0x43a0ae
xor eax, eax
mov dword [esi + 0x7a], 0xf800000
mov word [esi + 0x78], ax
mov ecx, esi
pop esi
pop ebp
add esp, 0x24
jmp fcn.00451d80
pop esi
pop ebp
add esp, 0x24
ret