Function at 0x408ba0
Capabilities:
Create thread

Disassembly:
sub esp, 0x3c
push esi
mov esi, dword [esp + 0x44]
push edi
lea ecx, [esp + 0x24]
mov dword [0x4325fc], esi
call fcn.00409230
push str._______________________________________________
call fcn.004090a0
mov edi, dword [esp + 0x54]
push edi
push str.WinMain__lpCmdLine___s__
call fcn.00409190
push str._______________________________________________
call fcn.004090a0
add esp, 0x10
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
xor ecx, ecx
test eax, eax
setge cl
push ecx
push str.1._CoInitialize_____d
call fcn.00409190
add esp, 8
push 0x424554
push esi
push 0x430400
mov ecx, 0x432638
call fcn.00404690
xor edx, edx
test eax, eax
setge dl
mov esi, edx
push esi
push str.2.__Module.Init_____d
call fcn.00409190
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str.3.__Module.dwThreadID___x
mov dword [0x432668], eax
call fcn.00409190
add esp, 8
push edi
lea ecx, [esp + 0x4c]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
lea ecx, [esp + 0x48]
call dword [sym.imp.MFC80U.DLL_Ordinal_6167]
lea ecx, [esp + 0x48]
call dword [sym.imp.MFC80U.DLL_Ordinal_6173]
lea ecx, [esp + 0x48]
call dword [sym.imp.MFC80U.DLL_Ordinal_4074]
lea ecx, [esp + 0x48]
call dword [sym.imp.MFC80U.DLL_Ordinal_3927]
test al, al
jne 0x408d38
push 0
push str.unregserver
lea ecx, [esp + 0x50]
call dword [sym.imp.MFC80U.DLL_Ordinal_2261]
cmp eax, 0xffffffff
jg 0x408d05
push 0
push str.unregister
lea ecx, [esp + 0x50]
call dword [sym.imp.MFC80U.DLL_Ordinal_2261]
cmp eax, 0xffffffff
jg 0x408d05
push 0
push str.regserver
lea ecx, [esp + 0x50]
call dword [sym.imp.MFC80U.DLL_Ordinal_2261]
cmp eax, 0xffffffff
jg 0x408cd3
push 0
push str.register
lea ecx, [esp + 0x50]
call dword [sym.imp.MFC80U.DLL_Ordinal_2261]
cmp eax, 0xffffffff
jle 0x408d38
push esi
push str.4.__Module.UpdateRegistryFromResourceD_____d
call fcn.00409190
add esp, 8
push 0
push 1
mov ecx, 0x432638
call fcn.00408a80
mov esi, eax
xor eax, eax
test esi, esi
setge al
mov edi, eax
push edi
push str.5.__Module.UnregisterServer_____d
jmp 0x408e9b
push 0
push str.4.__Module.UpdateRegistryFromResourceD_____d
call fcn.00409190
add esp, 8
push 0
push 1
mov ecx, 0x432638
call fcn.00408b10
xor ecx, ecx
mov esi, eax
test esi, esi
setge cl
mov edi, ecx
push edi
push str.5.__Module.UnregisterServer_____d
jmp 0x408e9b
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
test eax, eax
mov dword [0x43266c], eax
jne 0x408d53
xor al, al
jmp 0x408d7b
lea edx, [esp + 0x50]
push edx
push 0
push 0x432638
push 0x404940
push 0
push 0
mov dword [esp + 0x68], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
setne al
xor ecx, ecx
test al, al
setne cl
push ecx
push str.6.__Module.StartMonitor_____d
call fcn.00409190
add esp, 8
push 1
push 4
mov ecx, 0x432638
call fcn.004053f0
xor edx, edx
test eax, eax
setge dl
push edx
push str.7.__Module.RegisterClassObjects_____d
call fcn.00409190
add esp, 8
push 0x1f4
push 0
push 0x403990
lea ecx, [esp + 0x30]
call fcn.0040a7a0
movzx eax, al
push eax
push str.8a._timer.Create_____d
call fcn.00409190
add esp, 8
lea ecx, [esp + 0x24]
call fcn.00409cd0
xor ecx, ecx
test al, al
setne cl
push ecx
push str.8b._timer.Start_____d
call fcn.00409190
push str.9._WinMain_____enter_message_loop
call fcn.004090a0
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
add esp, 0xc
push 0
push 0
push 0
lea edx, [esp + 0x14]
push edx
call esi
test eax, eax
je 0x408e38
mov edi, dword [sym.imp.USER32.dll_DispatchMessageW]
mov edi, edi
lea eax, [esp + 8]
push eax
call edi
push 0
push 0
push 0
lea ecx, [esp + 0x14]
push ecx
call esi
test eax, eax
jne 0x408e20
push str.10._WinMain_____exit_message_loop
call fcn.004090a0
add esp, 4
lea ecx, [esp + 0x24]
call fcn.00409270
xor edx, edx
test al, al
setne dl
push edx
push str.11._timer.Stop_____d
call fcn.00409190
add esp, 8
mov ecx, 0x432638
call fcn.00405480
mov esi, eax
xor eax, eax
test esi, esi
setge al
mov edi, eax
push edi
push str.12.__Module.RevokeClassObjects_____d
call fcn.00409190
add esp, 8
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x3e8
push str.13._Sleep_____d
call fcn.00409190
add esp, 8
mov ecx, 0x432638
call fcn.00405350
push str.14.__Module.Term__
call fcn.004090a0
add esp, 4
call dword [sym.imp.ole32.dll_CoUninitialize]
push str.15._CoUninitialize__
call fcn.004090a0
push str._______________________________________________
call fcn.004090a0
push edi
push str.WinMain__return___d__
call fcn.00409190
push str._______________________________________________
call fcn.004090a0
add esp, 0x14
lea ecx, [esp + 0x48]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x24]
call fcn.0040aab0
xor eax, eax
test esi, esi
pop edi
setl al
pop esi
add esp, 0x3c
ret 0x10