Function at 0x10054fe0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x28
mov eax, dword [0x101cf40c]
xor eax, esp
mov dword [esp + 0x24], eax
push ebp
mov ebp, dword [esp + 0x34]
push esi
mov esi, dword [esp + 0x34]
push esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], ebp
call fcn.10054f40
add esp, 4
cmp eax, 1
jne 0x10055021
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.101179ba
add esp, 0x28
ret
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10055026
sub eax, edx
je 0x1005500e
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10055038
sub eax, edx
cmp eax, 0xa
ja 0x1005500e
mov byte [esp + 8], 0x72
mov byte [esp + 9], 0x62
mov byte [esp + 0xa], cl
mov dl, dl
push 0x40
lea eax, [esp + 0xc]
push eax
push esi
call fcn.101191b9
add esp, 0xc
mov esi, eax
mov dl, dl
test esi, esi
je 0x1005500e
push edi
mov al, al
push 2
push 0
push esi
call fcn.10119134
add esp, 0xc
push ebx
pop ebx
push esi
call fcn.1011903f
add esp, 4
mov edi, eax
mov esi, esi
push 0
push 0
push esi
call fcn.10119134
add esp, 0xc
push eax
pop eax
test edi, edi
jne 0x100550c1
push esi
call fcn.10118b74
add esp, 4
push ecx
pop ecx
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.101179ba
add esp, 0x28
ret
mov ecx, edi
and ecx, reloc.WS2_32.dll_closesocket
push ebx
jns 0x100550d1
dec ecx
or ecx, 0xfffffffc
inc ecx
mov edx, edi
sub edx, ecx
add edx, 8
push edx
call fcn.1011741c
add esp, 4
mov ebx, eax
mov ebp, ebp
test ebx, ebx
push esi
jne 0x10055109
call fcn.10118b74
add esp, 4
mov ecx, ecx
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.101179ba
add esp, 0x28
ret
push edi
push 1
push ebx
call fcn.10118e8c
add esp, 0x10
nop
push esi
call fcn.10118b74
add esp, 4
mov ah, ah
mov edx, ebp
call fcn.10054bc0
mov ebp, eax
mov bl, bl
push edx
pop edx
mov al, 0x4f
mov byte [esp + 0x2c], 0x52
mov byte [esp + 0x2d], al
mov byte [esp + 0x2e], al
mov byte [esp + 0x2f], 0x33
mov byte [esp + 0x30], 0
mov edi, edi
xor eax, eax
jmp 0x10055150
mov cl, byte [esp + eax + 0x2c]
mov byte [esp + eax + 0x24], cl
add eax, 1
test cl, cl
jne 0x10055150
mov edi, edi
mov edx, dword [esp + 0x1c]
lea edi, [esp + 0x24]
call fcn.10054ca0
nop
mov byte [esp + 0x14], 0x77
mov byte [esp + 0x15], 0x62
mov byte [esp + 0x16], 0
mov edi, edi
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x14]
push eax
push ecx
call fcn.1011927d
add esp, 8
mov esi, eax
mov ecx, ecx
test esi, esi
jne 0x100551ba
push ebx
call fcn.101174df
add esp, 4
mov ch, ch
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.101179ba
add esp, 0x28
ret
mov dword [esp + 0x18], 0x4d444d44
mov dl, dl
push esi
push 4
lea edx, [esp + 0x20]
push 1
push edx
call fcn.1011b480
add esp, 0x10
nop
push esi
push 4
lea eax, [esp + 0x2c]
push 1
push eax
call fcn.1011b480
add esp, 0x10
xchg ebx, eax
xchg ebx, eax
push esi
push ebp
push 1
push ebx
call fcn.1011b480
add esp, 0x10
push edx
pop edx
push esi
call fcn.10118b74
add esp, 4
push ebx
pop ebx
push ebx
call fcn.101174df
add esp, 4
mov ah, ah
mov ecx, dword [esp + 0x34]
pop ebx
pop edi
pop esi
pop ebp
xor ecx, esp
mov eax, 1
call fcn.101179ba
add esp, 0x28
ret