Function at 0x542490
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, esi
mov dword [ebp + 8], eax
fild dword [ebp + 8]
push edi
mov dword [ebp - 4], ecx
test eax, eax
jns 0x5424b1
fadd dword [0x58b680]
fld qword [0x58c370]
mov edi, dword [ebp + 0xc]
fadd st(1), st(0)
mov ecx, edi
fxch st(1)
mov dword [ebp + 8], ecx
fstp dword [ebp - 0x48]
fild dword [ebp + 8]
test ecx, ecx
jns 0x5424d3
fadd dword [0x58b680]
mov edx, dword [ebp + 0x10]
fadd st(1)
fstp dword [ebp - 0x44]
fild dword [ebp + 0x10]
test edx, edx
jns 0x5424e8
fadd dword [0x58b680]
mov eax, dword [ebp + 0x14]
fadd st(1)
fstp dword [ebp - 0x50]
fild dword [ebp + 0x14]
test eax, eax
jns 0x5424fd
fadd dword [0x58b680]
mov edx, dword [ebp - 0x50]
faddp st(1)
mov eax, dword [ebp - 0x44]
fstp dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x4c]
push ecx
mov ecx, dword [ebp - 0x48]
push edx
push eax
push ecx
lea ecx, [ebp - 0x5c]
call fcn.00541600
fld dword [ebp - 0x50]
fsub dword [ebp - 0x48]
mov dword [ebp + 0xc], 0
fstp dword [ebp - 8]
fld dword [ebp - 0x4c]
fsub dword [ebp - 0x44]
fstp dword [ebp - 0xc]
fld dword [ebp - 8]
mov ecx, dword [ebp - 4]
fld dword [ebp - 0xc]
inc dword [ebp + 0xc]
fld1
push edi
fldz
xor ebx, ebx
push esi
mov dword [ebp + 8], ebx
call fcn.00542240
test eax, eax
je 0x542a3e
cmp byte [eax + 0x1c], 1
je 0x542a08
cmp byte [eax + 0x1d], bl
jne 0x542a08
mov edx, esi
mov dword [ebp - 0x10], edx
fild dword [ebp - 0x10]
test edx, edx
jns 0x54257c
fadd dword [0x58b680]
fstp dword [ebp - 0x10]
mov eax, edi
fld dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
fst dword [ebp - 0x20]
fild dword [ebp - 0x10]
test eax, eax
jns 0x542597
fadd dword [0x58b680]
fstp dword [ebp - 0x10]
fld dword [ebp - 0x10]
fst dword [ebp - 0x1c]
fld st(1)
fadd st(4)
fstp dword [ebp - 0x10]
fld dword [ebp - 0x10]
fst dword [ebp - 0x18]
fxch st(1)
fst dword [ebp - 0x14]
fst dword [ebp - 0x2c]
fxch st(2)
fst dword [ebp - 0x30]
fst dword [ebp - 0x28]
fld st(2)
faddp st(5)
fxch st(4)
fstp dword [ebp - 0x10]
fld dword [ebp - 0x10]
fst dword [ebp - 0x24]
fst dword [ebp - 0x34]
fst dword [ebp - 0x4c]
fstp dword [ebp - 0x44]
fst dword [ebp - 0x40]
fst dword [ebp - 0x38]
fstp dword [ebp - 0x48]
fstp dword [ebp - 0x3c]
fxch st(1)
fstp dword [ebp - 0x50]
cmp esi, dword [ebp + 0x10]
jne 0x5425f4
cmp edi, dword [ebp + 0x14]
je 0x542a1b
fcom st(2)
fnstsw ax
test ah, 5
jp 0x54263b
fld st(1)
fld st(1)
fucompp
fnstsw ax
test ah, 0x44
jp 0x54263b
mov edx, dword [ebp - 0x34]
fstp st(0)
mov eax, dword [ebp - 0x38]
fstp st(0)
lea ecx, [ebp - 0x5c]
fstp st(0)
push ecx
mov ecx, dword [ebp - 0x3c]
push edx
mov edx, dword [ebp - 0x40]
push eax
push ecx
push edx
call fcn.005416c0
add esp, 0x14
cmp eax, 1
jne 0x542a51
inc esi
jmp 0x5429fa
fcom st(2)
fnstsw ax
test ah, 0x41
jne 0x542682
fld st(1)
fld st(1)
fucompp
fnstsw ax
test ah, 0x44
jp 0x542682
mov ecx, dword [ebp - 0x24]
fstp st(0)
mov edx, dword [ebp - 0x28]
fstp st(0)
lea eax, [ebp - 0x5c]
fstp st(0)
push eax
mov eax, dword [ebp - 0x2c]
push ecx
mov ecx, dword [ebp - 0x30]
push edx
push eax
push ecx
call fcn.005416c0
add esp, 0x14
cmp eax, 1
jne 0x542a51
dec esi
jmp 0x5429fa
fld st(2)
fld st(1)
fucompp
fnstsw ax
test ah, 0x44
jp 0x542703
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x5426c9
mov eax, dword [ebp - 0x14]
fstp st(0)
mov ecx, dword [ebp - 0x18]
fstp st(0)
lea edx, [ebp - 0x5c]
fstp st(0)
push edx
mov edx, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x20]
push ecx
push edx
push eax
call fcn.005416c0
add esp, 0x14
cmp eax, 1
jne 0x542a51
dec edi
jmp 0x5429fa
fcom st(1)
fnstsw ax
test ah, 5
jp 0x542703
mov edx, dword [ebp - 0x44]
fstp st(0)
mov eax, dword [ebp - 0x48]
fstp st(0)
lea ecx, [ebp - 0x5c]
fstp st(0)
push ecx
mov ecx, dword [ebp - 0x4c]
push edx
mov edx, dword [ebp - 0x50]
push eax
push ecx
push edx
call fcn.005416c0
add esp, 0x14
cmp eax, 1
jne 0x542a51
inc edi
jmp 0x5429fa
fcom st(2)
fnstsw ax
test ah, 0x41
jne 0x54279f
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x54279f
mov ecx, dword [ebp - 0x24]
fstp st(0)
mov edx, dword [ebp - 0x28]
fstp st(0)
lea eax, [ebp - 0x5c]
fstp st(0)
push eax
mov eax, dword [ebp - 0x2c]
push ecx
mov ecx, dword [ebp - 0x30]
push edx
push eax
push ecx
call fcn.005416c0
add esp, 0x14
cmp eax, 1
jne 0x542747
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x5c]
push edx
mov edx, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x20]
push ecx
push edx
push eax
call fcn.005416c0
add esp, 0x14
cmp eax, 1
jne 0x54276a
mov ebx, eax
mov eax, dword [ebp + 8]
cmp eax, 1
jne 0x542818
test ebx, ebx
jne 0x542780
dec esi
jmp 0x5429fa
cmp ebx, 1
jne 0x542a51
mov ecx, dword [ebp - 4]
lea eax, [esi - 1]
push edi
push eax
mov dword [ebp + 8], eax
call fcn.00542240
dec edi
jmp 0x5428e5
fcom st(2)
fnstsw ax
test ah, 5
jp 0x54284e
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x54284e
mov edx, dword [ebp - 0x34]
fstp st(0)
mov eax, dword [ebp - 0x38]
fstp st(0)
lea ecx, [ebp - 0x5c]
fstp st(0)
push ecx
mov ecx, dword [ebp - 0x3c]
push edx
mov edx, dword [ebp - 0x40]
push eax
push ecx
push edx
call fcn.005416c0
add esp, 0x14
cmp eax, 1
jne 0x5427e3
mov dword [ebp + 8], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x20]
push edx
push eax
push ecx
call fcn.005416c0
add esp, 0x14
cmp eax, 1
jne 0x542806
mov ebx, eax
mov eax, dword [ebp + 8]
cmp eax, 1
jne 0x542818
test ebx, ebx
jne 0x54282f
inc esi
jmp 0x5429fa
test eax, eax
jne 0x542a51
cmp ebx, 1
jne 0x542a51
dec edi
jmp 0x5429fa
cmp ebx, 1
jne 0x542a51
mov ecx, dword [ebp - 4]
lea eax, [esi + 1]
push edi
push eax
mov dword [ebp + 8], eax
call fcn.00542240
dec edi
jmp 0x5429ce
fcom st(2)
fnstsw ax
test ah, 0x41
jne 0x54292e
fcom st(1)
fnstsw ax
test ah, 5
jp 0x54292e
mov eax, dword [ebp - 0x24]
fstp st(0)
mov ecx, dword [ebp - 0x28]
fstp st(0)
lea edx, [ebp - 0x5c]
fstp st(0)
push edx
mov edx, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x30]
push ecx
push edx
push eax
call fcn.005416c0
add esp, 0x14
cmp eax, 1
jne 0x542892
mov dword [ebp + 8], eax
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x5c]
push ecx
mov ecx, dword [ebp - 0x4c]
push edx
mov edx, dword [ebp - 0x50]
push eax
push ecx
push edx
call fcn.005416c0
add esp, 0x14
cmp eax, 1
jne 0x5428b5
mov ebx, eax
mov eax, dword [ebp + 8]
cmp eax, 1
jne 0x5429a0
test ebx, ebx
jne 0x5428cb
dec esi
jmp 0x5429fa
cmp ebx, 1
jne 0x542a51
mov ecx, dword [ebp - 4]
lea eax, [esi - 1]
push edi
push eax
mov dword [ebp + 8], eax
call fcn.00542240
inc edi
push edi
push esi
mov ebx, eax
call fcn.00542240
test ebx, ebx
je 0x542a51
test eax, eax
je 0x542a51
cmp byte [ebx + 0x1c], 1
je 0x542a51
cmp byte [ebx + 0x1d], 0
jne 0x542a51
cmp byte [eax + 0x1c], 1
je 0x542a51
cmp byte [eax + 0x1d], 0
jne 0x542a51
mov esi, dword [ebp + 8]
jmp 0x5429fa
fcom st(2)
fnstsw ax
fstp st(2)
test ah, 5
jp 0x542a2f
fcompp
fnstsw ax
test ah, 0x41
jne 0x542a51
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [ebp - 0x3c]
push ecx
mov ecx, dword [ebp - 0x40]
push edx
push eax
push ecx
call fcn.005416c0
add esp, 0x14
cmp eax, 1
jne 0x54296e
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x48]
lea edx, [ebp - 0x5c]
push edx
mov edx, dword [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x50]
push ecx
push edx
push eax
call fcn.005416c0
add esp, 0x14
cmp eax, 1
jne 0x542991
mov ebx, eax
mov eax, dword [ebp + 8]
cmp eax, 1
jne 0x5429a0
test ebx, ebx
jne 0x5429b4
inc esi
jmp 0x5429fa
test eax, eax
jne 0x542a51
cmp ebx, 1
jne 0x542a51
inc edi
jmp 0x5429fa
cmp ebx, 1
jne 0x542a51
mov ecx, dword [ebp - 4]
lea eax, [esi + 1]
push edi
push eax
mov dword [ebp + 8], eax
call fcn.00542240
inc edi
push edi
push esi
mov ebx, eax
call fcn.00542240
test ebx, ebx
je 0x542a51
test eax, eax
je 0x542a51
cmp byte [ebx + 0x1c], 1
je 0x542a51
cmp byte [ebx + 0x1d], 0
jne 0x542a51
cmp byte [eax + 0x1c], 1
je 0x542a51
cmp byte [eax + 0x1d], 0
jne 0x542a51
mov esi, dword [ebp + 8]
cmp dword [ebp + 0xc], 0xc350
jge 0x542a51
jmp 0x542533
fstp st(0)
pop edi
fstp st(0)
pop esi
fstp st(0)
xor eax, eax
fstp st(0)
pop ebx
mov esp, ebp
pop ebp
ret 0x10
fstp st(0)
pop edi
fstp st(0)
pop esi
fstp st(0)
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
pop edi
fstp st(1)
pop esi
fstp st(0)
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
fstp st(0)
push str._____________________________n
fstp st(0)
fstp st(0)
fstp st(0)
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10