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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x12c
mov dword [ebp - 0x1c], 0
cmp dword [ebp - 0x1c], 2
je 0x5464b9
cmp dword [ebp - 0x1c], 2
ja 0x546688
cmp dword [ebp - 0x1c], 0
je 0x54648b
cmp dword [ebp - 0x1c], 1
je 0x54668e
jmp 0x546688
mov eax, dword [ebp + 0x58]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x20]
mov eax, dword [eax]
mov edx, dword [ebp + 0x5c]
mov edx, dword [edx]
add edx, 0x788
mov eax, dword [eax + edx*4 + 0x14]
sub ecx, eax
mov edx, ecx
mov eax, dword [ebp + 0x58]
mov dword [eax], edx
mov dword [ebp - 0x1c], 2
jmp 0x546689
mov eax, dword [ebp + 0x50]
mov eax, dword [eax]
mov edx, eax
mov eax, dword [ebp + 0x58]
mov ebx, dword [eax]
mov dword [ebp - 0x2c], ebx
mov eax, dword [ebp + 0x18]
fld qword [eax]
mov eax, dword [ebp + 8]
mov esi, dword [eax]
mov dword [ebp - 0x30], esi
mov eax, dword [ebp + 0x54]
mov edi, dword [eax]
mov dword [ebp - 0x34], edi
mov eax, dword [ebp + 0x20]
mov ecx, dword [eax]
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp + 0x2c]
fld qword [eax]
mov eax, dword [ebp + 0xc]
fld qword [eax]
fstp qword [ebp - 0x40]
mov eax, dword [ebp + 0x48]
fld qword [eax]
fstp qword [ebp - 0x48]
mov eax, dword [ebp + 0x64]
mov eax, dword [eax]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x50]
mov ebx, dword [eax]
mov dword [ebp - 0x50], ebx
mov eax, dword [ebp + 0x4c]
mov esi, dword [eax]
mov dword [ebp - 0x54], esi
mov eax, dword [ebp + 0x10]
fld qword [eax]
fstp qword [ebp - 0x60]
mov eax, dword [ebp + 0x44]
mov edi, dword [eax]
mov dword [ebp - 0x58], edi
mov eax, dword [ebp + 0x60]
mov ecx, dword [eax]
mov dword [ebp - 0x64], ecx
mov eax, dword [ebp + 0x24]
mov eax, dword [eax]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x14]
mov ebx, dword [eax]
mov dword [ebp - 0x6c], ebx
mov eax, dword [ebp + 0x2c]
fld qword [eax]
mov eax, dword [ebp + 0x1c]
mov esi, dword [eax]
mov dword [ebp - 0x70], esi
mov eax, dword [ebp + 0x40]
fld qword [eax]
mov eax, dword [ebp + 0x48]
fld qword [eax]
mov eax, dword [ebp + 0x1c]
mov edi, dword [eax]
mov dword [ebp - 0x74], edi
mov eax, dword [ebp + 0x38]
fld qword [eax]
mov eax, dword [ebp + 0x34]
mov ecx, dword [eax]
mov dword [ebp - 0x78], ecx
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x50]
mov edi, dword [eax]
mov eax, dword [ebp + 0x3c]
mov esi, dword [eax]
mov eax, dword [ebp + 0x58]
mov ebx, dword [eax]
mov eax, dword [ebp + 0x50]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x28]
mov eax, dword [eax]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x38]
fld qword [eax]
mov eax, dword [ebp + 0x30]
fld qword [eax]
fxch st(7)
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax]
mov dword [esp + 0xac], edx
mov edx, dword [ebp - 0x2c]
mov dword [esp + 0xa8], edx
fstp qword [esp + 0xa0]
fxch st(5)
mov edx, dword [ebp - 0x30]
mov dword [esp + 0x9c], edx
mov edx, dword [ebp - 0x34]
mov dword [esp + 0x98], edx
mov edx, dword [ebp - 0x38]
mov dword [esp + 0x94], edx
fstp qword [esp + 0x8c]
fld qword [ebp - 0x40]
fstp qword [esp + 0x84]
fld qword [ebp - 0x48]
fstp qword [esp + 0x7c]
mov edx, dword [ebp - 0x4c]
mov dword [esp + 0x78], edx
mov edx, dword [ebp - 0x50]
mov dword [esp + 0x74], edx
mov edx, dword [ebp - 0x54]
mov dword [esp + 0x70], edx
fld qword [ebp - 0x60]
fstp qword [esp + 0x68]
fxch st(3)
mov edx, dword [ebp - 0x58]
mov dword [esp + 0x64], edx
mov edx, dword [ebp - 0x64]
mov dword [esp + 0x60], edx
mov edx, dword [ebp - 0x68]
mov dword [esp + 0x5c], edx
mov edx, dword [ebp - 0x6c]
mov dword [esp + 0x58], edx
fstp qword [esp + 0x50]
fxch st(1)
mov edx, dword [ebp - 0x70]
mov dword [esp + 0x4c], edx
fstp qword [esp + 0x44]
fstp qword [esp + 0x3c]
mov edx, dword [ebp - 0x74]
mov dword [esp + 0x38], edx
fstp qword [esp + 0x30]
mov edx, dword [ebp - 0x78]
mov dword [esp + 0x2c], edx
mov edx, dword [ebp - 0x7c]
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ecx
mov ebx, dword [ebp - 0x80]
mov dword [esp + 0x14], ebx
fstp qword [esp + 0xc]
fstp qword [esp + 4]
mov dword [esp], eax
call sym._send_bits
mov edx, dword [ebp + 0x64]
mov dword [edx], eax
mov dword [ebp - 0x1c], 1
jmp 0x546689
nop
jmp 0x546466
nop
add esp, 0x12c
pop ebx
pop esi
pop edi
pop ebp
ret