Function at 0x4ecfc7
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
push ebx
mov ebx, dword [ebp + 8]
movzx edx, byte [ebx + 9]
push esi
mov esi, ecx
mov ecx, dword [ebx + 8]
push edi
mov edi, dword [ebx + 0xc]
and ecx, 0xff
cmp dword [esi + 0x244], 2
mov dword [ebp + 8], edi
jne 0x4ecffd
cmp ecx, 3
jne case.0x4ed011.5
mov eax, dword [esi + 0x28]
cmp edx, eax
jne case.0x4ed011.5
cmp ecx, 0xf
ja case.0x4ed011.7
jmp dword [ecx*4 + 0x4ed67b]
xor ebx, ebx
inc ebx
mov dword [esi + 0x40], edi
cmp edi, ebx
jne 0x4ed02a
push ebx
mov edx, ebx
jmp 0x4ed137
mov ecx, dword [0x896180]
call fcn.0042876e
push eax
push 2
pop edx
xor ecx, ecx
call fcn.004ebf58
call fcn.0047cfd9
cmp dword [esi + 0x40], ebx
je 0x4ed061
mov eax, dword [0x890860]
test eax, eax
je 0x4ed061
cdq
and edx, 0x3ff
add eax, edx
sar eax, 0xa
jmp 0x4ed066
mov eax, 0x280
mov ecx, dword [0x890884]
xor edi, edi
test ecx, ecx
je 0x4ed08a
mov edx, dword [0x890880]
imul eax, eax, 5
add edx, 4
cmp dword [edx], eax
ja 0x4ed0f0
inc edi
add edx, 8
cmp edi, ecx
jne 0x4ed07e
lea eax, [ecx - 1]
and dword [0x55a694], 0
push 0x55a690
lea ecx, [ebp + 8]
mov dword [0x8908cc], eax
call fcn.00401966
mov ecx, dword [0x890880]
lea eax, [ebp + 8]
push eax
mov eax, dword [0x8908cc]
mov ecx, dword [ecx + eax*8]
push ebx
push 0
mov edx, 0x4ecf76
call fcn.0046c139
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x4ed0d1
call fcn.00401728
call fcn.0047cff8
call fcn.004b8762
fstp dword [esi + 0x2c]
push 0x3e8
push ebx
mov ecx, esi
call fcn.004eb3f9
jmp case.0x4ed011.5
mov eax, edi
jmp 0x4ed08d
fild dword [ebp + 8]
fdiv qword [0x511518]
fstp dword [ebp + 8]
fldz
fcomp dword [ebp + 8]
fnstsw ax
test ah, 0x44
jp 0x4ed110
fldz
jmp 0x4ed122
mov eax, dword [0x8908cc]
mov ecx, dword [0x890880]
fild dword [ecx + eax*8 + 4]
fdiv dword [ebp + 8]
call fcn.00401066
lea ecx, [esi + 0x30]
mov dword [esi + 0x44], eax
call fcn.004a1968
xor edx, edx
push 2
inc edx
xor ecx, ecx
call fcn.004ebf58
jmp case.0x4ed011.5
mov dword [esi + 0x48], edi
cmp dword [edi], 0
jne case.0x4ed011.5
mov ecx, dword [edi + 0xc]
mov eax, dword [edi + 8]
test ecx, ecx
ja 0x4ed161
test eax, eax
jbe case.0x4ed011.5
push ecx
mov ecx, dword [edi + 4]
push eax
call fcn.004ec377
test edx, edx
jle case.0x4ed011.5
mov dword [0x890880], eax
mov dword [0x890884], edx
jmp case.0x4ed011.5
mov dword [esi + 0x4c], edi
jmp case.0x4ed011.5
test edx, edx
jne case.0x4ed011.5
mov dword [esi + 0x260], edi
jmp case.0x4ed011.5
push edi
call sub.msvcrt.dll_atoi
mov dword [0x8908d0], eax
pop ecx
mov ecx, dword [ebx + 0xc]
mov dl, 1
call fcn.00479b79
jmp case.0x4ed011.5
push edi
call sub.msvcrt.dll_atoi
mov dword [0x890860], eax
jmp 0x4ed1a9
push edi
shl eax, 6
push dword [eax + 0x55b414]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push edi
call fcn.004263e6
pop ecx
mov ecx, edi
jmp 0x4ed1ad
mov esi, dword [esi + 4]
shl eax, 6
mov eax, dword [eax + 0x55b3e4]
push eax
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push edi
push eax
jmp 0x4ed1d0
mov byte [0x890913], 0
call fcn.0049b55c
mov byte [0x88d9e0], al
call fcn.0049afe5
call fcn.0047cfd9
call fcn.004a45d7
call fcn.0047cff8
mov eax, dword [esi + 0x28]
mov ebx, dword [ebx + 0xc]
shl eax, 6
mov dword [eax + 0x55b408], ebx
mov eax, ebx
dec eax
mov dword [ebp - 8], ebx
je 0x4ed288
dec eax
je 0x4ed280
dec eax
je 0x4ed278
push 2
pop ecx
sub eax, ecx
je 0x4ed267
push dword [0x896640]
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 4]
shl ecx, 6
push dword [ecx + 0x55b3e4]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x4ed29a
mov dword [esi + 0x244], ecx
push 1
mov ecx, esi
call fcn.004ebb4f
jmp 0x4ed29a
mov ecx, dword [esi + 0x24c]
jmp 0x4ed28e
mov ecx, dword [esi + 0x250]
jmp 0x4ed28e
mov ecx, dword [esi + 0x248]
mov eax, dword [esi + 0x28]
shl eax, 6
mov dword [eax + 0x55b400], ecx
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 4]
push 0
shl ecx, 6
push dword [ecx + 0x55b3ec]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call edi
mov eax, dword [esi + 0x28]
sub eax, 0
je 0x4ed2f7
dec eax
jne 0x4ed48d
lea ecx, [esi + 0x30]
call fcn.004a1968
lea ebx, [esi + 0x25c]
mov ecx, dword [ebx]
mov dword [ebp - 4], ecx
test ecx, ecx
je 0x4ed2ef
call fcn.004eb3b5
push dword [ebp - 4]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
and dword [ebx], 0
jmp 0x4ed48d
cmp ebx, 2
jne 0x4ed456
push dword [0x896698]
mov ebx, 0x400
lea eax, [ebp - 0x408]
push ebx
push eax
call fcn.0049f973
mov edi, eax
mov eax, dword [0x890860]
add esp, 0xc
shl eax, 3
mov edx, ebx
push eax
sub edx, edi
lea ecx, [ebp + edi*2 - 0x408]
call fcn.004eb100
add edi, eax
mov eax, ebx
sub eax, edi
push 0x538918
push eax
lea eax, [ebp + edi*2 - 0x408]
push eax
call fcn.0049f973
add esp, 0xc
push dword [0x890860]
add edi, eax
mov edx, ebx
sub edx, edi
lea ecx, [ebp + edi*2 - 0x408]
call fcn.004eb167
push dword [0x89669c]
add edi, eax
mov eax, ebx
sub eax, edi
push eax
lea eax, [ebp + edi*2 - 0x408]
push eax
call fcn.0049f973
add edi, eax
mov eax, dword [0x8908d0]
add esp, 0xc
shl eax, 3
mov edx, ebx
push eax
sub edx, edi
lea ecx, [ebp + edi*2 - 0x408]
call fcn.004eb100
add edi, eax
mov eax, ebx
sub eax, edi
push 0x538918
push eax
lea eax, [ebp + edi*2 - 0x408]
push eax
call fcn.0049f973
add esp, 0xc
push dword [0x8908d0]
add edi, eax
mov edx, ebx
sub edx, edi
lea ecx, [ebp + edi*2 - 0x408]
call fcn.004eb167
add edi, eax
push 0x538754
sub ebx, edi
lea eax, [ebp + edi*2 - 0x408]
push ebx
push eax
call fcn.0049f973
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 4]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
shl eax, 6
mov eax, dword [eax + 0x55b3e4]
add esp, 0xc
push eax
push ecx
call ebx
lea ecx, [ebp - 0x408]
mov edi, eax
call fcn.0049e627
push eax
push edi
mov edi, dword [sym.imp.USER32.dll_SetWindowTextW]
call edi
mov eax, dword [esi + 0x28]
push dword [0x896c7c]
shl eax, 6
push dword [eax + 0x55b414]
call edi
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 4]
shl eax, 6
mov eax, dword [eax + 0x55b3e4]
push eax
push ecx
call ebx
push 1
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
lea ebx, [esi + 0x258]
mov ecx, dword [ebx]
mov dword [ebp - 4], ecx
test ecx, ecx
je 0x4ed473
call fcn.004eb8b0
push dword [ebp - 4]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
and dword [ebx], 0
cmp dword [ebp - 8], 2
jne 0x4ed48d
mov eax, dword [0x890860]
test eax, eax
je 0x4ed48d
push eax
mov ecx, esi
call fcn.004eba42
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 4]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0
shl ecx, 6
push dword [ecx + 0x55b3ec]
push eax
call ebx
push eax
call edi
cmp dword [ebp - 8], 5
push 0
je 0x4ed4d0
mov ecx, esi
call fcn.004ecf4f
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 4]
push 5
shl ecx, 6
push dword [ecx + 0x55b3e4]
push eax
call ebx
push eax
jmp 0x4ed4dc
mov eax, dword [esi + 0x28]
shl eax, 6
push dword [eax + 0x55b414]
call edi
jmp case.0x4ed011.5
shl eax, 6
movzx eax, word [eax + 0x55b3e0]
push eax
mov ecx, esi
call fcn.00476211
test al, al
je 0x4ed637
mov eax, dword [esi + 0x28]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
xor ebx, ebx
push ebx
shl eax, 6
push dword [eax + 0x55b40c]
call edi
mov eax, dword [esi + 0x28]
push ebx
shl eax, 6
push dword [eax + 0x55b410]
call edi
mov eax, dword [esi + 0x28]
push 5
shl eax, 6
push dword [eax + 0x55b414]
call edi
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 4]
push ebx
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x402
shl ecx, 6
push dword [ecx + 0x55b3ec]
push eax
call ebx
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 4]
push 5
shl ecx, 6
push dword [ecx + 0x55b3ec]
push eax
call ebx
push eax
call edi
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 4]
push 0
shl ecx, 6
push dword [ecx + 0x55b3e4]
push eax
call ebx
push eax
call edi
mov eax, dword [esi + 0x28]
xor ebx, ebx
sub eax, ebx
je 0x4ed5dd
dec eax
jne case.0x4ed011.5
push 0x4d8
mov ecx, esi
call fcn.00476271
push eax
call sub.msvcrt.dll__wtoi
movzx edi, ax
movzx eax, di
pop ecx
push eax
mov ecx, esi
call fcn.004eb46e
push 0x50
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
cmp eax, ebx
je 0x4ed5d0
push edi
push 1
mov ecx, eax
call fcn.004ec4ff
jmp 0x4ed5d2
xor eax, eax
mov dword [esi + 0x25c], eax
jmp 0x4ed0de
mov edi, 0x890840
mov ecx, edi
call fcn.00446bf3
mov ecx, dword [esi + 0x264]
xor eax, eax
cmp byte [0x890911], al
sete al
sub ecx, eax
mov eax, dword [0x890858]
mov eax, dword [eax + ecx*8 + 4]
mov ecx, edi
mov dword [esi + 0x50], eax
call fcn.00446c71
push 0x14
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
cmp eax, ebx
je 0x4ed62d
push 0xbb9
push dword [esi + 0x50]
mov ecx, eax
push ebx
call fcn.004ec494
jmp 0x4ed62f
xor eax, eax
mov dword [esi + 0x258], eax
jmp case.0x4ed011.5
push 0
mov ecx, esi
call fcn.004ecf4f
jmp case.0x4ed011.5
mov esi, dword [esi + 4]
push 0
push edi
push 0x402
shl eax, 6
push dword [eax + 0x55b3ec]
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x4ed011.5
push 0x5388e8
call fcn.004263aa
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4