Function at 0xc1a1d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xc48bae
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2dc
mov eax, dword [0xc57104]
xor eax, ebp
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x2c4], ecx
mov eax, dword [ebp - 0x2c4]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x24c], ecx
mov edx, dword [ebp - 0x24c]
mov dword [edx + 0x20], 0
call fcn.00c2d520
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0
mov eax, dword [0xc565e8]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov dword [ebp - 0x2c8], edx
cmp dword [ebp - 0x2c8], 6
ja case.0xc1a256.4
mov eax, dword [ebp - 0x2c8]
jmp dword [eax*4 + 0xc1aac4]
mov ecx, dword [ebp - 0x10]
add ecx, 0x10c
mov dword [ebp - 0x250], ecx
jne 0xc1a27a
mov dword [ebp - 0x2cc], 0
jmp 0xc1a28d
mov edx, dword [ebp - 0x250]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x2cc], eax
mov eax, dword [ebp - 0x250]
push eax
mov ecx, dword [ebp - 0x2cc]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00c10a30
mov edx, 0xc4c46c
test edx, edx
jne 0xc1a2b8
mov dword [ebp - 0x2d0], 0
jmp 0xc1a2c9
push 0xc4c46c
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x2d0], eax
push 0xc4c46c
mov eax, dword [ebp - 0x2d0]
push eax
lea ecx, [ebp - 0x18]
call fcn.00c0ff70
mov ecx, dword [ebp - 0x2c4]
cmp dword [ecx + 0x608], 0
jne 0xc1a2fc
mov edx, dword [ebp - 0x2c4]
mov dword [edx + 0x608], 1
jmp case.0xc1a256.4
mov eax, dword [ebp - 0x10]
add eax, 0x10c
mov dword [ebp - 0x254], eax
jne 0xc1a31d
mov dword [ebp - 0x2d4], 0
jmp 0xc1a330
mov ecx, dword [ebp - 0x254]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x2d4], eax
mov edx, dword [ebp - 0x254]
push edx
mov eax, dword [ebp - 0x2d4]
push eax
lea ecx, [ebp - 0x18]
call fcn.00c10a30
mov ecx, 0xc4c448
test ecx, ecx
jne 0xc1a35b
mov dword [ebp - 0x2d8], 0
jmp 0xc1a36c
push 0xc4c448
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x2d8], eax
push 0xc4c448
mov edx, dword [ebp - 0x2d8]
push edx
lea ecx, [ebp - 0x18]
call fcn.00c0ff70
mov eax, dword [ebp - 0x2c4]
cmp dword [eax + 0x608], 0
jne 0xc1a39f
mov ecx, dword [ebp - 0x2c4]
mov dword [ecx + 0x608], 1
jmp case.0xc1a256.4
push 5
mov edx, dword [ebp - 0x2c4]
mov eax, dword [edx + 0x124]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov ecx, dword [ebp - 0x2c4]
mov edx, dword [ecx + 0x128]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0x2c4]
mov dword [eax + 0x62c], 1
mov dword [ebp - 0x14], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x10c
mov dword [ebp - 0x258], ecx
jne 0xc1a402
mov dword [ebp - 0x2dc], 0
jmp 0xc1a415
mov edx, dword [ebp - 0x258]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x2dc], eax
mov eax, dword [ebp - 0x258]
push eax
mov ecx, dword [ebp - 0x2dc]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00c10a30
mov edx, 0xc4c42c
test edx, edx
jne 0xc1a440
mov dword [ebp - 0x2e0], 0
jmp 0xc1a451
push 0xc4c42c
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x2e0], eax
push 0xc4c42c
mov eax, dword [ebp - 0x2e0]
push eax
lea ecx, [ebp - 0x18]
call fcn.00c0ff70
mov ecx, dword [ebp - 0x2c4]
mov dword [ecx + 0x624], 1
mov edx, dword [ebp - 0x2c4]
cmp dword [edx + 0x60c], 0
jne 0xc1a4b7
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x25c], eax
mov ecx, dword [ebp - 0x25c]
push ecx
mov edx, dword [ebp - 0x2c4]
mov eax, dword [edx + 0x134]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, dword [ebp - 0x2c4]
mov dword [ecx + 0x60c], 1
push 1
mov edx, dword [ebp - 0x2c4]
mov eax, dword [edx + 0x124]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov ecx, dword [ebp - 0x2c4]
mov edx, dword [ecx + 0x128]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0x10]
cmp dword [eax + 4], 0
je 0xc1a692
mov ecx, dword [ebp - 0x2c4]
cmp dword [ecx + 0x618], 0
jne 0xc1a525
push 0xc4c420
mov edx, dword [ebp - 0x2c4]
mov eax, dword [edx + 0x12c]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, dword [ebp - 0x2c4]
mov dword [ecx + 0x618], 1
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x340]
push eax
push 0x63
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x33c]
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
add eax, 1
mov dword [ebp - 0x260], eax
push 0
mov eax, dword [ebp - 0x260]
push eax
push 0x402
mov ecx, dword [ebp - 0x2c4]
mov edx, dword [ecx + 0x124]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x320], 0x100000
jle 0xc1a5c6
mov ecx, dword [ebp - 0x10]
fild dword [ecx + 0x340]
fdiv qword [0xc4c418]
fdiv qword [0xc4c418]
sub esp, 8
fstp qword [esp]
mov edx, dword [ebp - 0x10]
fild dword [edx + 0x33c]
fdiv qword [0xc4c418]
fdiv qword [0xc4c418]
sub esp, 8
fstp qword [esp]
push str.__.2f_MB____.2f_MB
lea eax, [ebp - 0x134]
push eax
call fcn.00c33974
add esp, 0x18
jmp 0xc1a604
mov ecx, dword [ebp - 0x10]
fild dword [ecx + 0x340]
fdiv qword [0xc4c418]
sub esp, 8
fstp qword [esp]
mov edx, dword [ebp - 0x10]
fild dword [edx + 0x33c]
fdiv qword [0xc4c418]
sub esp, 8
fstp qword [esp]
push str.__.2f_KB____.2f_KB
lea eax, [ebp - 0x134]
push eax
call fcn.00c33974
add esp, 0x18
mov ecx, dword [ebp - 0x2c4]
mov edx, dword [ecx + 0x124]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0xc1a68d
push 0
push 0
push 0x408
mov eax, dword [ebp - 0x2c4]
mov ecx, dword [eax + 0x124]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0xc1a68d
mov edx, dword [0xc565e8]
mov dword [ebp - 0x138], edx
mov byte [ebp - 4], 1
push 0
push 0
push 0x408
mov eax, dword [ebp - 0x2c4]
mov ecx, dword [eax + 0x124]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
shr eax, 1
push eax
push 0xc4c3e8
lea edx, [ebp - 0x138]
push edx
call fcn.00c100b0
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x138]
call fcn.00c0fe60
jmp 0xc1a77a
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x340]
push ecx
push 0x64
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x33c]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [ebp - 0x26c], eax
push 0
mov ecx, dword [ebp - 0x26c]
push ecx
push 0x402
mov edx, dword [ebp - 0x2c4]
mov eax, dword [edx + 0x124]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 0x10]
add ecx, 8
push ecx
mov edx, dword [ebp - 0x2c4]
mov eax, dword [edx + 0x12c]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, dword [ebp - 0x2c4]
cmp dword [ecx + 0x618], 0
jne 0xc1a70e
mov edx, dword [ebp - 0x2c4]
mov dword [edx + 0x618], 1
mov eax, dword [ebp - 0x2c4]
mov ecx, dword [eax + 0x124]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0xc1a77a
mov edx, dword [0xc565e8]
mov dword [ebp - 0x13c], edx
mov byte [ebp - 4], 2
push 0
push 0
push 0x408
mov eax, dword [ebp - 0x2c4]
mov ecx, dword [eax + 0x124]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
shr eax, 1
add eax, 0x32
push eax
push 0xc4c3e8
lea edx, [ebp - 0x13c]
push edx
call fcn.00c100b0
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x13c]
call fcn.00c0fe60
jmp case.0xc1a256.4
push 0
mov eax, dword [ebp - 0x2c4]
mov ecx, dword [eax + 0x124]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 5
mov edx, dword [ebp - 0x2c4]
mov eax, dword [edx + 0x128]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0x2c4]
mov dword [ecx + 0x62c], 0
mov dword [ebp - 0x14], 1
mov edx, dword [ebp - 0x10]
add edx, 0x10c
push edx
lea ecx, [ebp - 0x18]
call fcn.00c1aae0
mov eax, 0xc4c3cc
test eax, eax
jne 0xc1a7e7
mov dword [ebp - 0x2e4], 0
jmp 0xc1a7f8
push 0xc4c3cc
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x2e4], eax
push 0xc4c3cc
mov ecx, dword [ebp - 0x2e4]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00c0ff70
mov edx, dword [ebp - 0x2c4]
cmp dword [edx + 0x610], 0
jne 0xc1a84e
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x27c], eax
mov ecx, dword [ebp - 0x27c]
push ecx
mov edx, dword [ebp - 0x2c4]
mov eax, dword [edx + 0x134]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, dword [ebp - 0x2c4]
mov dword [ecx + 0x610], 1
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x2c4]
mov ecx, dword [eax + 0x124]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
push 5
mov edx, dword [ebp - 0x2c4]
mov eax, dword [edx + 0x128]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 4], 0
je 0xc1a971
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x320]
push eax
push 0x63
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x31c]
mov eax, dword [ebp - 0x10]
add edx, dword [eax + 0x33c]
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
add eax, 1
mov dword [ebp - 0x280], eax
push 0
mov ecx, dword [ebp - 0x280]
push ecx
push 0x402
mov edx, dword [ebp - 0x2c4]
mov eax, dword [edx + 0x128]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x320], 0x100000
jle 0xc1a931
mov edx, dword [ebp - 0x10]
fild dword [edx + 0x320]
fdiv qword [0xc4c418]
fdiv qword [0xc4c418]
sub esp, 8
fstp qword [esp]
mov eax, dword [ebp - 0x10]
fild dword [eax + 0x31c]
fdiv qword [0xc4c418]
fdiv qword [0xc4c418]
sub esp, 8
fstp qword [esp]
push str.__.2f_MB____.2f_MB
lea ecx, [ebp - 0x244]
push ecx
call fcn.00c33974
add esp, 0x18
jmp 0xc1a96f
mov edx, dword [ebp - 0x10]
fild dword [edx + 0x320]
fdiv qword [0xc4c418]
sub esp, 8
fstp qword [esp]
mov eax, dword [ebp - 0x10]
fild dword [eax + 0x31c]
fdiv qword [0xc4c418]
sub esp, 8
fstp qword [esp]
push str.__.2f_KB____.2f_KB
lea ecx, [ebp - 0x244]
push ecx
call fcn.00c33974
add esp, 0x18
jmp 0xc1a9ce
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x340]
push eax
push 0x64
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x33c]
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [ebp - 0x284], eax
push 0
mov eax, dword [ebp - 0x284]
push eax
push 0x402
mov ecx, dword [ebp - 0x2c4]
mov edx, dword [ecx + 0x124]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0x10]
add eax, 8
push eax
mov ecx, dword [ebp - 0x2c4]
mov edx, dword [ecx + 0x12c]
push edx
call dword [sym.imp.USER32.dll_SetWindowTextA]
jmp case.0xc1a256.4
mov eax, dword [ebp - 0x10]
add eax, 0x10c
push eax
lea ecx, [ebp - 0x18]
call fcn.00c1aae0
mov ecx, 0xc4c3b0
test ecx, ecx
jne 0xc1a9f9
mov dword [ebp - 0x2e8], 0
jmp 0xc1aa0a
push 0xc4c3b0
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x2e8], eax
push 0xc4c3b0
mov edx, dword [ebp - 0x2e8]
push edx
lea ecx, [ebp - 0x18]
call fcn.00c0ff70
mov eax, dword [ebp - 0x2c4]
cmp dword [eax + 0x614], 0
jne 0xc1aa3d
mov ecx, dword [ebp - 0x2c4]
mov dword [ecx + 0x614], 1
call fcn.00c2d4a6
push 1
mov edx, dword [ebp - 0x2c4]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_EndDialog]
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x33c], 0
jg 0xc1aa83
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x2b8], edx
mov eax, dword [ebp - 0x2b8]
push eax
mov ecx, dword [ebp - 0x2c4]
mov edx, dword [ecx + 0x134]
push edx
call dword [sym.imp.USER32.dll_SetWindowTextA]
call fcn.00c2d538
mov dword [ebp - 0x248], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00c0fe60
mov eax, dword [ebp - 0x248]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x2c]
xor ecx, ebp
call fcn.00c32666
mov esp, ebp
pop ebp
ret 0xc