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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x88
mov eax, dword [ebp + 8]
mov dword [esp + 0x50], edx
mov dword [esp + 4], ecx
xor ecx, ecx
mov esi, dword [ebp + 0xc]
movzx edx, byte [eax + 0xc9]
mov edi, dword [eax + 0xc4]
mov ebx, esi
cmp dl, 8
mov byte [esp + 0x1b], dl
mov edx, dword [eax + 0xcc]
sete cl
mov dword [esp + 0x14], edx
lea edx, [edx + ecx*8 + 4]
sub edx, edi
sub ebx, edx
setb dl
cmp ebx, edi
lea ebx, [eax + 0xa8]
setae dh
or dh, dl
mov edx, dword [eax + 0xf0]
mov dword [esp + 0x1c], edx
lea edx, [edx + 8]
jne 0x47f095
mov eax, dword [eax + 0xc0]
lea ecx, [ecx*8 + 4]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], 0
mov dword [esp + 0x10], 0
xor ebx, ebx
sub esi, ecx
xor ecx, ecx
sub esi, dword [esp + 0x14]
add eax, edi
mov dword [esp + 8], eax
nop word cs:[eax + eax]
nop dword [eax]
movzx edx, byte [eax + esi]
cmp ecx, 0x3f
jne 0x47f04e
cmp dl, 2
jae 0x47f0ae
mov byte [esp + 0x14], dl
xor eax, eax
mov edi, ebx
mov ebx, 0
movzx edx, byte [esp + 0x14]
and dl, 0x7f
movzx edx, dl
shld eax, edx, cl
shl edx, cl
test cl, 0x20
cmovne eax, edx
cmovne edx, ebx
mov ebx, edi
or dword [esp + 0x10], edx
movzx edx, byte [esp + 0x14]
or ebx, eax
test dl, dl
jns 0x47f0c7
mov eax, dword [esp + 8]
add ecx, 7
inc esi
jne 0x47f040
xor ecx, ecx
mov dh, 0x13
jmp 0x47f0b0
mov eax, dword [esp + 4]
mov dword [eax], 0x38
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], 0
jmp 0x47f0bf
mov dh, 6
mov esi, dword [esp + 4]
mov byte [esi], dh
mov byte [esi + 1], dl
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
lea eax, [esi + eax + 1]
or ecx, ebx
not esi
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], esi
je 0x47f1be
mov esi, dword [esp + 4]
mov eax, dword [esp + 0x1c]
test ebx, ebx
jne 0x47f106
mov ecx, dword [esp + 0x10]
dec ecx
cmp ecx, dword [eax + 0x10]
jae 0x47f106
imul ecx, ecx, 0x68
add ecx, dword [eax + 0xc]
jmp 0x47f1d3
mov ecx, dword [eax + 0x14]
mov dh, 0x12
test ecx, ecx
je 0x47f368
mov eax, dword [eax + 0x18]
mov dword [esp + 0x48], eax
movzx eax, word [ecx + 0x4d6]
mov edx, 0xffffffff
xor edi, edi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x4c], eax
imul eax, eax, 0x68
mov dword [esp + 0x20], eax
nop word [eax + eax]
mov ecx, dword [esp + 0x20]
add ecx, edi
je 0x47f19f
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x10]
mov ecx, dword [eax + edx*8 + 8]
mov eax, dword [eax + edx*8 + 0xc]
mov dword [esp + 8], ecx
mov dword [esp + 0x24], eax
xor eax, ebx
xor ecx, ecx
mov esi, dword [esp + 8]
xor esi, edi
or esi, eax
mov eax, ebx
mov esi, dword [esp + 4]
setne cl
cmp edi, dword [esp + 8]
mov edi, dword [esp + 0x1c]
sbb eax, dword [esp + 0x24]
mov eax, 0xff
cmovb ecx, eax
inc edx
add edi, 0xffffff98
cmp cl, 1
je 0x47f140
movzx eax, cl
test eax, eax
je 0x47f1ca
jmp 0x47f1a3
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0xc]
sub dword [esp + 0x48], 1
jb 0x47f3f3
mov ecx, dword [ecx + edx*4 + 0x4d8]
jmp 0x47f11a
mov eax, dword [esp + 4]
mov byte [eax], 0x37
jmp 0x47f0bf
mov ecx, dword [esp + 0xc]
sub ecx, edi
add ecx, 0xfffffff0
cmp byte [ecx + 0x62], 1
jne 0x47f1e1
mov dword [esp + 0x64], 1
push ecx
call fcn.004bad60
add esp, 4
test edx, edx
je 0x47f3ac
mov ecx, eax
mov eax, dword [ebp + 8]
mov edi, edx
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0x2e
mov dword [esp + 0x1c], 0
shl edi, 4
mov eax, dword [eax + 0xf4]
mov dword [esp + 0x10], eax
movzx eax, byte [esp + 0x1b]
mov dword [esp + 8], eax
mov eax, ecx
jmp 0x47f275
cmp eax, 3
mov edi, ebx
je 0x47f321
cmp eax, 0x31
jne 0x47f265
lea ecx, [esp + 0x28]
lea edx, [esp + 0x68]
call fcn.00471a70
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x14]
add eax, 0x10
add edi, 0xfffffff0
je 0x47f387
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x5c]
mov ebx, edi
mov edi, esi
lea esi, [esp + 0x28]
lea ecx, [esp + 0x68]
lea edx, [esp + 0x54]
movsd qword [esp + 0x30], xmm1
movsd qword [esp + 0x28], xmm0
push esi
push dword [eax + 0x20]
call fcn.0046f990
add esp, 8
mov eax, dword [esp + 0x68]
xor eax, 0x2e
or eax, dword [esp + 0x6c]
je 0x47f36d
movzx eax, word [esp + 0x78]
mov esi, edi
cmp eax, 0x46
jle 0x47f230
cmp eax, 0x47
mov edi, ebx
je 0x47f240
cmp eax, 0x6e
je 0x47f2ea
cmp eax, 0x2007
jne 0x47f265
lea ebx, [esp + 0x28]
lea edx, [esp + 0x68]
mov ecx, ebx
call fcn.00471a70
mov edx, dword [ebp + 0x14]
lea ecx, [esp + 0x38]
push ebx
push dword [esp + 0x14]
push dword [esp + 0x10]
call fcn.00475b70
add esp, 0xc
cmp byte [esp + 0x38], 0x4b
jne 0x47f265
jmp 0x47f3bb
lea ebx, [esp + 0x28]
lea edx, [esp + 0x68]
mov ecx, ebx
call fcn.00471a70
mov edx, dword [ebp + 0x14]
lea ecx, [esp + 0x38]
push ebx
push dword [esp + 0x14]
push dword [esp + 0x10]
call fcn.00475b70
add esp, 0xc
cmp byte [esp + 0x38], 0x4b
jne 0x47f265
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x20], eax
mov dword [esp + 0xc], ecx
jmp 0x47f265
jmp 0x47f0b4
movsd xmm0, qword [esp + 0x70]
movsd xmm1, qword [esp + 0x78]
movsd qword [edi + 8], xmm1
movsd qword [edi], xmm0
jmp 0x47f0bf
mov eax, dword [esp + 0xc]
test eax, eax
je 0x47f39b
mov ecx, dword [esp + 0x20]
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
jmp 0x47f3b3
mov edx, dword [esp + 4]
mov ebx, dword [esp + 0x1c]
mov eax, edx
xor eax, 0x2e
or eax, ebx
jne 0x47f3cb
mov dword [esi + 4], 0
mov byte [esi], 0x4b
jmp 0x47f0bf
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
jmp 0x47f3b3
mov edi, dword [ebp + 0x18]
movzx eax, byte [esp + 0x50]
mov ecx, esi
dec edi
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 8]
push eax
push dword [esp + 0x38]
push ebx
call fcn.004809f0
add esp, 0x1c
jmp 0x47f0bf
movzx edx, byte [esp + 0x14]
mov dh, 0x12
jmp 0x47f0b4