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

Disassembly:
push 0xffffffffffffffff
push 0x65286b
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov eax, dword [0x7496c8]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, dword [ebx + 0x18]
xor edi, edi
cmp ecx, edi
je 0x551411
fldz
lea eax, [esp + 0x3c]
push eax
fst qword [esp + 0x48]
lea edx, [esp + 0x38]
fstp qword [esp + 0x50]
push edx
lea eax, [esp + 0x34]
push eax
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x78]
push eax
lea edx, [esp + 0x60]
push edx
mov edx, dword [esp + 0x80]
lea eax, [esp + 0x5c]
push eax
push edx
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
call fcn.00561f60
test eax, eax
je 0x551411
mov eax, dword [ebx + 0x88]
cmp eax, edi
jne 0x551356
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0xc0]
mov edx, dword [ecx + 0x30]
push edx
push eax
mov ecx, ebx
call fcn.00550b30
mov eax, dword [ebx + 0x88]
cmp eax, edi
je 0x55134c
mov ecx, dword [esp + 0x24]
mov dword [eax + 0x38], ecx
mov edx, dword [esp + 0x28]
mov dword [eax + 0x3c], edx
mov eax, dword [ebx + 0x88]
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0x40], ecx
mov edx, dword [esp + 0x30]
mov dword [eax + 0x44], edx
mov eax, dword [ebx + 0x88]
mov ecx, dword [esp + 0x34]
mov dword [eax + 0x48], ecx
mov edx, dword [esp + 0x38]
mov dword [eax + 0x4c], edx
mov ebx, dword [ebx + 0x88]
mov eax, dword [esp + 0x3c]
mov dword [ebx + 0x50], eax
mov ecx, dword [esp + 0x40]
mov dword [ebx + 0x54], ecx
mov eax, 1
jmp 0x551413
mov dword [esp + 0x14], eax
cmp dword [eax + 0x58], edi
je 0x55137d
mov ecx, dword [esp + 0x68]
jmp 0x551369
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0x60]
inc edx
cmp ecx, edx
je 0x55137d
mov eax, dword [eax + 0x58]
mov dword [esp + 0x14], eax
cmp dword [eax + 0x58], edi
jne 0x551365
push 0x70
call fcn.005e7678
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x5c], edi
cmp eax, edi
je 0x55139e
mov ecx, eax
call fcn.00557000
mov esi, eax
jmp 0x5513a0
xor esi, esi
mov dword [esp + 0x5c], 0xffffffff
cmp esi, edi
je 0x551411
mov eax, dword [ebx + 0xd4]
mov dword [esi + 0x64], eax
mov ecx, dword [ebx + 0xdc]
mov dword [esi + 0x68], ecx
mov edx, dword [ebx + 0x88]
mov eax, dword [edx + 0x10]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x5513d0
sub eax, edx
sar eax, 1
xor ecx, ecx
add eax, 0xa
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005e76b2
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x551429
mov ecx, esi
call fcn.00557090
push esi
call fcn.005e76a7
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 8
mov eax, dword [esp + 0x68]
inc dword [ebx + 0x94]
mov dword [esi + 0x60], eax
mov ecx, dword [esp + 0x68]
mov edx, dword [ebx + 0x88]
mov eax, dword [edx + 0x10]
push ecx
push eax
push str._s_d
push ebp
call fcn.0040fc20
add esp, 0x10
push ebp
mov ecx, esi
call fcn.00556d10
test eax, eax
je 0x551477
mov ecx, esi
call fcn.00557090
push esi
call fcn.005e76a7
push ebp
call fcn.005e76a7
add esp, 8
jmp 0x551411
mov edi, dword [esp + 0x64]
push ebp
lea ecx, [edi + 0x10]
call fcn.00560bc0
mov dword [esp + 0x1c], eax
test eax, eax
je 0x551512
lea ecx, [esp + 0x64]
call fcn.00402500
mov dword [esp + 0x5c], 1
push ebp
lea ecx, [esp + 0x1c]
call fcn.00417fb0
mov byte [esp + 0x5c], 2
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push ecx
push edx
lea eax, [esp + 0x6c]
push str.Error_opening_file__s__errcode___ld._n
push eax
call fcn.00402f80
mov ecx, dword [esp + 0x74]
add esp, 0x10
push ecx
mov ecx, ebx
call fcn.0054b1b0
mov ecx, esi
call fcn.00557090
push esi
call fcn.005e76a7
push ebp
call fcn.005e76a7
add esp, 8
mov byte [esp + 0x5c], 1
lea ecx, [esp + 0x18]
call fcn.00402570
mov dword [esp + 0x5c], 0xffffffff
lea ecx, [esp + 0x64]
call fcn.00402570
jmp 0x551411
mov ecx, edi
call fcn.0054ae70
push ebp
call fcn.005e76a7
fnstcw word [esp + 0x68]
mov dword [esi], edi
fld qword [esp + 0x48]
xor eax, eax
fstp qword [edi + 0xf0]
fld qword [esp + 0x50]
mov dword [edi + 0x60], eax
fmul qword [0x6796f0]
mov dword [edi + 0x64], eax
mov dword [edi + 0x78], eax
mov dword [edi + 0x7c], eax
mov dword [edi + 0x70], eax
mov dword [edi + 0x74], eax
movzx eax, word [esp + 0x68]
or eax, 0xc00
mov dword [esp + 0x20], eax
add esp, 4
fldcw word [esp + 0x1c]
fistp qword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x1c], ecx
fldcw word [esp + 0x64]
fld qword [esp + 0x44]
fmul qword [0x679710]
fnstcw word [esp + 0x64]
movzx eax, word [esp + 0x64]
or eax, 0xc00
mov dword [esp + 0x1c], eax
fldcw word [esp + 0x1c]
fistp qword [esp + 0x1c]
mov edx, dword [esp + 0x1c]
sub ecx, edx
mov dword [esi + 0x20], ecx
mov eax, dword [esp + 0x24]
mov dword [esi + 0x38], eax
fldcw word [esp + 0x64]
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x3c], ecx
mov edx, dword [esp + 0x2c]
mov dword [esi + 0x40], edx
mov eax, dword [esp + 0x30]
mov dword [esi + 0x44], eax
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x48], ecx
mov edx, dword [esp + 0x38]
mov dword [esi + 0x4c], edx
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x50], eax
mov ecx, dword [esp + 0x40]
mov dword [esi + 0x54], ecx
mov edx, dword [edi + 0xc0]
cmp byte [edx + 0x34c], 0
je 0x551605
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [edi + 0x60], eax
mov eax, dword [esp + 0x30]
mov dword [edi + 0x64], ecx
mov dword [edi + 0x70], edx
mov dword [edi + 0x74], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x58]
mov dword [esi + 0x58], ecx
mov dword [eax + 0x58], esi
mov edx, dword [edi + 0x60]
mov dword [edi + 0xa0], esi
mov dword [esi + 8], edx
mov eax, dword [edi + 0x64]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x60]
mov edx, dword [edi + 0x64]
mov dword [edi + 0x68], ecx
mov dword [edi + 0x6c], edx
mov eax, 1
jmp 0x551413