Function at 0x473c20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
push 0x63edc8
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 4], eax
test eax, eax
jne 0x473c40
pop edi
mov esp, ebp
pop ebp
ret
push ebx
push esi
push 0x63eddc
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [ebp + 8]
mov ebx, eax
push 0x63edec
push esi
mov dword [ebp - 8], ebx
call fcn.005ec7fb
add esp, 8
test eax, eax
je 0x473c8c
test ebx, ebx
je 0x473c7c
push 8
push 0
push esi
call ebx
pop esi
mov edi, eax
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
pop esi
mov edi, eax
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x473cb5
push 0x63edf4
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x473cb5
push 0x800
push 0
push esi
call ebx
pop esi
mov edi, eax
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edx, eax
mov dword [ebp - 4], edx
test edx, edx
je 0x473d77
mov ecx, esi
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x473cd1
sub ecx, ebx
sar ecx, 1
lea eax, [ecx + edx]
lea eax, [eax*2 + 2]
push eax
call dword [0x6ca040]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x473d6d
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x473d6d
mov ecx, ebx
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x473d10
sub ecx, edx
sar ecx, 1
mov dword [ebx + ecx*2], 0x5c
mov ecx, ebx
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x473d30
sub ecx, edx
sar ecx, 1
lea ecx, [ebx + ecx*2]
sub ecx, esi
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx + esi - 2], ax
test ax, ax
jne 0x473d44
mov eax, dword [ebp - 8]
test eax, eax
je 0x473d64
push 8
push 0
push ebx
call eax
jmp 0x473d6b
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
push ebx
call dword [0x6ca044]
add esp, 4
pop esi
pop ebx
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x473d80
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x6ce8d4]
xor eax, ebp
mov dword [ebp - 4], eax
test byte [ebp + 8], 2
je 0x473dd9
lea eax, [ebp - 0x194]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x473dc6
mov eax, dword [ebp - 0x194]
cmp al, 2
jne 0x473dc0
shr eax, 8
cmp al, 2
je 0x473dd9
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 2
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005bcf27
mov esp, ebp
pop ebp
ret
push 0x63ed9c
call fcn.00473c20
add esp, 4
mov dword [0x6d71f4], eax
test eax, eax
je 0x473e0c
push 0x63edb8
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x6d71f0]
test eax, eax
cmovne ecx, eax
mov dword [0x6d71f0], ecx
push 3
push 2
push 0
push 6
call fcn.0049d290
add esp, 0x10
test al, al
setne byte [0x6dc5e8]
push 0x6dc5f0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.005bcf27
mov esp, ebp
pop ebp
ret