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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x42f437
sub esp, 0x74
mov eax, dword [0x5ac644]
test eax, eax
jl 0x42f41f
mov ecx, dword [esp + 0x78]
test ecx, ecx
jle 0x42f41f
mov dword [esp + 0x20], eax
movzx edx, byte [0x5a4508]
test dl, dl
jne 0x42f3c2
call fcn.0044b800
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov edx, dword [0x59c48c]
mov ebx, dword [0x59c490]
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 0x42f3b5
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 [0x59c494]
mov dword [esp + 0x48], ecx
add eax, ecx
mov ecx, dword [0x59c498]
mov dword [esp + 0x44], ecx
mov dword [0x59c494], 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 [0x59c498], ebx
mov dword [0x59c48c], edx
mov dword [0x59c490], esi
mov ecx, dword [0x59c034]
mov edx, dword [esp + 0x78]
cmp edx, ecx
jg 0x42f2d0
xor ecx, ecx
jmp 0x42ebe8
inc ecx
cmp ecx, edx
jge 0x42ed81
mov ebx, dword [0x59c030]
mov ebp, dword [0x59c034]
cmp ecx, ebp
jae 0x42f418
mov dword [esp + 0x38], ecx
mov ebx, dword [ebx + ecx*4]
test ebx, ebx
je 0x42ec62
mov ebp, dword [ebx + 0x34]
test ebp, ebp
jne 0x42ebe7
mov dword [esp + 0x54], ebx
test eax, eax
jne 0x42ec45
test ecx, ecx
jne 0x42ec45
mov ebp, dword fs:[0x14]
mov ebp, dword [ebp]
mov ebp, dword [ebp + 0x18]
mov ebp, dword [ebp + 0xc0]
test ebp, ebp
je 0x42f3f2
mov dword [ebx + 0x34], ebp
jmp 0x42ebe7
call fcn.00410210
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 0x42ebe7
lea eax, [0x500420]
mov dword [esp], eax
call fcn.0040d220
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 [0x5ac790]
lea ebx, [eax + 0x71c]
lea ebp, [eax + 0x728]
test edx, edx
jne 0x42ed68
mov dword [eax + 0x71c], ebp
xor edx, edx
jmp 0x42ecc1
lea edx, [edi + 1]
cmp edx, 5
jge 0x42ed1a
jae 0x42f411
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 [0x5ac790]
mov edi, edx
shl edx, 7
lea edx, [eax + edx + 0x78]
test esi, esi
jne 0x42ecfc
mov dword [eax + ebx*4 + 0x3c], edx
jmp 0x42ecbe
mov dword [esp + 0x40], edi
mov dword [esp], ebp
mov dword [esp + 4], edx
call fcn.0040da50
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x40]
jmp 0x42ecbe
lea ecx, [eax + 0x978]
mov dword [esp], ecx
call fcn.004212c0
mov eax, dword [0x59c034]
mov ecx, dword [0x59c030]
mov edx, dword [esp + 0x38]
cmp edx, eax
jae 0x42f40a
lea eax, [ecx + edx*4]
mov dword [esp], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 4], eax
call fcn.00402380
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x54]
jmp 0x42ec0f
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.0040da50
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x38]
jmp 0x42ecba
mov ecx, edx
jmp 0x42ef8c
mov ebp, dword [0x59c430]
inc ebp
mov dword [0x59c430], ebp
mov ebp, dword [ebx + 0x308]
mov esi, dword [ebx + 0x30c]
cmp ebp, esi
je 0x42edef
lea ebp, [esi - 1]
mov dword [ebx + 0x30c], ebp
and ebp, 0xff
mov ebp, dword [ebx + ebp*4 + 0x310]
mov esi, dword [0x59c428]
mov dword [ebp + 0x68], esi
lea esi, [0x59c428]
test byte [esi], al
mov esi, ebp
mov dword [0x59c428], ebp
mov ebp, dword [0x59c42c]
test ebp, ebp
jne 0x42ed88
lea ebp, [0x59c42c]
test byte [ebp], al
mov dword [0x59c42c], esi
jmp 0x42ed88
mov ebp, dword [ebx + 0x710]
test ebp, ebp
je 0x42ee42
mov esi, dword [0x59c428]
mov dword [ebp + 0x68], esi
lea esi, [0x59c428]
test byte [esi], al
mov esi, ebp
mov dword [0x59c428], ebp
mov ebp, dword [0x59c42c]
test ebp, ebp
jne 0x42ee2b
lea ebp, [0x59c42c]
test byte [ebp], al
mov dword [0x59c42c], esi
mov ebp, dword [0x59c430]
inc ebp
mov dword [0x59c430], ebp
mov dword [ebx + 0x710], 0
mov ebp, dword [ebx + 0x950]
lea esi, [ebx + 0x950]
test ebp, ebp
jne 0x42f01d
mov ebp, dword [0x5ac640]
test ebp, ebp
jne 0x42effa
lea eax, [ebx + 0x728]
mov dword [esp], eax
mov dword [esp + 4], 0x200
call fcn.0040dee0
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 [0x5ac790]
lea ebx, [eax + 0x71c]
test edx, edx
jne 0x42efe5
mov dword [eax + 0x71c], ecx
xor ecx, ecx
jmp 0x42eebd
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 5
jge 0x42ef34
jae 0x42f3e4
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.0040dee0
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 [0x5ac790]
test esi, esi
jne 0x42ef1e
mov dword [edx + ecx*4 + 0x3c], ebx
jmp 0x42eeb8
mov dword [esp], ebp
mov dword [esp + 4], ebx
call fcn.0040da50
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x5c]
jmp 0x42eeb8
mov ecx, dword [eax + 0x34]
mov dword [esp], ecx
call fcn.004102b0
mov eax, dword [esp + 0x5c]
mov dword [eax + 0x34], 0
mov dword [esp], eax
call fcn.0042e7e0
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call fcn.0043f100
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 0x42f0f8
mov ebx, dword [0x59c034]
mov ebp, dword [0x59c030]
cmp edx, ebx
jae 0x42f3eb
mov dword [esp + 0x34], edx
mov ebx, dword [ebp + edx*4]
mov dword [esp + 0x5c], ebx
movzx ebp, byte [0x5a4508]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x42ed95
mov ebp, dword fs:[0x14]
mov ebp, dword [ebp]
mov ebp, dword [ebp + 0x18]
mov ebp, dword [ebp + 0x54]
cmp ebp, ebx
je 0x42f0d2
jmp 0x42ed95
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0040da50
mov eax, dword [esp + 0x5c]
jmp 0x42eeb4
mov dword [esp], ebx
call fcn.004213e0
mov eax, dword [esp + 0x5c]
lea ecx, [eax + 0x960]
mov dword [esp], ecx
call fcn.0041c170
mov ebx, dword [esp + 0x5c]
jmp 0x42ee64
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.004293d0
movzx eax, byte [0x5a4508]
test al, al
jne 0x42f0b9
mov eax, dword [esp + 0x6c]
mov dword [eax + 0x68], 0
mov ecx, dword [0x59c42c]
test ecx, ecx
je 0x42f0a7
lea edx, [ecx + 0x68]
test byte [edx], al
mov edx, eax
mov dword [ecx + 0x68], eax
lea ebp, [0x59c42c]
test byte [ebp], al
mov dword [0x59c42c], edx
mov ebp, dword [0x59c430]
inc ebp
mov dword [0x59c430], 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 0x42ee56
lea ecx, [0x59c428]
test byte [ecx], al
mov edx, eax
mov dword [0x59c428], eax
jmp 0x42f067
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.004406d0
jmp 0x42f048
call fcn.00440560
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call fcn.0043fd50
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x5c]
jmp 0x42ed95
mov eax, dword [0x59c034]
cmp ecx, eax
jne 0x42f293
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 0x42f28f
mov ebx, edx
mov ebp, dword [edx + 4]
cmp ebp, ecx
jge 0x42f222
mov dword [edx + 8], 1
lea edx, [ecx - 1]
xor ebx, ebx
jmp 0x42f141
dec edx
mov dword [esp + 0x58], ebx
test edx, edx
jl 0x42f1ee
mov ebp, dword [0x59c034]
mov esi, dword [0x59c030]
cmp edx, ebp
jae 0x42f3cf
mov ebp, dword [eax + 0x18]
mov esi, dword [esi + edx*4]
mov ebp, dword [ebp + 0x54]
cmp ebp, esi
je 0x42f140
mov dword [esp + 0x30], edx
mov dword [esp + 0x60], esi
mov dword [esi + 8], 0
mov dword [esp], esi
call fcn.00431380
movzx eax, byte [esp + 4]
test al, al
jne 0x42f1dc
mov eax, dword [0x59c3f4]
test eax, eax
je 0x42f1b1
mov ecx, dword [eax + 0xbc]
mov dword [0x59c3f4], ecx
mov ecx, dword [0x59c3f8]
dec ecx
mov dword [0x59c3f8], 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 0x42f140
mov eax, dword [esp + 0x60]
mov dword [esp], eax
call fcn.004312a0
mov ecx, dword [esp + 0x58]
jmp 0x42f1c9
lea eax, [0x59c0a0]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00431b90
lea eax, [0x5ac644]
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 0x42f22d
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 [0x59c034]
mov ebx, dword [0x59c030]
test edx, edx
jbe 0x42f3d6
mov eax, dword [ebx]
mov dword [eax + 0x30], 0
mov dword [eax + 8], 0
mov dword [esp], eax
call fcn.0042f450
movzx eax, byte [0x5a4508]
test al, al
jne 0x42f288
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x78]
jmp 0x42f139
call fcn.00440350
jmp 0x42f27b
mov ebx, edx
jmp 0x42f224
lea eax, [0x5ac5fc]
mov dword [esp], eax
call fcn.0040b5f0
mov eax, dword [0x59c038]
mov ecx, dword [esp + 0x78]
cmp ecx, eax
ja 0x42f3dd
mov dword [0x59c034], ecx
lea eax, [0x5ac5fc]
mov dword [esp], eax
call fcn.0040b7c0
mov ecx, dword [esp + 0x78]
jmp 0x42f106
lea eax, [0x5ac5fc]
mov dword [esp], eax
call fcn.0040b5f0
mov eax, dword [0x59c038]
mov ecx, dword [esp + 0x78]
cmp ecx, eax
jg 0x42f30d
mov dword [0x59c034], ecx
lea eax, [0x5ac5fc]
mov dword [esp], eax
call fcn.0040b7c0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x78]
jmp 0x42ebe3
lea eax, [0x4dcae0]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.004375b0
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 [0x59c038]
mov ebp, dword [0x59c030]
lea esi, [0x4dcae0]
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.0040ddb0
mov eax, dword [esp + 0x28]
mov dword [0x59c034], eax
mov eax, dword [esp + 0x2c]
mov dword [0x59c038], eax
mov eax, dword [0x5ac790]
test eax, eax
jne 0x42f39a
mov eax, dword [esp + 0x64]
mov dword [0x59c030], eax
jmp 0x42f2f2
lea eax, [0x59c030]
mov dword [esp], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
call fcn.0040da50
jmp 0x42f2f2
mov edx, eax
mov esi, ecx
mov eax, dword [esp + 0x20]
jmp 0x42ebc5
mov dword [esp], ecx
call fcn.0043fc60
jmp 0x42eb26
call fcn.00424c30
ud2
call fcn.00424c30
ud2
call fcn.00424c90
ud2
call fcn.00424c30
ud2
call fcn.00424c30
ud2
lea eax, [0x5074a6]
mov dword [esp], eax
mov dword [esp + 4], 0xf
call fcn.00426190
ud2
call fcn.00424c30
ud2
call fcn.00424c30
ud2
call fcn.00424c30
ud2
lea eax, [0x50987c]
mov dword [esp], eax
mov dword [esp + 4], 0x17
call fcn.00426190
ud2
call fcn.004491a0
jmp fcn.0042eae0