Function at 0x408130
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x470a0d
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x49d00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
call dword [eax + 0x78]
push ecx
lea ecx, [edi + 0x27c]
call fcn.00419b60
lea ecx, [ebp - 0x38]
call fcn.004025e0
mov dword [ebp - 4], 0
mov dword [ebp - 0x38], vtable.CWConstString.0
mov dword [ebp - 0x2c], 0x48295c
mov dword [ebp - 4], 1
lea eax, [ebp - 0x38]
push eax
lea ecx, [edi + 0x27c]
call fcn.0041c910
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00401ad0
push ecx
push 0x65
push 0x13
push 0x40
push 8
push 0x18
push edi
lea ecx, [edi + 0x27c]
call fcn.004034d0
mov eax, dword [edi + 0x3e8]
lea ecx, [ebp - 0x38]
or dword [eax + 0x34], 3
call fcn.004025e0
mov dword [ebp - 4], 3
mov dword [ebp - 0x38], vtable.CWConstString.0
mov dword [ebp - 0x2c], 0x48296c
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x408206
cmp dword [ebp - 0x14], 0
mov eax, 0x47d154
cmovne eax, dword [ebp - 0x1c]
mov ecx, dword [edi + 0x3e8]
push eax
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, eax
call fcn.00447930
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00401ad0
push ecx
push 0x66
push 0x13
push 0x50
push 0x20
push 0x18
push edi
lea ecx, [edi + 0x3dc]
call fcn.004034d0
push ecx
lea ecx, [edi + 0x57c]
call fcn.00419b60
lea ecx, [ebp - 0x38]
call fcn.004025e0
mov dword [ebp - 4], 6
mov dword [ebp - 0x38], vtable.CWConstString.0
mov dword [ebp - 0x2c], 0x4829a8
mov dword [ebp - 4], 7
lea eax, [ebp - 0x38]
push eax
lea ecx, [edi + 0x57c]
call fcn.0041c910
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00401ad0
push ecx
push 0x67
push 0x13
push 0x40
push 0x38
push 0x18
push edi
lea ecx, [edi + 0x57c]
call fcn.004034d0
push ecx
push 0x68
push 0x60
push 0x50
push 0x50
push 0x18
push edi
lea ecx, [edi + 0x6dc]
call fcn.004034d0
push ecx
lea ecx, [edi + 0x84c]
call fcn.00419b60
lea ecx, [ebp - 0x38]
call fcn.004025e0
mov dword [ebp - 4], 9
mov dword [ebp - 0x38], vtable.CWConstString.0
mov dword [ebp - 0x2c], 0x4829b8
mov dword [ebp - 4], 0xa
lea eax, [ebp - 0x38]
push eax
lea ecx, [edi + 0x84c]
call fcn.0041c910
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00401ad0
mov ecx, dword [edi + 0x858]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ecx + 0x44]
mov eax, dword [eax]
test eax, eax
je 0x408325
push 0
push eax
call esi
jmp 0x40832c
and dword [ecx + 0x34], 0xefffffff
push ecx
push 0x69
push 0x13
push 0x40
push 0x38
push 0x18
push edi
lea ecx, [edi + 0x84c]
call fcn.004034d0
mov ecx, dword [edi + 0x9b8]
mov eax, dword [ecx + 0x44]
mov eax, dword [eax]
test eax, eax
je 0x408359
push 0
push eax
call esi
jmp 0x408360
and dword [ecx + 0x34], 0xefffffff
lea ecx, [ebp - 0x38]
call fcn.004025e0
mov dword [ebp - 4], 0xc
mov dword [ebp - 0x38], vtable.CWConstString.0
mov dword [ebp - 0x2c], 0x4829c8
mov dword [ebp - 4], 0xd
mov esi, dword [ebp - 0x2c]
test esi, esi
jne 0x408398
cmp dword [ebp - 0x14], 0
mov esi, 0x47d154
cmovne esi, dword [ebp - 0x1c]
mov ecx, dword [edi + 0x9b8]
mov eax, dword [ecx]
call dword [eax + 0x28]
test eax, eax
je 0x4083ac
lea ecx, [eax + 4]
jmp 0x4083ae
xor ecx, ecx
push esi
lea edx, [eax + 0x44]
call fcn.0044bf20
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00401ad0
push ecx
push 0x6a
push 0x60
push 0x50
push 0x50
push 0x18
push edi
lea ecx, [edi + 0x9ac]
call fcn.004034d0
push ecx
push 0x6b
push 0x15
push 0x15
push 6
push 0xa
push edi
lea ecx, [edi + 0xb1c]
call fcn.004034d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret