Function at 0x40b240
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
cmp dword [ebp + 8], 0
jne 0x40b265
push 0xe
push 0x1f
push 0x4303b4
call fcn.0040b010
add esp, 0xc
or eax, 0xffffffff
jmp 0x40b5d6
mov dword [ebp - 0x10], 0x40000000
mov dword [ebp - 0xc], 2
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x10]
mov dword [ecx], 0
mov dword [ebp - 4], 0x19
mov edx, dword [ebp - 4]
mov dword [ebp - 8], edx
mov dword [ebp - 0x14], 0
jmp 0x40b29e
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp + 0x10]
jge 0x40b511
mov edx, dword [ebp - 0x14]
imul edx, edx, 0x28
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + edx]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
sub edx, 1
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 0x13
ja case.0x40b2d6.2
mov eax, dword [ebp - 0x18]
movzx ecx, byte [eax + 0x40b5fc]
jmp dword [ecx*4 + 0x40b5dc]
mov edx, dword [ebp - 0x14]
imul edx, edx, 0x28
mov eax, dword [ebp + 0x14]
fld qword [0x42d730]
fcomp qword [eax + edx + 8]
fnstsw ax
test ah, 5
jp 0x40b30f
mov ecx, dword [ebp - 0x14]
imul ecx, ecx, 0x28
mov edx, dword [ebp + 0x14]
fld qword [edx + ecx + 8]
fadd qword [0x42d728]
fstp qword [ebp - 0x20]
jmp 0x40b318
fld qword [0x42d730]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
call fcn.0042b990
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x14]
imul eax, eax, 0x28
mov ecx, dword [ebp + 0x14]
fld qword [0x42d730]
fcomp qword [ecx + eax + 0x10]
fnstsw ax
test ah, 5
jp 0x40b355
mov edx, dword [ebp - 0x14]
imul edx, edx, 0x28
mov eax, dword [ebp + 0x14]
fld qword [eax + edx + 0x10]
fadd qword [0x42d728]
fstp qword [ebp - 0x28]
jmp 0x40b35e
fld qword [0x42d730]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
call fcn.0042b990
mov dword [ebp - 4], eax
jmp 0x40b50c
mov ecx, dword [ebp - 0x10]
or ecx, 0x800000
mov dword [ebp - 0x10], ecx
jmp 0x40b50c
mov edx, dword [ebp - 0x14]
imul edx, edx, 0x28
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + edx + 8]
push ecx
push 0x4303cc
call sub.MSVCR90.dll_strcmp
add esp, 8
test eax, eax
jne 0x40b3a7
mov dword [ebp - 0xc], 1
jmp 0x40b3f6
mov edx, dword [ebp - 0x14]
imul edx, edx, 0x28
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + edx + 8]
push ecx
push 0x4303d8
call sub.MSVCR90.dll_strcmp
add esp, 8
test eax, eax
jne 0x40b3cf
mov dword [ebp - 0xc], 2
jmp 0x40b3f6
mov edx, dword [ebp - 0x14]
imul edx, edx, 0x28
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + edx + 8]
push ecx
push 2
push 0x34
push 0x4303e4
call fcn.0040b010
add esp, 0x10
or eax, 0xffffffff
jmp 0x40b5d6
jmp 0x40b50c
mov edx, dword [ebp - 0x14]
imul edx, edx, 0x28
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + edx + 8]
push ecx
push 0x4303fc
call sub.MSVCR90.dll_strcmp
add esp, 8
test eax, eax
jne 0x40b437
push 0
mov edx, dword [ebp + 0xc]
push edx
call fcn.0040bb50
add esp, 8
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x10]
mov dword [ecx + 4], 1
jmp 0x40b49a
mov edx, dword [ebp - 0x14]
imul edx, edx, 0x28
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + edx + 8]
push ecx
push 0x430400
call sub.MSVCR90.dll_strcmp
add esp, 8
test eax, eax
jne 0x40b473
push 1
mov edx, dword [ebp + 0xc]
push edx
call fcn.0040bb50
add esp, 8
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x10]
mov dword [ecx + 4], 1
jmp 0x40b49a
mov edx, dword [ebp - 0x14]
imul edx, edx, 0x28
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + edx + 8]
push ecx
push 2
push 0x40
push 0x430404
call fcn.0040b010
add esp, 0x10
or eax, 0xffffffff
jmp 0x40b5d6
jmp 0x40b50c
push 0x43041c
push 0xa
push 0x45
push 0x430428
call fcn.0040b010
add esp, 0x10
or eax, 0xffffffff
jmp 0x40b5d6
mov edx, dword [ebp - 0x14]
imul edx, edx, 0x28
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x10]
mov eax, dword [ebp + 0x14]
mov edx, dword [eax + edx + 8]
mov dword [ecx], edx
jmp 0x40b50c
mov eax, dword [ebp - 0x14]
imul eax, eax, 0x28
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + eax + 8]
mov dword [ecx + 0x14], eax
jmp 0x40b50c
mov ecx, dword [ebp - 0x14]
imul ecx, ecx, 0x28
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + ecx]
push eax
push 1
push 0x4e
push 0x430440
call fcn.0040b010
add esp, 0x10
or eax, 0xffffffff
jmp 0x40b5d6
jmp 0x40b295
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.0040bc90
add esp, 8
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004130f0
add esp, 8
push 0
mov edx, dword [0x43efec]
push edx
mov eax, dword [ebp + 0xc]
sub eax, dword [0x43f028]
cdq
mov ecx, 0x18
idiv ecx
push eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
push edx
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
push str.array
push 0x430460
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0xc], 0
jne 0x40b59a
push 7
push 0x59
push 0x43046c
call fcn.0040b010
add esp, 0xc
or eax, 0xffffffff
jmp 0x40b5d6
push 5
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
cmp dword [ebp + 8], 0
je 0x40b5d4
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
jne 0x40b5d4
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0040bd80
add esp, 8
xor eax, eax
mov esp, ebp
pop ebp
ret