Function at 0x40bf30
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43270c
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x448090]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0
push 0x4496c8
push 0x4494c4
push 0
push dword [ebx + 0x38]
call fcn.004317f5
mov esi, eax
add esp, 0x14
test esi, esi
je 0x40bfbc
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
call fcn.0040d440
lea ecx, [ebx + 0x3c]
push eax
mov dword [ebp - 4], 0
call fcn.00402300
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40bfb6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi + 0x60]
mov dword [ebx + 0x40], eax
mov eax, dword [ebp + 8]
cmp eax, 0x82
jne 0x40c015
push 0x110
call fcn.00420a7d
add esp, 4
mov dword [ebp + 0x10], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x40bfed
push ebx
mov ecx, eax
call fcn.0040e760
mov edi, eax
jmp 0x40bfef
xor edi, edi
push edi
push 0x409e90
mov dword [ebp - 4], 0xffffffff
push dword [ebx + 4]
push 0x82
push dword [0x44acdc]
call dword [sym.imp.USER32.dll_CreateDialogParamW]
jmp 0x40c349
cmp eax, 0x88
jne 0x40c06d
push 0x68
call fcn.00420a7d
mov edi, eax
add esp, 4
test edi, edi
je 0x40c04c
push 0
mov ecx, edi
call fcn.00409260
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x60], eax
mov eax, dword [ebp + 0x10]
mov dword [edi], vtable.CLicenseDialog.0
mov dword [edi + 0x5c], ebx
mov dword [edi + 0x64], eax
jmp 0x40c04e
xor edi, edi
push edi
push 0x409e90
push dword [ebx + 4]
push 0x88
push dword [0x44acdc]
call dword [sym.imp.USER32.dll_CreateDialogParamW]
jmp 0x40c349
cmp eax, 0x83
jne 0x40c111
push 0x68
call fcn.00420a7d
mov edi, eax
add esp, 4
test edi, edi
je 0x40c0af
push 0
mov ecx, edi
call fcn.00409260
mov dword [edi], vtable.CSettingsDialog.0
mov eax, dword [0x448020]
mov ecx, 0x448020
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 0x5c], eax
mov dword [edi + 0x64], ebx
jmp 0x40c0b1
xor edi, edi
push edi
push 0x409e90
push dword [ebx + 4]
push 0x83
push dword [0x44acdc]
call dword [sym.imp.USER32.dll_CreateDialogParamW]
mov ecx, dword [ebx + 0x40]
xor eax, eax
test ecx, ecx
setne al
push 0
mov dword [edi + 0x60], ecx
push eax
push 0xf1
push 0x3f9
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov eax, dword [ebx + 0x3c]
push ecx
sub eax, 0x10
mov esi, esp
push eax
call fcn.004028c0
add eax, 0x10
add esp, 4
mov ecx, edi
mov dword [esi], eax
call fcn.0040d470
jmp 0x40c349
cmp eax, 0x84
jne 0x40c214
push 0x214
call fcn.00420a7d
add esp, 4
mov dword [ebp + 0x10], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x40c142
mov ecx, eax
call fcn.0040aa20
mov edi, eax
jmp 0x40c144
xor edi, edi
push edi
push 0x409e90
mov dword [ebp - 4], 0xffffffff
push dword [ebx + 4]
push 0x84
push dword [0x44acdc]
call dword [sym.imp.USER32.dll_CreateDialogParamW]
mov eax, dword [0x448020]
mov ecx, 0x448020
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp + 0x10], esi
push 0
push 0x9c
mov dword [ebp - 4], 3
call fcn.00403480
add esp, 8
test eax, eax
je 0x40c1a3
push 0x9c
push eax
lea ecx, [ebp + 0x10]
call fcn.004033b0
mov esi, dword [ebp + 0x10]
push esi
push 0x424
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 1
push dword [ebx + 0x40]
lea eax, [ebx + 0x3c]
lea ecx, [ebx + 0x14]
push eax
push ecx
mov ecx, dword [ebx + 0x20]
mov dword [ebx + 0x44], 1
mov dword [ebx + 0x48], 0
mov dword [ebx + 0x50], 1
mov dword [ebx + 0x2c], 1
call fcn.00412dd0
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40c349
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x40c349
cmp eax, 0x85
jne 0x40c274
push 0x114
mov dword [ebx + 0x30], 1
call fcn.00420a7d
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 4], 4
test eax, eax
je 0x40c24c
push dword [ebp + 0x10]
mov ecx, eax
push ebx
call fcn.0040a1e0
mov edi, eax
jmp 0x40c24e
xor edi, edi
push edi
push 0x409e90
mov dword [ebp - 4], 0xffffffff
push dword [ebx + 4]
push 0x85
push dword [0x44acdc]
call dword [sym.imp.USER32.dll_CreateDialogParamW]
jmp 0x40c349
cmp eax, 0x86
jne 0x40c2b9
push 0x7c
call fcn.00420a7d
add esp, 4
test eax, eax
je 0x40c2aa
mov ecx, dword [ebx + 0x20]
add ecx, 0xe8
push ecx
push ebx
mov ecx, eax
call fcn.0040d900
push dword [ebx + 4]
mov edi, eax
push 0x86
jmp 0x40c342
push dword [ebx + 4]
xor edi, edi
push 0x86
jmp 0x40c342
cmp eax, 0x89
jne 0x40c2f8
push 0x60
call fcn.00420a7d
mov edi, eax
add esp, 4
test edi, edi
je 0x40c2ec
push 0
mov ecx, edi
call fcn.00409260
mov dword [edi], vtable.CAntivirusDialog.0
mov dword [edi + 0x5c], ebx
push dword [ebx + 4]
push 0x89
jmp 0x40c342
push dword [ebx + 4]
xor edi, edi
push 0x89
jmp 0x40c342
cmp eax, 0x9a
jne 0x40c388
push 0x110
mov dword [ebx + 0x30], 1
call fcn.00420a7d
add esp, 4
mov dword [ebp + 0x10], eax
mov dword [ebp - 4], 5
test eax, eax
je 0x40c331
push ebx
mov ecx, eax
call fcn.00404e30
mov edi, eax
jmp 0x40c333
xor edi, edi
mov dword [ebp - 4], 0xffffffff
push dword [ebx + 4]
push 0x9a
mov ecx, edi
call fcn.00409e40
test edi, edi
je 0x40c388
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [edi + 4]
call esi
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x40c368
push 0
push dword [eax + 4]
call esi
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x40c385
push dword [eax + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [ebx + 0x38]
test ecx, ecx
je 0x40c385
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [ebx + 0x38], edi
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