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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x50
mov ebx, dword [esp + 0x64]
mov ebp, edx
mov edi, ecx
test ebx, ebx
je 0x42aa99
cmp byte [ebp], 0
je 0x42aad7
lea ecx, [ebx + 3]
shr ecx, 2
call fcn.0042af66
mov esi, edx
mov ecx, ebp
mov edx, ebx
push esi
mov dword [esp + 4], eax
push eax
call fcn.00428f05
pop ecx
pop edx
mov ebx, 0x481c49
push 0xf
pop ebp
test al, al
jne 0x42ab13
push 8
pop eax
cmp esi, 0x100
jbe 0x42aae1
mov ebp, eax
mov ebx, 0x481bfb
jmp 0x42ab13
push 0xf
pop ebp
mov ebx, 0x481bc8
jmp 0x42ab1d
cmp esi, 4
jb 0x42ab13
push esi
push dword [esp + 4]
call fcn.0046c7d7
pop ecx
pop edx
test eax, eax
je 0x42ab00
mov ebx, 0x481bb8
push 0x10
pop ebp
jmp 0x42ab13
push esi
push 3
push dword [esp + 8]
call fcn.0046c8e3
add esp, 0xc
test eax, eax
je 0x42ab32
mov ecx, dword [esp]
mov edx, esi
call fcn.0042a9ed
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebp
and dword [edi + 4], 0
and dword [edi], 0
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, dword [esp]
push dword [ebx + 4]
push dword [ebx]
call fcn.0046d80f
pop ecx
pop ecx
mov ebp, edx
mov ecx, ebx
mov edx, esi
mov dword [esp + 8], eax
call fcn.0042adfa
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 8]
cmp edx, 0x3ff
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], eax
jbe 0x42ad74
xor ecx, ecx
test al, 7
mov dword [esp + 4], eax
mov ebx, 0x481bf3
setne cl
lea eax, [eax + ecx*8]
and eax, 0xfffffff8
cmp eax, edx
jae 0x42ab91
push 8
jmp 0x42aafd
mov eax, dword [esp + 4]
cmp eax, dword [esp + 0x74]
push 8
pop ebp
mov ebx, 0x481bfb
ja 0x42ab13
mov dword [esp + 0xc], edi
mov edi, dword [esp]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x48], ecx
mov ecx, esi
mov dword [esp + 0x4c], eax
call fcn.0042af66
cmp esi, edx
mov dword [esp + 0x1c], edx
jne 0x42ad74
mov ecx, dword [esp + 0x68]
mov ebx, esi
mov ebp, eax
mov edx, esi
shl ebx, 5
mov dword [esp + 8], ecx
mov ecx, ebp
push esi
push edi
call fcn.0042b0c8
pop eax
pop ecx
mov ecx, ebx
mov edi, esi
sub ecx, dword [esp + 4]
je 0x42ac46
mov eax, dword [ebp + esi*4 - 4]
mov edi, dword [esp]
shl eax, cl
shr eax, cl
mov ecx, dword [esp + 4]
mov dword [ebp + esi*4 - 4], eax
sub ecx, ebx
mov ebx, ecx
test ebx, ebx
je 0x42ac32
mov ecx, ebp
mov edx, esi
push esi
push edi
call fcn.0042ae8b
pop eax
pop ecx
inc ebx
jmp 0x42ac1e
mov edi, esi
jmp 0x42ac46
mov ecx, ebp
mov edx, esi
push esi
push dword [esp + 4]
call fcn.0042ae8b
pop eax
pop ecx
sub edi, 1
jae 0x42ac36
push 5
pop ebx
mov edi, dword [esp]
mov ecx, dword [esp + 0x1c]
mov edx, esi
sub ebx, 1
jb 0x42ac6f
mov ecx, ebp
lea eax, [esp + 0x3c]
push eax
call fcn.0042b26f
pop ecx
mov ebp, eax
mov ecx, edx
jmp 0x42ac57
mov dword [esp + 0x20], edi
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], edx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ecx
push 8
pop ebx
mov esi, dword [esp + 0x6c]
mov ecx, 0x481bfb
cmp esi, 5
ja 0x42ad1f
test esi, esi
je 0x42acb5
mov eax, dword [esp + 0x68]
cmp byte [eax], 0
je 0x42ad10
xor edx, edx
mov ebx, esi
xor edi, edi
test esi, esi
je 0x42ad06
mov ebp, dword [esp + 8]
shld edi, edx, 8
shl edx, 8
movzx eax, byte [ebp]
inc ebp
mov dword [esp + 8], ebp
or edx, eax
dec ebx
jne 0x42acbb
mov esi, edx
or esi, edi
push 8
pop ebx
je 0x42ad1a
cmp edx, dword [esp + 0x78]
mov esi, edi
sbb esi, dword [esp + 0x7c]
jb 0x42ad1a
test edi, 0xfffffffe
jne 0x42ad1f
movzx eax, al
test al, 1
jne 0x42ad3e
push 0x10
pop ebx
mov ecx, 0x481bb8
jmp 0x42ad1f
mov ecx, 0x481bc8
push 0xf
pop ebx
jmp 0x42ad1f
push 0xf
pop ebx
mov ecx, 0x481bc8
jmp 0x42ad1f
mov ecx, 0x481bf3
mov eax, dword [esp + 0xc]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
and dword [eax + 4], 0
and dword [eax], 0
lea ecx, [esp + 0x20]
call fcn.0042aa22
jmp 0x42ab2a
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0xc]
movsd xmm0, qword [esp + 0x30]
movsd xmm2, qword [esp + 0x20]
movsd xmm1, qword [esp + 0x28]
mov dword [ecx + 0x20], eax
movsd qword [ecx + 0x18], xmm0
movsd qword [ecx + 0x10], xmm1
movsd qword [ecx + 8], xmm2
mov dword [ecx], edx
mov dword [ecx + 4], edi
jmp 0x42ab2a
ud2