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

Disassembly:
sub esp, 0x98
mov eax, dword [0x4e27e0]
xor eax, esp
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x9c]
push ebx
push ebp
push esi
push edi
xor edi, edi
mov ebx, edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], edi
cmp eax, edi
je 0x42f494
cmp byte [eax], 0
je 0x42f494
xor ebp, ebp
jmp 0x42f499
mov ebp, 1
mov dword [esp + 0x14], ebp
cmp eax, edi
je 0x42f4cf
mov ecx, str.:memory:
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x42f4c6
test dl, dl
je 0x42f4c2
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x42f4c6
add eax, 2
add ecx, 2
test dl, dl
jne 0x42f4a6
xor eax, eax
jmp 0x42f4cb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x42f4d9
cmp ebp, edi
je 0x42f4e0
cmp byte [ebx + 0x1d], 2
jne 0x42f4e0
mov esi, 1
jmp 0x42f4e2
xor esi, esi
test dword [ebx + 0xc], 0x20000
mov dword [esp + 0x34], esi
je 0x42f4f7
or dword [esp + 0xb0], 2
cmp esi, edi
je 0x42f503
or dword [esp + 0xb0], 4
mov eax, dword [esp + 0xb4]
test eax, 0x100
je 0x42f52a
cmp esi, edi
jne 0x42f519
cmp ebp, edi
je 0x42f52a
and eax, 0xfffffeff
or eax, 0x200
mov dword [esp + 0xb4], eax
mov ebp, dword [ebx]
push 0x2c
mov dword [esp + 0x30], ebp
call fcn.004204a0
mov edi, eax
add esp, 4
mov dword [esp + 0x1c], edi
test edi, edi
je 0x42f5a4
push 0x2c
push 0
push edi
call fcn.004a2540
add esp, 0xc
mov byte [edi + 8], 0
mov dword [edi], ebx
mov dword [edi + 0x1c], edi
mov dword [edi + 0x20], 1
test esi, esi
jne 0x42f6c3
cmp dword [esp + 0x14], esi
jne 0x42f6c3
test dword [esp + 0xb4], 0x20000
je 0x42f6c3
mov esi, dword [ebp + 8]
inc esi
push esi
call fcn.004204a0
mov ebx, eax
add esp, 4
mov byte [edi + 9], 1
test ebx, ebx
jne 0x42f5ae
push edi
call fcn.00420760
add esp, 4
mov eax, 7
jmp 0x42fa09
mov edx, dword [esp + 0x28]
push ebx
push esi
push edx
mov byte [ebx], 0
mov eax, dword [ebp + 0x24]
push ebp
call eax
add esp, 0x10
cmp dword [0x4e41f4], 0
jne 0x42f5ce
xor eax, eax
jmp 0x42f5d9
push 4
call dword [0x4e4230]
add esp, 4
push eax
mov dword [esp + 0x24], eax
call fcn.0041fe90
add esp, 4
cmp dword [0x4e41f4], 0
jne 0x42f5f7
xor ebp, ebp
mov dword [esp + 0x14], ebp
jmp 0x42f608
push 2
call dword [0x4e4230]
add esp, 4
mov ebp, eax
mov dword [esp + 0x14], eax
push ebp
call fcn.0041fe90
mov eax, dword [0x4e8460]
add esp, 4
mov esi, eax
test eax, eax
je 0x42f6a4
mov ebp, dword [esi]
mov ecx, dword [ebp + 0x90]
mov eax, ebx
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x42f650
test dl, dl
je 0x42f64c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x42f650
add eax, 2
add ecx, 2
test dl, dl
jne 0x42f630
xor eax, eax
jmp 0x42f655
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x42f662
mov ecx, dword [esp + 0x2c]
cmp dword [ebp], ecx
je 0x42f66b
mov esi, dword [esi + 0x48]
test esi, esi
jne 0x42f620
jmp 0x42f6a0
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 4]
sub eax, 1
js 0x42f69a
mov ecx, dword [ecx + 8]
mov edx, eax
shl edx, 4
lea ecx, [ecx + edx + 4]
mov edx, dword [ecx]
test edx, edx
je 0x42f692
cmp dword [edx + 4], esi
je 0x42f7c0
dec eax
sub ecx, 0x10
test eax, eax
jge 0x42f683
mov dword [edi + 4], esi
inc dword [esi + 0x44]
mov ebp, dword [esp + 0x14]
test ebp, ebp
je 0x42f6b2
push ebp
call dword [0x4e4240]
add esp, 4
push ebx
call fcn.00420760
add esp, 4
test esi, esi
jne 0x42f882
push 0x5c
call fcn.004204a0
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x42f800
push 0x5c
push 0
push ebp
call fcn.004a2540
mov edx, dword [esp + 0xc0]
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0xbc]
add esp, 0xc
push edx
push eax
mov eax, dword [esp + 0x34]
push ebp
mov ecx, ebx
call fcn.00429f40
add esp, 0xc
mov dword [esp + 0x18], eax
test eax, eax
jne 0x42f908
mov ecx, dword [ebp]
push ecx
lea esi, [esp + 0x3c]
call fcn.00429780
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
jne 0x42f908
mov eax, dword [ebp]
mov edx, dword [esp + 0x24]
mov byte [ebp + 0x14], bl
mov dword [ebp + 4], edx
mov dword [eax + 0x98], 0x42f410
mov dword [eax + 0x9c], ebp
mov dword [edi + 4], ebp
mov edi, dword [ebp]
xor ecx, ecx
mov dword [ebp + 8], ecx
mov dword [ebp + 0xc], ecx
mov al, byte [edi + 0xc]
mov byte [ebp + 0x10], al
movzx eax, byte [esp + 0x49]
movzx edx, byte [esp + 0x48]
shl eax, 8
or eax, edx
shl eax, 8
lea esi, [ebp + 0x24]
mov dword [esi], eax
cmp eax, 0x200
jb 0x42f80d
cmp eax, 0x10000
ja 0x42f80d
lea edx, [eax - 1]
test eax, edx
jne 0x42f80d
mov bl, byte [esp + 0x4c]
lea ecx, [esp + 0x6c]
mov byte [ebp + 0x11], 1
call fcn.004233c0
test eax, eax
setne al
lea ecx, [esp + 0x78]
mov byte [ebp + 0x15], al
call fcn.004233c0
test eax, eax
setne cl
mov byte [ebp + 0x16], cl
jmp 0x42f825
mov eax, dword [esp + 0x14]
test eax, eax
je 0x42f7d2
push eax
call dword [0x4e4240]
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
je 0x42f7e4
push eax
call dword [0x4e4240]
add esp, 4
push ebx
call fcn.00420760
add esp, 4
push edi
call fcn.00420760
add esp, 4
mov eax, 0x13
jmp 0x42fa09
mov dword [esp + 0x18], 7
jmp 0x42f918
mov dword [esi], ecx
cmp dword [esp + 0x28], ecx
je 0x42f823
cmp dword [esp + 0x34], ecx
jne 0x42f823
mov byte [ebp + 0x15], 0
mov byte [ebp + 0x16], 0
xor bl, bl
movzx ebx, bl
push ebx
push esi
call fcn.00429660
add esp, 8
mov dword [esp + 0x18], eax
test eax, eax
jne 0x42f904
mov edx, dword [esi]
mov eax, dword [esp + 0x1c]
sub edx, ebx
mov dword [ebp + 0x28], edx
cmp byte [eax + 9], 0
je 0x42f882
mov dword [ebp + 0x44], 1
cmp dword [0x4e41f4], 0
jne 0x42f8c9
xor esi, esi
push esi
call fcn.0041fe90
mov edx, dword [0x4e8460]
add esp, 4
push esi
mov dword [ebp + 0x48], edx
mov dword [0x4e8460], ebp
call fcn.0041fed0
add esp, 4
mov edi, dword [esp + 0x1c]
cmp byte [edi + 9], 0
je 0x42f993
mov esi, dword [esp + 0x24]
xor edx, edx
cmp dword [esi + 4], edx
jle 0x42f993
mov ecx, dword [esi + 8]
add ecx, 4
mov eax, dword [ecx]
test eax, eax
je 0x42f8b5
cmp byte [eax + 9], 0
jne 0x42f939
inc edx
add ecx, 0x10
cmp edx, dword [esi + 4]
jl 0x42f8a5
mov edx, dword [esp + 0x30]
mov dword [edx], edi
jmp 0x42f999
push 2
call dword [0x4e4230]
add esp, 4
cmp dword [0x4e41f4], 0
mov esi, eax
je 0x42f861
push 0
call dword [0x4e4230]
add esp, 4
mov dword [ebp + 0x3c], eax
test eax, eax
jne 0x42f861
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x18], 7
mov byte [ecx + 0x1e], al
mov edi, dword [esp + 0x1c]
mov eax, dword [ebp]
test eax, eax
je 0x42f918
push eax
call fcn.00429870
add esp, 4
push ebp
call fcn.00420760
add esp, 4
push edi
call fcn.00420760
mov eax, dword [esp + 0x34]
add esp, 4
mov dword [eax], 0
jmp 0x42f9f3
cmp dword [eax + 0x18], 0
je 0x42f949
nop
mov eax, dword [eax + 0x18]
cmp dword [eax + 0x18], 0
jne 0x42f940
mov edx, dword [edi + 4]
cmp edx, dword [eax + 4]
jae 0x42f966
mov edx, dword [esp + 0x30]
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], 0
mov dword [eax + 0x18], edi
mov dword [edx], edi
jmp 0x42f999
cmp dword [eax + 0x14], 0
je 0x42f980
lea esp, [esp]
mov ecx, dword [eax + 0x14]
cmp dword [ecx + 4], edx
jae 0x42f980
mov eax, ecx
cmp dword [eax + 0x14], 0
jne 0x42f970
mov ecx, dword [eax + 0x14]
mov dword [edi + 0x14], ecx
mov dword [edi + 0x18], eax
test ecx, ecx
je 0x42f990
mov dword [ecx + 0x18], edi
mov dword [eax + 0x14], edi
mov edx, dword [esp + 0x30]
mov dword [edx], edi
mov esi, dword [edi + 4]
call fcn.0042db30
cmp byte [edi + 9], 0
je 0x42f9c5
add dword [edi + 0xc], 0xffffffff
jne 0x42f9c5
mov ecx, dword [edi + 4]
mov eax, dword [ecx + 0x3c]
test eax, eax
je 0x42f9c1
push eax
call dword [0x4e4240]
add esp, 4
mov byte [edi + 0xa], 0
cmp dword [esi + 0x34], 0
jne 0x42f9f3
mov edx, dword [edi + 4]
mov eax, dword [edx]
mov eax, dword [eax + 0xa8]
mov dword [eax + 0x10], 0x7d0
mov eax, dword [eax + 0x28]
test eax, eax
je 0x42f9f3
push 0x7d0
push eax
call dword [0x4e425c]
add esp, 8
mov eax, dword [esp + 0x20]
test eax, eax
je 0x42fa05
push eax
call dword [0x4e4240]
add esp, 4
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0049bee5
add esp, 0x98
ret