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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x430130
sub esp, 0x70
mov eax, dword [0x8138dc]
test eax, eax
jl 0x430118
mov ecx, dword [esp + 0x74]
test ecx, ecx
jle 0x430118
mov dword [esp + 0x20], eax
movzx edx, byte [0x80b768]
test dl, dl
jne 0x4300bb
call fcn.0044c5f0
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov edx, dword [0x80292c]
mov ebx, dword [0x802930]
test ebx, ebx
xchg ebp, ebx
setne bl
xchg ebp, ebx
test edx, edx
xchg esi, ebx
setne bl
xchg esi, ebx
or ebp, esi
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4300ae
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 [0x802934]
mov dword [esp + 0x48], ecx
add eax, ecx
mov ecx, dword [0x802938]
mov dword [esp + 0x44], ecx
mov dword [0x802934], 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 [0x802938], ebx
mov dword [0x80292c], edx
mov dword [0x802930], esi
mov ecx, dword [0x80222c]
mov edx, dword [esp + 0x74]
cmp edx, ecx
jg 0x42ffd0
xor ecx, ecx
jmp 0x42f918
inc ecx
cmp ecx, edx
jge 0x42fa97
mov ebx, dword [0x802228]
mov ebp, dword [0x80222c]
cmp ecx, ebp
jae 0x430111
mov dword [esp + 0x3c], ecx
mov ebx, dword [ebx + ecx*4]
test ebx, ebx
je 0x42f992
mov ebp, dword [ebx + 0x34]
test ebp, ebp
jne 0x42f917
mov dword [esp + 0x54], ebx
test eax, eax
jne 0x42f975
test ecx, ecx
jne 0x42f975
mov ebp, dword fs:[0x14]
mov ebp, dword [ebp]
mov ebp, dword [ebp + 0x18]
mov ebp, dword [ebp + 0xbc]
test ebp, ebp
je 0x4300eb
mov dword [ebx + 0x34], ebp
jmp 0x42f917
call fcn.00411800
mov eax, dword [esp]
mov ecx, dword [esp + 0x54]
mov dword [ecx + 0x34], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x74]
jmp 0x42f917
lea eax, [0x637820]
mov dword [esp], eax
call fcn.00409a30
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x3c]
mov dword [eax + 4], ecx
mov dword [eax + 8], 3
mov dword [eax + 0x720], 0
mov dword [eax + 0x724], 0x80
mov edx, dword [0x813ad0]
lea ebx, [eax + 0x728]
test edx, edx
jne 0x42fa81
mov dword [eax + 0x71c], ebx
xor edx, edx
jmp 0x42f9e7
lea edx, [esi + 1]
cmp edx, 5
jge 0x42fa2f
jae 0x43010a
lea ebx, [edx + edx*2]
mov dword [eax + ebx*4 + 0x40], 0
mov dword [eax + ebx*4 + 0x44], 0x20
lea edi, [eax + ebx*4 + 0x3c]
mov ebp, dword [0x813ad0]
mov esi, edx
shl edx, 7
lea edx, [eax + edx + 0x78]
test ebp, ebp
jne 0x42fa22
mov dword [eax + ebx*4 + 0x3c], edx
jmp 0x42f9e4
mov ebx, eax
mov eax, edx
call fcn.0044b8d0
mov eax, ebx
jmp 0x42f9e4
mov dword [esp + 0x54], eax
lea ecx, [eax + 0x978]
mov dword [esp], ecx
call fcn.00421ef0
mov eax, dword [0x80222c]
mov ecx, dword [0x802228]
mov edx, dword [esp + 0x3c]
cmp edx, eax
jae 0x430103
lea eax, [ecx + edx*4]
mov dword [esp], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 4], eax
call fcn.004030c0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x74]
mov ebx, dword [esp + 0x54]
jmp 0x42f93f
lea edi, [eax + 0x71c]
mov edx, eax
mov eax, ebx
call fcn.0044b8d0
mov eax, edx
jmp 0x42f9e0
mov ecx, edx
jmp 0x42fc8d
mov ebp, dword [0x8028d0]
inc ebp
mov dword [0x8028d0], ebp
mov ebp, dword [ebx + 0x308]
mov esi, dword [ebx + 0x30c]
cmp ebp, esi
je 0x42fb05
lea ebp, [esi - 1]
mov dword [ebx + 0x30c], ebp
and ebp, 0xff
mov ebp, dword [ebx + ebp*4 + 0x310]
mov esi, dword [0x8028c8]
mov dword [ebp + 0x58], esi
lea esi, [0x8028c8]
test byte [esi], al
mov esi, ebp
mov dword [0x8028c8], ebp
mov ebp, dword [0x8028cc]
test ebp, ebp
jne 0x42fa9e
lea ebp, [0x8028cc]
test byte [ebp], al
mov dword [0x8028cc], esi
jmp 0x42fa9e
mov ebp, dword [ebx + 0x710]
test ebp, ebp
je 0x42fb58
mov esi, dword [0x8028c8]
mov dword [ebp + 0x58], esi
lea esi, [0x8028c8]
test byte [esi], al
mov esi, ebp
mov dword [0x8028c8], ebp
mov ebp, dword [0x8028cc]
test ebp, ebp
jne 0x42fb41
lea ebp, [0x8028cc]
test byte [ebp], al
mov dword [0x8028cc], esi
mov ebp, dword [0x8028d0]
inc ebp
mov dword [0x8028d0], ebp
mov dword [ebx + 0x710], 0
mov ebp, dword [ebx + 0x950]
test ebp, ebp
jne 0x42fd1f
mov ebp, dword [0x8138d8]
test ebp, ebp
jne 0x42fcfc
lea eax, [ebx + 0x728]
mov dword [esp], eax
mov dword [esp + 4], 0x200
call fcn.0040f170
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 [0x813ad0]
test edx, edx
jne 0x42fce6
mov dword [eax + 0x71c], ecx
xor ecx, ecx
jmp 0x42fbc7
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 5
jge 0x42fc35
jae 0x4300dd
mov dword [esp + 0x30], 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.0040f170
mov eax, dword [esp + 0x30]
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 edi, [edx + ecx*4 + 0x3c]
mov ebp, dword [0x813ad0]
test ebp, ebp
jne 0x42fc28
mov dword [edx + ecx*4 + 0x3c], ebx
jmp 0x42fbc2
mov ecx, eax
mov eax, ebx
call fcn.0044b8d0
mov eax, ecx
jmp 0x42fbc2
mov ecx, dword [eax + 0x34]
mov dword [esp], ecx
call fcn.004118a0
mov eax, dword [esp + 0x5c]
mov dword [eax + 0x34], 0
mov dword [esp], eax
call fcn.0042f530
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call fcn.0043fab0
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 + 0x74]
cmp edx, eax
jge 0x42fdf8
mov ebx, dword [0x80222c]
mov ebp, dword [0x802228]
cmp edx, ebx
jae 0x4300e4
mov dword [esp + 0x34], edx
mov ebx, dword [ebp + edx*4]
mov dword [esp + 0x5c], ebx
movzx ebp, byte [0x80b768]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x42faab
mov ebp, dword fs:[0x14]
mov ebp, dword [ebp]
mov ebp, dword [ebp + 0x18]
mov ebp, dword [ebp + 0x54]
cmp ebp, ebx
jne 0x42faab
jmp 0x42fdd2
lea edi, [eax + 0x71c]
mov edx, eax
mov eax, ecx
call fcn.0044b8d0
mov eax, edx
jmp 0x42fbbe
mov dword [esp], ebx
call fcn.00422010
mov eax, dword [esp + 0x5c]
lea ecx, [eax + 0x960]
mov dword [esp], ecx
call fcn.0041cf00
mov ebx, dword [esp + 0x5c]
jmp 0x42fb74
mov dword [esp + 0x6c], ebp
mov dword [esp], ebp
mov dword [esp + 4], 4
mov dword [esp + 8], 1
call fcn.00429f90
movzx eax, byte [0x80b768]
test al, al
jne 0x42fdb9
mov eax, dword [esp + 0x6c]
mov dword [eax + 0x58], 0
mov ecx, dword [0x8028cc]
test ecx, ecx
je 0x42fda7
lea edx, [ecx + 0x58]
test byte [edx], al
mov edx, eax
mov dword [ecx + 0x58], eax
lea ebp, [0x8028cc]
test byte [ebp], al
mov dword [0x8028cc], edx
mov ebp, dword [0x8028d0]
inc ebp
mov dword [0x8028d0], ebp
mov ebx, dword [esp + 0x5c]
lea ebp, [ebx + 0x950]
test byte [ebp], al
xor ebp, ebp
mov dword [ebx + 0x950], ebp
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x34]
jmp 0x42fb66
lea ecx, [0x8028c8]
test byte [ecx], al
mov edx, eax
mov dword [0x8028c8], eax
jmp 0x42fd65
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.004410e0
jmp 0x42fd46
call fcn.00440f70
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call fcn.00440790
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x5c]
jmp 0x42faab
mov eax, dword [0x80222c]
cmp ecx, eax
jne 0x42ff93
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 0x42ff8f
mov ebx, edx
mov ebp, dword [edx + 4]
cmp ebp, ecx
jge 0x42ff22
mov dword [edx + 8], 1
lea edx, [ecx - 1]
xor ebx, ebx
jmp 0x42fe41
dec edx
mov dword [esp + 0x58], ebx
test edx, edx
jl 0x42feee
mov ebp, dword [0x80222c]
mov esi, dword [0x802228]
cmp edx, ebp
jae 0x4300c8
mov ebp, dword [eax + 0x18]
mov esi, dword [esi + edx*4]
mov ebp, dword [ebp + 0x54]
cmp ebp, esi
je 0x42fe40
mov dword [esp + 0x38], edx
mov dword [esp + 0x60], esi
mov dword [esi + 8], 0
mov dword [esp], esi
call fcn.004320c0
movzx eax, byte [esp + 4]
test al, al
jne 0x42fedc
mov eax, dword [0x802894]
test eax, eax
je 0x42feb1
mov ecx, dword [eax + 0xb8]
mov dword [0x802894], ecx
mov ecx, dword [0x802898]
dec ecx
mov dword [0x802898], 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 + 0x38]
mov ebx, ecx
mov ecx, dword [esp + 0x74]
jmp 0x42fe40
mov eax, dword [esp + 0x60]
mov dword [esp], eax
call fcn.00431fe0
mov ecx, dword [esp + 0x58]
jmp 0x42fec9
lea eax, [0x8022a0]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00432a40
lea eax, [0x8138dc]
mov dword [esp], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
call fcn.00401f30
mov eax, dword [esp + 0x58]
mov dword [esp + 0x78], eax
add esp, 0x70
ret
test ebx, ebx
je 0x42ff2d
mov dword [ebx + 0x30], 0
mov edx, dword [eax + 0x18]
mov dword [edx + 0x54], 0
mov edx, dword [eax + 0x18]
mov dword [edx + 0xbc], 0
mov edx, dword [0x80222c]
mov ebx, dword [0x802228]
test edx, edx
jbe 0x4300cf
mov eax, dword [ebx]
mov dword [eax + 0x30], 0
mov dword [eax + 8], 0
mov dword [esp], eax
call fcn.00430140
movzx eax, byte [0x80b768]
test al, al
jne 0x42ff88
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x74]
jmp 0x42fe39
call fcn.00440d70
jmp 0x42ff7b
mov ebx, edx
jmp 0x42ff24
lea eax, [0x813894]
mov dword [esp], eax
call fcn.00407c50
mov eax, dword [0x802230]
mov ecx, dword [esp + 0x74]
cmp ecx, eax
ja 0x4300d6
mov dword [0x80222c], ecx
lea eax, [0x813894]
mov dword [esp], eax
call fcn.00407e20
mov ecx, dword [esp + 0x74]
jmp 0x42fe06
lea eax, [0x813894]
mov dword [esp], eax
call fcn.00407c50
mov eax, dword [0x802230]
mov ecx, dword [esp + 0x74]
cmp ecx, eax
jg 0x43000d
mov dword [0x80222c], ecx
lea eax, [0x813894]
mov dword [esp], eax
call fcn.00407e20
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x74]
jmp 0x42f913
lea eax, [0x5ecdc0]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.00437c50
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 [0x802230]
mov ebp, dword [0x802228]
lea esi, [0x5ecdc0]
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.0040ef20
mov eax, dword [esp + 0x28]
mov dword [0x80222c], eax
mov eax, dword [esp + 0x2c]
mov dword [0x802230], eax
mov eax, dword [0x813ad0]
test eax, eax
jne 0x43009a
mov eax, dword [esp + 0x64]
mov dword [0x802228], eax
jmp 0x42fff2
lea edi, [0x802228]
mov eax, dword [esp + 0x64]
call fcn.0044b8d0
jmp 0x42fff2
mov edx, eax
mov esi, ecx
mov eax, dword [esp + 0x20]
jmp 0x42f8f5
mov dword [esp], ecx
call fcn.004406a0
jmp 0x42f856
call fcn.00425910
ud2
call fcn.00425910
ud2
call fcn.00425a10
ud2
call fcn.00425910
ud2
call fcn.00425910
ud2
lea eax, [0x641cd3]
mov dword [esp], eax
mov dword [esp + 4], 0xf
call fcn.00426d20
ud2
call fcn.00425910
ud2
call fcn.00425910
ud2
call fcn.00425910
ud2
lea eax, [0x644f97]
mov dword [esp], eax
mov dword [esp + 4], 0x17
call fcn.00426d20
ud2
call fcn.0044a170
jmp fcn.0042f810