Function at 0x40b260
Capabilities:
Create thread
Shutdown system

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44bc12
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 0x40b57c
mov ebx, dword [edi + 0xe8]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
cmp dword [ebx + 0x64], esi
je 0x40b2be
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 0x40b598
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x10]
push edx
push ebx
call fcn.00417f60
mov eax, dword [ebp - 0x10]
cmp eax, 0x82
jne 0x40b329
push 0x1b4
call fcn.0042f2bf
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], esi
cmp eax, esi
je 0x40b302
push ebx
push eax
call fcn.0041a3f0
jmp 0x40b304
xor eax, eax
push eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [0x461618]
push 0x414bb0
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 4]
push eax
push 0x82
push ecx
jmp 0x40b51b
cmp eax, 0x88
jne 0x40b384
push 0x210
call fcn.0042f2bf
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 1
cmp eax, esi
je 0x40b35d
mov edx, dword [ebp - 0x14]
push edx
push 0x9a
push ebx
push eax
call fcn.00416ff0
jmp 0x40b35f
xor eax, eax
push eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [0x461618]
push 0x414bb0
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 4]
push eax
push 0x88
push ecx
jmp 0x40b51b
cmp eax, 0x84
jne 0x40b41c
push 0x2e0
call fcn.0042f2bf
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 2
cmp eax, esi
je 0x40b3b2
push eax
call fcn.00416060
jmp 0x40b3b4
xor eax, eax
push eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebx + 4]
push 0x414bb0
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.00421f30
cmp dword [edi + 4], esi
jne 0x40b403
push esi
push esi
push edi
push 0x421d10
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 4], eax
call fcn.00424300
mov esi, dword [ebx + 0x50]
lea eax, [ebx + 0x44]
push 1
call fcn.0041ef20
xor esi, esi
jmp 0x40b521
cmp eax, 0x85
jne 0x40b475
push 0x1b4
mov dword [ebx + 0x58], 1
call fcn.0042f2bf
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 3
cmp eax, esi
je 0x40b44e
push ebx
push eax
call fcn.004156b0
jmp 0x40b450
xor eax, eax
push eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebx + 4]
mov edx, dword [0x461618]
push 0x414bb0
push ecx
push 0x85
mov dword [ebp - 0x10], eax
push edx
jmp 0x40b51b
cmp eax, 0x86
jne 0x40b4c4
push 0x338
call fcn.0042f2bf
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 4
cmp eax, esi
je 0x40b4a0
push ebx
push eax
call fcn.004196b0
jmp 0x40b4a2
xor eax, eax
push eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [0x461618]
push 0x414bb0
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 4]
push eax
push 0x86
push ecx
jmp 0x40b51b
cmp eax, 0x9a
jne 0x40b598
push 0x240
mov dword [ebx + 0x58], 1
call fcn.0042f2bf
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 5
cmp eax, esi
je 0x40b4fa
push ebx
push eax
call fcn.0040aba0
jmp 0x40b4fc
xor eax, eax
push eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebx + 4]
push 0x414bb0
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 0x40b598
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 0x40b544
mov edx, dword [eax + 4]
push esi
push edx
call edi
mov eax, dword [ebx + 0x64]
cmp eax, esi
je 0x40b564
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [ebx + 0x64]
cmp ecx, esi
je 0x40b564
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