Function at 0x404730
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x41e1a3
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x42afb8]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x14]
push ecx
mov dword [0x42b05c], eax
call fcn.00406be0
add esp, 4
lea ebx, [esi + 0x1b8]
push eax
mov ecx, ebx
mov dword [esp + 0x28], 0
call fcn.00402b30
mov eax, dword [esp + 0x14]
or edi, 0xffffffff
add eax, 0xfffffff0
mov dword [esp + 0x24], edi
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4047b1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x14]
push ecx
call fcn.00406d60
add esp, 4
lea ebp, [esi + 0x1bc]
push eax
mov ecx, ebp
mov dword [esp + 0x28], 1
call fcn.00402b30
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x24], edi
lea edx, [eax + 0xc]
lock xadd dword [edx], edi
dec edi
test edi, edi
jg 0x4047f5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00406ee0
add esp, 4
lea edi, [esi + 0x1c0]
push eax
mov ecx, edi
mov dword [esp + 0x28], 2
call fcn.00402b30
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x24], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x404840
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebx]
cmp dword [ecx - 0xc], 0
je 0x4049f2
mov edx, dword [edi]
cmp dword [edx - 0xc], 0
je 0x4049f2
mov eax, dword [ebp]
cmp dword [eax - 0xc], 0
je 0x4049f2
mov ecx, dword [esp + 0x2c]
push 0
push ecx
push 0
push 0
push 0
push SysReAllocStringLen
push 0
push SysReAllocStringLen
push 0xcf0000
push 0x42b060
push 0x42aff8
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov edi, eax
test edi, edi
jne 0x4048a5
push str.Kevin:_Can_not_create_main_window_in_InitInstance_n
jmp 0x4049f7
push 0
push edi
mov dword [esi + 0x1b4], edi
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [esi + 0x150]
call fcn.00415a50
lea ecx, [esi + 0x48]
call fcn.004108b0
lea ebx, [esi + 4]
mov ecx, ebx
call fcn.00409880
push str.Kevin:_GetHttpRequestURL_init_n
call fcn.0041ae70
add esp, 4
mov ecx, esi
call fcn.00403920
cmp dword [esi + 0xd8], 0
jne 0x4048f8
push str.Can_not_load_Message_URL_n
jmp 0x4049f7
cmp dword [esi + 0xf8], 0
jne 0x40490b
push str.Can_not_load_Update_URL_n
jmp 0x4049f7
push 0x40
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
mov dword [esp + 0x24], 3
je 0x404934
push 0x44f
push edi
mov ecx, eax
call fcn.00412be0
jmp 0x404936
xor eax, eax
push 1
push eax
push 0x412a30
mov dword [esp + 0x30], 0xffffffff
mov dword [esi + 0x1d0], eax
call fcn.0041c590
mov edx, dword [esi + 0x1d0]
mov dword [edx + 0x24], eax
mov eax, dword [esi + 0x1d0]
mov ecx, dword [eax + 0x24]
push 2
push ecx
call fcn.0041c2d0
mov edx, dword [esi + 0x1d0]
mov eax, dword [edx + 0x24]
push eax
call fcn.0041c170
add esp, 0x18
mov ecx, ebx
call fcn.0040c950
cmp dword [esi + 0x1cc], 0
push 0
je 0x4049a5
mov ecx, dword [esi + 0x1b4]
push 0
push 0x44d
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x4049d2
cmp dword [esi + 0x1c8], 0
je 0x4049c7
mov edx, dword [esi + 0x1b4]
push 0x800e
push 0x111
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x4049d2
lea ecx, [esi + 0x19c]
call fcn.00416330
mov eax, dword [esi + 0x1b4]
push 0
push 0xea60
push 0x7d3
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, 1
jmp 0x404a01
push str.Kevin:_m_strLocalMsgRootFolder_or_m_strLocalMsgRootHttpHeader_or_m_strLocalADRootFolder_is_empty__there_must_be_something_wrong__do_not_execute_n
call fcn.0041ae70
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8