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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xfc
mov dword [ebp - 0x1c], 2
cmp dword [ebp - 0x1c], 3
je 0x47fd03
cmp dword [ebp - 0x1c], 3
ja 0x47fcfd
cmp dword [ebp - 0x1c], 2
je 0x47fbc8
cmp dword [ebp - 0x1c], 2
ja 0x47fcfd
cmp dword [ebp - 0x1c], 0
je 0x47fbae
cmp dword [ebp - 0x1c], 1
jne 0x47fcfd
mov eax, dword [ebp + 0x10]
mov ebx, dword [eax]
mov eax, dword [ebp + 0x10]
mov esi, dword [eax]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
movsx edi, al
mov dword [ebp - 0x34], edi
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp + 0x10]
mov edi, dword [eax]
mov dword [ebp - 0x44], edi
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp + 0x10]
mov edi, dword [eax]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov dword [esp + 0xa0], ebx
mov dword [esp + 0x9c], esi
mov ebx, dword [ebp - 0x2c]
mov dword [esp + 0x98], ebx
fld qword [0x880a30]
fstp qword [esp + 0x90]
fld qword [0x880a50]
fstp qword [esp + 0x88]
mov esi, dword [ebp - 0x30]
mov dword [esp + 0x84], esi
mov ebx, dword [ebp - 0x34]
mov dword [esp + 0x80], ebx
mov esi, dword [ebp - 0x38]
mov dword [esp + 0x7c], esi
mov ebx, dword [ebp - 0x3c]
mov dword [esp + 0x78], ebx
mov esi, dword [ebp - 0x40]
mov dword [esp + 0x74], esi
fld qword [0x880a38]
fstp qword [esp + 0x6c]
mov ebx, dword [ebp - 0x44]
mov dword [esp + 0x68], ebx
mov esi, dword [ebp - 0x48]
mov dword [esp + 0x64], esi
fld qword [0x880a50]
fstp qword [esp + 0x5c]
mov ebx, dword [ebp - 0x4c]
mov dword [esp + 0x58], ebx
mov esi, dword [ebp - 0x50]
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], 0
fld1
fstp qword [esp + 0x48]
fld qword [0x880a40]
fstp qword [esp + 0x40]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 9
mov dword [esp + 0x2c], edx
fld qword [0x880a40]
fstp qword [esp + 0x24]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 6
mov dword [esp + 0x14], 0
fld qword [0x880a68]
fstp qword [esp + 0xc]
fld qword [0x880a30]
fstp qword [esp + 4]
mov dword [esp], 0
call sym._update_keys
mov dword [ebp - 0x1c], 3
jmp 0x47fcfe
mov eax, dword [ebp + 0x14]
movzx eax, byte [eax]
movsx edx, al
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
mov dword [ebp - 0x1c], 1
jmp 0x47fcfe
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov edx, eax
mov eax, dword [ebp + 0x10]
mov edi, dword [eax]
mov eax, dword [ebp + 0x10]
mov esi, dword [eax]
mov eax, dword [ebp + 0x10]
mov ebx, dword [eax]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esp + 0xa4], edx
fld qword [0x880a50]
fstp qword [esp + 0x9c]
mov dword [esp + 0x98], edi
fld qword [0x880a40]
fstp qword [esp + 0x90]
mov dword [esp + 0x8c], esi
fld qword [0x880a50]
fstp qword [esp + 0x84]
fld qword [0x880a58]
fstp qword [esp + 0x7c]
fld qword [0x880a68]
fstp qword [esp + 0x74]
mov dword [esp + 0x70], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 1
mov dword [esp + 0x64], ebx
fld qword [0x880a30]
fstp qword [esp + 0x5c]
mov dword [esp + 0x58], 4
mov dword [esp + 0x54], ecx
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 5
fld qword [0x880a48]
fstp qword [esp + 0x40]
fldz
fstp qword [esp + 0x38]
fld1
fstp qword [esp + 0x30]
mov dword [esp + 0x2c], 0
mov edi, dword [ebp - 0x2c]
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], 0
fldz
fstp qword [esp + 0x1c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], 8
mov dword [esp + 0x10], 0
fld qword [0x880a48]
fstp qword [esp + 8]
mov dword [esp + 4], 0
mov dword [esp], 0
call sym._decrypt_byte
mov edx, dword [ebp + 0x14]
mov byte [edx], al
mov dword [ebp - 0x1c], 0
jmp 0x47fcfe
nop
jmp 0x47f9ef
nop
add esp, 0xfc
pop ebx
pop esi
pop edi
pop ebp
ret