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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x42df97
sub esp, 0x74
mov eax, dword [0x530448]
test eax, eax
jl 0x42df7f
mov ecx, dword [esp + 0x78]
test ecx, ecx
jle 0x42df7f
mov dword [esp + 0x20], eax
movzx edx, byte [0x528328]
test dl, dl
jne 0x42df22
call fcn.0044a090
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov edx, dword [0x5202ac]
mov ebx, dword [0x5202b0]
test edx, edx
xchg ebp, ebx
setne bl
xchg ebp, ebx
test ebx, ebx
xchg esi, ebx
setne bl
xchg esi, ebx
or esi, ebp
xchg esi, eax
test al, al
xchg esi, eax
je 0x42df15
mov dword [esp + 0x24], ecx
mov ebp, eax
sub eax, edx
mov dword [esp + 0x50], eax
mov esi, dword [esp + 0x20]
mov edi, edx
mul esi
mov dword [esp + 0x4c], eax
mov ecx, dword [0x5202b4]
mov dword [esp + 0x48], ecx
add eax, ecx
mov ecx, dword [0x5202b8]
mov dword [esp + 0x44], ecx
mov dword [0x5202b4], eax
mov eax, esi
sar esi, 0x1f
mov ecx, dword [esp + 0x50]
imul ecx, esi
add ecx, edx
mov edx, ebp
sub ebp, edi
mov ebp, dword [esp + 0x24]
mov esi, ebp
sbb ebp, ebx
imul ebp, eax
add ecx, ebp
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x48]
add ebx, ebp
mov ebx, dword [esp + 0x44]
adc ebx, ecx
mov dword [0x5202b8], ebx
mov dword [0x5202ac], edx
mov dword [0x5202b0], esi
mov ecx, dword [0x51fef4]
mov edx, dword [esp + 0x78]
cmp edx, ecx
jg 0x42de30
xor ecx, ecx
jmp 0x42d748
inc ecx
cmp ecx, edx
jge 0x42d8e1
mov ebx, dword [0x51fef0]
mov ebp, dword [0x51fef4]
cmp ecx, ebp
jae 0x42df78
mov dword [esp + 0x38], ecx
mov ebx, dword [ebx + ecx*4]
test ebx, ebx
je 0x42d7c2
mov ebp, dword [ebx + 0x34]
test ebp, ebp
jne 0x42d747
mov dword [esp + 0x54], ebx
test eax, eax
jne 0x42d7a5
test ecx, ecx
jne 0x42d7a5
mov ebp, dword fs:[0x14]
mov ebp, dword [ebp]
mov ebp, dword [ebp + 0x18]
mov ebp, dword [ebp + 0xc0]
test ebp, ebp
je 0x42df52
mov dword [ebx + 0x34], ebp
jmp 0x42d747
call fcn.0040f580
mov eax, dword [esp]
mov ecx, dword [esp + 0x54]
mov dword [ecx + 0x34], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x78]
jmp 0x42d747
lea eax, [0x4aba00]
mov dword [esp], eax
call fcn.0040c590
mov eax, dword [esp + 4]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x38]
mov dword [eax + 4], ecx
mov dword [eax + 8], 3
mov dword [eax + 0x720], 0
mov dword [eax + 0x724], 0x80
mov edx, dword [0x530550]
lea ebx, [eax + 0x71c]
lea ebp, [eax + 0x728]
test edx, edx
jne 0x42d8c8
mov dword [eax + 0x71c], ebp
xor edx, edx
jmp 0x42d821
lea edx, [edi + 1]
cmp edx, 5
jge 0x42d87a
jae 0x42df71
lea ebx, [edx + edx*2]
mov dword [eax + ebx*4 + 0x40], 0
mov dword [eax + ebx*4 + 0x44], 0x20
lea ebp, [eax + ebx*4 + 0x3c]
mov esi, dword [0x530550]
mov edi, edx
shl edx, 7
lea edx, [eax + edx + 0x78]
test esi, esi
jne 0x42d85c
mov dword [eax + ebx*4 + 0x3c], edx
jmp 0x42d81e
mov dword [esp + 0x40], edi
mov dword [esp], ebp
mov dword [esp + 4], edx
call fcn.0040cdc0
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x40]
jmp 0x42d81e
lea ecx, [eax + 0x978]
mov dword [esp], ecx
call fcn.00420630
mov eax, dword [0x51fef4]
mov ecx, dword [0x51fef0]
mov edx, dword [esp + 0x38]
cmp edx, eax
jae 0x42df6a
lea eax, [ecx + edx*4]
mov dword [esp], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 4], eax
call fcn.00402340
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x54]
jmp 0x42d76f
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.0040cdc0
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x38]
jmp 0x42d81a
mov ecx, edx
jmp 0x42daec
mov ebp, dword [0x520250]
inc ebp
mov dword [0x520250], ebp
mov ebp, dword [ebx + 0x308]
mov esi, dword [ebx + 0x30c]
cmp ebp, esi
je 0x42d94f
lea ebp, [esi - 1]
mov dword [ebx + 0x30c], ebp
and ebp, 0xff
mov ebp, dword [ebx + ebp*4 + 0x310]
mov esi, dword [0x520248]
mov dword [ebp + 0x68], esi
lea esi, [0x520248]
test byte [esi], al
mov esi, ebp
mov dword [0x520248], ebp
mov ebp, dword [0x52024c]
test ebp, ebp
jne 0x42d8e8
lea ebp, [0x52024c]
test byte [ebp], al
mov dword [0x52024c], esi
jmp 0x42d8e8
mov ebp, dword [ebx + 0x710]
test ebp, ebp
je 0x42d9a2
mov esi, dword [0x520248]
mov dword [ebp + 0x68], esi
lea esi, [0x520248]
test byte [esi], al
mov esi, ebp
mov dword [0x520248], ebp
mov ebp, dword [0x52024c]
test ebp, ebp
jne 0x42d98b
lea ebp, [0x52024c]
test byte [ebp], al
mov dword [0x52024c], esi
mov ebp, dword [0x520250]
inc ebp
mov dword [0x520250], ebp
mov dword [ebx + 0x710], 0
mov ebp, dword [ebx + 0x950]
lea esi, [ebx + 0x950]
test ebp, ebp
jne 0x42db7d
mov ebp, dword [0x530444]
test ebp, ebp
jne 0x42db5a
lea eax, [ebx + 0x728]
mov dword [esp], eax
mov dword [esp + 4], 0x200
call fcn.0040d250
mov eax, dword [esp + 0x5c]
lea ecx, [eax + 0x728]
test byte [ecx], al
mov dword [eax + 0x720], 0
mov dword [eax + 0x724], 0x80
mov edx, dword [0x530550]
lea ebx, [eax + 0x71c]
test edx, edx
jne 0x42db45
mov dword [eax + 0x71c], ecx
xor ecx, ecx
jmp 0x42da1d
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 5
jge 0x42da94
jae 0x42df44
mov dword [esp + 0x3c], ecx
shl ecx, 7
mov dword [esp + 0x40], ecx
lea ebx, [eax + ecx + 0x78]
mov dword [esp], ebx
mov dword [esp + 4], pe_nt_image_headers32
call fcn.0040d250
mov eax, dword [esp + 0x3c]
lea ecx, [eax + eax*2]
mov edx, dword [esp + 0x5c]
mov dword [edx + ecx*4 + 0x40], 0
mov dword [edx + ecx*4 + 0x44], 0x20
mov ebx, dword [esp + 0x40]
lea ebx, [edx + ebx + 0x78]
lea ebp, [edx + ecx*4 + 0x3c]
mov esi, dword [0x530550]
test esi, esi
jne 0x42da7e
mov dword [edx + ecx*4 + 0x3c], ebx
jmp 0x42da18
mov dword [esp], ebp
mov dword [esp + 4], ebx
call fcn.0040cdc0
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x5c]
jmp 0x42da18
mov ecx, dword [eax + 0x34]
mov dword [esp], ecx
call fcn.0040f620
mov eax, dword [esp + 0x5c]
mov dword [eax + 0x34], 0
mov dword [esp], eax
call fcn.0042d340
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call fcn.0043d9c0
mov eax, dword [esp + 0x5c]
mov dword [eax + 0x940], 0
mov dword [eax + 0x944], 0
mov dword [eax + 8], 4
mov eax, dword [esp + 0x34]
lea edx, [eax + 1]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x78]
cmp edx, eax
jge 0x42dc58
mov ebx, dword [0x51fef4]
mov ebp, dword [0x51fef0]
cmp edx, ebx
jae 0x42df4b
mov dword [esp + 0x34], edx
mov ebx, dword [ebp + edx*4]
mov dword [esp + 0x5c], ebx
movzx ebp, byte [0x528328]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x42d8f5
mov ebp, dword fs:[0x14]
mov ebp, dword [ebp]
mov ebp, dword [ebp + 0x18]
mov ebp, dword [ebp + 0x54]
cmp ebp, ebx
je 0x42dc32
jmp 0x42d8f5
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0040cdc0
mov eax, dword [esp + 0x5c]
jmp 0x42da14
mov dword [esp], ebx
call fcn.00420750
mov eax, dword [esp + 0x5c]
lea ecx, [eax + 0x960]
mov dword [esp], ecx
call fcn.0041b4e0
mov ebx, dword [esp + 0x5c]
jmp 0x42d9c4
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], ebp
mov dword [esp], ebp
mov dword [esp + 4], 4
mov dword [esp + 8], 1
call fcn.00427f30
movzx eax, byte [0x528328]
test al, al
jne 0x42dc19
mov eax, dword [esp + 0x6c]
mov dword [eax + 0x68], 0
mov ecx, dword [0x52024c]
test ecx, ecx
je 0x42dc07
lea edx, [ecx + 0x68]
test byte [edx], al
mov edx, eax
mov dword [ecx + 0x68], eax
lea ebp, [0x52024c]
test byte [ebp], al
mov dword [0x52024c], edx
mov ebp, dword [0x520250]
inc ebp
mov dword [0x520250], ebp
mov ebp, dword [esp + 0x70]
test byte [ebp], al
xor ebp, ebp
mov ebx, dword [esp + 0x5c]
mov dword [ebx + 0x950], ebp
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x34]
jmp 0x42d9b6
lea ecx, [0x520248]
test byte [ecx], al
mov edx, eax
mov dword [0x520248], eax
jmp 0x42dbc7
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0043ef90
jmp 0x42dba8
call fcn.0043ee20
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call fcn.0043e610
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x5c]
jmp 0x42d8f5
mov eax, dword [0x51fef4]
cmp ecx, eax
jne 0x42ddf3
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov dword [esp + 0x68], eax
mov edx, dword [eax + 0x18]
mov edx, dword [edx + 0x54]
test edx, edx
je 0x42ddef
mov ebx, edx
mov ebp, dword [edx + 4]
cmp ebp, ecx
jge 0x42dd82
mov dword [edx + 8], 1
lea edx, [ecx - 1]
xor ebx, ebx
jmp 0x42dca1
dec edx
mov dword [esp + 0x58], ebx
test edx, edx
jl 0x42dd4e
mov ebp, dword [0x51fef4]
mov esi, dword [0x51fef0]
cmp edx, ebp
jae 0x42df2f
mov ebp, dword [eax + 0x18]
mov esi, dword [esi + edx*4]
mov ebp, dword [ebp + 0x54]
cmp ebp, esi
je 0x42dca0
mov dword [esp + 0x30], edx
mov dword [esp + 0x60], esi
mov dword [esi + 8], 0
mov dword [esp], esi
call fcn.0042fee0
movzx eax, byte [esp + 4]
test al, al
jne 0x42dd3c
mov eax, dword [0x520214]
test eax, eax
je 0x42dd11
mov ecx, dword [eax + 0xbc]
mov dword [0x520214], ecx
mov ecx, dword [0x520218]
dec ecx
mov dword [0x520218], ecx
mov ecx, dword [esp + 0x60]
lea edx, [ecx + 0x30]
test byte [edx], al
mov dword [ecx + 0x30], eax
lea eax, [ecx + 0xc]
test byte [eax], al
mov eax, dword [esp + 0x58]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x30]
mov ebx, ecx
mov ecx, dword [esp + 0x78]
jmp 0x42dca0
mov eax, dword [esp + 0x60]
mov dword [esp], eax
call fcn.0042fe00
mov ecx, dword [esp + 0x58]
jmp 0x42dd29
lea eax, [0x51ff60]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004306f0
lea eax, [0x530448]
mov dword [esp], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 4], eax
call fcn.00401560
mov eax, dword [esp + 0x58]
mov dword [esp + 0x7c], eax
add esp, 0x74
ret
test ebx, ebx
je 0x42dd8d
mov dword [ebx + 0x30], 0
mov edx, dword [eax + 0x18]
mov dword [edx + 0x54], 0
mov edx, dword [eax + 0x18]
mov dword [edx + 0xc0], 0
mov edx, dword [0x51fef4]
mov ebx, dword [0x51fef0]
test edx, edx
jbe 0x42df36
mov eax, dword [ebx]
mov dword [eax + 0x30], 0
mov dword [eax + 8], 0
mov dword [esp], eax
call fcn.0042dfb0
movzx eax, byte [0x528328]
test al, al
jne 0x42dde8
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x78]
jmp 0x42dc99
call fcn.0043ec10
jmp 0x42dddb
mov ebx, edx
jmp 0x42dd84
lea eax, [0x530400]
mov dword [esp], eax
call fcn.0040a960
mov eax, dword [0x51fef8]
mov ecx, dword [esp + 0x78]
cmp ecx, eax
ja 0x42df3d
mov dword [0x51fef4], ecx
lea eax, [0x530400]
mov dword [esp], eax
call fcn.0040ab30
mov ecx, dword [esp + 0x78]
jmp 0x42dc66
lea eax, [0x530400]
mov dword [esp], eax
call fcn.0040a960
mov eax, dword [0x51fef8]
mov ecx, dword [esp + 0x78]
cmp ecx, eax
jg 0x42de6d
mov dword [0x51fef4], ecx
lea eax, [0x530400]
mov dword [esp], eax
call fcn.0040ab30
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x78]
jmp 0x42d743
lea eax, [0x492940]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.00435fe0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x64], edx
mov ebx, dword [0x51fef8]
mov ebp, dword [0x51fef0]
lea esi, [0x492940]
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
call fcn.0040d120
mov eax, dword [esp + 0x28]
mov dword [0x51fef4], eax
mov eax, dword [esp + 0x2c]
mov dword [0x51fef8], eax
mov eax, dword [0x530550]
test eax, eax
jne 0x42defa
mov eax, dword [esp + 0x64]
mov dword [0x51fef0], eax
jmp 0x42de52
lea eax, [0x51fef0]
mov dword [esp], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
call fcn.0040cdc0
jmp 0x42de52
mov edx, eax
mov esi, ecx
mov eax, dword [esp + 0x20]
jmp 0x42d725
mov dword [esp], ecx
call fcn.0043e520
jmp 0x42d686
call fcn.00423790
ud2
call fcn.00423790
ud2
call fcn.004237f0
ud2
call fcn.00423790
ud2
call fcn.00423790
ud2
lea eax, [0x4b1f42]
mov dword [esp], eax
mov dword [esp + 4], 0xf
call fcn.00424cf0
ud2
call fcn.00423790
ud2
call fcn.00423790
ud2
call fcn.00423790
ud2
lea eax, [0x4b3f90]
mov dword [esp], eax
mov dword [esp + 4], 0x17
call fcn.00424cf0
ud2
call fcn.00447a60
jmp fcn.0042d640