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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40a8c0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0xe0
mov eax, dword [0x410040]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push 0x318
call fcn.00409ac4
mov edi, eax
add esp, 4
mov dword [ebp - 0x98], edi
push pe_nt_image_headers32
lea esi, [edi + 0xc]
mov dword [edi], vtable.CMemScript.0
push 0
push esi
mov dword [edi + 4], 0
mov dword [edi + 8], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [edi + 0x218]
push esi
push str.__s__The_file_were_not_configured_correctly
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov dword [ebp - 0x98], edi
push str.AllowableIpList.txt
push pe_nt_image_headers32
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
add esp, 0xc
push 0
push 0x20
push 3
push 0
push 1
push closesocket
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x90], eax
cmp eax, 0xffffffff
jne 0x40349e
push esi
lea eax, [edi + 0x218]
push str.__s__Could_not_open_file
push eax
mov eax, dword [sym.imp.USER32.dll_wsprintfA]
call eax
add esp, 0xc
jmp 0x403817
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [edi + 8], eax
mov eax, dword [edi + 4]
test eax, eax
je 0x4034c1
push eax
call fcn.00409b17
add esp, 4
mov dword [edi + 4], 0
push dword [edi + 8]
call fcn.00409b1c
add esp, 4
mov dword [edi + 4], eax
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x94], 0
push 0
push ecx
push dword [edi + 8]
push eax
push dword [ebp - 0x90]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4037f4
push dword [ebp - 0x90]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x10c], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi + 0x214], eax
mov ecx, 0x410104
mov esi, dword [0x410104]
push dword [esi + 4]
push 0x410104
call fcn.00403830
mov dword [esi + 4], esi
mov dword [esi], esi
mov dword [esi + 8], esi
mov dword [0x410108], 0
mov dword [ebp - 4], 0
nop dword [eax]
mov ecx, edi
call fcn.004071a0
cmp eax, 2
jne 0x403588
test edi, edi
je 0x403568
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00409857
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
cvttss2si eax, dword [edi + 0x110]
mov dword [ebp - 0x90], eax
test eax, eax
jne 0x403550
mov ecx, edi
call fcn.004071a0
lea esi, [edi + 0x114]
mov eax, 0x40c7b8
mov ecx, esi
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4035d0
test dl, dl
je 0x4035cc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4035d0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4035b0
xor eax, eax
jmp 0x4035d5
sbb eax, eax
or eax, 1
test eax, eax
je 0x403550
push esi
lea eax, [ebp - 0x8c]
push 0x20
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
add esp, 0xc
lea eax, [ebp - 0x8c]
lea ecx, [ebp - 0x34]
push eax
call fcn.00403260
xorps xmm0, xmm0
movups xmmword [ebp - 0x6c], xmm0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xc8], xmm0
movups xmmword [ebp - 0x6c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xa8], xmm0
movq qword [ebp - 0x5c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
movups xmm0, xmmword [ebp - 0x8c]
movups xmmword [ebp - 0xd8], xmm0
movups xmmword [ebp - 0x54], xmm0
movups xmm0, xmmword [ebp - 0x7c]
movups xmmword [ebp - 0xe8], xmm0
movups xmmword [ebp - 0x44], xmm0
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0xf4]
mov ecx, 0x410104
push eax
call fcn.00402d30
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0xb4], xmm0
cmp byte [eax + 0xd], 0
jne 0x40369f
add eax, 0x10
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.00402e30
test al, al
jne 0x40369f
mov esi, dword [ebp - 0x58]
jmp 0x403756
cmp dword [0x410108], 0x38e38e3
je 0x403824
mov eax, dword [0x410104]
mov dword [ebp - 0x94], eax
mov dword [ebp - 0xa0], 0x410104
mov byte [ebp - 4], 3
push 0x48
mov dword [ebp - 0x9c], 0
call fcn.00409ac4
movups xmm0, xmmword [ebp - 0xc8]
mov ecx, dword [ebp - 0x94]
add esp, 4
mov esi, 0xf
mov byte [ebp - 0x6c], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
movups xmmword [eax + 0x10], xmm0
push eax
movq xmm0, qword [ebp - 0xa8]
push dword [ebp - 0xb0]
movq qword [eax + 0x20], xmm0
movups xmm0, xmmword [ebp - 0xd8]
mov dword [ebp - 0x9c], 0
push dword [ebp - 0xb4]
movups xmmword [eax + 0x28], xmm0
movups xmm0, xmmword [ebp - 0xe8]
movups xmmword [eax + 0x38], xmm0
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov ecx, 0x410104
mov word [eax + 0xc], 0
call fcn.00402ed0
mov byte [ebp - 4], 1
cmp esi, 0xf
jbe 0x403789
mov edx, dword [ebp - 0x6c]
lea ecx, [esi + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x40377f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4037b3
push ecx
push edx
call fcn.00409ab6
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x20]
cmp ecx, 0xf
jbe 0x4037c3
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4037b9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4037b9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00409ab6
add esp, 8
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
jmp 0x403596
push esi
lea eax, [edi + 0x218]
push str.__s__Could_not_read_file
push eax
mov eax, dword [sym.imp.USER32.dll_wsprintfA]
call eax
add esp, 0xc
push dword [ebp - 0x90]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, edi
call fcn.004075f0
push eax
call fcn.00409600
call fcn.004030e0
int3