Function at 0x454f3c
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffd8
mov dword [esp], edx
mov byte [esp + 4], 0
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
call sub.kernel32.dll_CreateFileA_1
mov ebp, eax
test ebp, ebp
jle 0x45505a
push 0
lea eax, [esp + 0xc]
push eax
push 0x16
lea eax, [esp + 0x1c]
push eax
push ebp
call sub.kernel32.dll_ReadFile_1
push 0
push 0
push 0
push ebp
call sub.kernel32.dll_SetFilePointer_1
mov eax, 0x26
call fcn.00402744
mov esi, eax
mov eax, 0x22
call fcn.00402744
mov edi, eax
push 0
lea eax, [esp + 0xc]
push eax
push 0x26
mov ebx, esi
push ebx
push ebp
call sub.kernel32.dll_ReadFile_1
mov edx, edi
mov eax, ebx
mov ecx, 0x14
call fcn.00402978
mov eax, dword [esi + 6]
mov dword [edi + 6], eax
mov eax, dword [esi + 0xa]
mov dword [edi + 0xa], eax
mov eax, dword [esi + 0xe]
mov dword [edi + 0xe], eax
mov word [edi + 0x12], 1
mov ebx, dword [esi + 0xe]
mov eax, ebx
call fcn.00402744
mov dword [esp + 0xc], eax
push 0
push 0
mov eax, dword [esi + 0x12]
push eax
push ebp
call sub.kernel32.dll_SetFilePointer_1
push 0
lea eax, [esp + 0xc]
push eax
push ebx
mov eax, dword [esp + 0x18]
push eax
push ebp
call sub.kernel32.dll_ReadFile_1
push ebp
call sub.kernel32.dll_CloseHandle_1
push 0
mov eax, dword [esp + 4]
push eax
call sub.kernel32.dll_BeginUpdateResourceA
mov ebp, eax
test ebp, ebp
jle 0x455043
push ebx
mov eax, dword [esp + 0x10]
push eax
push 0
push 1
push 3
push ebp
call sub.kernel32.dll_UpdateResourceA
push 0
push ebp
call sub.kernel32.dll_EndUpdateResourceA
mov byte [esp + 4], 1
mov eax, dword [esp + 0xc]
call fcn.00402764
mov eax, edi
call fcn.00402764
mov eax, esi
call fcn.00402764
mov al, byte [esp + 4]
add esp, 0x28
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x455c88
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x455d11
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x477c44
push 0x101
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x455cfb
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.0040bb1c
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], 0
mov eax, 0x455d28
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x4769ac]
mov dl, 1
mov eax, dword [0x45548c]
call fcn.0040c440
call fcn.0040403c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x455d18
lea eax, [ebp - 0x1c]
call fcn.00404684
ret

Function at 0x4563b8
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.004562dc
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00403ac4
push 0x10
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_connect
mov edx, 0x45641c
call fcn.00455bd0
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0x45640e
cmp dword [ebx + 4], 0xffffffff
setne al
mov byte [ebx + 8], al
mov cl, 2
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00403ac4
pop esi
pop ebx
ret