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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x11c
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x1c], 2
je 0x513e12
cmp dword [ebp - 0x1c], 2
ja 0x513e0c
cmp dword [ebp - 0x1c], 0
je 0x513c15
cmp dword [ebp - 0x1c], 1
je 0x513bef
jmp 0x513e0c
mov eax, dword [ebp + 0x20]
mov edx, dword [eax]
mov eax, dword [ebp + 0x60]
mov eax, dword [eax]
movzx eax, byte [edx + eax + 0x1b31]
movzx edx, al
mov eax, dword [ebp + 0x64]
mov dword [eax], edx
mov dword [ebp - 0x1c], 0
jmp 0x513e0d
mov eax, dword [ebp + 0x20]
mov eax, dword [eax]
mov ecx, eax
mov eax, dword [ebp + 8]
mov ebx, dword [eax]
mov dword [ebp - 0x2c], ebx
mov eax, dword [ebp + 0x28]
fld qword [eax]
mov eax, dword [ebp + 0x18]
fld qword [eax]
mov eax, dword [ebp + 0x48]
mov edx, dword [eax]
mov eax, dword [ebp + 0x64]
mov eax, dword [eax]
add eax, 0x101
shl eax, 2
add eax, edx
movzx eax, word [eax]
movzx esi, ax
mov dword [ebp - 0x30], esi
mov eax, dword [ebp + 0x40]
mov edi, dword [eax]
mov dword [ebp - 0x34], edi
mov eax, dword [ebp + 0x24]
fld qword [eax]
mov eax, dword [ebp + 0x6c]
mov edx, dword [eax]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp + 0x60]
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x38]
fld qword [eax]
mov eax, dword [ebp + 0x2c]
mov ebx, dword [eax]
mov dword [ebp - 0x40], ebx
mov eax, dword [ebp + 0x3c]
mov esi, dword [eax]
mov dword [ebp - 0x44], esi
mov eax, dword [ebp + 0x68]
mov edi, dword [eax]
mov dword [ebp - 0x48], edi
mov eax, dword [ebp + 0x30]
fld qword [eax]
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp + 0x38]
fld qword [eax]
mov eax, dword [ebp + 0xc]
fld qword [eax]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x54]
mov ebx, dword [eax]
mov dword [ebp - 0x54], ebx
mov eax, dword [ebp + 0x48]
mov edx, dword [eax]
mov eax, dword [ebp + 0x64]
mov eax, dword [eax]
add eax, 0x101
shl eax, 2
add eax, edx
movzx eax, word [eax + 2]
movzx esi, ax
mov dword [ebp - 0x58], esi
mov eax, dword [ebp + 0x50]
mov edi, dword [eax]
mov dword [ebp - 0x5c], edi
mov eax, dword [ebp + 0x44]
mov edx, dword [eax]
mov dword [ebp - 0x60], edx
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x28]
fld qword [eax]
fstp qword [ebp - 0x70]
mov eax, dword [ebp + 0x34]
mov ebx, dword [eax]
mov dword [ebp - 0x68], ebx
mov eax, dword [ebp + 0x14]
fld qword [eax]
fxch st(7)
mov eax, dword [ebp + 0x70]
mov esi, dword [eax]
mov dword [ebp - 0x74], esi
mov eax, dword [ebp + 0x50]
mov edi, dword [eax]
mov eax, dword [ebp + 0x3c]
mov esi, dword [eax]
mov eax, dword [ebp + 0x5c]
mov ebx, dword [eax]
mov eax, dword [ebp + 0x4c]
mov eax, dword [eax]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x58]
mov edx, dword [eax]
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax]
mov dword [esp + 0xa4], ecx
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 0xa0], ecx
fstp qword [esp + 0x98]
fxch st(5)
fstp qword [esp + 0x90]
fxch st(3)
mov ecx, dword [ebp - 0x30]
mov dword [esp + 0x8c], ecx
mov ecx, dword [ebp - 0x34]
mov dword [esp + 0x88], ecx
fstp qword [esp + 0x80]
fxch st(1)
mov ecx, dword [ebp - 0x38]
mov dword [esp + 0x7c], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [esp + 0x78], ecx
fstp qword [esp + 0x70]
mov ecx, dword [ebp - 0x40]
mov dword [esp + 0x6c], ecx
mov ecx, dword [ebp - 0x44]
mov dword [esp + 0x68], ecx
mov ecx, dword [ebp - 0x48]
mov dword [esp + 0x64], ecx
fstp qword [esp + 0x5c]
mov ecx, dword [ebp - 0x4c]
mov dword [esp + 0x58], ecx
fstp qword [esp + 0x50]
fstp qword [esp + 0x48]
mov ecx, dword [ebp - 0x50]
mov dword [esp + 0x44], ecx
mov ecx, dword [ebp - 0x54]
mov dword [esp + 0x40], ecx
mov ecx, dword [ebp - 0x58]
mov dword [esp + 0x3c], ecx
mov ecx, dword [ebp - 0x5c]
mov dword [esp + 0x38], ecx
mov ecx, dword [ebp - 0x60]
mov dword [esp + 0x34], ecx
mov ecx, dword [ebp - 0x64]
mov dword [esp + 0x30], ecx
fld qword [ebp - 0x70]
fstp qword [esp + 0x28]
mov ecx, dword [ebp - 0x68]
mov dword [esp + 0x24], ecx
fstp qword [esp + 0x1c]
mov ecx, dword [ebp - 0x74]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], ebx
mov edi, dword [ebp - 0x78]
mov dword [esp + 8], edi
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._send_bits
mov edx, dword [ebp + 0x70]
mov dword [edx], eax
mov dword [ebp - 0x1c], 2
jmp 0x513e0d
nop
jmp 0x513bca
nop
add esp, 0x11c
pop ebx
pop esi
pop edi
pop ebp
ret