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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x90
mov ebp, ecx
mov ebx, dword [esp + 0xa4]
mov dword [ebx + 8], 0
mov dword [ebx + 4], 0
mov dword [ebx], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x20], 0x100000
mov dword [esp + 0x10], 0
lea ecx, [esp + 0x20]
lea eax, [esp + 0x10]
push 4
push 0x3000
push ecx
push 0
push eax
push 0xffffffffffffffff
call dword [0x441660]
test eax, eax
js 0x42fda1
mov dword [esp + 0x8c], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x74], 0
lea ecx, [esp + 0x24]
mov eax, ecx
lea edx, [esp + 0x28]
rol edx, 0xd
mov esi, edx
xor edx, 0x8b4c2420
and ecx, 0xc
ror edx, cl
mov dword [esp + 0x6c], edx
rol edx, cl
and al, 0xc
mov byte [esp + 0x17], al
xor esi, 0x8b4c2410
mov dword [esp + 0x68], esi
xor edx, esi
mov dword [esp + 0x64], edx
mov dword [esp + 0x38], 0x10000
mov dword [esp], 0
mov eax, dword [0x441654]
test eax, eax
je 0x42fd8a
mov esi, dword [ebp]
xor edx, edx
mov ecx, dword [0x441658]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea edi, [edx + edx*2]
cmp dword [ecx + edi*4], 0x6d705e18
je 0x42f7b0
mov edi, edx
and edi, 1
xor edx, 1
lea edx, [edx + edi*2]
cmp edx, eax
jb 0x42f790
jmp 0x42fd8a
mov byte [esp + 0x34], 0
mov dword [esp + 0x30], 0x900000c2
mov dword [esp + 0x2c], 0xd2ff0000
mov dword [esp + 0x28], 0xba00
mov dword [esp + 0x24], 0xb8
mov eax, dword [ecx + edi*4 + 8]
mov dword [esp + 0x25], eax
mov eax, dword [0x44165c]
mov dword [esp + 0x2a], eax
mov word [esp + 0x31], 0x18
mov dword [esp + 0x3c], 0
mov dword [esp + 0x54], 0x10
push 0x40
push 0x3000
lea eax, [esp + 0x5c]
push eax
push 0
mov dword [esp + 0x14], ebp
lea ebp, [esp + 0x4c]
push ebp
push 0xffffffffffffffff
call dword [0x441660]
mov edi, dword [esp + 0x3c]
lea eax, [esp + 0x24]
mov ecx, 4
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
push 0
push 0x1c
lea eax, [esp + 0x7c]
push eax
push 0
push dword [esp + 0x48]
push esi
call dword [esp + 0x54]
mov edi, eax
mov dword [esp + 0x50], 0
push 0x8000
lea eax, [esp + 0x54]
push eax
push ebp
mov ebp, dword [esp + 0x10]
push 0xffffffffffffffff
call dword [0x441664]
cmp edi, 0xbfffffff
ja 0x42fd8a
test edi, edi
js 0x42fd70
cmp dword [esp + 0x84], 0x1000
jne 0x42fd70
cmp dword [esp + 0x88], 1
je 0x42fd70
mov esi, dword [esp + 0x20]
cmp dword [esp + 0x80], esi
jbe 0x42f8ef
push 0x8000
lea eax, [esp + 0x5c]
push eax
lea esi, [esp + 0x18]
push esi
push 0xffffffffffffffff
call dword [0x441664]
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x80]
mov dword [esp + 0x20], eax
push 4
push 0x3000
lea eax, [esp + 0x28]
push eax
push 0
push esi
push 0xffffffffffffffff
call dword [0x441660]
test eax, eax
js 0x42fd8a
mov esi, dword [esp + 0x20]
mov ecx, dword [0x441654]
test ecx, ecx
je 0x42fd70
mov eax, ebp
mov ebp, dword [esp + 0x10]
mov ebx, dword [eax]
mov eax, dword [0x441658]
add eax, 8
nop
nop
nop
cmp dword [eax - 8], 0xb7fd7148
je 0x42f924
add eax, 0xc
dec ecx
jne 0x42f910
jmp 0x42f9d4
mov byte [esp + 0x34], 0
mov dword [esp + 0x30], 0x900000c2
mov dword [esp + 0x2c], 0xd2ff0000
mov dword [esp + 0x28], 0xba00
mov dword [esp + 0x24], 0xb8
mov eax, dword [eax]
mov dword [esp + 0x25], eax
mov eax, dword [0x44165c]
mov dword [esp + 0x2a], eax
mov word [esp + 0x31], 0x14
mov dword [esp + 0x3c], 0
mov dword [esp + 0x54], 0x10
push 0x40
push 0x3000
lea eax, [esp + 0x5c]
push eax
push 0
lea eax, [esp + 0x4c]
push eax
push 0xffffffffffffffff
call dword [0x441660]
mov edi, dword [esp + 0x3c]
lea eax, [esp + 0x24]
mov ecx, 4
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
lea eax, [esp + 0x70]
push eax
push esi
push ebp
push dword [esp + 0x44]
push ebx
lea esi, [esp + 0x50]
call dword [esp + 0x50]
mov edi, eax
mov dword [esp + 0x50], 0
push 0x8000
lea eax, [esp + 0x54]
push eax
push esi
push 0xffffffffffffffff
call dword [0x441664]
cmp edi, 0xbfffffff
jbe 0x42f9e4
mov ebx, dword [esp + 0xa4]
mov ebp, dword [esp + 4]
jmp 0x42fd70
push dword [esp + 0xb0]
push dword [esp + 0xb0]
push dword [esp + 0xb0]
push dword [esp + 0x7c]
push dword [esp + 0x20]
push esi
call fcn.0042fdb0
add esp, 0x18
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x60], eax
cmp ecx, eax
mov ebx, dword [esp + 0xa4]
mov ebp, dword [esp + 4]
mov edx, dword [esp]
jne 0x42fa62
jmp 0x42fd5e
mov edi, ecx
mov ebp, dword [esp + 4]
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0xa4]
mov ecx, dword [esp + 0x4c]
mov dword [edx + eax*4], edi
mov edx, dword [ebx + 4]
add edx, 4
mov dword [ebx + 4], edx
add ecx, 4
cmp ecx, dword [esp + 0x60]
je 0x42fd43
mov dword [esp + 0x4c], ecx
mov ecx, dword [ecx]
sub ecx, dword [esp + 0x10]
mov edi, dword [ebx]
mov ebp, edx
sub ebp, edi
mov dword [esp + 0x18], ebp
sar ebp, 2
mov esi, edi
not esi
mov dword [esp + 8], edi
cmp edx, dword [ebx + 8]
jne 0x42fc10
mov dword [esp + 0x1c], ecx
mov ebx, edi
mov dword [esp + 0xc], esi
lea eax, [ebp + 1]
mov esi, ebp
shr esi, 1
mov dword [esp + 0x48], ebp
add esi, ebp
cmp esi, eax
ja 0x42faa7
mov esi, eax
mov dword [esp], edx
mov eax, 0xffffffff
cmp esi, 0x40000000
mov ebp, ebx
jae 0x42fac0
lea eax, [esi*4]
movzx ecx, byte [esp + 0x17]
mov byte [esp + 0x24], cl
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x64]
mov ecx, dword fs:[ecx]
push eax
push 0
push dword [ecx + 0x18]
call dword [0x441cac]
test ebp, ebp
mov dword [esp + 8], eax
mov ebx, dword [esp + 0xa4]
je 0x42fbf1
cmp eax, ebp
jae 0x42fb16
mov edx, ebp
mov ecx, dword [esp + 0x18]
mov edi, eax
xchg esi, edx
rep movsb byte es:[edi], byte [esi]
xchg esi, edx
jmp 0x42fbdd
cmp dword [esp + 0x18], 0
je 0x42fbdd
mov ebx, dword [esp + 0x18]
lea eax, [ebx + ebp]
dec eax
mov ecx, ebx
xor ecx, 0xfffffffe
mov edx, ebx
and edx, 0xfffffffe
lea ecx, [ecx + edx*2]
mov edx, dword [esp + 8]
add ecx, edx
inc ecx
mov edx, dword [esp]
mov edi, dword [esp + 0xc]
add edx, edi
mov dword [esp + 0x5c], edx
mov edi, ebx
and edi, 7
je 0x42fb76
neg edi
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [eax + edx]
mov byte [ecx + edx], bl
dec edx
cmp edi, edx
jne 0x42fb60
add eax, edx
add ecx, edx
add edx, dword [esp + 0x18]
jmp 0x42fb78
mov edx, ebx
cmp dword [esp + 0x5c], 7
jb 0x42fbdd
neg edx
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [eax + edi]
mov byte [ecx + edi], bl
movzx ebx, byte [eax + edi - 1]
mov byte [ecx + edi - 1], bl
movzx ebx, byte [eax + edi - 2]
mov byte [ecx + edi - 2], bl
movzx ebx, byte [eax + edi - 3]
mov byte [ecx + edi - 3], bl
movzx ebx, byte [eax + edi - 4]
mov byte [ecx + edi - 4], bl
movzx ebx, byte [eax + edi - 5]
mov byte [ecx + edi - 5], bl
movzx ebx, byte [eax + edi - 6]
mov byte [ecx + edi - 6], bl
movzx ebx, byte [eax + edi - 7]
mov byte [ecx + edi - 7], bl
add edi, 0xfffffff8
cmp edx, edi
jne 0x42fb90
push ebp
call fcn.0042ebb0
add esp, 4
mov ebx, dword [esp + 0xa4]
mov eax, dword [esp + 8]
mov dword [ebx], eax
mov edi, ebp
mov ebp, dword [esp + 0x48]
lea ecx, [eax + ebp*4]
mov dword [ebx + 4], ecx
lea eax, [eax + esi*4]
mov dword [ebx + 8], eax
mov edx, dword [esp]
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x1c]
add ecx, dword [esp + 0x38]
mov eax, edi
xor eax, edx
and esi, edx
add esi, esi
sub esi, eax
sar esi, 2
mov dword [esp + 0xc], esi
cmp esi, ebp
jae 0x42fa30
mov dword [esp + 0x1c], ecx
lea ebp, [edi + ebp*4]
mov eax, ebp
sub eax, edx
je 0x42fcac
mov ecx, eax
xor ecx, 0xfffffffe
mov esi, edx
mov edx, eax
and edx, 0xfffffffe
lea ecx, [ecx + edx*2]
mov dword [esp], esi
mov edx, esi
not edx
add edx, edi
mov ebx, dword [esp + 0xc]
mov edi, dword [esp + 8]
lea esi, [edi + ebx*4]
mov dword [esp + 0x48], esi
add ecx, esi
add ecx, 5
mov esi, dword [esp + 0x18]
and esi, 0xfffffffc
add edx, esi
mov esi, eax
and esi, 7
je 0x42fcb9
lea ebx, [ebx*4]
add ebx, ebp
sub ebx, dword [esp]
mov dword [esp], ebx
add edi, ebx
dec edi
neg esi
xor ebp, ebp
nop
nop
nop
nop
movzx ebx, byte [edi + ebp]
mov byte [ecx + ebp], bl
dec ebp
cmp esi, ebp
jne 0x42fc90
mov esi, dword [esp + 8]
add esi, dword [esp]
add esi, ebp
dec esi
add ecx, ebp
add eax, ebp
jmp 0x42fccb
mov ebp, dword [esp + 4]
mov edi, dword [esp + 0x1c]
jmp 0x42fa36
lea esi, [eax + 0x3a25218a]
mov edi, dword [esp + 0x48]
add esi, edi
add esi, 0xc5dade75
mov ebp, dword [esp + 4]
mov edi, dword [esp + 0x1c]
cmp edx, 7
jb 0x42fd2d
neg eax
xor edx, edx
nop
nop
nop
nop
movzx ebx, byte [esi + edx]
mov byte [ecx + edx], bl
movzx ebx, byte [esi + edx - 1]
mov byte [ecx + edx - 1], bl
movzx ebx, byte [esi + edx - 2]
mov byte [ecx + edx - 2], bl
movzx ebx, byte [esi + edx - 3]
mov byte [ecx + edx - 3], bl
movzx ebx, byte [esi + edx - 4]
mov byte [ecx + edx - 4], bl
movzx ebx, byte [esi + edx - 5]
mov byte [ecx + edx - 5], bl
movzx ebx, byte [esi + edx - 6]
mov byte [ecx + edx - 6], bl
movzx ebx, byte [esi + edx - 7]
mov byte [ecx + edx - 7], bl
add edx, 0xfffffff8
cmp eax, edx
jne 0x42fce0
mov ebx, dword [esp + 0xa4]
mov edx, dword [ebx]
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0xc]
jmp 0x42fa49
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x42fd5e
cmp eax, dword [esp + 0x40]
je 0x42fd5e
push eax
mov esi, edx
call fcn.0042ebb0
mov edx, esi
add esp, 4
mov dword [esp], edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x80]
add eax, dword [esp + 0x74]
mov dword [esp + 0x38], eax
cmp eax, 0x7fffffff
jb 0x42f76b
push 0x8000
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x18]
push eax
push 0xffffffffffffffff
call dword [0x441664]
mov eax, ebx
add esp, 0x90
pop esi
pop edi
pop ebx
pop ebp
ret 0x10