Function at 0x418370
Capabilities:
Create thread
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44b9a2
mov eax, dword fs:[0]
push eax
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
mov esi, dword [ebp + 8]
cmp dword [0x461620], 0
je 0x4183d4
cmp dword [ebx + 0x64], 0
je 0x4183ba
mov eax, dword [ebx + 4]
push 0
push edi
push 0x4ec
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [0x461620], 0
je 0x4183d4
lea ecx, [ebp + 0xc]
push ecx
lea edx, [ebp + 8]
push edx
push ebx
call fcn.00417fd0
mov esi, dword [ebp + 8]
cmp esi, 0x82
jne 0x418427
push 0x1b4
call fcn.0042f13f
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x418400
push ebx
push eax
call fcn.0041a3e0
jmp 0x418402
xor eax, eax
push eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [0x461618]
push 0x414c30
mov dword [ebp + 8], eax
mov eax, dword [ebx + 4]
push eax
push 0x82
push ecx
jmp 0x41861d
cmp esi, 0x88
jne 0x41847f
push 0x210
call fcn.0042f13f
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x418458
mov edx, dword [ebp + 0xc]
push edx
push edi
push ebx
push eax
call fcn.00417060
jmp 0x41845a
xor eax, eax
push eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [0x461618]
push 0x414c30
mov dword [ebp + 8], eax
mov eax, dword [ebx + 4]
push eax
push 0x88
push ecx
jmp 0x41861d
cmp esi, 0x84
jne 0x41851b
push 0x2e0
call fcn.0042f13f
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x4184ae
push eax
call fcn.004160d0
jmp 0x4184b0
xor eax, eax
push eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebx + 4]
push 0x414c30
push edx
mov dword [ebp + 8], 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], 0
jne 0x418504
push 0
push 0
push edi
push 0x421db0
push 0
push 0
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
jmp 0x418623
cmp esi, 0x85
jne 0x418575
push 0x1b4
mov dword [ebx + 0x58], 1
call fcn.0042f13f
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x41854e
push ebx
push eax
call fcn.00415730
jmp 0x418550
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 + 8], eax
push edx
jmp 0x41861d
cmp esi, 0x86
jne 0x4185c5
push 0x338
call fcn.0042f13f
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 4], 4
test eax, eax
je 0x4185a1
push ebx
push eax
call fcn.004196a0
jmp 0x4185a3
xor eax, eax
push eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [0x461618]
push 0x414c30
mov dword [ebp + 8], eax
mov eax, dword [ebx + 4]
push eax
push 0x86
push ecx
jmp 0x41861d
cmp esi, 0x9a
jne 0x41866a
push 0x240
mov dword [ebx + 0x58], 1
call fcn.0042f13f
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 4], 5
test eax, eax
je 0x4185fc
push ebx
push eax
call fcn.0040ac00
jmp 0x4185fe
xor eax, eax
push eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebx + 4]
push 0x414c30
push edx
mov dword [ebp + 8], eax
mov eax, dword [0x461618]
push 0x9a
push eax
call dword [sym.imp.USER32.dll_CreateDialogParamW]
mov edi, dword [ebp + 8]
test edi, edi
je 0x41866a
mov ecx, dword [edi + 4]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push ecx
call esi
mov eax, dword [ebx + 0x64]
test eax, eax
je 0x418647
mov edx, dword [eax + 4]
push 0
push edx
call esi
mov eax, dword [ebx + 0x64]
test eax, eax
je 0x418667
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [ebx + 0x64]
test ecx, ecx
je 0x418667
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [ebx + 0x64], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8