Function at 0x40b2c0
Capabilities:
Create thread
Shutdown system

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44bab2
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x45e274]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor esi, esi
cmp dword [0x461620], esi
je 0x40b5dc
mov ebx, dword [edi + 0xe8]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
cmp dword [ebx + 0x64], esi
je 0x40b31e
mov eax, dword [ebx + 4]
push esi
push 0x9a
push 0x4ec
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [0x461620], esi
je 0x40b5f8
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x10]
push edx
push ebx
call fcn.00417fd0
mov eax, dword [ebp - 0x10]
cmp eax, 0x82
jne 0x40b389
push 0x1b4
call fcn.0042f13f
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], esi
cmp eax, esi
je 0x40b362
push ebx
push eax
call fcn.0041a3e0
jmp 0x40b364
xor eax, eax
push eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [0x461618]
push 0x414c30
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 4]
push eax
push 0x82
push ecx
jmp 0x40b57b
cmp eax, 0x88
jne 0x40b3e4
push 0x210
call fcn.0042f13f
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 1
cmp eax, esi
je 0x40b3bd
mov edx, dword [ebp - 0x14]
push edx
push 0x9a
push ebx
push eax
call fcn.00417060
jmp 0x40b3bf
xor eax, eax
push eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [0x461618]
push 0x414c30
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 4]
push eax
push 0x88
push ecx
jmp 0x40b57b
cmp eax, 0x84
jne 0x40b47c
push 0x2e0
call fcn.0042f13f
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 2
cmp eax, esi
je 0x40b412
push eax
call fcn.004160d0
jmp 0x40b414
xor eax, eax
push eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebx + 4]
push 0x414c30
push edx
mov dword [ebp - 0x10], eax
mov eax, dword [0x461618]
push 0x84
push eax
call dword [sym.imp.USER32.dll_CreateDialogParamW]
mov edi, dword [ebx + 0x50]
add edi, 0x7c
mov dword [ebx + 0x54], 1
call fcn.00421fd0
cmp dword [edi + 4], esi
jne 0x40b463
push esi
push esi
push edi
push 0x421db0
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 4], eax
call fcn.00424250
mov esi, dword [ebx + 0x50]
lea eax, [ebx + 0x44]
push 1
call fcn.0041ef20
xor esi, esi
jmp 0x40b581
cmp eax, 0x85
jne 0x40b4d5
push 0x1b4
mov dword [ebx + 0x58], 1
call fcn.0042f13f
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 3
cmp eax, esi
je 0x40b4ae
push ebx
push eax
call fcn.00415730
jmp 0x40b4b0
xor eax, eax
push eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebx + 4]
mov edx, dword [0x461618]
push 0x414c30
push ecx
push 0x85
mov dword [ebp - 0x10], eax
push edx
jmp 0x40b57b
cmp eax, 0x86
jne 0x40b524
push 0x338
call fcn.0042f13f
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 4
cmp eax, esi
je 0x40b500
push ebx
push eax
call fcn.004196a0
jmp 0x40b502
xor eax, eax
push eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [0x461618]
push 0x414c30
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 4]
push eax
push 0x86
push ecx
jmp 0x40b57b
cmp eax, 0x9a
jne 0x40b5f8
push 0x240
mov dword [ebx + 0x58], 1
call fcn.0042f13f
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 5
cmp eax, esi
je 0x40b55a
push ebx
push eax
call fcn.0040ac00
jmp 0x40b55c
xor eax, eax
push eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebx + 4]
push 0x414c30
push edx
mov dword [ebp - 0x10], eax
mov eax, dword [0x461618]
push 0x9a
push eax
call dword [sym.imp.USER32.dll_CreateDialogParamW]
mov eax, dword [ebp - 0x10]
cmp eax, esi
je 0x40b5f8
mov ecx, dword [eax + 4]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push ecx
call edi
mov eax, dword [ebx + 0x64]
cmp eax, esi
je 0x40b5a4
mov edx, dword [eax + 4]
push esi
push edx
call edi
mov eax, dword [ebx + 0x64]
cmp eax, esi
je 0x40b5c4
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [ebx + 0x64]
cmp ecx, esi
je 0x40b5c4
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov ecx, dword [ebp - 0x10]
mov dword [ebx + 0x64], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 2
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
mov edx, dword [edi + 0xe8]
mov eax, dword [edx + 4]
push 1
push eax
call dword [sym.imp.USER32.dll_EndDialog]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret