Function at 0x411238
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xf
push 0
push 0
dec ecx
jne 0x411240
push ebx
push esi
push edi
mov eax, 0x40ddf8
call fcn.00408c28
xor eax, eax
push ebp
push 0x411913
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [0x45f9cc], eax
xor edi, edi
call fcn.0040db94
or al, byte [0x411924]
call fcn.0040dba4
xor eax, eax
mov dword [0x45f9f4], eax
call sub.comctl32.dll_InitCommonControls
mov eax, 0x45f9ec
call fcn.00405d90
call fcn.0040a078
mov esi, eax
push 0xa
mov ecx, 0x411928
mov edx, dword [0x45f56c]
mov eax, esi
call fcn.0040a084
mov eax, esi
call fcn.00409d70
test eax, eax
jne 0x4112cd
mov eax, 2
call fcn.0040d8b0
mov eax, esi
call fcn.00409524
jmp 0x4118cf
call fcn.0040a078
mov dword [0x45f9d0], eax
mov edx, dword [0x45f9d0]
mov eax, esi
call fcn.0040d2e4
test al, al
jne 0x411308
mov eax, 3
call fcn.0040d8b0
mov eax, dword [0x45f9d0]
call fcn.00409524
mov eax, esi
call fcn.00409524
jmp 0x4118cf
call fcn.0040a124
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, dword [0x45f9d0]
call fcn.0040a2b0
mov eax, esi
call fcn.00409524
mov eax, dword [0x45f9d0]
call fcn.00409524
lea ecx, [ebp - 0x18]
mov eax, ebx
xor edx, edx
call fcn.0040a1c0
cmp dword [ebp - 0x18], 0
jne 0x411357
mov eax, 4
call fcn.0040d8b0
mov eax, ebx
call fcn.00409524
jmp 0x4118cf
lea ecx, [ebp - 0x1c]
mov eax, ebx
mov edx, 1
call fcn.0040a1c0
mov edx, dword [ebp - 0x1c]
mov eax, 0x45f9d4
call fcn.00406088
lea ecx, [ebp - 0x20]
mov eax, ebx
mov edx, 0xa
call fcn.0040a1c0
mov eax, dword [ebp - 0x20]
mov edx, 0x41193c
call fcn.0040678c
je 0x4113d5
lea ecx, [ebp - 0x24]
mov eax, ebx
mov edx, 0xa
call fcn.0040a1c0
mov edx, dword [ebp - 0x24]
mov eax, 0x45b364
call fcn.00406088
push 0x40da48
mov edx, 0x411940
xor ecx, ecx
mov eax, dword [0x45f56c]
call fcn.004093f0
mov dword [0x45f9cc], eax
push 1
mov eax, dword [0x45f9cc]
push eax
call sub.user32.dll_ShowWindow
lea ecx, [ebp - 0x28]
mov eax, ebx
mov edx, 2
call fcn.0040a1c0
mov edx, dword [ebp - 0x28]
mov eax, 0x45f9dc
call fcn.00406088
lea ecx, [ebp - 0x2c]
mov eax, ebx
mov edx, 3
call fcn.0040a1c0
mov edx, dword [ebp - 0x2c]
mov eax, 0x45f9d8
call fcn.00406088
lea edx, [ebp - 0x34]
xor eax, eax
call fcn.004098fc
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x30]
mov edx, 0x411958
call fcn.00409bac
mov edx, dword [ebp - 0x30]
mov eax, 0x45f9e0
call fcn.00406088
mov eax, dword [0x45f9e0]
call fcn.0040dce0
mov byte [0x45f9e8], al
cmp byte [0x45f9e8], 0
jne 0x4114f5
lea eax, [ebp - 0x38]
mov ecx, dword [0x45f9dc]
mov edx, 0x41196c
call fcn.00406654
mov edx, dword [ebp - 0x38]
mov eax, 0x80000002
call fcn.00409c28
mov esi, eax
test esi, esi
je 0x4114f5
lea ecx, [ebp - 0x3c]
mov edx, 0x4119a0
mov eax, esi
call fcn.00409ce8
mov edx, dword [ebp - 0x3c]
mov eax, 0x45f9ec
call fcn.00406088
mov eax, dword [0x45f9ec]
call fcn.00409a14
test al, al
je 0x4114f5
mov byte [0x45f9e8], 1
mov edx, 0x4119bc
mov eax, esi
call fcn.00409c58
mov dword [0x45f9f0], eax
mov eax, esi
call fcn.00409d50
cmp dword [0x45f9f0], 0x7274
jge 0x4114dc
mov eax, 0x45f9ec
call fcn.00405d90
mov byte [0x45f9e8], 0
mov eax, dword [0x45f9d8]
call fcn.004097f4
cmp eax, dword [0x45f9f0]
jne 0x4114f5
mov byte [0x45f9e8], 1
cmp dword [0x45f9cc], 0
je 0x411508
mov eax, 0xa
call fcn.0040dad0
cmp byte [0x45f9e8], 0
jne 0x41156f
lea ecx, [ebp - 0x40]
mov eax, ebx
mov edx, 9
call fcn.0040a1c0
mov eax, dword [ebp - 0x40]
push eax
lea edx, [ebp - 0x4c]
xor eax, eax
call fcn.004098fc
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x48]
call fcn.00409b2c
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x44]
call fcn.00409b14
mov edx, dword [ebp - 0x44]
mov eax, 0x45f9e0
pop ecx
call fcn.00406654
mov eax, dword [0x45f9e0]
call fcn.00409a14
test al, al
je 0x41156f
mov eax, dword [0x45f9e0]
call fcn.0040dce0
mov byte [0x45f9e8], al
cmp byte [0x45f9e8], 0
jne 0x4116c2
call fcn.0040a078
mov edx, dword [0x45b374]
mov dword [edx], eax
call fcn.0040d67c
test al, al
jne 0x4115a8
mov eax, 6
call fcn.0040d8b0
mov eax, ebx
call fcn.00409524
jmp 0x4118cf
lea edx, [ebp - 0x50]
mov eax, 0x4119d8
call fcn.0040dbcc
mov eax, dword [ebp - 0x50]
call fcn.00406404
push eax
call fcn.0040d274
call fcn.0040d294
test eax, eax
jne 0x4115e2
mov eax, 5
call fcn.0040d8b0
mov eax, ebx
call fcn.00409524
jmp 0x4118cf
lea ecx, [ebp - 0x54]
mov eax, ebx
mov edx, 9
call fcn.0040a1c0
mov eax, dword [ebp - 0x54]
push eax
lea edx, [ebp - 0x60]
xor eax, eax
call fcn.004098fc
mov eax, dword [ebp - 0x60]
lea edx, [ebp - 0x5c]
call fcn.00409b2c
mov eax, dword [ebp - 0x5c]
lea edx, [ebp - 0x58]
call fcn.00409b14
mov edx, dword [ebp - 0x58]
mov eax, 0x45f9e0
pop ecx
call fcn.00406654
push 0
push 0
push 2
push 0
push 1
push 0x40000000
mov eax, dword [0x45f9e0]
call fcn.00406504
push eax
call fcn.0040d248
test eax, eax
jne 0x41165c
mov eax, ebx
call fcn.00409524
mov eax, 0xa
call fcn.0040d8b0
jmp 0x4118cf
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [0x45f9e0]
call fcn.0040a020
mov esi, eax
mov eax, esi
call fcn.0040d490
mov edi, eax
test edi, edi
jne 0x411698
mov eax, esi
call fcn.00409524
mov eax, ebx
call fcn.00409524
mov eax, 0xa
call fcn.0040d8b0
jmp 0x4118cf
mov eax, edi
and eax, 0xf
test eax, eax
jbe 0x4116a4
inc edi
jmp 0x411698
mov eax, esi
call fcn.00409524
mov eax, 0x45f9ec
mov edx, dword [0x45f9e0]
call fcn.00406088
mov byte [0x45f9e8], 1
cmp dword [0x45f9cc], 0
je 0x4116d5
mov eax, 0x19
call fcn.0040dad0
cmp byte [0x45f9e8], 0
je 0x4118c8
push 0x411a0c
lea edx, [ebp - 0x64]
xor eax, eax
call fcn.004098fc
push dword [ebp - 0x64]
push 0x411a24
mov eax, 0x45f9e4
mov edx, 3
call fcn.004066dc
call fcn.00409988
test eax, eax
jle 0x4117b6
mov dword [ebp - 0x14], eax
mov esi, 1
lea edx, [ebp - 0x68]
mov eax, esi
call fcn.004098fc
cmp dword [ebp - 0x68], 0
je 0x4117ac
lea edx, [ebp - 0x6c]
mov eax, esi
call fcn.004098fc
mov edx, dword [ebp - 0x6c]
mov ecx, 1
mov eax, 0x411a34
call fcn.0040691c
test eax, eax
jle 0x411775
push 0x411a24
lea edx, [ebp - 0x70]
mov eax, esi
call fcn.004098fc
push dword [ebp - 0x70]
push 0x411a24
mov eax, 0x45f9e0
mov edx, 3
call fcn.004066dc
jmp 0x41178c
lea edx, [ebp - 0x74]
mov eax, esi
call fcn.004098fc
mov edx, dword [ebp - 0x74]
mov eax, 0x45f9e0
call fcn.00406088
push dword [0x45f9e4]
push 0x411a34
push dword [0x45f9e0]
mov eax, 0x45f9e4
mov edx, 3
call fcn.004066dc
inc esi
dec dword [ebp - 0x14]
jne 0x41171d
cmp dword [0x45f9f4], 0
jne 0x4117d4
mov eax, dword [0x45f9ec]
call fcn.00406504
push eax
call sub.kernel32.dll_LoadLibraryW
mov dword [0x45f9f4], eax
cmp dword [0x45f9f4], 0
jne 0x4117ec
mov eax, 8
call fcn.0040d8b0
jmp 0x4118cf
cmp dword [0x45f9cc], 0
je 0x4117ff
mov eax, 0x28
call fcn.0040dad0
push 0x411a38
mov eax, dword [0x45f9f4]
push eax
call fcn.004092a0
mov esi, eax
mov dword [0x45b368], esi
test esi, esi
jne 0x411842
mov eax, 8
call fcn.0040d8b0
cmp dword [0x45f9f4], 0
je 0x4118cf
mov eax, dword [0x45f9f4]
push eax
call sub.kernel32.dll_FreeLibrary
jmp 0x4118cf
push 0x411a24
lea edx, [ebp - 0x78]
xor eax, eax
call fcn.004098fc
push dword [ebp - 0x78]
push 0x411a24
push dword [0x45f9e4]
mov eax, 0x45f9e4
mov edx, 4
call fcn.004066dc
push edi
mov eax, dword [0x45f56c]
push eax
mov eax, dword [0x45f9cc]
push eax
mov eax, dword [0x45f9e4]
call fcn.00406504
push eax
call dword [0x45b368]
xor eax, eax
mov dword [0x45b368], eax
cmp dword [0x45f9f4], 0
je 0x4118a7
mov eax, dword [0x45f9f4]
push eax
call sub.kernel32.dll_FreeLibrary
push 0
mov eax, dword [0x45f9cc]
push eax
call sub.user32.dll_ShowWindow
cmp dword [0x45f9cc], 0
je 0x4118c8
mov eax, dword [0x45f9cc]
push eax
call sub.user32.dll_DestroyWindow
mov eax, ebx
call fcn.00409524
cmp dword [0x45f9cc], 0
je 0x4118e3
mov eax, dword [0x45f9cc]
push eax
call sub.user32.dll_DestroyWindow
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41191a
lea eax, [ebp - 0x78]
mov edx, 0xa
call fcn.00405df0
lea eax, [ebp - 0x50]
call fcn.00405db4
lea eax, [ebp - 0x4c]
mov edx, 0xe
call fcn.00405df0
ret