Function at 0x402bb0
Capabilities:
Create thread
Hide graphical window
Inspect load icon resource
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x25c
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x200
mov dword [0x422b2c], esi
call fcn.00407e0c
push 0x200
push 0
push eax
mov dword [0x422b70], eax
call fcn.004053b0
push 0x20
call fcn.00407e0c
push 0x20
mov dword [0x422bcc], eax
mov dword [0x422bd0], 0x20
call fcn.00407e0c
push 0x68
mov dword [0x422bc4], eax
mov dword [0x422bc8], 0x20
call fcn.00407e0c
add esp, 0x1c
mov dword [0x422bc0], eax
xorps xmm0, xmm0
mov dword [esp + 0x20], 0
movlpd qword [esp + 0x28], xmm0
mov dword [esp + 0x40], 0
push 0x7f00
push 0
mov dword [esp + 0x24], 0x30
mov dword [esp + 0x38], esi
call dword [sym.imp.USER32.dll_LoadCursorA]
mov edi, dword [sym.imp.USER32.dll_LoadIconA]
push 0x65
push esi
mov dword [esp + 0x40], eax
call edi
push 0x65
push esi
mov dword [esp + 0x3c], eax
call edi
mov dword [esp + 0x48], eax
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x40], 5
mov dword [esp + 0x48], 0x41f484
mov dword [esp + 0x28], 0x401d30
call dword [sym.imp.USER32.dll_RegisterClassExA]
test ax, ax
je 0x402e20
push 0
push esi
push 0
push 0
push 0x190
push 0x190
push 0x12c
push 0x12c
push 0xca0000
push str.jbcpwd
push str.jbcwin
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x422b1c], eax
test eax, eax
je 0x402e20
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.00402040
push 0x1e4
lea eax, [esp + 0x84]
push 0
push eax
call fcn.004053b0
mov eax, dword [0x422b1c]
add esp, 0xc
mov dword [esp + 0x68], 0x1fc
mov dword [esp + 0x6c], eax
mov dword [esp + 0x74], 3
push 0x65
push dword [0x422b2c]
mov dword [esp + 0x80], 0x401
call edi
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x68]
push eax
push 0
mov dword [esp + 0x78], 1
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
push 0
push 0
push 0x4023a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x422b44], eax
lea eax, [esp + 0x10]
push eax
push 0x41f37c
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x402d89
mov ecx, 1
jmp 0x402dce
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 4
push eax
lea eax, [esp + 0x18]
push eax
push 0
push 0
push str.Speed
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 0x14]
test eax, eax
push dword [esp + 0x10]
mov edx, 1
cmovne ecx, edx
mov dword [esp + 0x18], ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x14]
call fcn.00401c10
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
lea eax, [esp + 0x4c]
push 0
push 0
push 0
push eax
call esi
test eax, eax
je 0x402e15
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
lea eax, [esp + 0x4c]
push eax
call edi
lea eax, [esp + 0x4c]
push eax
call ebx
push 0
push 0
push 0
lea eax, [esp + 0x58]
push eax
call esi
test eax, eax
jne 0x402df6
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret 0x10