Function at 0x40feb0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52a498
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x559024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
mov dword [ebx + 0x48], edi
mov dword [ebx + 0x10], edi
mov dword [ebx + 0x40], edi
mov dword [ebx + 0x30], edi
mov byte [ebx + 0x38], 0
mov eax, dword [ebx + 0x1dc]
push 1
push eax
lea ecx, [ebx + 0x2c]
call fcn.00511140
mov eax, dword [ebx + 0x1e4]
test eax, eax
je 0x40ff3c
cmp dword [ebx + 0x1e8], 0
je 0x40ff3c
push 0x10
push eax
lea ecx, [ebx + 0x1f0]
push 0x10
push ecx
call fcn.00513866
mov edx, dword [ebx + 0x1e8]
push 8
push edx
lea eax, [ebx + 0x200]
push 8
push eax
call fcn.00513866
add esp, 0x20
push 0x8108
lea ecx, [ebp - 0x18]
push ecx
mov ecx, 0x55a400
call fcn.00467b90
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
test ecx, ecx
jne 0x40ff62
mov ecx, 0x538640
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x40ff8e
test ecx, ecx
je 0x40ff8e
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x40ff9c
mov edx, dword [ebx + 0x2c]
mov edi, dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + ebx + 0x2c], eax
mov edi, dword [ebp + 8]
jmp 0x40ff9c
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax + 4]
mov dword [eax + ebx + 0x2c], 0x57
push 0x8100
lea ecx, [ebp - 0x24]
push ecx
mov ecx, 0x55a400
call fcn.00467b90
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.004fce50
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x40ffcf
push eax
call fcn.005134a7
add esp, 4
lea esi, [ebx + 0x50]
test edi, edi
je 0x41000f
push 0x3e9
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x40fffb
mov edx, dword [ebp + 8]
push 0x3e9
push edx
mov edi, eax
call fcn.0042dc20
mov edi, dword [ebp + 8]
jmp 0x41001f
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 4]
lea esi, [ecx + esi + 0x10]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
jmp 0x41001f
mov edx, dword [esi + 0x10]
mov eax, dword [edx + 4]
lea esi, [eax + esi + 0x10]
mov dword [esi], 0x57
mov ecx, dword [ebp - 0x18]
test ecx, ecx
jne 0x41002b
mov ecx, 0x538640
mov eax, dword [ebx + 0x64]
test eax, eax
je 0x410057
test ecx, ecx
je 0x410057
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x410065
mov ecx, dword [ebx + 0x60]
mov edi, dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + ebx + 0x60], eax
mov edi, dword [ebp + 8]
jmp 0x410065
mov edx, dword [ebx + 0x60]
mov eax, dword [edx + 4]
mov dword [eax + ebx + 0x60], 0x57
push 0x80ed
lea eax, [ebp - 0x24]
push eax
mov ecx, 0x55a400
call fcn.00467b90
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.004fce50
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x410098
push eax
call fcn.005134a7
add esp, 4
lea esi, [ebx + 0x74]
test edi, edi
je 0x4100d8
push 0x3ea
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4100c4
mov ecx, dword [ebp + 8]
push 0x3ea
push ecx
mov edi, eax
call fcn.0042dc20
mov edi, dword [ebp + 8]
jmp 0x4100e8
mov edx, dword [esi + 0x10]
mov eax, dword [edx + 4]
lea esi, [eax + esi + 0x10]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
jmp 0x4100e8
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx + 4]
lea esi, [edx + esi + 0x10]
mov dword [esi], 0x57
mov ecx, dword [ebp - 0x18]
test ecx, ecx
jne 0x4100f4
mov ecx, 0x538640
mov eax, dword [ebx + 0x88]
test eax, eax
je 0x410129
test ecx, ecx
je 0x410129
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x41013d
mov eax, dword [ebx + 0x84]
mov edi, dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + ebx + 0x84], eax
mov edi, dword [ebp + 8]
jmp 0x41013d
mov ecx, dword [ebx + 0x84]
mov eax, dword [ecx + 4]
mov dword [eax + ebx + 0x84], 0x57
push 0x80ea
lea edx, [ebp - 0x24]
push edx
mov ecx, 0x55a400
call fcn.00467b90
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.004fce50
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x410170
push eax
call fcn.005134a7
add esp, 4
lea esi, [ebx + 0x98]
test edi, edi
je 0x4101b3
push 0x3eb
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x41019f
mov ecx, dword [ebp + 8]
push 0x3eb
push ecx
mov edi, eax
call fcn.0042dc20
mov edi, dword [ebp + 8]
jmp 0x4101c3
mov edx, dword [esi + 0x10]
mov eax, dword [edx + 4]
lea esi, [eax + esi + 0x10]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
jmp 0x4101c3
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx + 4]
lea esi, [edx + esi + 0x10]
mov dword [esi], 0x57
mov ecx, dword [ebp - 0x18]
test ecx, ecx
jne 0x4101cf
mov ecx, 0x538640
mov eax, dword [ebx + 0xac]
test eax, eax
je 0x410204
test ecx, ecx
je 0x410204
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x410218
mov eax, dword [ebx + 0xa8]
mov edi, dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + ebx + 0xa8], eax
mov edi, dword [ebp + 8]
jmp 0x410218
mov ecx, dword [ebx + 0xa8]
mov eax, dword [ecx + 4]
mov dword [eax + ebx + 0xa8], 0x57
cmp dword [ebx + 0x1e4], 0
je 0x4105f9
cmp dword [ebx + 0x1e8], 0
je 0x4105f9
mov eax, 0x7ea
mov ecx, edi
lea edx, [ebx + 0xbc]
call fcn.0042dc80
push 0x84ea
lea edx, [ebp - 0x24]
push edx
mov ecx, 0x55a400
call fcn.00467b90
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.004fce50
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x410277
push eax
call fcn.005134a7
add esp, 4
mov ecx, dword [ebp - 0x18]
test ecx, ecx
jne 0x410283
mov ecx, 0x538640
lea eax, [ebx + 0xbc]
call fcn.00402f90
movzx eax, byte [ebx + 0x1f4]
push eax
lea eax, [ebx + 0xbc]
call fcn.00421760
push 0x757d
lea ecx, [ebp - 0x24]
push ecx
mov ecx, 0x55a400
call fcn.00467b90
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.004fce50
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4102d4
push eax
call fcn.005134a7
add esp, 4
mov eax, 0x17cd
mov ecx, edi
lea edx, [ebx + 0x14c]
call fcn.0042dc80
mov ecx, dword [ebp - 0x18]
test ecx, ecx
jne 0x4102f2
mov ecx, 0x538640
lea eax, [ebx + 0x14c]
call fcn.00402f90
push 0x757e
lea edx, [ebp - 0x24]
push edx
mov ecx, 0x55a400
call fcn.00467b90
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.004fce50
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x410330
push eax
call fcn.005134a7
add esp, 4
mov eax, 0x17ce
mov ecx, edi
lea edx, [ebx + 0x170]
call fcn.0042dc80
mov ecx, dword [ebp - 0x18]
test ecx, ecx
jne 0x41034e
mov ecx, 0x538640
lea eax, [ebx + 0x170]
call fcn.00402f90
push 0x757f
lea eax, [ebp - 0x24]
push eax
mov ecx, 0x55a400
call fcn.00467b90
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 7
call fcn.004fce50
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x41038c
push eax
call fcn.005134a7
add esp, 4
mov eax, 0x17d0
mov ecx, edi
lea edx, [ebx + 0x194]
call fcn.0042dc80
mov ecx, dword [ebp - 0x18]
test ecx, ecx
jne 0x4103aa
mov ecx, 0x538640
lea eax, [ebx + 0x194]
call fcn.00402f90
mov eax, dword [ebx + 0x1f8]
cmp eax, 0x40
jg 0x4103c4
xor eax, eax
jmp 0x4103d1
xor ecx, ecx
cmp eax, 0xc0
setge cl
lea eax, [ecx + 1]
push 1
push 1
push eax
push 2
push 0
push 0x20d4
lea ecx, [ebx + 0x1b8]
mov eax, edi
call fcn.00506cf0
mov eax, 0x7e4
mov ecx, edi
lea edx, [ebx + 0xe0]
call fcn.0042dc80
call fcn.004bc370
test al, al
je 0x410466
push 0x84e2
lea edx, [ebp - 0x24]
push edx
mov ecx, 0x55a400
call fcn.00467b90
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 8
call fcn.004fce50
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x41043a
push eax
call fcn.005134a7
add esp, 4
mov ecx, dword [ebp - 0x18]
test ecx, ecx
jne 0x410446
mov ecx, 0x538640
lea eax, [ebx + 0xe0]
call fcn.00402f90
movzx eax, byte [ebx + 0x1f1]
push eax
lea eax, [ebx + 0xe0]
call fcn.00421760
jmp 0x410491
mov eax, dword [ebx + 0xe8]
test eax, eax
je 0x41047b
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x410491
mov ecx, dword [ebx + 0xf0]
mov edx, dword [ecx + 4]
lea esi, [edx + ebx + 0xf0]
mov dword [esi], 6
mov eax, 0x7e8
mov ecx, edi
lea edx, [ebx + 0x104]
call fcn.0042dc80
call fcn.004bc370
test al, al
je 0x41050b
push 0x84e6
lea eax, [ebp - 0x24]
push eax
mov ecx, 0x55a400
call fcn.00467b90
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call fcn.004fce50
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4104df
push eax
call fcn.005134a7
add esp, 4
mov ecx, dword [ebp - 0x18]
test ecx, ecx
jne 0x4104eb
mov ecx, 0x538640
lea eax, [ebx + 0x104]
call fcn.00402f90
movzx ecx, byte [ebx + 0x1fc]
push ecx
lea eax, [ebx + 0x104]
call fcn.00421760
jmp 0x410536
mov eax, dword [ebx + 0x10c]
test eax, eax
je 0x410520
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x410536
mov edx, dword [ebx + 0x114]
mov eax, dword [edx + 4]
lea esi, [eax + ebx + 0x114]
mov dword [esi], 6
mov eax, 0x7e5
mov ecx, edi
lea edx, [ebx + 0x128]
call fcn.0042dc80
call fcn.004bc3f0
test al, al
jne 0x41058a
call fcn.004bc470
test al, al
jne 0x41058a
mov eax, dword [ebx + 0x130]
test eax, eax
je 0x410572
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4105f2
mov ecx, dword [ebx + 0x138]
mov edx, dword [ecx + 4]
lea esi, [edx + ebx + 0x138]
mov dword [esi], 6
jmp 0x4105f2
push 0x84e9
lea eax, [ebp - 0x24]
push eax
mov ecx, 0x55a400
call fcn.00467b90
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xa
call fcn.004fce50
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x24]
xor edi, edi
cmp eax, edi
je 0x4105c8
push eax
call fcn.005134a7
add esp, 4
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov ecx, dword [ebp - 0x18]
cmp ecx, edi
jne 0x4105d4
mov ecx, 0x538640
lea eax, [ebx + 0x128]
call fcn.00402f90
movzx ecx, byte [ebx + 0x1f0]
push ecx
lea eax, [ebx + 0x128]
call fcn.00421760
mov esi, ebx
call fcn.00410630
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x410610
push eax
call fcn.005134a7
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc