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

Disassembly:
sub esp, 0x44
movsd xmm0, qword [esp + 0x50]
push ebx
push ebp
mov ebp, dword [esp + 0x50]
mov ebx, ecx
movsd qword [esp + 0x38], xmm0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
push esi
mov esi, edx
mov dword [esp + 0x2c], eax
or eax, ecx
mov dword [esp + 0x38], ebx
push edi
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x4c], esi
jne 0x42aaaa
xor ecx, ecx
mov eax, ebp
test edi, edi
setne cl
sub eax, esi
inc ecx
add ecx, edi
cmp eax, ecx
jl 0x42aed5
mov byte [esi], 0x30
inc esi
test edi, edi
je 0x42aa97
push edi
mov byte [esi], 0x2e
inc esi
push 0x30
push esi
call fcn.00512700
add esp, 0xc
add esi, edi
mov dword [ebx], esi
mov eax, ebx
mov dword [ebx + 4], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
mov edx, ecx
shr ecx, 0x14
and edx, 0xfffff
mov dword [esp + 0x34], edx
test ecx, ecx
jne 0x42aaca
mov dword [esp + 0x28], 0xfffffbce
jmp 0x42ac10
lea eax, [ecx - 0x433]
mov byte [esp + 0x17], 0
mov ecx, dword [esp + 0x40]
or edx, 0x100000
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
cmp eax, 0xffffffcc
jl 0x42ac10
test eax, eax
jns 0x42ab08
xor eax, eax
mov edx, 1
mov dword [esp + 0x1c], edx
lea ebx, [eax + 0x78]
jmp 0x42ab40
add eax, 0xf
shr eax, 4
imul ecx, eax, 0x134410
mov ebx, eax
mov dword [esp + 0x18], eax
mov eax, 0x38e38e39
shl ebx, 4
add ebx, 0x78
shr ecx, 0x12
add ecx, 0x19
mul ecx
shr edx, 1
sub edx, 1
mov dword [esp + 0x1c], edx
js 0x42ac10
mov eax, dword [esp + 0x18]
sub ebx, dword [esp + 0x28]
movzx eax, word [eax*2 + 0x5e7e20]
lea ecx, [ebx + 8]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x34]
shld ecx, ebx, 8
shl ebx, 8
add eax, edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x2c], ebx
lea eax, [eax + eax*2]
lea ecx, [eax*8 + 0x5b6730]
mov dword [esp + 0x20], ecx
nop word [eax + eax]
push dword [esp + 0x18]
mov edx, dword [esp + 0x28]
push ebx
call fcn.0042aef0
mov dl, byte [esp + 0x1f]
add esp, 8
mov ebx, eax
test dl, dl
je 0x42abba
mov ecx, ebp
sub ecx, esi
cmp ecx, 9
jl 0x42aed5
mov edx, esi
mov ecx, ebx
call fcn.0042cb50
mov dl, byte [esp + 0x17]
add esi, 9
jmp 0x42abec
test ebx, ebx
je 0x42abec
mov ecx, ebx
call fcn.0042ca10
mov ecx, ebp
mov dword [esp + 0x38], eax
sub ecx, esi
cmp ecx, eax
jl 0x42aed5
push esi
mov edx, ebx
mov ecx, eax
call fcn.0042ca80
mov dl, 1
add esp, 4
add esi, dword [esp + 0x38]
mov byte [esp + 0x17], dl
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
dec eax
mov ebx, dword [esp + 0x2c]
sub ecx, 0x18
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
test eax, eax
jns 0x42ab80
test dl, dl
jne 0x42ac1c
cmp esi, ebp
je 0x42aed5
mov byte [esi], 0x30
inc esi
test edi, edi
je 0x42ac2c
cmp esi, ebp
je 0x42aed5
mov byte [esi], 0x2e
inc esi
mov eax, dword [esp + 0x28]
test eax, eax
jns 0x42aea6
cdq
xor ebx, ebx
and edx, 0xf
lea ecx, [edx + eax]
mov eax, 0x38e38e39
mul edi
sar ecx, 4
mov eax, edx
neg ecx
shr eax, 1
mov dword [esp + 0x38], ecx
mov dword [esp + 0x48], eax
movzx ecx, byte [ecx + 0x5e7ea0]
lea edx, [eax + 1]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x18], edx
cmp edx, ecx
jbe 0x42aea6
test ecx, ecx
je 0x42aca5
mov ebx, ecx
mov eax, ebp
sub eax, esi
lea ecx, [ebx + ebx*8]
cmp eax, ecx
jl 0x42aed5
test ecx, ecx
je 0x42ac9f
push ecx
push 0x30
push esi
call fcn.00512700
mov edx, dword [esp + 0x24]
lea ecx, [ebx + ebx*8]
add esp, 0xc
add esi, ecx
mov ecx, dword [esp + 0x24]
cmp ebx, edx
jae 0x42aec0
mov eax, dword [esp + 0x38]
movzx edx, word [eax*2 + 0x5e7eea]
movzx eax, word [eax*2 + 0x5e7ee8]
sub eax, ecx
mov dword [esp + 0x40], edx
lea ecx, [eax + ebx]
mov eax, ebp
sub eax, esi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], eax
lea eax, [ecx + ecx*2]
lea eax, [eax*8 + 0x5bd9f0]
mov dword [esp + 0x2c], eax
cmp ecx, edx
jae 0x42aea1
mov ecx, dword [esp + 0x30]
mov edx, 8
mov eax, dword [esp + 0x34]
sub edx, dword [esp + 0x38]
shld eax, ecx, 8
shl edx, 4
sub edx, dword [esp + 0x28]
shl ecx, 8
push eax
push ecx
mov ecx, dword [esp + 0x34]
call fcn.0042aef0
add esp, 8
mov edx, eax
mov dword [esp + 0x20], edx
cmp ebx, dword [esp + 0x48]
jae 0x42ad6f
cmp dword [esp + 0x1c], 9
jl 0x42aed5
mov edx, esi
mov ecx, eax
call fcn.0042cb50
mov ecx, dword [esp + 0x24]
inc ebx
sub dword [esp + 0x1c], 9
inc ecx
add dword [esp + 0x2c], 0x18
add esi, 9
mov edx, dword [esp + 0x40]
mov dword [esp + 0x24], ecx
cmp ebx, dword [esp + 0x18]
jb 0x42ace4
mov eax, dword [esp + 0x3c]
mov dword [eax], esi
mov dword [eax + 4], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
lea eax, [ebx + ebx*8]
mov ecx, edi
sub ecx, eax
mov ebx, 9
mov dword [esp + 0x18], ecx
xor ecx, ecx
sub ebx, dword [esp + 0x18]
je 0x42adf7
nop word [eax + eax]
mov ecx, dword [esp + 0x20]
mov eax, 0xcccccccd
mul edx
shr edx, 3
mov dword [esp + 0x20], edx
lea eax, [edx + edx*4]
add eax, eax
sub ecx, eax
sub ebx, 1
jne 0x42ad90
cmp ecx, 5
jne 0x42adf7
not edi
sub edi, dword [esp + 0x28]
test edi, edi
jle 0x42adf0
cmp edi, 0x3c
jge 0x42ade9
xor ecx, ecx
xor eax, eax
bts ecx, edi
cmp edi, 0x20
cmovae eax, ecx
xor ecx, eax
cmp edi, 0x40
cmovae eax, ecx
add ecx, 0xffffffff
adc eax, 0xffffffff
and ecx, dword [esp + 0x30]
and eax, dword [esp + 0x34]
or ecx, eax
je 0x42adf0
mov edi, 1
jmp 0x42ae02
mov edi, 2
jmp 0x42ae02
mov eax, 5
cmp eax, ecx
sbb edi, edi
neg edi
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x42ae23
mov eax, ebp
sub eax, esi
cmp eax, ebx
jl 0x42aed5
push esi
mov ecx, ebx
call fcn.0042b2f0
add esp, 4
add esi, ebx
test edi, edi
je 0x42aec0
mov ebx, dword [esp + 0x4c]
mov eax, esi
mov edx, ebp
cmp esi, ebx
je 0x42ae55
mov cl, byte [eax - 1]
dec eax
cmp cl, 0x2e
jne 0x42ae44
mov edx, eax
jmp 0x42ae51
cmp cl, 0x39
jne 0x42ae7e
mov byte [eax], 0x30
mov edi, 1
cmp eax, ebx
jne 0x42ae37
mov byte [eax], 0x31
cmp edx, ebp
je 0x42ae61
mov word [edx], 0x2e30
cmp esi, ebp
je 0x42aed5
mov eax, dword [esp + 0x3c]
mov byte [esi], 0x30
inc esi
mov dword [eax], esi
mov dword [eax + 4], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
cmp edi, 1
je 0x42ae88
test cl, 1
je 0x42aec0
inc cl
mov byte [eax], cl
mov eax, dword [esp + 0x3c]
mov dword [eax], esi
mov dword [eax + 4], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
lea eax, [ebx + ebx*8]
sub edi, eax
mov eax, ebp
sub eax, esi
cmp eax, edi
jl 0x42aed5
test edi, edi
je 0x42aebe
push edi
push 0x30
push esi
call fcn.00512700
add esp, 0xc
add esi, edi
mov eax, dword [esp + 0x3c]
mov dword [eax], esi
mov dword [eax + 4], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
mov eax, dword [esp + 0x3c]
pop edi
pop esi
mov dword [eax], ebp
pop ebp
mov dword [eax + 4], 0x84
pop ebx
add esp, 0x44
ret