Function at 0x2750a184
Capabilities:
Read file on windows

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x88
mov eax, dword [0x275bb04c]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ebx, dword [0x275bb058]
sub esp, 4
mov dword [ebp - 0x3c], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
call edi
mov dword [esp + 4], 0
mov esi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [esp], eax
mov dword [esp + 8], ebx
call esi
mov ecx, dword [0x275bb058]
sub esp, 0xc
mov ebx, eax
lea edx, [eax + ecx]
test ecx, ecx
je 0x2750a1f0
mov byte [eax], 0
add eax, 1
cmp eax, edx
jne 0x2750a1e6
mov dword [esp + 8], 0x104
mov dword [esp + 4], ebx
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ecx, dword [0x275bb03c]
sub esp, 0xc
cmp word [ebx], 0
je 0x2750a674
xor edx, edx
jmp 0x2750a226
mov edx, eax
lea eax, [edx + 1]
cmp word [ebx + eax*2], 0
jne 0x2750a224
add edx, edx
cmp word [ebx + edx], 0x5c
je 0x2750a24a
xor edx, edx
mov word [ebx + eax*2], dx
sub eax, 1
cmp word [ebx + eax*2 - 2], 0x5c
jne 0x2750a239
movsx dx, byte [ecx]
lea eax, [ebx + eax*2]
add ecx, 1
test dl, dl
je 0x2750a269
mov word [eax], dx
movsx dx, byte [ecx]
add eax, 2
add ecx, 1
test dl, dl
jne 0x2750a258
mov dword [esp], ebx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x80
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp + 4], 1
call dword [sym.imp.KERNEL32.dll_CreateFileW]
sub esp, 0x1c
mov ebx, eax
cmp eax, 0xffffffff
je 0x2750a65f
mov eax, dword [0x275bb048]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x44], eax
call eax
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], ebx
call eax
mov edx, dword [0x275bb07c]
sub esp, 8
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x40], edx
call edi
mov edx, dword [ebp - 0x40]
mov dword [esp + 4], 0
mov dword [esp], eax
mov dword [esp + 8], edx
call esi
mov ecx, dword [0x275bb07c]
sub esp, 0xc
mov dword [ebp - 0x40], eax
lea edx, [eax + ecx]
test ecx, ecx
je 0x2750a31e
lea esi, [esi]
mov byte [eax], 0
add eax, 1
cmp eax, edx
jne 0x2750a314
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x48]
mov dword [esp + 0x10], 0
mov dword [esp], ebx
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x40]
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
sub esp, 0x14
test eax, eax
je 0x2750a65f
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x4c], eax
mov eax, dword [0x275bb078]
add ecx, eax
mov dword [ebp - 0x50], eax
mov esi, dword [ecx]
lea ebx, [ecx + 8]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x48], eax
test esi, esi
je 0x2750a3d2
lea eax, [esi - 1]
cmp eax, 2
jbe 0x2750a684
mov edi, esi
movd xmm3, dword [ebp - 0x48]
mov eax, ebx
xor edx, edx
shr edi, 2
pshufd xmm1, xmm3, 0
movdqu xmm0, xmmword [eax]
add edx, 1
add eax, 0x10
paddd xmm0, xmm1
movups xmmword [eax - 0x10], xmm0
cmp edi, edx
jne 0x2750a397
mov eax, esi
and eax, 0xfffffffc
lea ebx, [ebx + eax*4]
cmp esi, eax
je 0x2750a3d2
lea edx, [eax + 1]
mov edi, dword [ebp - 0x48]
add dword [ebx], edi
cmp esi, edx
jbe 0x2750a3d2
add dword [ebx + 4], edi
add eax, 2
cmp esi, eax
jbe 0x2750a3d2
add dword [ebx + 8], edi
mov ebx, dword [0x275bb074]
lea edi, [ecx + ebx]
lea eax, [edi + 1]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
mov eax, dword [ebp - 0x44]
call eax
sub esp, 8
mov esi, eax
test eax, eax
je 0x2750a65f
movsx eax, byte [edi]
add edi, eax
mov dword [ebp - 0x48], eax
lea eax, [edi + 1]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
mov eax, dword [ebp - 0x44]
call eax
sub esp, 8
mov dword [ebp - 0x44], eax
test eax, eax
je 0x2750a65f
movsx ecx, byte [edi]
add edi, ecx
mov dword [ebp - 0x54], ecx
lea eax, [edi + 1]
mov dword [esp], eax
call esi
sub esp, 4
mov edx, eax
test eax, eax
je 0x2750a65f
movsx ecx, byte [edi]
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x28], 0
lea eax, [edi + ecx]
mov dword [ebp - 0x68], ecx
mov esi, dword [eax + 4]
lea edi, [eax + 0xc]
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x5c], esi
mov esi, dword [eax + 8]
mov eax, dword [edx + 0x3c]
add edi, esi
mov ecx, dword [edx + eax + 0x2c]
mov dword [ebp - 0x60], edi
lea edi, [ebp - 0x28]
mov dword [esp + 0xc], edi
mov eax, dword [ebp - 0x44]
mov dword [esp + 8], 0x40
mov dword [esp + 4], esi
mov dword [ebp - 0x6c], ecx
add ecx, edx
mov dword [ebp - 0x3c], ecx
mov dword [esp], ecx
call eax
lea eax, [esi - 1]
mov edx, dword [ebp - 0x64]
sub esp, 0x10
test esi, esi
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x68]
je 0x2750a5e7
add ebx, dword [ebp - 0x50]
mov edi, dword [ebp - 0x48]
mov eax, dword [ebp - 0x48]
lea eax, [eax + ebx + 0xc]
add eax, dword [ebp - 0x54]
lea ebx, [edi + ebx + 0x1c]
add ebx, dword [ebp - 0x54]
mov edi, dword [ebp - 0x3c]
add eax, ecx
add eax, dword [ebp - 0x40]
add ebx, ecx
mov ecx, dword [ebp - 0x6c]
add ebx, dword [ebp - 0x40]
lea edx, [edx + ecx + 0x10]
cmp edi, ebx
setae bl
cmp eax, edx
setae dl
or bl, dl
je 0x2750a68b
cmp dword [ebp - 0x58], 0xe
jbe 0x2750a68b
mov edx, edi
mov edi, dword [ebp - 0x70]
mov ecx, esi
and ecx, 0xfffffff0
add ecx, eax
lea esi, [esi]
lea esi, [esi]
movdqu xmm2, xmmword [eax]
add eax, 0x10
add edx, 0x10
movups xmmword [edx - 0x10], xmm2
cmp eax, ecx
jne 0x2750a504
mov ecx, dword [ebp - 0x58]
mov edx, esi
mov eax, dword [ebp - 0x3c]
and edx, 0xfffffff0
add edi, edx
sub ecx, edx
add eax, edx
cmp edx, esi
je 0x2750a5e7
movzx edx, byte [edi]
mov byte [eax], dl
test ecx, ecx
je 0x2750a5e7
movzx edx, byte [edi + 1]
mov byte [eax + 1], dl
cmp ecx, 1
je 0x2750a5e7
movzx edx, byte [edi + 2]
mov byte [eax + 2], dl
cmp ecx, 2
je 0x2750a5e7
movzx edx, byte [edi + 3]
mov byte [eax + 3], dl
cmp ecx, 3
je 0x2750a5e7
movzx edx, byte [edi + 4]
mov byte [eax + 4], dl
cmp ecx, 4
je 0x2750a5e7
movzx edx, byte [edi + 5]
mov byte [eax + 5], dl
cmp ecx, 5
je 0x2750a5e7
movzx edx, byte [edi + 6]
mov byte [eax + 6], dl
cmp ecx, 6
je 0x2750a5e7
movzx edx, byte [edi + 7]
mov byte [eax + 7], dl
cmp ecx, 7
je 0x2750a5e7
movzx edx, byte [edi + 8]
mov byte [eax + 8], dl
cmp ecx, 8
je 0x2750a5e7
movzx edx, byte [edi + 9]
mov byte [eax + 9], dl
cmp ecx, 9
je 0x2750a5e7
movzx edx, byte [edi + 0xa]
mov byte [eax + 0xa], dl
cmp ecx, 0xa
je 0x2750a5e7
movzx edx, byte [edi + 0xb]
mov byte [eax + 0xb], dl
cmp ecx, 0xb
je 0x2750a5e7
movzx edx, byte [edi + 0xc]
mov byte [eax + 0xc], dl
cmp ecx, 0xc
je 0x2750a5e7
movzx edx, byte [edi + 0xd]
mov byte [eax + 0xd], dl
cmp ecx, 0xd
je 0x2750a5e7
movzx edx, byte [edi + 0xe]
mov byte [eax + 0xe], dl
lea eax, [ebp - 0x28]
mov dword [esp + 4], esi
mov esi, dword [ebp - 0x3c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x40]
add ebx, dword [ebp - 0x4c]
mov dword [esp], esi
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x44]
call eax
mov ecx, dword [ebp - 0x5c]
xor eax, eax
mov edx, dword [0x275bb054]
sub esp, 0x10
add ecx, esi
cmp byte [edx], 0
je 0x2750a680
lea esi, [esi]
nop
mov edx, dword [0x275bb054]
movsx dx, byte [edx + eax]
mov word [ebx + eax*2], dx
mov edx, dword [0x275bb054]
add eax, 1
cmp byte [edx + eax], 0
jne 0x2750a624
lea eax, [ebx + eax*2]
xor edx, edx
mov word [eax], dx
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x1c], 1
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
mov dword [esp], eax
call ecx
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov edx, 0xfffffffe
xor eax, eax
jmp 0x2750a232
mov eax, ebx
jmp 0x2750a645
xor eax, eax
jmp 0x2750a3b9
mov eax, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x70]
lea edx, [eax + esi]
movzx ecx, byte [edi]
add eax, 1
add edi, 1
mov byte [eax - 1], cl
cmp eax, edx
jne 0x2750a694
jmp 0x2750a5e7