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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x40
push esi
mov esi, dword [0x4f1654]
push edi
mov edi, dword [0x4f165c]
mov word [ebp - 6], dx
mov word [ebp - 4], cx
mov dword [ebp - 0x14], edi
cmp dx, word [esi + 0x194]
jb 0x431eff
xor edx, edx
jmp 0x431f15
mov eax, dword [esi + 0x198]
movzx ecx, dx
movzx eax, word [eax + ecx*2]
imul edx, eax, 0x2c
add edx, dword [esi + 0x400]
movzx eax, word [edx + 2]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], eax
cmp eax, 0x20
jb 0x431f40
movzx eax, ax
sub eax, 0x20
imul ecx, eax, 0x92
mov eax, dword [edi + 0x1d4]
cmp dword [ecx + eax], 0
je 0x4324dc
mov esi, dword [0x4f1658]
mov ax, word [ebp - 4]
movzx ecx, ax
cmp ax, word [esi + 0x48]
jb 0x431f57
xor eax, eax
jmp 0x431f67
mov eax, dword [esi + 0x4c]
movzx eax, word [eax + ecx*2]
lea ecx, [eax + eax*8]
mov eax, dword [esi + 0x50]
lea eax, [eax + ecx*4]
mov esi, dword [edx + 0x14]
mov ecx, dword [ebx + 0x14]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], esi
mov al, byte [esi + 0x2a]
and al, 8
mov byte [ebp - 1], al
mov eax, ecx
or eax, 2
cmp byte [ebp - 1], 0
movzx edx, ax
movzx eax, cx
cmovne edx, eax
movzx eax, dx
mov dword [ebp - 0x20], eax
mov eax, dword [edi + 0x3c]
cmp eax, dword [edi + 0x40]
jge 0x4324dc
mov eax, dword [ebp - 0x18]
movzx eax, ax
mov ecx, eax
cmp eax, 0x20
jae 0x431fc3
mov eax, dword [ecx*4 + 0x4dcb0c]
test eax, eax
je 0x4324dc
push esi
call eax
add esp, 4
jmp 0x431feb
mov eax, dword [edi + 0x1d4]
imul ecx, ecx, 0x92
mov ecx, dword [ecx + eax - 0x1218]
test ecx, ecx
je 0x4324dc
movzx eax, word [esi + 0x24]
add eax, esi
push eax
push edi
call ecx
movzx eax, ax
mov dword [ebp - 0x18], eax
test eax, eax
je 0x4324dc
push 1
push eax
call fcn.0048ff3a
mov esi, eax
add esp, 8
test esi, esi
je 0x4324dc
mov eax, dword [ebp - 0x18]
mov dword [esi + 4], eax
inc dword [edi + 0x3c]
mov eax, dword [ebx + 0x1c]
mov ecx, dword [edi + 0x1278]
test eax, eax
jns 0x432030
cmp dword [ecx], 0
je 0x432033
add ecx, 8
cmp dword [ecx], 0
jne 0x432026
jmp 0x432033
lea ecx, [ecx + eax*8]
mov edx, dword [ebp - 0xc]
mov dword [ecx], esi
mov eax, dword [edx + 0x2e]
mov dword [esi + 0xb4], eax
mov eax, dword [edx + 0x10]
mov dword [esi + 0x78], eax
cmp ecx, dword [edi + 0x4b8]
jbe 0x432056
inc word [edi + 0x4bc]
sub ecx, dword [edi + 0x1278]
sar ecx, 3
mov word [esi], cx
mov ecx, 1
add word [edi + 0x14c], 1
mov ax, word [edi + 0x14c]
jne 0x432083
mov word [edi + 0x14c], cx
mov eax, ecx
jmp 0x432086
movzx eax, ax
mov cx, word [ebp - 6]
mov word [esi + 0x1a], ax
mov ax, word [ebp - 4]
mov word [esi + 0x10], ax
mov eax, dword [ebp - 0x1c]
mov word [esi + 0x12], cx
movzx eax, word [eax + 2]
mov word [esi + 0x18], ax
mov eax, dword [0x4f165c]
mov dword [esi + 8], eax
mov edx, dword [0x4f165c]
mov edi, dword [edx + 0x58]
cmp word [edi], cx
je 0x4320cb
nop dword [eax + eax]
add edi, 0x92
cmp word [edi], cx
jne 0x4320c0
movzx eax, word [edi + 6]
test ax, ax
jns 0x43210c
mov ax, word [esi]
mov ecx, edi
mov word [edi + 6], ax
mov eax, dword [0x4f165c]
sub ecx, dword [eax + 0x58]
mov eax, 0xe070381d
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
or eax, 0xffff8000
mov word [esi + 0x14], ax
mov eax, 0xffff8000
mov word [esi + 0x16], ax
jmp 0x432135
movsx ecx, ax
mov eax, dword [edx + 0x1278]
mov ecx, dword [eax + ecx*8]
movzx eax, word [ecx + 0x14]
mov word [esi + 0x14], ax
movzx eax, word [esi]
mov word [ecx + 0x14], ax
movzx eax, word [ecx]
mov word [esi + 0x16], ax
movzx eax, word [esi]
mov word [edi + 6], ax
mov eax, dword [0x4f165c]
mov ecx, dword [edi + 8]
add ecx, dword [eax + 0x5c]
mov dword [esi + 0x20], ecx
movzx ecx, word [esi + 0x10]
mov dword [esi + 0x1c], edi
mov ax, word [edi + 0x34]
mov word [esi + 0x94], ax
movzx eax, word [edi + 0x44]
cmp cx, 0xffff
jne 0x432165
mov word [esi + 0x10], ax
jmp 0x43216f
cmp ax, 0xffff
jne 0x43216f
mov word [edi + 0x44], cx
inc dword [edi + 0x10]
mov ecx, dword [esi + 0x78]
mov dword [esi + 0xc], esi
test ecx, 0x8000
jne 0x4321bf
movzx edx, word [esi + 0x94]
and ecx, 0xffffbfff
mov dword [esi + 0x78], ecx
mov edi, ecx
test edx, 0x200
je 0x4321ae
mov eax, dword [0x4f1658]
test byte [eax + 0xc], 0x20
je 0x4321ae
or ecx, 0x4000
mov dword [esi + 0x78], ecx
test edx, 0x500
je 0x4321bf
or ecx, 0x4000
mov dword [esi + 0x78], ecx
movzx eax, word [esi + 0x18]
mov edi, dword [ebp - 0x14]
movsx edx, ax
cmp ax, 0x20
jge 0x4321e2
mov eax, dword [edx*4 + 0x4dca94]
mov dword [ebp - 0x1c], eax
mov eax, dword [edx*4 + 0x4dca40]
jmp 0x432213
imul eax, edx, 0x92
mov edx, dword [edi + 0x1d4]
cmp dword [eax + edx - 0x1230], 0
mov edi, dword [eax + edx - 0x1238]
mov dword [ebp - 0x1c], edi
mov edi, dword [ebp - 0x14]
je 0x43220c
mov eax, fcn.004644c0
jmp 0x432213
mov eax, dword [eax + edx - 0x1234]
test cl, 2
mov ecx, 0x432b80
push 0
cmovne eax, ecx
mov ecx, dword [ebp - 0x1c]
push 0
push esi
mov dword [esi + 0x88], ecx
mov dword [esi + 0x90], eax
mov dword [esi + 0x8c], eax
call fcn.00431ba0
test byte [edi + 0x28], 0x20
je 0x432253
movsx ecx, word [esi + 0x12]
call fcn.0043ccf0
mov ecx, eax
call fcn.0043df40
mov eax, dword [ebx + 8]
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov dword [esi + 0x44], edx
cmp eax, 0x80000000
jne 0x432269
mov eax, dword [ecx + 4]
mov dword [ebp - 0x34], eax
mov dword [esi + 0x4c], eax
mov eax, dword [ebx + 0xc]
cmp eax, 0x80000000
jne 0x43227c
mov eax, dword [ecx + 8]
mov dword [ebp - 0x30], eax
mov dword [esi + 0x54], eax
mov eax, dword [ebx + 0x18]
test ecx, ecx
je 0x432292
cmp eax, 0xffffffff
jne 0x432292
movzx eax, word [ecx + 0x10]
mov dword [ebp - 0x28], eax
lea ecx, [eax + eax*2]
mov dword [esi + 0x84], eax
mov eax, dword [0x4f1658]
shl ecx, 5
add ecx, dword [eax + 0x30]
inc dword [ecx + 0x28]
mov eax, dword [ecx + 0x28]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
mov word [ebp - 0x36], ax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x3c], eax
mov eax, 0xb8
mov ecx, dword [esi + 0x78]
mov dword [ebp - 8], eax
test ecx, 0x230
je 0x432312
mov eax, 0x130
mov dword [esi + 0xc0], 0x431eb0
mov dword [ebp - 8], eax
mov dword [esi + 0xc4], 0x439d50
mov dword [esi + 0xe0], 0x3f800000
mov dword [esi + 0xe4], 0x3f800000
mov dword [esi + 0xcc], 0xffffffff
test cl, 0x10
je 0x432339
add eax, 0x9e
test byte [ebp - 0x36], 1
mov dword [ebp - 8], eax
jne 0x432339
lea eax, [ebp - 0x3c]
xor ecx, ecx
push eax
push edx
mov edx, esi
call fcn.00434630
mov ecx, dword [esi + 0x78]
add esp, 8
test cl, 0x20
je 0x432400
mov eax, dword [ebp - 8]
mov ecx, esi
mov dword [esi + 0xb8], eax
add eax, 0x50
mov dword [ebp - 8], eax
mov dword [esi + 0xc4], fcn.00439e50
call fcn.00439da0
mov edx, dword [esi + 0x44]
movzx eax, word [edx + 6]
cmp word [eax + edx + 0xa], 0
jl 0x43238a
mov eax, dword [esi + 0xb8]
mov dword [esi + 0xc4], 0x439850
mov dword [esi + eax], 4
jmp 0x4323d9
movzx edi, word [edx + 6]
xor ecx, ecx
xor eax, eax
lea eax, [edi + eax*2]
cmp word [eax + edx + 4], 0
jge 0x4323a9
mov eax, dword [ecx*4 + 0x4dcf04]
inc ecx
test eax, eax
jns 0x432392
cmp dword [ecx*4 + 0x4dcf00], 0
mov edi, dword [ebp - 0x14]
jge 0x432400
movzx eax, word [edx + 6]
cmp word [eax + edx + 0xc], 0
jl 0x432400
mov eax, dword [esi + 0xb8]
mov dword [esi + 0xc4], 0x4399e0
mov dword [esi + eax], 5
xor edx, edx
mov ecx, esi
call fcn.00439ed0
mov eax, dword [esi + 0xb8]
cmp dword [eax + esi + 0x3c], 0
jne 0x4323f7
mov dword [eax + esi + 0x3c], 1
push esi
call fcn.00439e50
add esp, 4
mov eax, dword [esi + 0x78]
test eax, 0x200
je 0x43242a
mov eax, dword [ebp - 8]
mov ecx, esi
mov dword [esi + 0xbc], eax
add eax, 0x24
mov dword [ebp - 8], eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00401ab0
mov eax, dword [esi + 0x78]
add esp, 4
test eax, 0x100
je 0x432448
mov eax, dword [ebp - 8]
mov dword [esi + 0x80], eax
test eax, eax
je 0x432448
mov edx, dword [ebp - 0xc]
mov ecx, esi
call fcn.004028a0
movzx eax, word [esi + 0x18]
movsx ecx, ax
cmp ax, 0x20
jge 0x43249c
mov eax, dword [ecx*4 + 0x4dcae4]
test eax, eax
je 0x432472
lea ecx, [ebp - 0x3c]
push ecx
push dword [ebp - 0xc]
push esi
call eax
add esp, 0xc
test ax, ax
jne 0x4324c8
mov eax, dword [esi + 0x78]
test al, 0x40
je 0x432482
inc dword [edi + 0x518]
mov eax, dword [esi + 0x78]
test eax, 0x200
je 0x432490
mov ecx, esi
call fcn.00401c40
movsx eax, word [esi]
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
lea eax, [ecx - 0x20]
imul ecx, eax, 0x92
mov eax, dword [edi + 0x1d4]
mov edx, dword [ecx + eax]
test edx, edx
je 0x432472
mov ecx, dword [ebp - 0xc]
movzx eax, word [ecx + 0x24]
add eax, ecx
lea ecx, [ebp - 0x3c]
push ecx
push eax
push esi
call edx
test ax, ax
je 0x432472
dec word [edi + 0x4bc]
mov edx, 1
movsx ecx, word [esi]
call fcn.004324f0
pop edi
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret