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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x80
mov eax, dword [0x582e50]
mov esi, ecx
lea ecx, [ecx + 4]
xor eax, ebp
mov dword [esp + 0x78], eax
lea eax, [esp + 0x60]
mov dword [eax - 4], ecx
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov byte [eax], 0
mov ecx, dword [esi + 4]
test cl, 1
je 0x4711ee
movsd xmm0, qword [eax + 0x10]
movsd xmm1, qword [eax + 8]
and ecx, 0xfffffffe
movsd qword [esp + 0x40], xmm0
movsd xmm0, qword [eax]
movsd qword [esp + 0x38], xmm1
movsd qword [esp + 0x30], xmm0
movsd xmm0, qword [ecx + 0x10]
movsd qword [eax + 0x10], xmm0
movsd xmm0, qword [ecx]
movsd xmm1, qword [ecx + 8]
movsd qword [eax], xmm0
movsd xmm0, qword [esp + 0x40]
movsd qword [eax + 8], xmm1
movsd qword [ecx + 0x10], xmm0
movsd xmm0, qword [esp + 0x30]
movsd xmm1, qword [esp + 0x38]
movsd qword [ecx + 8], xmm1
movsd qword [ecx], xmm0
mov edi, dword [ebp + 8]
lea ebx, [esp + 0x20]
mov ecx, ebx
push eax
call fcn.0046412a
lea ecx, [esp + 0xc]
push 0
push ebx
call fcn.00463c5a
lea eax, [esi + 0x10]
lea ecx, [esi + 0x14]
mov dword [esp], esi
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov ecx, dword [edi]
mov eax, 0
cmp ecx, dword [edi + 4]
jae 0x471232
movzx eax, byte [ecx]
test al, al
jle 0x471232
inc ecx
mov dword [edi], ecx
jmp 0x47126c
mov ecx, edi
push eax
call fcn.00463ab6
mov ecx, eax
dec ecx
cmp ecx, 0x7e
jbe 0x47126c
test eax, eax
je 0x471762
lea ecx, [esp + 0xc]
push ecx
push eax
push edi
call fcn.00464c30
add esp, 0xc
test al, al
je 0x47175e
xor esi, esi
test esi, esi
je 0x47121a
jmp 0x471757
mov ecx, eax
shr ecx, 3
dec ecx
cmp ecx, 0xc
ja case.0x471277.10
jmp dword [ecx*4 + 0x53fd64]
cmp al, 8
jne case.0x471277.10
mov eax, dword [edi]
xor ebx, ebx
cmp eax, dword [edi + 4]
jae 0x4714ed
movzx ebx, byte [eax]
test bl, bl
js 0x4714ed
inc eax
mov dword [edi], eax
jmp 0x4714ff
cmp al, 0x10
jne case.0x471277.10
mov eax, dword [esp]
or byte [eax + 8], 1
mov ecx, dword [edi]
cmp ecx, dword [edi + 4]
jae 0x471517
mov al, byte [ecx]
test al, al
js 0x471517
inc ecx
movzx eax, al
xor edx, edx
mov dword [edi], ecx
jmp 0x471536
cmp al, 0x18
jne case.0x471277.10
mov esi, dword [esp]
or byte [esi + 8], 2
mov eax, dword [edi]
cmp eax, dword [edi + 4]
jae 0x471544
mov al, byte [eax]
test al, al
js 0x471544
movzx eax, al
mov dword [esi + 0x2c], 0
mov dword [esi + 0x28], eax
jmp 0x4714b7
cmp al, 0x20
jne case.0x471277.10
mov esi, dword [esp]
or byte [esi + 8], 4
mov eax, dword [edi]
cmp eax, dword [edi + 4]
jae 0x471560
mov al, byte [eax]
test al, al
js 0x471560
movzx eax, al
mov dword [esi + 0x34], 0
mov dword [esi + 0x30], eax
jmp 0x4714b7
cmp al, 0x28
jne case.0x471277.10
mov esi, dword [esp]
or byte [esi + 8], 8
mov eax, dword [edi]
cmp eax, dword [edi + 4]
jae 0x47157c
mov al, byte [eax]
test al, al
js 0x47157c
movzx eax, al
mov dword [esi + 0x3c], 0
mov dword [esi + 0x38], eax
jmp 0x4714b7
cmp al, 0x30
jne case.0x471277.10
mov esi, dword [esp]
or byte [esi + 8], 0x10
mov eax, dword [edi]
cmp eax, dword [edi + 4]
jae 0x471598
mov al, byte [eax]
test al, al
js 0x471598
movzx eax, al
mov dword [esi + 0x44], 0
mov dword [esi + 0x40], eax
jmp 0x4714b7
cmp al, 0x38
jne case.0x471277.10
mov eax, dword [esp]
or byte [eax + 8], 0x80
mov ecx, dword [edi]
cmp ecx, dword [edi + 4]
jae 0x4715b4
mov al, byte [ecx]
test al, al
js 0x4715b4
inc ecx
movzx eax, al
xor edx, edx
mov dword [edi], ecx
jmp 0x4715d3
cmp al, 0x40
jne case.0x471277.10
mov eax, dword [esp]
or byte [eax + 9], 1
mov ecx, dword [edi]
cmp ecx, dword [edi + 4]
jae 0x4715e1
mov al, byte [ecx]
test al, al
js 0x4715e1
inc ecx
movzx eax, al
xor edx, edx
mov dword [edi], ecx
jmp 0x471600
cmp al, 0x4a
jne case.0x471277.10
mov eax, dword [esp + 8]
mov esi, dword [esp + 4]
xor ecx, ecx
mov edx, 0xf
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
mov byte [esp + 0x38], 0
mov dword [esp + 0x54], ecx
mov ecx, dword [edi]
cmp ecx, dword [edi + 4]
jae 0x47160e
movzx eax, byte [ecx]
test al, al
js 0x47160e
inc ecx
mov dword [edi], ecx
jmp 0x471619
cmp al, 0x58
jne case.0x471277.10
mov esi, dword [esp]
or byte [esi + 9], 2
mov eax, dword [edi]
cmp eax, dword [edi + 4]
jae 0x471684
mov al, byte [eax]
test al, al
js 0x471684
movzx eax, al
mov dword [esi + 0x64], 0
mov dword [esi + 0x60], eax
jmp 0x4714b7
cmp al, 0x60
jne case.0x471277.10
mov esi, dword [esp]
xor eax, eax
or byte [esi + 8], 0x40
mov ecx, dword [edi]
cmp ecx, dword [edi + 4]
jae 0x471742
movzx eax, byte [ecx]
test al, al
js 0x47173f
mov ecx, dword [esp]
mov dword [ecx + 0x4c], eax
inc dword [edi]
jmp 0x471261
cmp al, 0x68
jne case.0x471277.10
mov eax, dword [esp]
or byte [eax + 9], 4
xor eax, eax
mov ecx, dword [edi]
cmp ecx, dword [edi + 4]
jae 0x4716ab
movzx eax, byte [ecx]
test al, al
js 0x4716ab
inc ecx
mov dword [edi], ecx
jmp 0x4716bb
mov ecx, edi
push ebx
call fcn.004637ac
test edx, edx
js 0x47175e
mov ebx, eax
mov eax, dword [esp]
cmp ebx, 6
ja 0x4716c6
or byte [eax + 8], 0x20
mov dword [eax + 0x48], ebx
jmp 0x471261
lea eax, [esp + 0x30]
mov ecx, edi
push eax
call fcn.00463638
cmp byte [esp + 0x38], 0
je 0x47175e
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp]
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x24], edx
jmp 0x471261
lea eax, [esp + 0x30]
mov ecx, edi
push eax
call fcn.00463638
movsd xmm0, qword [esp + 0x30]
movsd qword [esi + 0x28], xmm0
jmp 0x47169b
lea eax, [esp + 0x30]
mov ecx, edi
push eax
call fcn.00463638
movsd xmm0, qword [esp + 0x30]
movsd qword [esi + 0x30], xmm0
jmp 0x47169b
lea eax, [esp + 0x30]
mov ecx, edi
push eax
call fcn.00463638
movsd xmm0, qword [esp + 0x30]
movsd qword [esi + 0x38], xmm0
jmp 0x47169b
lea eax, [esp + 0x30]
mov ecx, edi
push eax
call fcn.00463638
movsd xmm0, qword [esp + 0x30]
movsd qword [esi + 0x40], xmm0
jmp 0x47169b
lea eax, [esp + 0x30]
mov ecx, edi
push eax
call fcn.00463638
cmp byte [esp + 0x38], 0
je 0x47175e
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp]
mov dword [ecx + 0x50], eax
mov dword [ecx + 0x54], edx
jmp 0x471261
lea eax, [esp + 0x30]
mov ecx, edi
push eax
call fcn.00463638
cmp byte [esp + 0x38], 0
je 0x47175e
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp]
mov dword [ecx + 0x58], eax
mov dword [ecx + 0x5c], edx
jmp 0x471261
mov ecx, edi
call fcn.0046388e
test eax, eax
js 0x471659
mov ecx, edi
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.0046319e
cmp dword [esp + 0x2c], 0
js 0x471659
lea ecx, [esp + 0x30]
push edi
call fcn.00477d5e
test al, al
je 0x471659
mov ecx, edi
push dword [esp + 0x28]
call fcn.004631c4
test al, al
mov esi, 6
mov ecx, 0
mov ebx, eax
cmovne esi, ecx
jmp 0x471660
mov esi, 6
xor ebx, ebx
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x47166e
mov eax, dword [ecx]
push 1
call dword [eax]
lea ecx, [esp + 0x38]
call fcn.00401ade
test bl, bl
jne 0x471261
jmp 0x471263
lea eax, [esp + 0x30]
mov ecx, edi
push eax
call fcn.00463638
movsd xmm0, qword [esp + 0x30]
movsd qword [esi + 0x60], xmm0
cmp byte [esp + 0x38], 0
jne 0x471261
jmp 0x47175e
mov ecx, edi
push eax
call fcn.004637ac
test edx, edx
js 0x47175e
mov ecx, dword [esp]
mov dword [ecx + 0x68], eax
jmp 0x471261
cmp dword [esp + 0x14], 5
jl 0x4716e3
mov eax, dword [esp + 0x10]
mov byte [eax], 8
inc dword [esp + 0x10]
mov eax, dword [esp + 0x14]
dec eax
mov dword [esp + 0x14], eax
jmp 0x4716f2
lea ecx, [esp + 0xc]
push 8
call fcn.00463e68
mov eax, dword [esp + 0x14]
cmp eax, 5
jl 0x471730
mov eax, dword [esp + 0x10]
cmp ebx, 0x80
mov edx, ebx
mov ecx, eax
jb 0x47171e
mov esi, ebx
or dl, 0x80
shr ebx, 7
mov byte [ecx], dl
inc ecx
cmp esi, 0x3fff
mov edx, ebx
ja 0x471707
mov edx, ebx
mov byte [ecx], dl
inc ecx
sub ecx, eax
add dword [esp + 0x10], ecx
sub dword [esp + 0x14], ecx
jmp 0x471261
lea ecx, [esp + 0xc]
push ebx
call fcn.00463e68
jmp 0x471261
mov esi, dword [esp]
mov ecx, edi
push eax
call fcn.004637ac
test edx, edx
mov dword [esi + 0x4c], eax
jns 0x471261
jmp 0x47175e
mov bl, 1
cmp esi, 6
jne 0x471764
xor ebx, ebx
jmp 0x471764
mov bl, 1
lea ecx, [esp + 0xc]
call fcn.00463cf0
lea ecx, [esp + 0x5c]
call fcn.00439d9c
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.004ed5a1
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4