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

Disassembly:
push 0xffffffffffffffff
push 0x65cfdb
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov eax, dword [0x755898]
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 0x559c91
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.0056a800
test eax, eax
je 0x559c91
mov eax, dword [ebx + 0x88]
cmp eax, edi
jne 0x559bd6
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0xc0]
mov edx, dword [ecx + 0x30]
push edx
push eax
mov ecx, ebx
call fcn.005593b0
mov eax, dword [ebx + 0x88]
cmp eax, edi
je 0x559bcc
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 0x559c93
mov dword [esp + 0x14], eax
cmp dword [eax + 0x58], edi
je 0x559bfd
mov ecx, dword [esp + 0x68]
jmp 0x559be9
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0x60]
inc edx
cmp ecx, edx
je 0x559bfd
mov eax, dword [eax + 0x58]
mov dword [esp + 0x14], eax
cmp dword [eax + 0x58], edi
jne 0x559be5
push 0x70
call fcn.005f1588
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x5c], edi
cmp eax, edi
je 0x559c1e
mov ecx, eax
call fcn.0055f950
mov esi, eax
jmp 0x559c20
xor esi, esi
mov dword [esp + 0x5c], 0xffffffff
cmp esi, edi
je 0x559c91
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 0x559c50
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.005f15c2
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x559ca9
mov ecx, esi
call fcn.0055f9e0
push esi
call fcn.005f15b7
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.0040fce0
add esp, 0x10
push ebp
mov ecx, esi
call fcn.0055f660
test eax, eax
je 0x559cf7
mov ecx, esi
call fcn.0055f9e0
push esi
call fcn.005f15b7
push ebp
call fcn.005f15b7
add esp, 8
jmp 0x559c91
mov edi, dword [esp + 0x64]
push ebp
lea ecx, [edi + 0x10]
call fcn.00569460
mov dword [esp + 0x1c], eax
test eax, eax
je 0x559d92
lea ecx, [esp + 0x64]
call fcn.00402500
mov dword [esp + 0x5c], 1
push ebp
lea ecx, [esp + 0x1c]
call fcn.00418200
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.00402f70
mov ecx, dword [esp + 0x74]
add esp, 0x10
push ecx
mov ecx, ebx
call fcn.005539c0
mov ecx, esi
call fcn.0055f9e0
push esi
call fcn.005f15b7
push ebp
call fcn.005f15b7
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 0x559c91
mov ecx, edi
call fcn.00553680
push ebp
call fcn.005f15b7
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 [0x684830]
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 [0x684850]
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 0x559e85
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 0x559c93