Function at 0x43aef0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fe600
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8c
push esi
push 0
push 0x80
push 3
push 0
push 1
push connect
push ecx
mov dword [ebp - 0x98], edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x43b3f0
push edi
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push eax
mov dword [ebp - 0x68], eax
call fcn.004bafbf
push dword [ebp - 0x68]
mov edi, eax
push 0
push edi
mov dword [ebp - 0x6c], edi
call fcn.004d31f0
add esp, 0x10
mov dword [ebp - 0x94], 0
lea eax, [ebp - 0x94]
push 0
push eax
push dword [ebp - 0x68]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
test eax, eax
jne 0x43afa1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.004baff0
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [edi], 0xd0
xorps xmm0, xmm0
mov edx, dword [ebp + 8]
setne al
mov byte [edx], al
xor al, al
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov byte [ebp - 0xe], al
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], al
mov dword [ebp - 4], 0
xor esi, esi
mov dword [ebp - 0x14], esi
cmp dword [ebp - 0x68], esi
jbe 0x43b3d7
mov dl, byte [esi + edi]
mov byte [ebp - 0xd], dl
cmp dl, 0x20
jbe 0x43b3bb
cmp dl, 0x7f
jae 0x43b3bb
cmp dl, 0x3d
je 0x43b3bb
mov ecx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x78], edi
cmp ecx, edi
jae 0x43b040
lea eax, [ecx + 1]
cmp edi, 0x10
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
mov byte [eax + ecx], dl
mov byte [eax + ecx + 1], 0
jmp 0x43b152
mov eax, closesocket
sub eax, ecx
cmp eax, 1
jb 0x43b4e6
lea esi, [ecx + 1]
or esi, 0xf
cmp esi, 0x7fffffff
jbe 0x43b078
mov eax, connect
mov esi, closesocket
push eax
call fcn.00402d30
mov ecx, dword [ebp - 0x70]
add esp, 4
mov edi, eax
jmp 0x43b0d9
mov edx, edi
mov eax, closesocket
shr edx, 1
sub eax, edx
cmp edi, eax
jbe 0x43b0a1
mov eax, connect
mov esi, closesocket
push eax
call fcn.00402d30
mov ecx, dword [ebp - 0x70]
add esp, 4
mov edi, eax
jmp 0x43b0d9
lea eax, [edx + edi]
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
cmp eax, 0x1000
jb 0x43b0c3
push eax
call fcn.00402d30
mov ecx, dword [ebp - 0x70]
add esp, 4
mov edi, eax
jmp 0x43b0d9
test eax, eax
je 0x43b0d7
push eax
call fcn.004bad30
mov ecx, dword [ebp - 0x70]
add esp, 4
mov edi, eax
jmp 0x43b0d9
xor edi, edi
cmp dword [ebp - 0x78], 0x10
lea eax, [ecx + 1]
mov dword [ebp - 0x20], esi
lea esi, [ecx + edi]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x70], esi
push ecx
jb 0x43b136
mov esi, dword [ebp - 0x34]
push esi
push edi
call fcn.004d2ab0
mov ecx, dword [ebp - 0x70]
add esp, 0xc
mov al, byte [ebp - 0xd]
mov byte [ecx], al
mov byte [ecx + 1], 0
mov ecx, dword [ebp - 0x78]
inc ecx
cmp ecx, 0x1000
jb 0x43b12a
mov edx, dword [esi - 4]
add ecx, 0x23
sub esi, edx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x43b4eb
mov esi, edx
push ecx
push esi
call fcn.004bafb1
add esp, 8
jmp 0x43b14c
lea eax, [ebp - 0x34]
push eax
push edi
call fcn.004d2ab0
mov al, byte [ebp - 0xd]
add esp, 0xc
mov byte [esi], al
mov byte [esi + 1], 0
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x34], edi
xorps xmm0, xmm0
mov dword [ebp - 0x7c], 0
mov edi, 0xf
mov dword [ebp - 0x80], 0
movups xmmword [ebp - 0x90], xmm0
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x80], 0
mov byte [ebp - 0x90], 0
mov byte [ebp - 4], 1
xor ecx, ecx
mov dword [ebp - 0x1c], 0xb0bcbc9e
mov dword [ebp - 0x18], 0xabb1aa
movzx eax, byte [ebp + ecx - 0x1c]
push eax
call fcn.00461130
mov byte [ebp + ecx - 0x1c], al
inc ecx
cmp ecx, 7
jb 0x43b194
lea edx, [ebp - 0x1c]
lea ecx, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x43b1b0
sub edx, ecx
lea eax, [ebp - 0x1c]
cmp dword [ebp - 0x20], 0x10
lea ecx, [ebp - 0x34]
push edx
cmovae ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x24]
push eax
push 0
call fcn.00465860
add esp, 0xc
test eax, eax
je 0x43b323
mov dword [ebp - 0x64], 0xec8f908f
xor ecx, ecx
mov dword [ebp - 0x60], 0xb0bcbc9e
mov dword [ebp - 0x5c], 0xabb1aa
movzx eax, byte [ebp + ecx - 0x64]
push eax
call fcn.00461130
mov byte [ebp + ecx - 0x64], al
inc ecx
cmp ecx, 0xb
jb 0x43b1f5
lea edx, [ebp - 0x64]
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x43b210
sub edx, ecx
lea eax, [ebp - 0x64]
cmp dword [ebp - 0x20], 0x10
lea ecx, [ebp - 0x34]
push edx
cmovae ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x24]
push eax
push 0
call fcn.00465860
add esp, 0xc
test eax, eax
je 0x43b323
cmp byte [ebp - 0xe], 0
je 0x43b367
mov dword [ebp - 0x3d], 0xacacbe8f
xor ecx, ecx
mov dword [ebp - 0x39], 0xbbadb0a8
mov byte [ebp - 0x35], 0
nop dword [eax]
movzx eax, byte [ebp + ecx - 0x3d]
push eax
call fcn.00461130
mov byte [ebp + ecx - 0x3d], al
inc ecx
cmp ecx, 8
jb 0x43b260
lea edx, [ebp - 0x3d]
lea ecx, [edx + 1]
nop dword [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x43b280
sub edx, ecx
lea eax, [ebp - 0x3d]
cmp dword [ebp - 0x20], 0x10
lea ecx, [ebp - 0x34]
push edx
cmovae ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x24]
push eax
push 0
call fcn.00465860
add esp, 0xc
test eax, eax
je 0x43b3ff
mov dword [ebp - 0x4d], 0xec8f908f
xor ecx, ecx
mov dword [ebp - 0x49], 0xacacbe8f
mov dword [ebp - 0x45], 0xbbadb0a8
mov byte [ebp - 0x41], 0
nop dword [eax]
movzx eax, byte [ebp + ecx - 0x4d]
push eax
call fcn.00461130
mov byte [ebp + ecx - 0x4d], al
inc ecx
cmp ecx, 0xc
jb 0x43b2d0
lea esi, [ebp - 0x4d]
lea ecx, [esi + 1]
nop dword [eax + eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x43b2f0
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0x4d]
sub esi, ecx
cmp dword [ebp - 0x20], 0x10
push esi
push eax
lea ecx, [ebp - 0x34]
cmovae ecx, dword [ebp - 0x34]
push 0
call fcn.00465860
add esp, 0xc
test eax, eax
je 0x43b3ff
mov esi, dword [ebp - 0x14]
jmp 0x43b367
mov eax, dword [ebp + 8]
add esi, 9
cmp byte [eax], 0
jne 0x43b334
mov esi, dword [ebp - 0x14]
add esi, 2
mov eax, dword [ebp - 0x6c]
mov al, byte [esi + eax]
cmp al, 0x20
jbe 0x43b363
nop
cmp al, 0x7f
jae 0x43b360
mov byte [ebp - 0x74], al
lea ecx, [ebp - 0x90]
push dword [ebp - 0x74]
call fcn.00402910
mov eax, dword [ebp - 0x6c]
inc esi
mov al, byte [esi + eax]
cmp al, 0x20
ja 0x43b340
mov edi, dword [ebp - 0x7c]
mov byte [ebp - 0xe], 1
mov byte [ebp - 4], 0
cmp edi, 0x10
jb 0x43b3a1
mov edx, dword [ebp - 0x90]
lea ecx, [edi + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x43b397
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43b4eb
push ecx
push edx
call fcn.004bafb1
add esp, 8
mov edi, dword [ebp - 0x6c]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0xf
mov byte [ebp - 0x90], 0
jmp 0x43b3ca
push 0
push 0x51a59c
lea ecx, [ebp - 0x34]
call fcn.0045fba0
inc esi
mov dword [ebp - 0x14], esi
cmp esi, dword [ebp - 0x68]
jb 0x43aff2
push edi
call fcn.004baff0
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00402890
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
cmp byte [edx], 0
lea eax, [ecx + 9]
jne 0x43b410
lea eax, [ecx + 2]
xor edx, edx
mov dword [ebp - 0x48], 0
xorps xmm0, xmm0
mov dword [ebp - 0x48], edx
mov ecx, 0xf
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x44], ecx
mov byte [ebp - 0x58], dl
mov byte [ebp - 4], 2
mov edi, dword [ebp - 0x6c]
lea esi, [eax + edi]
mov al, byte [esi]
cmp al, 0x20
jbe 0x43b465
cmp al, 0x7f
jae 0x43b45f
mov byte [ebp - 0x74], al
lea ecx, [ebp - 0x58]
push dword [ebp - 0x74]
call fcn.00402910
mov al, byte [esi + 1]
inc esi
cmp al, 0x20
ja 0x43b445
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x48]
mov esi, dword [ebp - 0x98]
lea eax, [ebp - 0x58]
cmp esi, eax
je 0x43b485
cmp ecx, 0x10
mov ecx, esi
push edx
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.0045fba0
mov ecx, dword [ebp - 0x44]
mov byte [ebp - 4], 1
cmp ecx, 0x10
jb 0x43b4b6
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x43b4ac
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43b4eb
push ecx
push edx
call fcn.004bafb1
add esp, 8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov byte [ebp - 4], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0xf
mov byte [ebp - 0x90], 0
jmp 0x43b3d7
call fcn.00402210
call fcn.004d64b0
int3