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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x42eb87
sub esp, 0x74
mov eax, dword [0x5d3a50]
test eax, eax
jl 0x42eb6f
mov ecx, dword [esp + 0x78]
test ecx, ecx
jle 0x42eb6f
mov dword [esp + 0x20], eax
movzx edx, byte [0x5cb908]
test dl, dl
jne 0x42eb12
call fcn.0044ad40
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov edx, dword [0x5c336c]
mov ebx, dword [0x5c3370]
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 0x42eb05
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 [0x5c3374]
mov dword [esp + 0x48], ecx
add eax, ecx
mov ecx, dword [0x5c3378]
mov dword [esp + 0x44], ecx
mov dword [0x5c3374], 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 [0x5c3378], ebx
mov dword [0x5c336c], edx
mov dword [0x5c3370], esi
mov ecx, dword [0x5c2f14]
mov edx, dword [esp + 0x78]
cmp edx, ecx
jg 0x42ea20
xor ecx, ecx
jmp 0x42e338
inc ecx
cmp ecx, edx
jge 0x42e4d1
mov ebx, dword [0x5c2f10]
mov ebp, dword [0x5c2f14]
cmp ecx, ebp
jae 0x42eb68
mov dword [esp + 0x38], ecx
mov ebx, dword [ebx + ecx*4]
test ebx, ebx
je 0x42e3b2
mov ebp, dword [ebx + 0x34]
test ebp, ebp
jne 0x42e337
mov dword [esp + 0x54], ebx
test eax, eax
jne 0x42e395
test ecx, ecx
jne 0x42e395
mov ebp, dword fs:[0x14]
mov ebp, dword [ebp]
mov ebp, dword [ebp + 0x18]
mov ebp, dword [ebp + 0xc0]
test ebp, ebp
je 0x42eb42
mov dword [ebx + 0x34], ebp
jmp 0x42e337
call fcn.00410150
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 0x42e337
lea eax, [0x519860]
mov dword [esp], eax
call fcn.0040d050
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 [0x5d3b70]
lea ebx, [eax + 0x71c]
lea ebp, [eax + 0x728]
test edx, edx
jne 0x42e4b8
mov dword [eax + 0x71c], ebp
xor edx, edx
jmp 0x42e411
lea edx, [edi + 1]
cmp edx, 5
jge 0x42e46a
jae 0x42eb61
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 [0x5d3b70]
mov edi, edx
shl edx, 7
lea edx, [eax + edx + 0x78]
test esi, esi
jne 0x42e44c
mov dword [eax + ebx*4 + 0x3c], edx
jmp 0x42e40e
mov dword [esp + 0x40], edi
mov dword [esp], ebp
mov dword [esp + 4], edx
call fcn.0040d8c0
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x40]
jmp 0x42e40e
lea ecx, [eax + 0x978]
mov dword [esp], ecx
call fcn.00421200
mov eax, dword [0x5c2f14]
mov ecx, dword [0x5c2f10]
mov edx, dword [esp + 0x38]
cmp edx, eax
jae 0x42eb5a
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 0x42e35f
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.0040d8c0
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x38]
jmp 0x42e40a
mov ecx, edx
jmp 0x42e6dc
mov ebp, dword [0x5c3310]
inc ebp
mov dword [0x5c3310], ebp
mov ebp, dword [ebx + 0x308]
mov esi, dword [ebx + 0x30c]
cmp ebp, esi
je 0x42e53f
lea ebp, [esi - 1]
mov dword [ebx + 0x30c], ebp
and ebp, 0xff
mov ebp, dword [ebx + ebp*4 + 0x310]
mov esi, dword [0x5c3308]
mov dword [ebp + 0x68], esi
lea esi, [0x5c3308]
test byte [esi], al
mov esi, ebp
mov dword [0x5c3308], ebp
mov ebp, dword [0x5c330c]
test ebp, ebp
jne 0x42e4d8
lea ebp, [0x5c330c]
test byte [ebp], al
mov dword [0x5c330c], esi
jmp 0x42e4d8
mov ebp, dword [ebx + 0x710]
test ebp, ebp
je 0x42e592
mov esi, dword [0x5c3308]
mov dword [ebp + 0x68], esi
lea esi, [0x5c3308]
test byte [esi], al
mov esi, ebp
mov dword [0x5c3308], ebp
mov ebp, dword [0x5c330c]
test ebp, ebp
jne 0x42e57b
lea ebp, [0x5c330c]
test byte [ebp], al
mov dword [0x5c330c], esi
mov ebp, dword [0x5c3310]
inc ebp
mov dword [0x5c3310], ebp
mov dword [ebx + 0x710], 0
mov ebp, dword [ebx + 0x950]
lea esi, [ebx + 0x950]
test ebp, ebp
jne 0x42e76d
mov ebp, dword [0x5d3a4c]
test ebp, ebp
jne 0x42e74a
lea eax, [ebx + 0x728]
mov dword [esp], eax
mov dword [esp + 4], 0x200
call fcn.0040de20
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 [0x5d3b70]
lea ebx, [eax + 0x71c]
test edx, edx
jne 0x42e735
mov dword [eax + 0x71c], ecx
xor ecx, ecx
jmp 0x42e60d
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 5
jge 0x42e684
jae 0x42eb34
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.0040de20
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 [0x5d3b70]
test esi, esi
jne 0x42e66e
mov dword [edx + ecx*4 + 0x3c], ebx
jmp 0x42e608
mov dword [esp], ebp
mov dword [esp + 4], ebx
call fcn.0040d8c0
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x5c]
jmp 0x42e608
mov ecx, dword [eax + 0x34]
mov dword [esp], ecx
call fcn.004101f0
mov eax, dword [esp + 0x5c]
mov dword [eax + 0x34], 0
mov dword [esp], eax
call fcn.0042df30
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call fcn.0043e640
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 0x42e848
mov ebx, dword [0x5c2f14]
mov ebp, dword [0x5c2f10]
cmp edx, ebx
jae 0x42eb3b
mov dword [esp + 0x34], edx
mov ebx, dword [ebp + edx*4]
mov dword [esp + 0x5c], ebx
movzx ebp, byte [0x5cb908]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x42e4e5
mov ebp, dword fs:[0x14]
mov ebp, dword [ebp]
mov ebp, dword [ebp + 0x18]
mov ebp, dword [ebp + 0x54]
cmp ebp, ebx
je 0x42e822
jmp 0x42e4e5
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0040d8c0
mov eax, dword [esp + 0x5c]
jmp 0x42e604
mov dword [esp], ebx
call fcn.00421320
mov eax, dword [esp + 0x5c]
lea ecx, [eax + 0x960]
mov dword [esp], ecx
call fcn.0041c0b0
mov ebx, dword [esp + 0x5c]
jmp 0x42e5b4
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.00428b20
movzx eax, byte [0x5cb908]
test al, al
jne 0x42e809
mov eax, dword [esp + 0x6c]
mov dword [eax + 0x68], 0
mov ecx, dword [0x5c330c]
test ecx, ecx
je 0x42e7f7
lea edx, [ecx + 0x68]
test byte [edx], al
mov edx, eax
mov dword [ecx + 0x68], eax
lea ebp, [0x5c330c]
test byte [ebp], al
mov dword [0x5c330c], edx
mov ebp, dword [0x5c3310]
inc ebp
mov dword [0x5c3310], 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 0x42e5a6
lea ecx, [0x5c3308]
test byte [ecx], al
mov edx, eax
mov dword [0x5c3308], eax
jmp 0x42e7b7
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0043fc10
jmp 0x42e798
call fcn.0043faa0
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call fcn.0043f290
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x5c]
jmp 0x42e4e5
mov eax, dword [0x5c2f14]
cmp ecx, eax
jne 0x42e9e3
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 0x42e9df
mov ebx, edx
mov ebp, dword [edx + 4]
cmp ebp, ecx
jge 0x42e972
mov dword [edx + 8], 1
lea edx, [ecx - 1]
xor ebx, ebx
jmp 0x42e891
dec edx
mov dword [esp + 0x58], ebx
test edx, edx
jl 0x42e93e
mov ebp, dword [0x5c2f14]
mov esi, dword [0x5c2f10]
cmp edx, ebp
jae 0x42eb1f
mov ebp, dword [eax + 0x18]
mov esi, dword [esi + edx*4]
mov ebp, dword [ebp + 0x54]
cmp ebp, esi
je 0x42e890
mov dword [esp + 0x30], edx
mov dword [esp + 0x60], esi
mov dword [esi + 8], 0
mov dword [esp], esi
call fcn.00430ad0
movzx eax, byte [esp + 4]
test al, al
jne 0x42e92c
mov eax, dword [0x5c32d4]
test eax, eax
je 0x42e901
mov ecx, dword [eax + 0xbc]
mov dword [0x5c32d4], ecx
mov ecx, dword [0x5c32d8]
dec ecx
mov dword [0x5c32d8], 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 0x42e890
mov eax, dword [esp + 0x60]
mov dword [esp], eax
call fcn.004309f0
mov ecx, dword [esp + 0x58]
jmp 0x42e919
lea eax, [0x5c2f90]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004312e0
lea eax, [0x5d3a50]
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 0x42e97d
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 [0x5c2f14]
mov ebx, dword [0x5c2f10]
test edx, edx
jbe 0x42eb26
mov eax, dword [ebx]
mov dword [eax + 0x30], 0
mov dword [eax + 8], 0
mov dword [esp], eax
call fcn.0042eba0
movzx eax, byte [0x5cb908]
test al, al
jne 0x42e9d8
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x78]
jmp 0x42e889
call fcn.0043f890
jmp 0x42e9cb
mov ebx, edx
jmp 0x42e974
lea eax, [0x5d3a08]
mov dword [esp], eax
call fcn.0040b420
mov eax, dword [0x5c2f18]
mov ecx, dword [esp + 0x78]
cmp ecx, eax
ja 0x42eb2d
mov dword [0x5c2f14], ecx
lea eax, [0x5d3a08]
mov dword [esp], eax
call fcn.0040b5f0
mov ecx, dword [esp + 0x78]
jmp 0x42e856
lea eax, [0x5d3a08]
mov dword [esp], eax
call fcn.0040b420
mov eax, dword [0x5c2f18]
mov ecx, dword [esp + 0x78]
cmp ecx, eax
jg 0x42ea5d
mov dword [0x5c2f14], ecx
lea eax, [0x5d3a08]
mov dword [esp], eax
call fcn.0040b5f0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x78]
jmp 0x42e333
lea eax, [0x4f62c0]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.00436bf0
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 [0x5c2f18]
mov ebp, dword [0x5c2f10]
lea esi, [0x4f62c0]
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.0040dc20
mov eax, dword [esp + 0x28]
mov dword [0x5c2f14], eax
mov eax, dword [esp + 0x2c]
mov dword [0x5c2f18], eax
mov eax, dword [0x5d3b70]
test eax, eax
jne 0x42eaea
mov eax, dword [esp + 0x64]
mov dword [0x5c2f10], eax
jmp 0x42ea42
lea eax, [0x5c2f10]
mov dword [esp], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
call fcn.0040d8c0
jmp 0x42ea42
mov edx, eax
mov esi, ecx
mov eax, dword [esp + 0x20]
jmp 0x42e315
mov dword [esp], ecx
call fcn.0043f1a0
jmp 0x42e276
call fcn.00424360
ud2
call fcn.00424360
ud2
call fcn.004243c0
ud2
call fcn.00424360
ud2
call fcn.00424360
ud2
lea eax, [0x522424]
mov dword [esp], eax
mov dword [esp + 4], 0xf
call fcn.004258c0
ud2
call fcn.00424360
ud2
call fcn.00424360
ud2
call fcn.00424360
ud2
lea eax, [0x525259]
mov dword [esp], eax
mov dword [esp + 4], 0x17
call fcn.004258c0
ud2
call fcn.004486e0
jmp fcn.0042e230