Function at 0x42ea40
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 0x42f1ab
call fcn.00406bc0
mov esi, eax
test esi, esi
je 0x42f1ab
mov dword [esi + 0x44], ebp
mov dword [esi + 0x50], 0x800
push ebp
mov dword [ebx + 0x3a98], esi
call fcn.004b6b20
add esp, 4
test edx, edx
jl 0x42f1ab
jg 0x42eaa9
cmp eax, 0x30
jbe 0x42f1ab
push 0x30
push 0
lea eax, [esp + 0x4c]
push 0
push eax
push ebp
call fcn.004b6c50
add esp, 0x14
test eax, eax
je 0x42f1ab
lea edx, [esp + 0x44]
mov ecx, str.IsZ_
mov eax, dword [edx]
mov edx, dword [ecx]
cmp eax, edx
jne 0x42f1ab
lea ecx, [esp + 0x44]
push ecx
push ebx
call fcn.0042e720
mov edi, eax
add esp, 8
test edi, edi
je 0x42eb48
mov edx, dword [ebx]
push edx
call fcn.004b6a50
mov eax, dword [ebx + 0x14]
mov dword [ebx], edi
push eax
call fcn.004b6a60
mov ecx, dword [ebx]
push ecx
call fcn.004b6b50
add esp, 0xc
mov dword [ebx + 0x14], eax
test eax, eax
je 0x42f1ab
push 0x30
push 0
lea edx, [esp + 0x4c]
push 0
push edx
push ebp
call fcn.004b6c50
add esp, 0x14
test eax, eax
je 0x42f1ab
lea ecx, [esp + 0x44]
mov eax, str.IsZ_
mov edx, dword [ecx]
mov ecx, dword [eax]
cmp edx, ecx
jne 0x42f1ab
mov eax, dword [esp + 0x6b]
test eax, eax
je 0x42ec93
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.004b6a20
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x42f1ab
mov eax, dword [esp + 0x6b]
mov ecx, dword [esp + 0x10]
push edi
push 0
push eax
push ebp
push ecx
call fcn.004b6c50
add esp, 0x14
test eax, eax
jne 0x42eba3
push ebp
call fcn.004b6a50
add esp, 4
jmp 0x42f1ab
push edi
push ebp
call fcn.0042f2c0
mov eax, dword [esp + 0x28]
add esp, 8
xor ebx, ebx
test eax, eax
jle 0x42ec7f
lea edx, [ebx + ebx*2]
mov ecx, dword [ebp + edx*8 + 8]
lea eax, [ebp + edx*8]
test ecx, ecx
je 0x42ec7f
cmp ebx, 0x64
jge 0x42f1a7
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 0x42ec47
mov ecx, dword [esi + 0xa80]
mov dword [esi + 0xa88], ecx
mov edx, dword [esi + 0xa84]
mov dword [esi + 0xa8c], edx
jmp 0x42ec72
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 0x42ebbb
push ebp
mov dword [esi + 0x33208], ebx
call fcn.004b6a50
add esp, 4
jmp 0x42ee11
mov eax, dword [esp + 0x67]
test eax, eax
jne 0x42ee19
mov edi, dword [esp + 0x55]
mov eax, dword [esp + 0x59]
mov ecx, edi
or ecx, eax
je 0x42ee19
mov eax, dword [esp + 0x4e]
mov ecx, dword [esp + 0x50]
and eax, 0xffff
push 0
cdq
push ecx
push edx
push eax
call fcn.004f5ce0
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 0x42ee15
ja 0x42ecf5
cmp eax, edi
jbe 0x42ee15
mov ebp, ecx
mov ecx, dword [esp + 0x40]
mov edx, ebp
xor ebx, ebx
or edx, ecx
mov dword [esp + 0x34], ebp
je 0x42ee0b
jmp 0x42ed11
mov edi, dword [esp + 0x55]
test ebx, ebx
jne 0x42ed56
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 0x42ee00
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 0x42edcf
ja 0x42ed78
cmp ebp, dword [esp + 0x3c]
jbe 0x42edcf
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 0x42ee00
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 0x42ed0d
mov dword [esi + 0x33208], ebx
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x10]
mov eax, dword [esi + 0x33208]
test eax, eax
je 0x42eeb1
mov eax, dword [ebx]
push eax
call fcn.0042e940
mov dword [esi + 0x3320c], eax
mov eax, dword [esi + 0x33208]
add esp, 4
xor ebx, ebx
test eax, eax
jle 0x42eea9
test ebx, ebx
jne 0x42ee60
mov ecx, dword [esp + 0x78]
lea eax, [esi + 0x268]
mov edx, dword [ecx]
push edx
push eax
call fcn.004f59f2
add esp, 8
jmp 0x42ee9e
mov edx, dword [esp + 0x78]
mov ecx, dword [esi + 0x3320c]
push ebx
push ecx
mov eax, dword [edx]
push eax
call fcn.0042e9a0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x42ee9e
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.004f59f2
push edi
call fcn.004b6a50
add esp, 0xc
mov eax, dword [esi + 0x33208]
inc ebx
cmp ebx, eax
jl 0x42ee44
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x10]
cmp byte [esp + 0x65], 3
jne 0x42f1ab
mov eax, dword [esp + 0x5d]
mov edi, eax
shl eax, 5
push eax
mov dword [esp + 0x28], edi
call fcn.004b6a20
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
je 0x42f1ab
mov eax, dword [esp + 0x67]
test eax, eax
je 0x42ef27
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.004b6c50
add esp, 0x14
test eax, eax
je 0x42f1ab
mov eax, dword [esp + 0x65]
mov ecx, dword [esp + 0x14]
and eax, 0xff
imul eax, edi
push eax
push ecx
call fcn.0042f2c0
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 0x42f118
jmp 0x42ef59
mov edi, dword [esp + 0x24]
xor ebp, ebp
cmp dword [esp + 0x67], ebp
je 0x42ef8c
mov edi, dword [esp + 0x20]
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x18]
push eax
push ecx
push edi
call fcn.0042f300
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 0x42efc9
mov eax, dword [esp + 0x10]
dec edi
cmp eax, edi
je 0x42ef9b
mov eax, dword [esp + 0x61]
jmp 0x42efc0
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.0x42effb
xor ebx, ebx
mov bl, byte [edx + 0x42f1f8]
jmp dword [ebx*4 + 0x42f1e4]
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 0x42f076
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 0x42f076
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 0x42f076
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.00406c20
add esp, 0x30
jmp 0x42f09e
mov ebx, dword [esp + 0x2c]
push 0
push str.Unknown_isz_block_
call fcn.004b4a10
add esp, 8
mov al, byte [esp + 0x1c]
test al, al
je 0x42f0bb
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 0x42f105
mov ecx, dword [esi + 0x33208]
test ecx, ecx
je 0x42f105
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 0x42ef53
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 0x42f1a3
cmp al, 4
jne 0x42f141
mov dword [esi + 0x260], 0x20
jmp 0x42f15b
cmp al, 3
jne 0x42f151
mov dword [esi + 0x260], 0x18
jmp 0x42f15b
mov dword [esi + 0x260], 0x10
push ebp
push edi
call fcn.00482240
add esp, 8
test eax, eax
jne 0x42f17f
mov dword [edi + 0x3b04], 1
mov dword [edi + 0x29c], 0xffffffff
jmp 0x42f1a7
mov edx, dword [esi + 0x260]
lea eax, [esi + 0x23c]
push edx
lea ecx, [esi + 0x58]
push eax
push ecx
call fcn.004f1b70
add esp, 0xc
mov dword [edi + 0x3b00], 1
mov dword [esp + 0x28], ebp
mov ebx, dword [esp + 0x78]
mov edx, dword [esp + 0x14]
push edx
call fcn.004b6a50
mov edi, dword [esp + 0x2c]
add esp, 4
test edi, edi
je 0x42f1d7
test esi, esi
je 0x42f1cd
push esi
call fcn.00406b50
add esp, 4
mov dword [ebx + 0x3a98], 0
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret