Function at 0x47ebf0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x506c3e
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x1b8
mov eax, dword [0x5732cc]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1b8], ecx
mov dword [ebp - 4], 0
push 0x468ad0
call fcn.004dbbc8
add esp, 4
mov byte [ebp - 0x31], 0
push 0
push 0x80
push 3
push 0
push 1
push closesocket
mov ecx, dword [ebp - 0x1b8]
call fcn.00415d40
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffff
jne 0x47ee40
mov ecx, dword [ebp - 0x1b8]
call fcn.00422240
test eax, eax
je 0x47ec8c
mov dword [ebp - 0x1bc], 0x51ecd2
jmp 0x47ec9d
mov ecx, dword [ebp - 0x1b8]
call fcn.00415d40
mov dword [ebp - 0x1bc], eax
mov eax, dword [ebp - 0x1bc]
push eax
lea ecx, [ebp - 0x58]
call fcn.00401880
mov byte [ebp - 4], 1
mov ecx, dword [0x53f1cc]
push ecx
push 0x5c
lea ecx, [ebp - 0x58]
call fcn.00431350
mov dword [ebp - 0x5c], eax
mov edx, dword [ebp - 0x5c]
cmp edx, dword [0x53f1cc]
jne 0x47ecde
push 0x51ecd3
lea ecx, [ebp - 0x58]
call fcn.0041ba10
jmp 0x47ed21
mov eax, dword [ebp - 0x5c]
push eax
push 0
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x58]
call fcn.00436ca0
mov dword [ebp - 0x1c0], eax
mov edx, dword [ebp - 0x1c0]
mov dword [ebp - 0x1c4], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c4]
push eax
lea ecx, [ebp - 0x58]
call fcn.00404970
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.004018f0
push 0
push 1
lea ecx, [ebp - 0x3c]
push ecx
call fcn.0046e4b0
add esp, 0xc
mov byte [ebp - 4], 3
push 0xffffffffffffffff
push 0x10
push 2
call fcn.0041f480
mov ecx, eax
call fcn.00420010
push 1
lea ecx, [ebp - 0x100]
call fcn.0041f520
mov byte [ebp - 4], 4
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x3c]
call fcn.00422240
test eax, eax
je 0x47ed74
mov dword [ebp - 0x1c8], 0x51ecf9
jmp 0x47ed82
lea ecx, [ebp - 0x3c]
call fcn.00415d40
mov dword [ebp - 0x1c8], eax
push 0x51f6c4
mov edx, dword [ebp - 0x1c8]
push edx
push 0x51f6c8
lea eax, [ebp - 0x58]
push eax
push 0x51f6cc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Param_41__
lea ecx, [ebp - 0x100]
push ecx
call fcn.0041e560
add esp, 8
mov ecx, eax
call fcn.0041ea70
push eax
call fcn.0041e560
add esp, 8
push eax
call fcn.00479360
add esp, 8
push eax
call fcn.0041e560
add esp, 8
push eax
call fcn.0041e560
add esp, 8
push eax
call fcn.0041e560
add esp, 8
lea edx, [ebp - 0x100]
push edx
call fcn.0041f480
mov ecx, eax
call fcn.0041cfb0
jmp 0x47ee0d
mov dword [ebp - 4], 4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x100]
call fcn.0041dc00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.00416630
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.004018f0
jmp 0x47ef4b
mov dword [ebp - 0x104], 0
push 0
lea eax, [ebp - 0x104]
push eax
push 0x10
mov ecx, dword [ebp - 0x1b8]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x47ee7f
cmp dword [ebp - 0x104], 0x10
jne 0x47ee7f
mov byte [ebp - 0x31], 1
jmp 0x47ef41
push 0xffffffffffffffff
push 0x10
push 2
call fcn.0041f480
mov ecx, eax
call fcn.00420010
push 1
lea ecx, [ebp - 0x1a8]
call fcn.0041f520
mov byte [ebp - 4], 7
mov byte [ebp - 4], 8
push 0x51f6dc
push 0x10
push 0x51f6e0
mov ecx, dword [ebp - 0x104]
push ecx
push 0x51f6e4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Param_10__
lea edx, [ebp - 0x1a8]
push edx
call fcn.0041e560
add esp, 8
mov ecx, eax
call fcn.0041ea70
push eax
call fcn.0041e560
add esp, 8
mov ecx, eax
call fcn.004365a0
push eax
call fcn.0041e560
add esp, 8
mov ecx, eax
call fcn.004365a0
push eax
call fcn.0041e560
add esp, 8
lea eax, [ebp - 0x1a8]
push eax
call fcn.0041f480
mov ecx, eax
call fcn.0041cfb0
jmp 0x47ef2b
mov dword [ebp - 4], 7
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1a8]
call fcn.0041dc00
mov ecx, dword [ebp - 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0x31]
jmp 0x47f09b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004db901
mov esp, ebp
pop ebp
ret