Function at 0x40af50
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ad988
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x4c8bb0]
xor eax, ebp
mov dword [ebp - 0x5c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4c], 0
fld dword [0x4b1b38]
fstp dword [ebp - 0x20]
fld dword [0x4b1b38]
fstp dword [ebp - 0x3c]
fld dword [0x4b1b38]
fstp dword [ebp - 0x44]
fld dword [0x4b1c60]
fstp dword [ebp - 0x18]
fld dword [0x4b1c60]
fstp dword [ebp - 0x34]
fld dword [0x4b1c60]
fstp dword [ebp - 0x50]
fld dword [0x4c959c]
fld dword [ebp + 8]
fcompp
fnstsw ax
test ah, 1
jne 0x40afd9
fld dword [0x4c959c]
fdiv qword [0x4b1b20]
fstp dword [ebp + 8]
fld dword [0x4c95ac]
fld dword [ebp + 8]
fcompp
fnstsw ax
test ah, 1
jne 0x40affa
fld dword [0x4c95ac]
fdiv qword [0x4b1c10]
fstp dword [ebp + 8]
push 0x3e8
push 0x2710
lea ecx, [ebp - 0x30]
call fcn.00406830
mov dword [ebp - 4], 0
fld dword [0x4b1b38]
fstp dword [ebp - 0x20]
fld dword [0x4b1b38]
fstp dword [ebp - 0x3c]
fld dword [0x4b1b38]
fstp dword [ebp - 0x44]
fld dword [0x4b1c60]
fstp dword [ebp - 0x18]
fld dword [0x4b1c60]
fstp dword [ebp - 0x34]
fld dword [0x4b1c60]
fstp dword [ebp - 0x50]
mov eax, dword [ebp + 0x18]
push eax
lea ecx, [ebp - 0x50]
push ecx
lea edx, [ebp - 0x34]
push edx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0x3c]
push edx
lea eax, [ebp - 0x20]
push eax
call fcn.0040a110
add esp, 0x1c
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jne 0x40b37d
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x40]
push ecx
push str.brut.dim
call fcn.00409770
add esp, 0x20
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x270], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x268], 0x32
mov dword [ebp - 0x26c], 0x200
mov edx, dword [ebp - 0x26c]
push edx
lea eax, [ebp - 0x25c]
push eax
lea ecx, [ebp - 0x268]
push ecx
lea edx, [ebp - 0x58]
push edx
call fcn.00421050
add esp, 0x10
lea eax, [ebp - 0x25c]
push eax
call sub.MSVCR100.dll_strlen
add esp, 4
mov dword [ebp - 0x260], eax
mov dword [ebp - 0x264], 0
mov ecx, dword [ebp - 0x264]
cmp ecx, dword [ebp - 0x260]
jge 0x40b13d
mov edx, dword [ebp - 0x264]
movsx eax, byte [ebp + edx - 0x25c]
cmp eax, 0x20
je 0x40b13d
mov ecx, dword [ebp - 0x264]
add ecx, 1
mov dword [ebp - 0x264], ecx
jmp 0x40b10b
mov edx, dword [ebp - 0x264]
sub edx, 1
mov dword [ebp - 0x264], edx
mov eax, dword [ebp - 0x264]
lea ecx, [ebp + eax - 0x25c]
push ecx
call dword [sym.imp.MSVCR100.dll_atoi]
add esp, 4
mov dword [ebp - 0x270], eax
cmp dword [ebp - 0x270], 5
jne 0x40b259
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x268], 0x5e
mov edx, dword [ebp - 0x26c]
push edx
lea eax, [ebp - 0x25c]
push eax
lea ecx, [ebp - 0x268]
push ecx
lea edx, [ebp - 0x58]
push edx
call fcn.00421050
add esp, 0x10
lea eax, [ebp - 0x25c]
push eax
call sub.MSVCR100.dll_strlen
add esp, 4
mov dword [ebp - 0x260], eax
mov dword [ebp - 0x264], 0
mov dword [ebp - 0x54], 0
mov ecx, dword [ebp - 0x264]
cmp ecx, dword [ebp - 0x260]
jge 0x40b20f
cmp dword [ebp - 0x54], 2
jge 0x40b20f
mov edx, dword [ebp - 0x264]
movsx eax, byte [ebp + edx - 0x25c]
cmp eax, 0x20
jne 0x40b1fe
mov ecx, dword [ebp - 0x54]
add ecx, 1
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x264]
add edx, 1
mov dword [ebp - 0x264], edx
jmp 0x40b1ce
mov eax, dword [ebp - 0x264]
lea ecx, [ebp + eax - 0x25c]
push ecx
call dword [sym.imp.MSVCR100.dll_atof]
add esp, 4
fstp dword [ebp - 0x274]
fld dword [ebp - 0x274]
fmul dword [0x4c95b0]
fstp dword [ebp - 0x274]
fld dword [ebp - 0x274]
fld dword [ebp - 0x44]
fcompp
fnstsw ax
test ah, 0x41
jne 0x40b259
fld dword [ebp - 0x274]
fstp dword [ebp - 0x44]
cmp dword [ebp + 0x18], 1
jne 0x40b26b
fld dword [ebp + 8]
fmul dword [0x4c95b0]
fstp dword [ebp + 8]
fld dword [ebp + 8]
fcomp qword [0x4b2760]
fnstsw ax
test ah, 5
jp 0x40b284
fld dword [0x4b1c78]
fstp dword [ebp + 8]
cmp dword [ebp - 0x4c], 0
je 0x40b2aa
push 0x4b2448
call dword [sym.imp.MSVCR100.dll___iob_func]
add eax, 0x20
push eax
call dword [sym.imp.MSVCR100.dll_fprintf]
add esp, 8
push 0xffffffffffffffff
call dword [sym.imp.MSVCR100.dll_exit]
push 0
push ecx
fld dword [ebp - 0x44]
fstp dword [esp]
push ecx
fld dword [ebp + 8]
fstp dword [esp]
push ecx
fld dword [ebp - 0x34]
fstp dword [esp]
push ecx
fld dword [ebp - 0x18]
fstp dword [esp]
push ecx
fld dword [ebp - 0x3c]
fstp dword [esp]
push ecx
fld dword [ebp - 0x20]
fstp dword [esp]
mov ecx, 0x4c95c0
call fcn.0043f040
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
je 0x40b309
push 0x4b2470
call dword [sym.imp.MSVCR100.dll___iob_func]
add eax, 0x20
push eax
call dword [sym.imp.MSVCR100.dll_fprintf]
add esp, 8
push 0xffffffffffffffff
call dword [sym.imp.MSVCR100.dll_exit]
mov edx, dword [ebp + 0x18]
push edx
call fcn.0040a4b0
fld dword [ebp - 0x50]
fstp dword [esp]
push ecx
fld dword [ebp - 0x44]
fstp dword [esp]
mov ecx, 0x4c95c0
call fcn.0040bcf0
push ecx
fld dword [ebp + 0x10]
fstp dword [esp]
push ecx
fld dword [ebp + 0xc]
fstp dword [esp]
mov eax, dword [ebp + 0x14]
push eax
call fcn.00408380
add esp, 0xc
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
je 0x40b36c
push 0x4b2498
call dword [sym.imp.MSVCR100.dll___iob_func]
add eax, 0x20
push eax
call dword [sym.imp.MSVCR100.dll_fprintf]
add esp, 8
push 0xffffffffffffffff
call dword [sym.imp.MSVCR100.dll_exit]
push 0x4c9670
mov ecx, 0x4c95c0
call fcn.0043e860
jmp 0x40b39d
push 0x4b24c0
call dword [sym.imp.MSVCR100.dll___iob_func]
add eax, 0x20
push eax
call dword [sym.imp.MSVCR100.dll_fprintf]
add esp, 8
push 0xffffffffffffffff
call dword [sym.imp.MSVCR100.dll_exit]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.004067a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x5c]
xor ecx, ebp
call fcn.0049f322
mov esp, ebp
pop ebp
ret