Function at 0x431c80
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x14]
mov eax, dword [ecx + 8]
sub eax, dword [edx]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
mov dword [0x541360], ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x14]
mov ecx, dword [edx + 0xc]
sub ecx, dword [eax + 4]
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x5c], 0
mov edx, dword [ebp + 0x14]
fild dword [edx]
fstp dword [ebp - 0x54]
mov eax, dword [ebp + 0x14]
fild dword [eax + 4]
fstp dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x431cdf
xor eax, eax
jmp 0x431ea0
cmp dword [ebp + 8], 0
jne 0x431cec
xor eax, eax
jmp 0x431ea0
cmp dword [ebp - 0x48], 0
jle 0x431cf8
cmp dword [ebp - 0x58], 0
jg 0x431cff
xor eax, eax
jmp 0x431ea0
fld dword [ebp + 0x1c]
fcomp qword [0x504d58]
fnstsw ax
test ah, 5
jp 0x431d16
xor eax, eax
jmp 0x431ea0
cmp dword [ebp - 0x48], 0x20
jge 0x431d44
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_DrawTextA]
xor eax, eax
jmp 0x431ea0
push 0x38
push 0
lea ecx, [ebp - 0x44]
push ecx
call sub.MSVCR71.dll_memset
add esp, 0xc
lea edx, [ebp - 0x44]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x4c], 0
fild dword [ebp - 0x58]
fcomp dword [ebp - 4]
fnstsw ax
test ah, 0x41
jne 0x431de4
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x431de4
push 0xffffffffffffffff
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
fld dword [ebp - 4]
fadd qword [0x506018]
call fcn.004f2ff8
push eax
fld dword [ebp - 0x54]
fadd qword [0x506018]
call fcn.004f2ff8
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.00431ee0
add esp, 0x18
mov dword [ebp - 0x4c], eax
fild dword [ebp - 8]
fmul dword [ebp + 0x1c]
fadd dword [ebp - 4]
fstp dword [ebp - 4]
mov eax, dword [ebp - 0x5c]
add eax, 1
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 0x4c]
mov dword [ebp - 0xc], ecx
jmp 0x431d72
mov dword [0x5412d0], 0
mov edx, dword [ebp + 8]
mov dword [0x541364], edx
mov eax, dword [ebp + 0x18]
and eax, 0x400
je 0x431e51
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x431e51
mov dword [ebp - 0x60], 0
mov edx, dword [ebp + 0x1c]
mov dword [0x54135c], edx
lea eax, [ebp - 0x60]
push eax
push 0
mov ecx, dword [ebp - 0xc]
push ecx
push 0x432780
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x541358], eax
push 0xea60
mov edx, dword [0x541358]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x431e77
fild dword [ebp - 8]
fmul dword [ebp + 0x1c]
fsubr dword [ebp - 4]
fstp dword [ebp - 4]
fild dword [ebp - 8]
fadd qword [0x506018]
call fcn.004f2ff8
mov dword [ebp - 0x64], eax
fild dword [ebp - 0x64]
fadd dword [ebp - 4]
fstp dword [ebp - 4]
fld dword [ebp - 4]
call fcn.004f2ff8
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 4]
add edx, eax
mov dword [ebp - 0x68], edx
fild dword [ebp - 0x68]
fadd dword [0x5412d0]
call fcn.004f2ff8
mov ecx, dword [ebp + 0x14]
mov dword [ecx + 0xc], eax
xor eax, eax
mov esp, ebp
pop ebp
ret