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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x42fdd7
sub esp, 0x74
mov eax, dword [0x5e0e04]
test eax, eax
jl 0x42fdbf
mov ecx, dword [esp + 0x78]
test ecx, ecx
jle 0x42fdbf
mov dword [esp + 0x20], eax
movzx edx, byte [0x5d8828]
test dl, dl
jne 0x42fd62
call fcn.0044c7c0
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov edx, dword [0x5ce02c]
mov ebx, dword [0x5ce030]
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 0x42fd55
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 [0x5ce034]
mov dword [esp + 0x48], ecx
add eax, ecx
mov ecx, dword [0x5ce038]
mov dword [esp + 0x44], ecx
mov dword [0x5ce034], 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 [0x5ce038], ebx
mov dword [0x5ce02c], edx
mov dword [0x5ce030], esi
mov ecx, dword [0x5cdbcc]
mov edx, dword [esp + 0x78]
cmp edx, ecx
jg 0x42fc70
xor ecx, ecx
jmp 0x42f588
inc ecx
cmp ecx, edx
jge 0x42f721
mov ebx, dword [0x5cdbc8]
mov ebp, dword [0x5cdbcc]
cmp ecx, ebp
jae 0x42fdb8
mov dword [esp + 0x38], ecx
mov ebx, dword [ebx + ecx*4]
test ebx, ebx
je 0x42f602
mov ebp, dword [ebx + 0x34]
test ebp, ebp
jne 0x42f587
mov dword [esp + 0x54], ebx
test eax, eax
jne 0x42f5e5
test ecx, ecx
jne 0x42f5e5
mov ebp, dword fs:[0x14]
mov ebp, dword [ebp]
mov ebp, dword [ebp + 0x18]
mov ebp, dword [ebp + 0xc0]
test ebp, ebp
je 0x42fd92
mov dword [ebx + 0x34], ebp
jmp 0x42f587
call fcn.00410740
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 0x42f587
lea eax, [0x51f740]
mov dword [esp], eax
call fcn.0040d710
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 [0x5e0f70]
lea ebx, [eax + 0x71c]
lea ebp, [eax + 0x728]
test edx, edx
jne 0x42f708
mov dword [eax + 0x71c], ebp
xor edx, edx
jmp 0x42f661
lea edx, [edi + 1]
cmp edx, 5
jge 0x42f6ba
jae 0x42fdb1
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 [0x5e0f70]
mov edi, edx
shl edx, 7
lea edx, [eax + edx + 0x78]
test esi, esi
jne 0x42f69c
mov dword [eax + ebx*4 + 0x3c], edx
jmp 0x42f65e
mov dword [esp + 0x40], edi
mov dword [esp], ebp
mov dword [esp + 4], edx
call fcn.0040df80
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x40]
jmp 0x42f65e
lea ecx, [eax + 0x978]
mov dword [esp], ecx
call fcn.00421910
mov eax, dword [0x5cdbcc]
mov ecx, dword [0x5cdbc8]
mov edx, dword [esp + 0x38]
cmp edx, eax
jae 0x42fdaa
lea eax, [ecx + edx*4]
mov dword [esp], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 4], eax
call fcn.00402410
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x54]
jmp 0x42f5af
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.0040df80
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x38]
jmp 0x42f65a
mov ecx, edx
jmp 0x42f92c
mov ebp, dword [0x5cdfd0]
inc ebp
mov dword [0x5cdfd0], ebp
mov ebp, dword [ebx + 0x308]
mov esi, dword [ebx + 0x30c]
cmp ebp, esi
je 0x42f78f
lea ebp, [esi - 1]
mov dword [ebx + 0x30c], ebp
and ebp, 0xff
mov ebp, dword [ebx + ebp*4 + 0x310]
mov esi, dword [0x5cdfc8]
mov dword [ebp + 0x68], esi
lea esi, [0x5cdfc8]
test byte [esi], al
mov esi, ebp
mov dword [0x5cdfc8], ebp
mov ebp, dword [0x5cdfcc]
test ebp, ebp
jne 0x42f728
lea ebp, [0x5cdfcc]
test byte [ebp], al
mov dword [0x5cdfcc], esi
jmp 0x42f728
mov ebp, dword [ebx + 0x710]
test ebp, ebp
je 0x42f7e2
mov esi, dword [0x5cdfc8]
mov dword [ebp + 0x68], esi
lea esi, [0x5cdfc8]
test byte [esi], al
mov esi, ebp
mov dword [0x5cdfc8], ebp
mov ebp, dword [0x5cdfcc]
test ebp, ebp
jne 0x42f7cb
lea ebp, [0x5cdfcc]
test byte [ebp], al
mov dword [0x5cdfcc], esi
mov ebp, dword [0x5cdfd0]
inc ebp
mov dword [0x5cdfd0], ebp
mov dword [ebx + 0x710], 0
mov ebp, dword [ebx + 0x950]
lea esi, [ebx + 0x950]
test ebp, ebp
jne 0x42f9bd
mov ebp, dword [0x5e0e00]
test ebp, ebp
jne 0x42f99a
lea eax, [ebx + 0x728]
mov dword [esp], eax
mov dword [esp + 4], 0x200
call fcn.0040e410
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 [0x5e0f70]
lea ebx, [eax + 0x71c]
test edx, edx
jne 0x42f985
mov dword [eax + 0x71c], ecx
xor ecx, ecx
jmp 0x42f85d
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 5
jge 0x42f8d4
jae 0x42fd84
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.0040e410
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 [0x5e0f70]
test esi, esi
jne 0x42f8be
mov dword [edx + ecx*4 + 0x3c], ebx
jmp 0x42f858
mov dword [esp], ebp
mov dword [esp + 4], ebx
call fcn.0040df80
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x5c]
jmp 0x42f858
mov ecx, dword [eax + 0x34]
mov dword [esp], ecx
call fcn.004107e0
mov eax, dword [esp + 0x5c]
mov dword [eax + 0x34], 0
mov dword [esp], eax
call fcn.0042f180
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call fcn.0043fef0
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 0x42fa98
mov ebx, dword [0x5cdbcc]
mov ebp, dword [0x5cdbc8]
cmp edx, ebx
jae 0x42fd8b
mov dword [esp + 0x34], edx
mov ebx, dword [ebp + edx*4]
mov dword [esp + 0x5c], ebx
movzx ebp, byte [0x5d8828]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x42f735
mov ebp, dword fs:[0x14]
mov ebp, dword [ebp]
mov ebp, dword [ebp + 0x18]
mov ebp, dword [ebp + 0x54]
cmp ebp, ebx
je 0x42fa72
jmp 0x42f735
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0040df80
mov eax, dword [esp + 0x5c]
jmp 0x42f854
mov dword [esp], ebx
call fcn.00421a30
mov eax, dword [esp + 0x5c]
lea ecx, [eax + 0x960]
mov dword [esp], ecx
call fcn.0041c7c0
mov ebx, dword [esp + 0x5c]
jmp 0x42f804
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.00429b90
movzx eax, byte [0x5d8828]
test al, al
jne 0x42fa59
mov eax, dword [esp + 0x6c]
mov dword [eax + 0x68], 0
mov ecx, dword [0x5cdfcc]
test ecx, ecx
je 0x42fa47
lea edx, [ecx + 0x68]
test byte [edx], al
mov edx, eax
mov dword [ecx + 0x68], eax
lea ebp, [0x5cdfcc]
test byte [ebp], al
mov dword [0x5cdfcc], edx
mov ebp, dword [0x5cdfd0]
inc ebp
mov dword [0x5cdfd0], 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 0x42f7f6
lea ecx, [0x5cdfc8]
test byte [ecx], al
mov edx, eax
mov dword [0x5cdfc8], eax
jmp 0x42fa07
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.004414c0
jmp 0x42f9e8
call fcn.00441350
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call fcn.00440b40
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x5c]
jmp 0x42f735
mov eax, dword [0x5cdbcc]
cmp ecx, eax
jne 0x42fc33
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 0x42fc2f
mov ebx, edx
mov ebp, dword [edx + 4]
cmp ebp, ecx
jge 0x42fbc2
mov dword [edx + 8], 1
lea edx, [ecx - 1]
xor ebx, ebx
jmp 0x42fae1
dec edx
mov dword [esp + 0x58], ebx
test edx, edx
jl 0x42fb8e
mov ebp, dword [0x5cdbcc]
mov esi, dword [0x5cdbc8]
cmp edx, ebp
jae 0x42fd6f
mov ebp, dword [eax + 0x18]
mov esi, dword [esi + edx*4]
mov ebp, dword [ebp + 0x54]
cmp ebp, esi
je 0x42fae0
mov dword [esp + 0x30], edx
mov dword [esp + 0x60], esi
mov dword [esi + 8], 0
mov dword [esp], esi
call fcn.00431d20
movzx eax, byte [esp + 4]
test al, al
jne 0x42fb7c
mov eax, dword [0x5cdf94]
test eax, eax
je 0x42fb51
mov ecx, dword [eax + 0xbc]
mov dword [0x5cdf94], ecx
mov ecx, dword [0x5cdf98]
dec ecx
mov dword [0x5cdf98], 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 0x42fae0
mov eax, dword [esp + 0x60]
mov dword [esp], eax
call fcn.00431c40
mov ecx, dword [esp + 0x58]
jmp 0x42fb69
lea eax, [0x5cdc40]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00432530
lea eax, [0x5e0e04]
mov dword [esp], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 4], eax
call fcn.004015a0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x7c], eax
add esp, 0x74
ret
test ebx, ebx
je 0x42fbcd
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 [0x5cdbcc]
mov ebx, dword [0x5cdbc8]
test edx, edx
jbe 0x42fd76
mov eax, dword [ebx]
mov dword [eax + 0x30], 0
mov dword [eax + 8], 0
mov dword [esp], eax
call fcn.0042fdf0
movzx eax, byte [0x5d8828]
test al, al
jne 0x42fc28
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x78]
jmp 0x42fad9
call fcn.00441140
jmp 0x42fc1b
mov ebx, edx
jmp 0x42fbc4
lea eax, [0x5e0dbc]
mov dword [esp], eax
call fcn.0040bae0
mov eax, dword [0x5cdbd0]
mov ecx, dword [esp + 0x78]
cmp ecx, eax
ja 0x42fd7d
mov dword [0x5cdbcc], ecx
lea eax, [0x5e0dbc]
mov dword [esp], eax
call fcn.0040bcb0
mov ecx, dword [esp + 0x78]
jmp 0x42faa6
lea eax, [0x5e0dbc]
mov dword [esp], eax
call fcn.0040bae0
mov eax, dword [0x5cdbd0]
mov ecx, dword [esp + 0x78]
cmp ecx, eax
jg 0x42fcad
mov dword [0x5cdbcc], ecx
lea eax, [0x5e0dbc]
mov dword [esp], eax
call fcn.0040bcb0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x78]
jmp 0x42f583
lea eax, [0x4f80e0]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.00437f30
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 [0x5cdbd0]
mov ebp, dword [0x5cdbc8]
lea esi, [0x4f80e0]
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.0040e2e0
mov eax, dword [esp + 0x28]
mov dword [0x5cdbcc], eax
mov eax, dword [esp + 0x2c]
mov dword [0x5cdbd0], eax
mov eax, dword [0x5e0f70]
test eax, eax
jne 0x42fd3a
mov eax, dword [esp + 0x64]
mov dword [0x5cdbc8], eax
jmp 0x42fc92
lea eax, [0x5cdbc8]
mov dword [esp], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
call fcn.0040df80
jmp 0x42fc92
mov edx, eax
mov esi, ecx
mov eax, dword [esp + 0x20]
jmp 0x42f565
mov dword [esp], ecx
call fcn.00440a50
jmp 0x42f4c6
call fcn.00425280
ud2
call fcn.00425280
ud2
call fcn.004252e0
ud2
call fcn.00425280
ud2
call fcn.00425280
ud2
lea eax, [0x526ccd]
mov dword [esp], eax
mov dword [esp + 4], 0xf
call fcn.004267e0
ud2
call fcn.00425280
ud2
call fcn.00425280
ud2
call fcn.00425280
ud2
lea eax, [0x5298db]
mov dword [esp], eax
mov dword [esp + 4], 0x17
call fcn.004267e0
ud2
call fcn.00449fd0
jmp fcn.0042f480