Function at 0x401bb0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x423ffd
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x43000c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov esi, dword [sym.imp.USER32.dll_DefWindowProcW]
push 0
push 0
push 0
push 0
call esi
push 0x30
call fcn.0040d71f
mov dword [ebp - 0x14], eax
add esp, 4
mov dword [ebp - 0x18], 8
mov dword [ebp - 0x14], 4
mov dword [eax + 4], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], esi
mov dword [eax], vtable.CMainWnd.0
mov dword [eax + 0x2c], 0x1770
mov dword [ebx + 0xc], eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
sub esp, 0xc
call fcn.004026e0
mov dword [ebp - 0x14], eax
test eax, eax
js 0x401d9e
xorps xmm0, xmm0
mov dword [ebp - 0x64], 0x42be54
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 4], 0
mov edi, dword [0x431c84]
add edi, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, dword [0x431c4c]
mov ebx, eax
push 4
mov ecx, dword [esi + 8]
inc ecx
push ecx
push dword [esi]
call fcn.0041336b
add esp, 0xc
test eax, eax
je 0x401cf6
mov dword [esi], eax
mov eax, dword [esi + 8]
push 4
inc eax
push eax
push dword [esi + 4]
call fcn.0041336b
add esp, 0xc
test eax, eax
je 0x401cf6
mov dword [esi + 4], eax
mov eax, dword [esi + 8]
lea ecx, [eax*4]
mov eax, dword [esi]
add eax, ecx
je 0x401ce7
mov dword [eax], ebx
mov eax, dword [esi + 4]
add eax, ecx
je 0x401cf3
lea ecx, [ebp - 0x64]
mov dword [eax], ecx
inc dword [esi + 8]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [0x4308a8], 0
mov eax, dword [ebp - 0x10]
mov esi, dword [eax + 0xc]
jne 0x401d16
mov dword [0x4308a8], 0
push dword [ebp - 0x14]
lea eax, [esi + 0x20]
push eax
push 0x430878
call fcn.00402020
movzx ebx, ax
add esp, 0xc
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x401db9
call fcn.0040e10d
mov dword [esi + 0x14], eax
test eax, eax
jne 0x401db9
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, dword [ebp - 0x10]
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x401d5d
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esi + 0xc], 0
call fcn.00402310
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x401d80
push eax
call fcn.00412f9c
add esp, 4
mov dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
test eax, eax
je 0x401d9e
push eax
call fcn.00412f9c
add esp, 4
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x14]
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 0
push 0
push eax
call fcn.0040e20f
test bx, bx
je 0x401d4c
lea edi, [esi + 8]
test edi, edi
je 0x401fb7
test esi, esi
je 0x401fb7
mov dword [edi], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x430910
mov dword [edi + 4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x430928]
mov dword [edi + 8], eax
push 0x430910
mov dword [0x430928], edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
push dword [0x431124]
push 0
push 0
push 0
push 0
push 0
push 0
push 0x80000000
push 0x42be98
push ebx
push 0x188
call dword [sym.imp.USER32.dll_CreateWindowExW]
test eax, eax
je 0x401d4c
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
push 0
push 0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push eax
push 0x406370
push 0
push 0
mov byte [ebp - 0x1c], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, dword [sym.imp.USER32.dll_PeekMessageW]
mov dword [ebp - 0x24], eax
xor esi, esi
mov ebx, 1
test ebx, ebx
je 0x401e99
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x48]
push eax
call edi
test eax, eax
jne 0x401e99
mov eax, dword [ebp - 0x64]
lea ecx, [ebp - 0x64]
push esi
call dword [eax + 4]
inc esi
test eax, eax
jne 0x401e76
xor ebx, ebx
push 0
push 0
push 0
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
cmp eax, 0xffffffff
je 0x401e72
test eax, eax
je 0x401f1d
mov eax, dword [ebp - 0x64]
mov eax, dword [eax]
cmp eax, fcn.00402660
jne 0x401ecc
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x64]
call fcn.00402660
jmp 0x401ed5
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x64]
call eax
test eax, eax
jne 0x401eed
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
mov eax, dword [ebp - 0x44]
cmp eax, 0x118
ja 0x401f0d
je 0x401e72
cmp eax, 0xf
je 0x401e72
cmp eax, 0xa0
jmp 0x401f12
cmp eax, 0x200
je 0x401e72
jmp 0x401e6b
mov ebx, dword [0x431c84]
add ebx, 0x10
mov dword [ebp - 0x6c], ebx
push ebx
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0x68], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, dword [0x431c4c]
xor ecx, ecx
mov esi, dword [edi + 8]
test esi, esi
jle 0x401f6b
mov edx, dword [edi]
nop
cmp dword [edx], eax
je 0x401f5e
inc ecx
add edx, 4
cmp ecx, esi
jl 0x401f50
jmp 0x401f6b
cmp ecx, 0xffffffff
je 0x401f6b
push ecx
mov ecx, edi
call fcn.004024d0
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0xc]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0
call fcn.004053d0
mov eax, dword [ebp - 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x401fa4
push eax
call esi
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x401d4c
push eax
call esi
jmp 0x401d4c
push 1
push 0xc0000005
call fcn.004027d0
int3