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

Disassembly:
sub esp, 0x64
push ebx
mov ebx, dword [esp + 0x6c]
push ebp
push esi
mov eax, dword [ebx + 0x2b8]
mov ebp, dword [ebx + 0x14]
xor esi, esi
push edi
test eax, eax
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
jne 0x4326bb
call fcn.004079c0
mov esi, eax
test esi, esi
je 0x4326bb
mov dword [esi + 0x44], ebp
mov dword [esi + 0x50], 0x800
push ebp
mov dword [ebx + 0x3b08], esi
call fcn.004df870
add esp, 4
test edx, edx
jl 0x4326bb
jg 0x431fb9
cmp eax, 0x30
jbe 0x4326bb
push 0x30
push 0
lea eax, [esp + 0x4c]
push 0
push eax
push ebp
call fcn.004dfa70
add esp, 0x14
test eax, eax
je 0x4326bb
lea edx, [esp + 0x44]
mov ecx, str.IsZ_
mov eax, dword [edx]
mov edx, dword [ecx]
cmp eax, edx
jne 0x4326bb
lea ecx, [esp + 0x44]
push ecx
push ebx
call fcn.00431c30
mov edi, eax
add esp, 8
test edi, edi
je 0x432058
mov edx, dword [ebx]
push edx
call fcn.004df7a0
mov eax, dword [ebx + 0x14]
mov dword [ebx], edi
push eax
call fcn.004df7b0
mov ecx, dword [ebx]
push ecx
call fcn.004df8a0
add esp, 0xc
mov dword [ebx + 0x14], eax
test eax, eax
je 0x4326bb
push 0x30
push 0
lea edx, [esp + 0x4c]
push 0
push edx
push ebp
call fcn.004dfa70
add esp, 0x14
test eax, eax
je 0x4326bb
lea ecx, [esp + 0x44]
mov eax, str.IsZ_
mov edx, dword [ecx]
mov ecx, dword [eax]
cmp edx, ecx
jne 0x4326bb
mov eax, dword [esp + 0x6b]
test eax, eax
je 0x4321a3
mov edi, dword [esp + 0x6f]
sub edi, eax
mov eax, 0xaaaaaaab
mul edi
shr edx, 4
push edi
mov dword [esp + 0x24], edx
call fcn.004df770
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x4326bb
mov eax, dword [esp + 0x6b]
mov ecx, dword [esp + 0x10]
push edi
push 0
push eax
push ebp
push ecx
call fcn.004dfa70
add esp, 0x14
test eax, eax
jne 0x4320b3
push ebp
call fcn.004df7a0
add esp, 4
jmp 0x4326bb
push edi
push ebp
call fcn.004327d0
mov eax, dword [esp + 0x28]
add esp, 8
xor ebx, ebx
test eax, eax
jle 0x43218f
lea edx, [ebx + ebx*2]
mov ecx, dword [ebp + edx*8 + 8]
lea eax, [ebp + edx*8]
test ecx, ecx
je 0x43218f
cmp ebx, 0x64
jge 0x4326b7
mov ecx, ebx
shl ecx, 6
add ecx, ebx
test ebx, ebx
lea edx, [ebx + ecx*4]
lea ecx, [esi + edx*8]
mov edx, dword [eax + 0xc]
mov dword [ecx + 0xa68], edx
mov edx, dword [eax + 8]
mov dword [ecx + 0xa70], edx
mov edx, dword [eax + 0xc]
mov edi, dword [eax + 8]
lea edx, [edx + edi - 1]
mov dword [ecx + 0xa6c], edx
mov edx, dword [eax + 0x10]
mov dword [ecx + 0xa74], edx
mov edx, dword [eax + 0x14]
mov dword [ecx + 0xa78], edx
mov edx, dword [eax]
mov dword [ecx + 0xa80], edx
mov eax, dword [eax + 4]
mov dword [ecx + 0xa84], eax
jne 0x432157
mov ecx, dword [esi + 0xa80]
mov dword [esi + 0xa88], ecx
mov edx, dword [esi + 0xa84]
mov dword [esi + 0xa8c], edx
jmp 0x432182
mov eax, dword [ecx + 0xa74]
mov edx, dword [ecx + 0x250]
mov edi, dword [ecx + 0xa80]
sub eax, edx
cdq
sub edi, eax
mov eax, dword [ecx + 0xa84]
sbb eax, edx
mov dword [ecx + 0xa88], edi
mov dword [ecx + 0xa8c], eax
mov eax, dword [esp + 0x20]
inc ebx
cmp ebx, eax
jl 0x4320cb
push ebp
mov dword [esi + 0x33208], ebx
call fcn.004df7a0
add esp, 4
jmp 0x432321
mov eax, dword [esp + 0x67]
test eax, eax
jne 0x432329
mov edi, dword [esp + 0x55]
mov eax, dword [esp + 0x59]
mov ecx, edi
or ecx, eax
je 0x432329
mov eax, dword [esp + 0x4e]
mov ecx, dword [esp + 0x50]
and eax, 0xffff
push 0
cdq
push ecx
push edx
push eax
call fcn.00526dd0
mov ecx, eax
mov eax, dword [esp + 0x48]
and eax, 0xff
mov ebp, edx
cdq
add eax, ecx
mov dword [esp + 0x40], ebp
adc edx, ebp
mov ebp, dword [esp + 0x59]
cmp edx, ebp
jb 0x432325
ja 0x432205
cmp eax, edi
jbe 0x432325
mov ebp, ecx
mov ecx, dword [esp + 0x40]
mov edx, ebp
xor ebx, ebx
or edx, ecx
mov dword [esp + 0x34], ebp
je 0x43231b
jmp 0x432221
mov edi, dword [esp + 0x55]
test ebx, ebx
jne 0x432266
mov dword [esi + 0xa80], edi
mov eax, dword [esp + 0x59]
mov dword [esi + 0xa84], eax
mov edx, dword [esp + 0x6f]
mov edi, dword [esp + 0x55]
xor eax, eax
sub edi, edx
mov edx, dword [esp + 0x59]
sbb edx, eax
mov dword [esi + 0xa88], edi
mov dword [esi + 0xa8c], edx
mov eax, dword [esi + 0xa88]
sub ebp, eax
mov dword [esp + 0x34], ebp
sbb ecx, edx
jmp 0x432310
mov eax, dword [esp + 0x48]
and eax, 0xff
cdq
sub edi, eax
mov dword [esp + 0x3c], edi
mov edi, dword [esp + 0x59]
sbb edi, edx
cmp ecx, edi
jb 0x4322df
ja 0x432288
cmp ebp, dword [esp + 0x3c]
jbe 0x4322df
mov eax, ebx
shl eax, 6
add eax, ebx
lea edx, [ebx + eax*4]
mov eax, dword [esp + 0x55]
lea edi, [esi + edx*8]
mov dword [edi + 0xa80], eax
mov edx, dword [esp + 0x59]
mov dword [edi + 0xa84], edx
mov eax, dword [esp + 0x48]
mov ebp, dword [esp + 0x55]
and eax, 0xff
cdq
sub ebp, eax
mov eax, dword [esp + 0x59]
sbb eax, edx
mov dword [edi + 0xa88], ebp
mov ebp, dword [esp + 0x34]
mov dword [edi + 0xa8c], eax
mov edx, dword [edi + 0xa88]
sub ebp, edx
mov dword [esp + 0x34], ebp
sbb ecx, eax
jmp 0x432310
mov edi, ebx
shl edi, 6
add edi, ebx
add eax, ebp
adc edx, ecx
lea edi, [ebx + edi*4]
lea edi, [esi + edi*8]
mov dword [edi + 0xa80], eax
mov dword [edi + 0xa84], edx
mov dword [edi + 0xa88], ebp
xor ebp, ebp
mov dword [edi + 0xa8c], ecx
mov dword [esp + 0x34], ebp
xor ecx, ecx
mov edx, ebp
inc ebx
or edx, ecx
jne 0x43221d
mov dword [esi + 0x33208], ebx
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x10]
mov eax, dword [esi + 0x33208]
test eax, eax
je 0x4323c1
mov eax, dword [ebx]
push eax
call fcn.00431e50
mov dword [esi + 0x3320c], eax
mov eax, dword [esi + 0x33208]
add esp, 4
xor ebx, ebx
test eax, eax
jle 0x4323b9
test ebx, ebx
jne 0x432370
mov ecx, dword [esp + 0x78]
lea eax, [esi + 0x268]
mov edx, dword [ecx]
push edx
push eax
call fcn.00526ae2
add esp, 8
jmp 0x4323ae
mov edx, dword [esp + 0x78]
mov ecx, dword [esi + 0x3320c]
push ebx
push ecx
mov eax, dword [edx]
push eax
call fcn.00431eb0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x4323ae
mov ecx, ebx
push edi
shl ecx, 6
add ecx, ebx
lea edx, [ebx + ecx*4]
lea eax, [esi + edx*8 + 0x268]
push eax
call fcn.00526ae2
push edi
call fcn.004df7a0
add esp, 0xc
mov eax, dword [esi + 0x33208]
inc ebx
cmp ebx, eax
jl 0x432354
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x10]
cmp byte [esp + 0x65], 3
jne 0x4326bb
mov eax, dword [esp + 0x5d]
mov edi, eax
shl eax, 5
push eax
mov dword [esp + 0x28], edi
call fcn.004df770
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
je 0x4326bb
mov eax, dword [esp + 0x67]
test eax, eax
je 0x432437
mov ecx, dword [esp + 0x65]
mov edx, dword [esp + 0x14]
and ecx, 0xff
imul ecx, edi
push ecx
push 0
push eax
push edx
push ebp
call fcn.004dfa70
add esp, 0x14
test eax, eax
je 0x4326bb
mov eax, dword [esp + 0x65]
mov ecx, dword [esp + 0x14]
and eax, 0xff
imul eax, edi
push eax
push ecx
call fcn.004327d0
add esp, 8
mov ebx, dword [esp + 0x6f]
mov edx, dword [esp + 0x14]
xor ebp, ebp
mov dword [esp + 0x2c], ebx
cmp edi, ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x20], edx
mov dword [esp + 0x10], ebp
jle 0x432628
jmp 0x432469
mov edi, dword [esp + 0x24]
xor ebp, ebp
cmp dword [esp + 0x67], ebp
je 0x43249c
mov edi, dword [esp + 0x20]
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x18]
push eax
push ecx
push edi
call fcn.00432810
mov edx, dword [esp + 0x71]
mov eax, dword [esp + 0x24]
and edx, 0xff
add esp, 0xc
add edi, edx
mov dword [esp + 0x20], edi
jmp 0x4324d9
mov eax, dword [esp + 0x10]
dec edi
cmp eax, edi
je 0x4324ab
mov eax, dword [esp + 0x61]
jmp 0x4324d0
mov ecx, dword [esp + 0x4e]
mov eax, dword [esp + 0x61]
and ecx, 0xffff
xor edx, edx
div ecx
mov edx, eax
mov eax, dword [esp + 0x5d]
dec eax
imul edx, eax
mov eax, dword [esp + 0x50]
sub eax, edx
imul eax, ecx
mov dword [esp + 0x18], eax
mov byte [esp + 0x1c], 0x40
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x61]
mov dword [esp + 0x40], ecx
and edx, 0xff
xor ecx, ecx
xor ebp, ebp
cmp edx, 0xc0
mov dword [esp + 0x3c], ebx
ja case.default.0x43250b
xor ebx, ebx
mov bl, byte [edx + 0x432708]
jmp dword [ebx*4 + 0x4326f4]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x38]
push edx
push ebp
push edi
push ecx
push eax
mov eax, dword [esp + 0x48]
push eax
push ebx
push 0x80000005
jmp 0x432586
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x38]
push edx
push ebp
push edi
push ecx
push eax
mov eax, dword [esp + 0x48]
push eax
push ebx
push 2
jmp 0x432586
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x38]
push edx
push ebp
push edi
push ecx
push eax
mov eax, dword [esp + 0x48]
push eax
push ebx
push 0x80000006
jmp 0x432586
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x38]
push edx
push ebp
push edi
push ecx
push eax
mov eax, dword [esp + 0x48]
push eax
push ebx
push 1
mov ecx, dword [esp + 0x9c]
push 0
push esi
push ecx
call fcn.00407a20
add esp, 0x30
jmp 0x4325ae
mov ebx, dword [esp + 0x2c]
push 0
push str.Unknown_isz_block_
call fcn.004dd630
add esp, 8
mov al, byte [esp + 0x1c]
test al, al
je 0x4325cb
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x30]
add ebx, ecx
adc eax, 0
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
add eax, edi
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x10]
adc edx, ebp
test eax, eax
mov dword [esp + 0x38], edx
jne 0x432615
mov ecx, dword [esi + 0x33208]
test ecx, ecx
je 0x432615
mov edx, dword [esp + 0x3c]
mov edi, dword [esi + 0xa88]
mov ecx, dword [esp + 0x40]
sub edi, edx
mov dword [esi + 0xa88], edi
mov edx, dword [esi + 0xa8c]
sbb edx, ecx
mov dword [esi + 0xa8c], edx
mov ecx, dword [esp + 0x24]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x432463
xor ebp, ebp
mov edi, dword [esp + 0x78]
mov al, byte [esp + 0x54]
test al, al
mov dword [edi + 0x29c], 6
mov dword [edi + 0x44], ebp
je 0x4326b3
cmp al, 4
jne 0x432651
mov dword [esi + 0x260], 0x20
jmp 0x43266b
cmp al, 3
jne 0x432661
mov dword [esi + 0x260], 0x18
jmp 0x43266b
mov dword [esi + 0x260], 0x10
push ebp
push edi
call fcn.004a1c60
add esp, 8
test eax, eax
jne 0x43268f
mov dword [edi + 0x3b78], 1
mov dword [edi + 0x29c], 0xffffffff
jmp 0x4326b7
mov edx, dword [esi + 0x260]
lea eax, [esi + 0x23c]
push edx
lea ecx, [esi + 0x58]
push eax
push ecx
call fcn.0051b7d0
add esp, 0xc
mov dword [edi + 0x3b74], 1
mov dword [esp + 0x28], ebp
mov ebx, dword [esp + 0x78]
mov edx, dword [esp + 0x14]
push edx
call fcn.004df7a0
mov edi, dword [esp + 0x2c]
add esp, 4
test edi, edi
je 0x4326e7
test esi, esi
je 0x4326dd
push esi
call fcn.004078f0
add esp, 4
mov dword [ebx + 0x3b08], 0
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret