Function at 0x4b10f0
Capabilities:
Initialize winsock library
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x646f4c
mov eax, dword fs:[0]
push eax
sub esp, 0x1b8
mov eax, dword [0x6bc858]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x6c5c1c], 0
mov dword [0x6c5c04], 0x258
mov byte [0x6c5bfc], 1
je 0x4b115d
cmp dword [0x6c5c20], 0x10
mov eax, dword [0x6c5c0c]
jae 0x4b114a
mov eax, 0x6c5c0c
push 0x691b44
push eax
call fcn.005f5530
add esp, 8
mov dword [0x6c5c00], eax
push 4
call fcn.005f0fe0
add esp, 4
mov dword [ebp - 0x1c4], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x4b1183
push 0x32
mov esi, eax
call fcn.0053ef20
jmp 0x4b1185
xor eax, eax
or ebx, 0xffffffff
mov dword [ebp - 4], ebx
push 0x4b8
mov dword [edi + 0x240], eax
call fcn.005f0fe0
add esp, 4
mov dword [ebp - 0x1c4], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x4b11b7
push eax
call fcn.004a0f80
jmp 0x4b11b9
xor eax, eax
mov dword [ebp - 4], ebx
push 0x60
mov dword [edi + 0x274], eax
call fcn.005f0fe0
add esp, 4
mov dword [ebp - 0x1c4], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x4b11ec
lea ecx, [edi + 0x250]
push ecx
push eax
call fcn.004b4bc0
jmp 0x4b11ee
xor eax, eax
mov dword [ebp - 4], ebx
push 0x4c
mov dword [edi + 0x24c], eax
call fcn.005f0fe0
add esp, 4
mov dword [ebp - 0x1c4], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x4b121a
push eax
call fcn.0042a130
jmp 0x4b121c
xor eax, eax
mov dword [ebp - 4], ebx
push 0x6c
mov dword [edi + 0x244], eax
call fcn.005f0fe0
add esp, 4
mov dword [ebp - 0x1c4], eax
mov dword [ebp - 4], 4
test eax, eax
je 0x4b124f
lea edx, [edi + 0x250]
push edx
push eax
call fcn.0041a080
jmp 0x4b1251
xor eax, eax
mov dword [ebp - 4], ebx
push 0x1cc
mov dword [edi + 0x248], eax
call fcn.005f0fe0
add esp, 4
mov dword [ebp - 0x1c4], eax
mov dword [ebp - 4], 5
test eax, eax
je 0x4b1282
push eax
call fcn.0043e9c0
mov esi, eax
jmp 0x4b1284
xor esi, esi
lea eax, [ebp - 0x1c0]
push eax
push 2
mov dword [ebp - 4], ebx
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x4b1365
push 0
push str.WiFiDay
push str._nSocket
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov esi, dword [edi + 0x240]
xor ebx, ebx
cmp esi, ebx
je 0x4b12f5
cmp dword [esi], ebx
je 0x4b12e6
mov ecx, esi
call fcn.0053f590
mov ebx, dword [esi]
test ebx, ebx
je 0x4b12e4
push ebx
call fcn.0053f200
push ebx
call fcn.005f0cb0
add esp, 4
mov dword [esi], 0
xor ebx, ebx
push esi
call fcn.005f0cb0
add esp, 4
mov dword [edi + 0x240], ebx
mov esi, dword [edi + 0x274]
cmp esi, ebx
je 0x4b1314
push esi
call fcn.004a1050
push esi
call fcn.005f0cb0
add esp, 4
mov dword [edi + 0x274], ebx
mov ecx, dword [edi + 0x24c]
cmp ecx, ebx
je 0x4b132c
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [edi + 0x24c], ebx
mov ecx, dword [edi + 0x244]
cmp ecx, ebx
je 0x4b1344
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [edi + 0x244], ebx
mov ecx, dword [edi + 0x248]
cmp ecx, ebx
je 0x4b146b
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [edi + 0x248], ebx
jmp 0x4b146b
call fcn.00493d00
mov ecx, dword [edi + 0x274]
call fcn.004a1e90
test eax, eax
je 0x4b1407
mov eax, dword [0x6c13c8]
mov dword [0x6c4f9c], 1
cmp eax, ebx
je 0x4b13ac
push 2
push eax
call dword [sym.imp.WS2_32.dll_shutdown]
mov ecx, dword [0x6c13c8]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [0x6c13c8], ebx
call fcn.00493db0
push 0x68fafc
push 0x19a
push str.MainFrame.cpp
push 0x6c5bd8
mov edx, str.CMainFrame::Init
mov ecx, 0x12c
call fcn.004ccb50
push 0x68fb38
lea ecx, [ebp - 0x30]
call fcn.004d2ae0
add esp, 0x14
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x4b13f0
lea eax, [ebp - 0x2c]
push 0x10
push 0x67afb0
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call main
call fcn.0045d1b0
mov eax, dword [edi + 0x244]
mov ecx, dword [edi + 0x240]
push eax
call fcn.005400c0
mov eax, dword [edi + 0x248]
mov ecx, dword [edi + 0x240]
push eax
call fcn.005400c0
mov eax, dword [edi + 0x24c]
mov ecx, dword [edi + 0x240]
push eax
call fcn.005400c0
mov ecx, dword [edi + 0x240]
push esi
call fcn.005400c0
mov eax, dword [0x6c49e4]
test eax, eax
je 0x4b145e
mov dword [eax + 0x24], 0x4b44e0
mov edx, dword [0x6c4f68]
mov dword [edx + 0x4c], 0x4b4660
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005f0da0
mov esp, ebp
pop ebp
ret