Function at 0x41bd33
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
movdqa xmm0, xmmword [0xaa58c0]
lea ecx, [ebp - 0x44]
push ebx
push esi
push edi
push dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 8], 0xffffffff
push ecx
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x44], eax
push ecx
push eax
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x40], eax
movdqu xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x3c], eax
call fcn.00415220
push 0xfffffffffffffffd
pop eax
mov dword [ebp - 0x10], 0x39d98273
mov dword [ebp - 0xc], 0x2f63069b
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], eax
xor eax, eax
push 3
mov dword [ebp - 0x10], eax
pop edi
jmp 0x41bd9e
mov ecx, dword [ebp - 0x10]
mov dword [ebp + ecx*4 - 0x38], 0x82a1
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], edi
jl 0x41bd90
cmp dword [ebp - 8], eax
je 0x41bdc1
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x44]
mov dword [ecx + 0xc], edx
mov ecx, dword [ebp - 0x34]
imul ecx, dword [ebp - 8]
cmp edx, ecx
jge 0x41bdc1
xor esi, esi
inc esi
jmp 0x41bdc3
mov esi, eax
mov ecx, dword [ebp - 0x34]
xor ebx, ebx
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
cmp edx, ecx
mov ecx, dword [ebp - 0x34]
setl bl
xor edx, edx
cmp ebx, ecx
setl dl
xor ecx, ecx
cmp esi, edx
setge cl
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x34]
add edx, ecx
xor ecx, ecx
cmp edx, 0x4cbe
setle cl
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0xc]
sub edx, ecx
neg edx
sbb edx, edx
inc edx
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp - 0x34]
cmp dword [ebp - 0x10], ecx
jne 0x41be55
mov dword [ebp - 0x18], 0x1c9b6cd0
xor edx, edx
mov dword [ebp - 0x14], 0x1aa2910a
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x24], 0xffffffff
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
cmp ecx, eax
setge dl
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
jmp 0x41bf05
mov dword [ebp - 0x2c], 0x52276c1f
mov byte [ebp - 1], al
cmp byte [ebp - 1], al
je 0x41be6e
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
xor eax, eax
mov dword [ebp - 0xc], edi
cmp dword [ebp - 0xc], eax
jl 0x41bf05
mov dword [ebp - 0x28], 0x1a1f
mov dword [ebp - 8], eax
jmp 0x41bef7
mov dword [ebp - 0x20], 0xf1f3e168
xor ebx, ebx
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x44]
cmp dword [edx], ecx
setl bl
mov dword [edx + esi*4], ebx
mov esi, dword [ebp - 0x20]
sub esi, 0xcc0d6813
add esi, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x38]
neg esi
sbb esi, esi
xor edx, edx
inc esi
cmp esi, ecx
setne dl
xor ecx, ecx
cmp edx, 0x51ad
setle cl
mov dword [ebp - 0x20], ecx
mov byte [ebp - 2], al
cmp byte [ebp - 2], 0
je 0x41bef4
push 0x1e5c
push 0x174a
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
xor eax, eax
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
xor eax, eax
inc dword [ebp - 8]
cmp dword [ebp - 8], edi
jle 0x41be86
dec dword [ebp - 0xc]
jns 0x41be7a
lea ecx, [ebp - 0x44]
call fcn.00413d23
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret