Function at 0x435640
Capabilities:
Create thread
Hide graphical window
Terminate thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x68
mov eax, dword [0x4de180]
xor eax, esp
mov dword [esp + 0x64], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [esp + 0xc], esi
call fcn.004355a0
mov dword [eax + 4], esi
call fcn.004355a0
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
mov edi, eax
push 0x200
lea ecx, [edi + 0x14]
push ecx
push 0x67
push dword [edi + 4]
call esi
push 0x200
lea eax, [edi + 0x414]
push eax
push 0xa
push dword [edi + 4]
call esi
mov edi, dword [esp + 0xc]
mov esi, dword [sym.imp.USER32.dll_LoadIconW]
push 0x92
push edi
mov dword [esp + 0x3c], 0
mov dword [esp + 0x18], 0x30
mov dword [esp + 0x1c], 3
mov dword [esp + 0x20], 0x4358e0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], edi
call esi
push 0x7f00
push 0
mov dword [esp + 0x30], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 6
call fcn.004355a0
push 0x9c
push dword [esp + 0x28]
add eax, 0x414
mov dword [esp + 0x40], eax
call esi
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
call fcn.004355a0
mov esi, eax
call fcn.004355a0
push 0
push edi
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
add eax, 0x14
push eax
lea eax, [esi + 0x414]
push eax
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
test esi, esi
jne 0x435772
pop edi
pop esi
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.004591b2
mov esp, ebp
pop ebp
ret 0x10
call fcn.004355a0
push 2
push esi
mov dword [eax + 0x10], esi
call fcn.0046a0b0
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
add esp, 8
push 2
push esi
call edi
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
call fcn.004355a0
push 0
push 0x434d20
push dword [eax + 0x10]
push 0x86
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_CreateDialogParamW]
mov dword [0x4e4158], eax
test eax, eax
je 0x4357c3
push 1
push eax
call edi
call fcn.004355a0
mov esi, eax
cmp dword [esi + 8], 0
jne 0x4357e9
lea ecx, [esi + 0xc]
push ecx
push 0
push esi
push 0x42cc60
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 8], eax
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [esp + 0x40]
push 0
push 0
xorps xmm0, xmm0
mov dword [esp + 0x60], 0
push 0
push eax
movaps xmmword [esp + 0x50], xmm0
movq qword [esp + 0x60], xmm0
call esi
test eax, eax
je 0x43585c
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
nop dword [eax]
mov eax, dword [0x4e4158]
test eax, eax
je 0x435839
lea ecx, [esp + 0x40]
push ecx
push eax
call dword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x43584b
lea eax, [esp + 0x40]
push eax
call edi
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea eax, [esp + 0x4c]
push eax
call esi
test eax, eax
jne 0x435820
call fcn.004355a0
mov esi, eax
mov eax, dword [esi + 8]
test eax, eax
je 0x435898
push 0x927c0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x435888
push 1
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], 0
call fcn.004355a0
mov eax, dword [0x4e4160]
test eax, eax
je 0x4358b4
push 0x814
push eax
call fcn.00459618
add esp, 8
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x48]
pop edi
pop esi
xor ecx, esp
mov dword [0x4e4160], 0
call fcn.004591b2
mov esp, ebp
pop ebp
ret 0x10