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

Disassembly:
push 0xffffffffffffffff
push 0x72e9c1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
push ebx
push ebp
mov ebx, ecx
mov ebp, dword [ebx + 0xcc]
push esi
add ebp, 0x20
push edi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x38], ebp
je 0x54607c
mov al, byte [ebx + 0xd0]
test al, al
jne 0x545cb2
mov edi, dword [esp + 0xa8]
mov ecx, dword [edi]
mov eax, dword [ebx + 0xbc]
add eax, ecx
mov ecx, dword [ebx + 0xc0]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
add ecx, dword [edi + 4]
fstp dword [esp + 0x2c]
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
jmp 0x545cc2
mov edi, dword [esp + 0xa8]
fild dword [edi]
fstp dword [esp + 0x2c]
fild dword [edi + 4]
fstp dword [esp + 0x30]
lea edx, [esp + 0x2c]
fild dword [edi + 8]
push edx
lea ecx, [esp + 0x58]
fstp dword [esp + 0x38]
call fcn.0040a7e0
mov eax, dword [0x7de6cc]
mov ecx, dword [0x7de6d0]
mov edx, dword [0x7de6d4]
xor esi, esi
mov dword [esp + 0x3c], eax
mov al, byte [esp + 0x1b]
push esi
mov dword [esp + 0x44], ecx
push esi
lea ecx, [esp + 0x24]
mov dword [esp + 0x4c], edx
mov byte [esp + 0x24], al
call fcn.00536520
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], esi
push 0xc
mov dword [esp + 0xa4], esi
mov dword [esp + 0x88], esi
mov dword [esp + 0x84], esi
mov dword [esp + 0x80], esi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, esi
mov byte [esp + 0xa0], 1
je 0x545d59
lea ecx, [esp + 0x1b]
push ecx
mov ecx, eax
call fcn.005321f0
jmp 0x545d5b
xor eax, eax
mov dword [esp + 0x78], eax
or eax, 0xffffffff
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov edx, dword [ebp + 0x10]
mov ecx, ebp
mov byte [esp + 0xa0], 2
mov dword [esp + 0x14], edx
call fcn.0047e710
cmp eax, esi
mov esi, dword [esp + 0xac]
je 0x545fa1
mov eax, dword [eax + 8]
push esi
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x20], esp
push ecx
mov ecx, eax
call fcn.004f3120
mov ecx, ebx
call fcn.00544e80
mov al, byte [ebx + 0xd0]
test al, al
jne 0x545df0
mov eax, dword [esi]
mov edx, dword [ebx + 0xbc]
mov ecx, dword [esi + 4]
add edx, eax
mov eax, dword [ebx + 0xc0]
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
add eax, ecx
mov dword [esp + 0x10], eax
fstp dword [esp + 0x48]
fild dword [esp + 0x10]
jmp 0x545df9
fild dword [esi]
fstp dword [esp + 0x48]
fild dword [esi + 4]
fstp dword [esp + 0x4c]
lea ecx, [esp + 0x48]
fild dword [esi + 8]
push ecx
lea ecx, [esp + 0x30]
fstp dword [esp + 0x54]
call fcn.0040a7e0
fld dword [esp + 0x54]
mov eax, dword [esp + 0x30]
fcomp dword [esp + 0x2c]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], edx
fnstsw ax
mov dword [esp + 0x44], ecx
test ah, 0x40
je 0x545e57
fld dword [esp + 0x58]
fcomp dword [esp + 0x30]
fnstsw ax
test ah, 0x40
je 0x545e57
fld dword [esp + 0x5c]
fcomp dword [esp + 0x34]
fnstsw ax
test ah, 0x40
jne 0x545eb0
mov eax, dword [edi + 4]
mov ecx, dword [esi + 4]
mov ebx, dword [esi]
sub eax, ecx
mov ebp, dword [esi + 8]
cdq
mov ecx, eax
mov eax, dword [edi]
xor ecx, edx
sub eax, ebx
sub ecx, edx
cdq
xor eax, edx
sub eax, edx
add ecx, eax
mov eax, dword [edi + 8]
sub eax, ebp
cdq
xor eax, edx
sub eax, edx
add ecx, eax
mov dword [esi + 0x24], ecx
mov dword [esi + 0x1c], ecx
push esi
lea ecx, [esp + 0x20]
call fcn.00546870
mov ecx, dword [esp + 0x38]
call fcn.0047e720
test eax, eax
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x38]
je 0x545fa1
jmp 0x545d9f
mov edx, dword [esp + 0x20]
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x24]
call fcn.0058d240
mov ecx, dword [eax]
push ecx
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x28]
call fcn.00546f90
push edi
mov ecx, esi
call fcn.00546d60
lea eax, [edi + 0xc]
push eax
lea ecx, [esi + 0xc]
call fcn.00546d60
mov ecx, dword [edi + 0x20]
mov dword [esi + 0x20], ecx
mov edx, dword [edi + 0x24]
mov dword [esi + 0x24], edx
mov eax, dword [edi + 0x1c]
lea ecx, [esp + 0x10]
mov dword [esi + 0x1c], eax
push ecx
mov ecx, dword [edi + 0x18]
call fcn.0050f430
mov edx, dword [eax]
push ecx
mov ecx, esp
lea eax, [esp + 0x2c]
mov dword [ecx], edx
mov ecx, dword [edi + 0x18]
push eax
call fcn.0058d240
push ecx
mov ecx, esp
push eax
call fcn.00411b00
mov ecx, dword [esi + 0x18]
call fcn.005468c0
mov ecx, dword [esp + 0x14]
mov dword [ebp + 0x10], ecx
mov ecx, dword [esp + 0x78]
mov byte [esp + 0xa0], 0
call fcn.00546970
mov ecx, dword [esp + 0x78]
test ecx, ecx
je 0x545f53
push 1
call fcn.00544c00
mov eax, dword [esp + 0x20]
push eax
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x24]
mov dword [esp + 0x80], 0
mov dword [esp + 0xa8], 0xffffffff
call fcn.0058d240
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x28]
call fcn.00546f90
mov edx, dword [esp + 0x20]
push edx
call fcn.00727530
add esp, 4
mov al, 1
jmp 0x54607e
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
mov dword [ebp + 0x10], eax
call fcn.00546a20
mov eax, dword [esp + 0x24]
test eax, eax
je 0x54604e
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x20]
call fcn.0058d240
mov eax, dword [eax]
add eax, 8
push eax
mov ecx, esi
call fcn.00546db0
lea ecx, [esp + 0x1c]
call fcn.005467a0
push esi
lea edx, [esp + 0x4c]
push edx
mov ecx, ebx
call fcn.00544eb0
push eax
lea ecx, [esp + 0x40]
call fcn.0040a7e0
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x5c]
call fcn.00438850
mov ecx, eax
call fcn.00438d80
fcomp dword [0x746648]
fnstsw ax
test ah, 0x41
je 0x546042
push 0x42800000
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x5c]
push 0x42800000
push eax
call fcn.0053b200
add esp, 0x10
test al, al
jne 0x546099
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x545fbd
lea ecx, [esp + 0x1c]
call fcn.00546970
lea ecx, [esp + 0x60]
mov byte [esp + 0xa0], 0
call fcn.00544870
lea ecx, [esp + 0x1c]
mov dword [esp + 0xa0], 0xffffffff
call fcn.00532220
xor al, al
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x94
ret 8
lea ecx, [esp + 0x1c]
call fcn.00546970
lea ecx, [esp + 0x60]
mov byte [esp + 0xa0], 0
call fcn.00544870
lea ecx, [esp + 0x1c]
mov dword [esp + 0xa0], 0xffffffff
call fcn.00532220
mov al, 1
jmp 0x54607e