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

Disassembly:
mov ecx, dword [0x5915c4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 0xc]
jbe 0x42ec0e
sub esp, 0x7c
mov eax, dword [0x5915c4]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x58]
mov dword [esp], eax
call fcn.004511f0
mov eax, dword [esp + 4]
mov dword [esp + 0x6c], eax
test eax, eax
je 0x42e643
mov ecx, dword [esp + 0x84]
cmp ecx, 0x10
jae 0x42e63b
lea ecx, [eax + 0x34]
mov dword [esp + 0x70], ecx
mov dword [esp], ecx
call fcn.00433460
movzx eax, byte [esp + 4]
test al, al
je 0x42e5d4
mov eax, dword [esp + 0x80]
test byte [eax], al
mov dword [esp], eax
call fcn.0040c9b0
mov eax, dword [esp + 0x80]
lea ecx, [eax + 8]
mov dword [esp], ecx
call fcn.004339e0
lea edi, [esp + 0x54]
lea esi, [esp + 4]
call fcn.0046dd4e
mov edi, dword [esp + 0x70]
lea esi, [esp + 0x54]
call fcn.0046dd4e
mov eax, dword [esp + 0x80]
mov dword [esp], eax
call fcn.0040cbd0
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 4], eax
call fcn.004334a0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test eax, eax
je 0x42e631
mov dword [esp + 0x4c], eax
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x80]
mov dword [esp], eax
call fcn.0042e340
mov eax, dword [esp + 4]
test eax, eax
je 0x42e625
xor ecx, ecx
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x24]
jmp 0x42e768
mov ecx, dword [esp + 0x24]
mov edx, eax
mov eax, dword [esp + 0x4c]
jmp 0x42e633
xor edx, edx
mov ebx, edx
mov ebp, ecx
mov edx, eax
jmp 0x42e649
xor edx, edx
xor ebx, ebx
xor ebp, ebp
jmp 0x42e649
xor edx, edx
xor ebx, ebx
xor ebp, ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], edx
mov eax, dword [esp + 0x80]
test byte [eax], al
mov dword [esp], eax
call fcn.0040c9b0
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x42e679
xor edx, edx
mov ecx, dword [esp + 0x24]
jmp 0x42e71e
mov eax, dword [esp + 0x80]
lea ecx, [eax + 8]
mov dword [esp + 0x78], ecx
mov dword [esp], ecx
mov edx, dword [esp + 0x84]
mov dword [esp + 4], edx
call fcn.00432780
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test eax, eax
je 0x42e6aa
xor edx, edx
jmp 0x42e71e
mov eax, dword [esp + 0x80]
mov dword [esp], eax
mov ecx, dword [esp + 0x84]
mov dword [esp + 4], ecx
call fcn.0042eee0
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 8]
test al, al
jne 0x42e6ef
mov eax, dword [esp + 0x80]
mov dword [esp], eax
call fcn.0040cbd0
mov dword [esp + 0x8c], 0
add esp, 0x7c
ret
mov dword [esp + 0x3c], ecx
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 4], eax
call fcn.00432780
mov eax, dword [esp + 8]
test eax, eax
je 0x42ebf7
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x3c], edx
mov ebx, dword [esp + 0x50]
test ebx, ebx
jne 0x42e745
mov eax, dword [esp + 0x80]
mov dword [esp], eax
call fcn.0042e3b0
mov ebx, dword [esp + 4]
mov dword [esp + 0x50], ebx
mov eax, dword [esp + 0x80]
mov dword [esp], eax
call fcn.0040cbd0
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], eax
mov dword [esp + 0x3c], ecx
lea ebp, [0x591e48]
mov dword [esp], ebp
call fcn.004035f0
mov eax, dword [esp + 4]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x38], ecx
lea edx, [0x591860]
mov dword [esp], edx
call fcn.0041fe00
movzx eax, byte [esp + 4]
test al, al
je 0x42e7b3
xor eax, eax
xor ebx, ebx
jmp 0x42e7f9
lea eax, [0x591f78]
mov dword [esp], eax
call fcn.004038b0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x24]
add eax, edx
adc ecx, 0
mov ebx, dword [esp + 0x38]
cmp ebx, ecx
setb cl
sete bl
mov ebp, dword [esp + 0x34]
cmp eax, ebp
xchg esi, ebx
seta bl
xchg esi, ebx
and ebx, esi
or ebx, ecx
test bl, bl
je 0x42e7f7
sub eax, ebp
jmp 0x42e7f9
xor eax, eax
mov byte [esp + 0x1b], bl
mov dword [esp + 0x48], eax
lea ecx, [0x591760]
mov dword [esp], ecx
call fcn.004038b0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
cmp eax, 0xffffffff
setne dl
cmp ecx, 0xffffffff
setne bl
or ebx, edx
test bl, bl
je 0x42e8b1
mov edx, dword [esp + 0x3c]
test edx, edx
ja 0x42e841
mov ecx, dword [esp + 0x6c]
test ecx, ecx
mov eax, dword [esp + 0x48]
jmp 0x42e8bb
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], eax
call fcn.004279e0
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x3c]
add eax, edx
adc ecx, 0
mov ebx, dword [esp + 0x44]
cmp ebx, ecx
sete cl
setb bl
mov ebp, dword [esp + 0x40]
cmp eax, ebp
xchg esi, ebx
seta bl
xchg esi, ebx
and ecx, esi
or ebx, ecx
test bl, bl
je 0x42e8a5
sub eax, ebp
cmp eax, edx
jb 0x42e887
mov eax, edx
mov ecx, dword [esp + 0x48]
cmp ecx, eax
jae 0x42e897
mov ecx, dword [esp + 0x6c]
test ecx, ecx
jmp 0x42e8bb
mov edx, dword [esp + 0x6c]
test edx, edx
mov ecx, edx
mov eax, dword [esp + 0x48]
jmp 0x42e8bb
mov ecx, dword [esp + 0x6c]
test ecx, ecx
mov eax, dword [esp + 0x48]
jmp 0x42e8bb
mov ecx, dword [esp + 0x6c]
test ecx, ecx
mov eax, dword [esp + 0x48]
je 0x42e9c1
test eax, eax
ja 0x42e8ce
xor eax, eax
xor edx, edx
jmp 0x42e9c5
mov dword [esp + 0x48], eax
call fcn.0045d570
mov eax, dword [esp]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x6c]
lea ebx, [edx + 0x968]
mov dword [esp + 0x74], ebx
mov dword [esp], ebx
mov byte [esp + 4], 3
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.00420950
mov eax, dword [esp + 0x80]
test byte [eax], al
movzx ecx, byte [esp + 0x10]
mov byte [esp + 0x1a], cl
lea edx, [eax + 8]
mov dword [esp], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 4], edx
lea edx, [0x4d3a88]
mov dword [esp + 8], edx
movzx edx, byte [esp + 0x1b]
mov byte [esp + 0xc], dl
call fcn.004285b0
mov eax, dword [esp + 0x10]
lea ecx, [0x55935c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00403a30
call fcn.0045d570
mov eax, dword [esp]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x2c], ecx
movzx edx, byte [esp + 0x1a]
test dl, dl
je 0x42e995
mov edx, dword [esp + 0x74]
mov dword [esp], edx
mov byte [esp + 4], 3
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.00420b40
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
lea edx, [0x591770]
mov dword [esp], edx
mov edx, dword [esp + 0x1c]
sub eax, edx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
sbb ecx, eax
mov dword [esp + 8], ecx
call fcn.004036d0
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
jmp 0x42e9c5
xor eax, eax
xor edx, edx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x80]
mov dword [esp], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
movzx ebx, byte [esp + 0x88]
mov byte [esp + 8], bl
movzx ebp, byte [esp + 0x89]
xchg ebp, eax
mov byte [esp + 9], al
xchg ebp, eax
mov ebp, dword [esp + 0x4c]
mov dword [esp + 0xc], ebp
mov esi, dword [esp + 0x84]
mov dword [esp + 0x10], esi
call fcn.0042ec20
mov eax, dword [esp + 0x84]
shl eax, 0xd
mov dword [esp + 0x30], eax
mov edx, dword [esp + 0x24]
test edx, edx
je 0x42ea69
mov ecx, dword [esp + 0x4c]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00418c30
lea eax, [0x591f58]
mov dword [esp], eax
xor eax, eax
mov ecx, dword [esp + 0x24]
sub eax, ecx
mov dword [esp + 4], eax
mov eax, 0
sbb eax, 0
mov dword [esp + 8], eax
call fcn.00438c70
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
lea ecx, [0x591f60]
mov dword [esp], ecx
sub eax, edx
xor ebx, ebx
sub ebx, eax
mov dword [esp + 4], ebx
mov eax, 0
sbb eax, 0
mov dword [esp + 8], eax
call fcn.00438c70
movzx eax, byte [esp + 0x88]
test al, al
jne 0x42eab7
lea eax, [0x591f50]
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov dword [esp + 8], 0
call fcn.00438c70
lea eax, [0x592fe0]
mov dword [esp], eax
call fcn.00438d90
mov eax, dword [esp + 4]
mov dword [esp + 0x68], eax
test byte [eax], al
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
call fcn.00403d20
mov eax, dword [esp + 0x68]
lea ecx, [eax + 8]
mov dword [esp], ecx
xor ecx, ecx
mov edx, dword [esp + 0x24]
sub ecx, edx
mov dword [esp + 4], ecx
mov ecx, 0
sbb ecx, 0
mov dword [esp + 8], ecx
call fcn.00403d20
movzx eax, byte [esp + 0x88]
cmp al, 1
ja 0x42eb61
test al, al
jne 0x42eb40
mov eax, dword [esp + 0x68]
add eax, 0x10
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov dword [esp + 8], 0
call fcn.00403d20
jmp 0x42ebab
mov eax, dword [esp + 0x68]
add eax, 0x18
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov dword [esp + 8], 0
call fcn.00403d20
jmp 0x42ebab
cmp al, 2
je 0x42eb8c
cmp al, 3
jne 0x42ebab
mov eax, dword [esp + 0x68]
add eax, 0x20
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov dword [esp + 8], 0
call fcn.00403d20
jmp 0x42ebab
mov eax, dword [esp + 0x68]
add eax, 0x28
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov dword [esp + 8], 0
call fcn.00403d20
lea eax, [0x592fe0]
mov dword [esp], eax
call fcn.00438e80
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x10], eax
call fcn.0043cd20
mov eax, dword [esp + 0x50]
mov dword [esp + 0x8c], eax
add esp, 0x7c
ret
lea eax, [0x4d1b7e]
mov dword [esp], eax
mov dword [esp + 4], 0x2b
call fcn.0043e340
nop
call fcn.0046b1d0
jmp fcn.0042e520