Function at 0x410d27
Capabilities:
Enumerate gui resources
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d0
push ebx
push esi
lea eax, [ebp - 0x38]
push edi
push eax
mov dword [ebp - 0x38], 8
mov dword [ebp - 0x34], 0x1ff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
call fcn.00405913
test eax, eax
je 0x410f0f
call fcn.00403e9f
mov eax, dword [ebp + 8]
xor ebx, ebx
push 0x104
mov byte [ebp - 0x3c], bl
mov dword [eax + 0x70], 0xa
lea eax, [ebp - 0x140]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x140]
push eax
push 0x410c3c
call dword [sym.imp.USER32.dll_EnumWindows]
cmp byte [ebp - 0x3c], bl
jne 0x410f0f
mov edi, dword [ebp + 0xc]
mov esi, dword [sym.imp.USER32.dll_LoadImageA]
push 0x10
push ebx
push ebx
push 1
push str.proxo_log.ico
push ebx
mov dword [ebp - 0x2c], 3
mov dword [ebp - 0x28], 0x410261
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], edi
call esi
cmp eax, ebx
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], eax
jne 0x410de4
push 0x7f04
push ebx
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], eax
push 0x7f00
push ebx
call dword [sym.imp.USER32.dll_LoadCursorA]
push 4
mov dword [ebp - 0x14], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x30], 0x30
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], str.HtmMsgLog
call dword [sym.imp.USER32.dll_RegisterClassExA]
test ax, ax
jne 0x410e32
push 0x12030
push str.ProxomiTron_Application_Error
push str.Cant_Register_Logbox_Class
jmp 0x410f08
lea eax, [ebp - 0x30]
push eax
push 0x8002
push edi
call dword [sym.imp.USER32.dll_GetClassInfoExA]
test eax, eax
jne 0x410e5a
push 0x12030
push str.ProxomiTron_Application_Error
push str.Cant_get_dialog_class_info
jmp 0x410f08
push 0x10
push ebx
push ebx
mov edi, str.proxo.ico
push 1
push edi
push ebx
mov dword [ebp - 0x28], 0x41102f
call esi
cmp eax, ebx
mov dword [ebp - 0x18], eax
jne 0x410e85
push 0x66
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [ebp - 0x18], eax
push 0x10
push ebx
push ebx
push 1
push edi
push ebx
call esi
cmp eax, ebx
mov dword [ebp - 4], eax
jne 0x410ea4
push 0x66
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [ebp - 4], eax
push 0x7f00
push ebx
mov dword [ebp - 0xc], ebx
call dword [sym.imp.USER32.dll_LoadCursorA]
push 4
mov dword [ebp - 0x14], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 8], str.PrxTronCls
call dword [sym.imp.USER32.dll_RegisterClassExA]
mov edi, dword [sym.imp.WS2_32.dll_WSAStartup]
lea eax, [ebp - 0x2d0]
push eax
push 2
call edi
test eax, eax
je 0x410f13
lea eax, [ebp - 0x2d0]
push eax
push 0x101
call edi
test eax, eax
je 0x410f13
push 0x12030
push str.ProxomiTron_Application_Error
push str.Cant_start_WSAStartup__
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x410f4a
mov ecx, dword [ebp + 8]
mov ax, word [ebp - 0x2d0]
push 0x10
push ebx
push ebx
push 1
push str.proxo_tray.ico
push ebx
mov word [ecx + 0x10], ax
call esi
push 0x10
push ebx
push ebx
push 1
push str.proxo_trayb.ico
push ebx
mov dword [0x428210], eax
call esi
push 1
mov dword [0x4284e8], eax
pop eax
pop edi
pop esi
pop ebx
leave
ret