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

Disassembly:
sub esp, 0x64
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0x20], 0
push edi
xor eax, eax
mov dword [esp + 0x14], 0
mov edi, edx
mov dword [esp + 0x1c], edi
cmp word [esi + 0x28], ax
jne 0x42f34b
mov eax, dword [esi + 0x20]
mov eax, dword [eax]
cmp dword [eax + 0x60], 0
jbe 0x42f307
lea eax, [esp + 0x30]
push eax
push 4
call fcn.00421800
add esp, 8
cmp byte [esi + 0x2b], 0
jne 0x42f2a1
mov eax, dword [esi + 4]
push 0xa
push 4
push 4
mov ecx, dword [eax]
push eax
mov eax, dword [ecx + 0x38]
call eax
add esp, 0x10
test eax, eax
je 0x42f2a1
cmp eax, 5
je 0x42f307
jmp 0x42f34b
mov eax, dword [esi + 0x20]
mov ecx, esi
mov edi, dword [eax]
inc dword [esi + 0x6c]
mov dword [esi + 0x44], 0
mov eax, dword [esi + 0x54]
bswap eax
inc eax
bswap eax
mov dword [esi + 0x54], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0x58], eax
call fcn.0042d800
mov dword [edi + 0x60], 0
mov eax, 3
mov dword [edi + 0x68], 0
add edi, 0x6c
nop
mov dword [edi], 0xffffffff
lea edi, [edi + 4]
sub eax, 1
jne 0x42f2e0
cmp byte [esi + 0x2b], al
jne 0x42f321
mov eax, dword [esi + 4]
push 9
push 4
push 4
mov ecx, dword [eax]
push eax
mov eax, dword [ecx + 0x38]
call eax
add esp, 0x10
cmp byte [esi + 0x2b], 0
jne 0x42f321
mov eax, dword [esi + 4]
push 5
push 1
push 3
mov ecx, dword [eax]
push eax
mov eax, dword [ecx + 0x38]
call eax
add esp, 0x10
or eax, 0xffffffff
xor edi, edi
mov word [esi + 0x28], ax
nop word [eax + eax]
inc edi
lea edx, [esp + 0x34]
push edi
push 1
mov ecx, esi
call fcn.0042ec00
add esp, 8
cmp eax, 0xffffffff
je 0x42f330
mov edi, dword [esp + 0x1c]
mov ebx, eax
test eax, eax
jne 0x42f6f2
mov ebp, dword [esi + 0x44]
mov dword [esp + 0x20], ebp
test ebp, ebp
jne 0x42f442
mov ecx, dword [esi + 0x6c]
mov eax, edi
mov dword [esp + 0x50], 0x82067f37
mov dword [esp + 0x54], 0x18e22d00
bswap eax
mov dword [esp + 0x58], eax
mov eax, ecx
bswap eax
mov dword [esp + 0x5c], eax
test ecx, ecx
jne 0x42f399
lea eax, [esi + 0x54]
push eax
push 8
call fcn.00421800
add esp, 8
mov eax, dword [esi + 0x54]
lea ecx, [esp + 0x50]
mov dword [esp + 0x60], eax
xor edx, edx
mov eax, dword [esi + 0x58]
xor edi, edi
mov dword [esp + 0x64], eax
nop
mov eax, dword [ecx]
add eax, edx
add edi, eax
mov eax, dword [ecx + 4]
add eax, edi
add ecx, 8
add edx, eax
lea eax, [esp + 0x68]
cmp ecx, eax
jb 0x42f3b0
mov eax, edi
mov dword [esi + 0x50], edx
bswap eax
mov dword [esp + 0x68], eax
mov eax, edx
bswap eax
mov dword [esp + 0x6c], eax
lea edx, [esp + 0x50]
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x4c], edi
mov dword [esi + 0x24], eax
mov eax, dword [esi + 8]
push 0
push 0
mov byte [esi + 0x41], 0
mov byte [esi + 0x2f], 1
mov ecx, dword [eax]
push 0x20
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
mov ebx, eax
add esp, 0x14
test ebx, ebx
jne 0x42f6f0
mov edi, dword [esp + 0x84]
cmp byte [esi + 0x30], al
je 0x42f449
test edi, edi
je 0x42f449
mov ecx, dword [esi + 8]
mov eax, edi
and eax, 0x13
push eax
push ecx
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x42f449
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
mov edi, dword [esp + 0x84]
mov eax, dword [esi + 8]
xorps xmm0, xmm0
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x4c], eax
add eax, 0x18
mov dword [esp + 0x34], eax
cdq
mov ecx, eax
mov dword [esp + 0x38], esi
mov eax, edx
movlpd qword [esp + 0x40], xmm0
push eax
push ecx
push 0
push ebp
mov dword [esp + 0x58], edi
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], eax
call fcn.004befc0
mov ecx, dword [esp + 0x78]
mov ebp, eax
add ebp, 0x20
mov dword [esp + 0x28], ecx
mov edi, edx
mov eax, ecx
adc edi, 0
test ecx, ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x18], edi
je 0x42f50d
nop word [eax + eax]
inc dword [esp + 0x20]
test ecx, ecx
je 0x42f4c4
cmp dword [eax + 0xc], 0
jne 0x42f4c4
mov ecx, dword [esp + 0x7c]
jmp 0x42f4c6
xor ecx, ecx
push edi
push ebp
push ecx
mov edx, eax
lea ecx, [esp + 0x44]
call fcn.0042f170
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x42f6f0
mov eax, dword [esp + 0x28]
add ebp, dword [esp + 0x30]
mov ecx, dword [esp + 0x80]
adc edi, dword [esp + 0x2c]
mov dword [esp + 0x24], eax
mov eax, dword [eax + 0xc]
mov dword [esp + 0x18], edi
mov dword [esp + 0x28], eax
test eax, eax
jne 0x42f4b0
mov edx, dword [esp + 0x3c]
jmp 0x42f510
mov edx, dword [esi + 8]
test ecx, ecx
je 0x42f650
mov ecx, dword [esp + 0x84]
test cl, 0x20
je 0x42f5f8
cmp byte [esi + 0x31], 0
je 0x42f5e7
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x42f55c
push ecx
call eax
add esp, 4
cmp eax, 0x20
jge 0x42f550
mov eax, 0x200
jmp 0x42f561
mov ecx, 0x10000
cmp eax, ecx
cmovg eax, ecx
jmp 0x42f561
mov eax, 0x1000
cdq
mov ecx, eax
mov edi, edx
add ecx, ebp
push edx
adc edi, dword [esp + 0x1c]
sub ecx, 1
push eax
sbb edi, 0
mov dword [esp + 0x30], ecx
push edi
push ecx
call fcn.004beed0
mov ecx, dword [esp + 0x28]
sub ecx, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x40], ecx
sbb edi, edx
mov dword [esp + 0x44], edi
cmp eax, edi
jg 0x42f5f8
jl 0x42f59d
cmp ebp, ecx
jae 0x42f5f8
mov edi, dword [esp + 0x24]
push eax
push ebp
push dword [esp + 0x84]
mov edx, edi
lea ecx, [esp + 0x44]
call fcn.0042f170
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x42f6f0
mov eax, dword [esp + 0x34]
cdq
add ebp, eax
mov eax, dword [esp + 0x18]
adc eax, edx
inc dword [esp + 0x14]
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x44]
jl 0x42f5a1
jg 0x42f5f8
cmp ebp, dword [esp + 0x40]
jb 0x42f5a1
jmp 0x42f5f8
mov eax, dword [edx]
and ecx, 0x13
push ecx
push edx
mov eax, dword [eax + 0x14]
call eax
add esp, 8
mov ebx, eax
cmp byte [esi + 0x2f], 0
je 0x42f654
cmp dword [esi + 0x14], 0
mov edi, dword [esi + 0x10]
jl 0x42f654
jg 0x42f60d
test edi, edi
jb 0x42f654
push dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
push dword [esp + 0x34]
mov ebp, dword [esp + 0x1c]
add eax, ebp
push 0
push eax
call fcn.004befc0
mov ecx, dword [esi + 0x14]
add eax, 0x20
adc edx, 0
cmp edx, ecx
jl 0x42f63e
jg 0x42f63a
cmp eax, edi
jbe 0x42f63e
mov edi, eax
mov ecx, edx
push ecx
push edi
mov ecx, esi
call fcn.0042e7a0
add esp, 8
mov byte [esi + 0x2f], 0
jmp 0x42f658
xor ebp, ebp
jmp 0x42f658
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x78]
mov edi, dword [esi + 0x44]
test eax, eax
je 0x42f68c
test ebx, ebx
jne 0x42f6f0
push dword [eax + 0x14]
inc edi
mov ecx, esi
mov edx, edi
call fcn.0042d930
mov ebx, eax
add esp, 4
mov eax, dword [esp + 0x78]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x78], eax
test eax, eax
jne 0x42f663
test ebx, ebx
jne 0x42f6f0
test ebp, ebp
jle 0x42f6b7
mov eax, dword [esp + 0x24]
inc edi
mov edx, edi
mov ecx, esi
dec ebp
push dword [eax + 0x14]
call fcn.0042d930
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x42f690
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
test ebx, ebx
jne 0x42f6f0
mov ecx, dword [esp + 0x1c]
mov eax, ecx
sar eax, 0x10
and ecx, 0xff00
or eax, ecx
mov dword [esi + 0x44], edi
mov word [esi + 0x42], ax
cmp dword [esp + 0x80], ebx
je 0x42f6f0
mov eax, dword [esp + 0x7c]
mov ecx, esi
inc dword [esi + 0x3c]
mov dword [esi + 0x48], eax
call fcn.0042d800
mov dword [esi + 0xc], edi
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret