Function at 0x4aa9a0
Capabilities:
Get file size
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5ccf06
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6c56f8]
xor eax, esp
push eax
lea eax, [esp + 0xec]
mov dword fs:[0], eax
mov edi, dword [esp + 0x104]
mov ebx, dword [esp + 0xfc]
xor ebp, ebp
mov dword [esp + 0xf4], ebp
push ebx
mov dword [esp + 0x4c], ebp
call fcn.004aa930
mov dword [esp + 0xf4], ebp
mov eax, dword [esp + 0x10c]
mov ecx, dword [esp + 0x110]
mov edx, eax
and eax, ecx
mov esi, ecx
mov dword [esp + 0x48], 1
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], esi
cmp eax, 0xffffffff
jne 0x4aaa51
mov ecx, dword [esp + 0x100]
lea eax, [esp + 0x24]
push eax
push ecx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x4ab0e7
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], esi
cmp esi, ebp
ja 0x4aaa5d
cmp edx, ebp
jbe 0x4ab0e7
cmp esi, 0xffffffff
ja 0x4ab0e7
jb 0x4aaa71
cmp edx, 0xffffffff
jae 0x4ab0e7
mov eax, dword [edi]
cmp dword [eax], ebp
je 0x4aaa80
cmp dword [eax + 4], ebp
jne 0x4aab1e
cmp esi, ebp
jb 0x4aaa99
ja 0x4aaa8e
cmp edx, 0x10000
jbe 0x4aaa99
mov ecx, 0x10000
mov dword [esp + 0x28], ebp
jmp 0x4aaa9f
mov ecx, edx
mov dword [esp + 0x28], esi
mov edx, dword [esp + 0x100]
push ebp
push ebp
push edx
lea eax, [esp + 0x28]
push eax
call fcn.00486e30
add esp, 0x10
mov ebx, eax
mov dword [esp + 0xf4], 1
mov esi, dword [edi]
add dword [esi + 8], 0xffffffff
jne 0x4aaad9
xor edi, edi
call fcn.0041ad11
mov edi, dword [esp + 0x104]
mov eax, dword [ebx]
inc dword [eax + 8]
mov dword [edi], eax
mov byte [esp + 0xf4], 0
mov eax, dword [esp + 0x1c]
dec dword [eax + 8]
mov esi, eax
add eax, 8
cmp dword [eax], ebp
jne 0x4aab17
xor edi, edi
call fcn.0041ad11
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0058125d
mov edi, dword [esp + 0x108]
add esp, 4
mov dword [esp + 0x1c], ebp
mov ebx, dword [esp + 0xfc]
mov eax, dword [edi]
cmp dword [eax], ebp
je 0x4ab0e7
cmp dword [eax + 4], ebp
je 0x4ab0e7
or ecx, 0xffffffff
push ebp
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ecx
mov ecx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push eax
lea edx, [esp + 0x78]
push edx
mov byte [esp + 0x4c], 1
mov byte [esp + 0x2b], 0
call fcn.0048b1e0
mov dword [esp + 0xf4], 2
lea esi, [esp + 0x6c]
call fcn.0048b2b0
cmp eax, 1
jne 0x4aaf00
mov eax, dword [esp + 0xac]
cmp eax, 1
jne 0x4aab90
mov eax, dword [esp + 0x108]
mov dword [eax], 1
jmp 0x4aab9e
cmp eax, 2
jne 0x4aab9e
mov ecx, dword [esp + 0x108]
mov dword [ecx], eax
cmp dword [esp + 0xa8], 0
mov dword [esp + 0x1c], 0
jbe 0x4aaf00
mov edi, dword [esp + 0x100]
xor ebp, ebp
lea ecx, [ecx]
mov ecx, dword [esp + 0x88]
test ecx, ecx
jne 0x4aabd6
xor esi, esi
mov byte [esp + 0x23], 0
xor bl, bl
jmp 0x4aac49
mov edx, dword [esp + 0x8c]
mov edx, dword [edx + 0x10]
mov esi, dword [ecx + ebp + 0x10]
cmp edx, dword [ecx + ebp + 0xc]
lea eax, [ecx + ebp]
je 0x4aac11
mov ecx, dword [0x6df2ec]
mov edx, dword [ecx - 0xc]
push edx
push ecx
push eax
call fcn.00583302
mov ecx, dword [esp + 0x94]
add esp, 0xc
mov byte [esp + 0x23], 0
test eax, eax
jne 0x4aac16
mov byte [esp + 0x23], 1
test ecx, ecx
jne 0x4aac1e
xor bl, bl
jmp 0x4aac49
test dword [ecx + ebp + 0x24], 0x20000000
lea eax, [ecx + ebp]
jne 0x4aac47
mov ecx, dword [0x6df2f4]
mov edx, dword [ecx - 0xc]
push edx
push ecx
push eax
call fcn.00583302
add esp, 0xc
test eax, eax
je 0x4aac47
xor bl, bl
jmp 0x4aac49
mov bl, 1
test esi, esi
je 0x4aad8f
test bl, bl
jne 0x4aac5f
cmp byte [esp + 0x23], bl
je 0x4aad8f
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x6c]
call fcn.0048b3e0
test al, al
jne 0x4aad8f
lea eax, [esp + 0x4c]
push eax
call fcn.0049d7c0
mov byte [esp + 0xf4], 3
cmp byte [esp + 0x23], 0
je 0x4aacdc
mov eax, dword [esp + 0x88]
test eax, eax
jne 0x4aac9d
or eax, 0xffffffff
jmp 0x4aaca1
mov eax, dword [eax + ebp + 0x14]
push 0
push esi
push 0
push eax
lea ecx, [esp + 0xc8]
push edi
push ecx
call fcn.004ab410
add esp, 0x18
mov byte [esp + 0xf4], 4
push eax
lea edx, [esp + 0x50]
push edx
call fcn.004acb00
mov byte [esp + 0xf4], 3
lea eax, [esp + 0xb8]
jmp 0x4aad2d
test bl, bl
je 0x4aad33
mov eax, dword [esp + 0x88]
test eax, eax
jne 0x4aacf0
or eax, 0xffffffff
jmp 0x4aacf4
mov eax, dword [eax + ebp + 0x14]
push 0
push esi
push 0
push eax
lea ecx, [esp + 0xe0]
push edi
push ecx
call fcn.004ab110
add esp, 0x18
mov byte [esp + 0xf4], 5
push eax
lea edx, [esp + 0x50]
push edx
call fcn.004acb00
mov byte [esp + 0xf4], 3
lea eax, [esp + 0xd0]
push eax
call fcn.004aca80
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x58]
sar eax, 2
test eax, eax
je 0x4aad7d
xor esi, esi
test eax, eax
jbe 0x4aad71
cmp esi, eax
jb 0x4aad51
call fcn.0058204a
mov ecx, dword [esp + 0x58]
lea edi, [ecx + esi*4]
lea eax, [esp + 0x34]
call fcn.004b57a0
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x58]
inc esi
sar eax, 2
cmp esi, eax
jb 0x4aad51
mov edi, dword [esp + 0x100]
mov byte [esp + 0x1b], 1
mov byte [esp + 0xf4], 2
lea edx, [esp + 0x4c]
push edx
call fcn.004aca80
mov eax, dword [esp + 0x1c]
inc eax
add ebp, 0x28
mov dword [esp + 0x1c], eax
cmp eax, dword [esp + 0xa8]
jb 0x4aabc0
cmp byte [esp + 0x1b], 0
je 0x4aaf00
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x6c]
xor edi, edi
push edx
lea ecx, [esp + 0x78]
mov dword [esp + 0x30], edi
mov dword [esp + 0x28], edi
call fcn.0048b550
mov ebp, eax
mov eax, dword [esp + 0x24]
mov ebx, edx
mov dword [esp + 0x68], ebx
cmp eax, edi
je 0x4aae82
mov ecx, dword [esp + 0x1c]
cmp ecx, edi
je 0x4aae82
xor edx, edx
lea esi, [ecx + eax]
cmp edx, dword [esp + 0x30]
ja 0x4aae82
jb 0x4aae0c
cmp esi, dword [esp + 0x2c]
ja 0x4aae82
cmp ecx, 0x100000
jb 0x4aae19
mov ecx, 0x100000
push 0
push eax
mov eax, dword [esp + 0x108]
push eax
lea edx, [esp + 0x30]
push edx
call fcn.00486e30
mov bl, 6
mov byte [esp + 0x104], bl
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.004b5ed0
add esp, 0x18
mov byte [esp + 0xf4], 7
mov edi, dword [esp + 0x114]
call fcn.004084d8
mov byte [esp + 0xf4], bl
lea ecx, [esp + 0x1c]
call fcn.004084b5
mov byte [esp + 0xf4], 2
lea ebx, [esp + 0x24]
call fcn.004170a7
mov ebx, dword [esp + 0x68]
cmp ebx, dword [esp + 0x30]
ja 0x4aaef5
jb 0x4aae90
cmp ebp, dword [esp + 0x2c]
jae 0x4aaef5
mov eax, dword [esp + 0x2c]
sub eax, ebp
cmp eax, 0x4000
jbe 0x4aaea2
mov eax, 0x4000
mov edx, dword [esp + 0x100]
push ebx
push ebp
push edx
lea ecx, [esp + 0x28]
push ecx
mov ecx, eax
call fcn.00486e30
add esp, 0x10
mov byte [esp + 0xf4], 8
lea eax, [esp + 0x1c]
call fcn.004170c4
test al, al
jne 0x4aaedf
lea edi, [esp + 0x1c]
lea eax, [esp + 0x34]
call fcn.004b57a0
jmp 0x4aaee4
mov byte [esp + 0x1b], 0
mov byte [esp + 0xf4], 2
lea ebx, [esp + 0x1c]
call fcn.004170a7
cmp byte [esp + 0x1b], 0
jne 0x4ab064
mov edi, dword [esp + 0x104]
lea eax, [esp + 0x34]
call fcn.004b57a0
mov eax, dword [esp + 0x30]
test eax, eax
ja 0x4aaf94
jb 0x4aaf24
cmp dword [esp + 0x2c], 0x30000
ja 0x4aaf94
test eax, eax
ja 0x4aaf36
cmp dword [esp + 0x2c], 0x10000
jbe 0x4ab064
mov edx, dword [esp + 0x100]
mov ecx, dword [esp + 0x2c]
push 0
push 0x10000
push edx
lea eax, [esp + 0x28]
add ecx, 0xffff0000
push eax
call fcn.00486e30
add esp, 0x10
mov byte [esp + 0xf4], 9
lea eax, [esp + 0x1c]
call fcn.004170c4
test al, al
jne 0x4aaf83
lea edi, [esp + 0x1c]
lea eax, [esp + 0x34]
call fcn.004b57a0
mov byte [esp + 0x1b], 1
mov byte [esp + 0xf4], 2
lea ebx, [esp + 0x1c]
jmp 0x4ab058
mov esi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x30]
mov eax, dword [esp + 0x100]
mov ecx, esi
mov edx, ebp
shrd ecx, edx, 1
shr edx, 1
add ecx, 0xffff8000
adc edx, 0xffffffff
push edx
push ecx
push eax
lea ecx, [esp + 0x30]
push ecx
mov ecx, 0x10000
call fcn.00486e30
add esp, 0x10
mov bl, 0xa
mov byte [esp + 0xf4], bl
mov eax, dword [esp + 0x24]
cmp dword [eax], 0
je 0x4ab04c
cmp dword [eax + 4], 0
je 0x4ab04c
lea edi, [esp + 0x24]
lea eax, [esp + 0x34]
call fcn.004b57a0
mov edx, dword [esp + 0x100]
add esi, 0xffff0000
adc ebp, 0xffffffff
push ebp
push esi
push edx
lea eax, [esp + 0x28]
push eax
mov ecx, 0x10000
call fcn.00486e30
add esp, 0x10
mov byte [esp + 0xf4], 0xb
lea eax, [esp + 0x1c]
call fcn.004170c4
test al, al
jne 0x4ab03c
lea edi, [esp + 0x1c]
lea eax, [esp + 0x34]
call fcn.004b57a0
mov byte [esp + 0x1b], 1
mov byte [esp + 0xf4], bl
lea ebx, [esp + 0x1c]
call fcn.004170a7
mov byte [esp + 0xf4], 2
lea ebx, [esp + 0x24]
call fcn.004170a7
cmp byte [esp + 0x1b], 0
je 0x4ab0cc
cmp byte [esp + 0x3c], 0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
not eax
not ecx
jne 0x4ab0cc
push ecx
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.004ac5d0
add esp, 0xc
mov byte [esp + 0xf4], 0xc
mov ebx, dword [esp + 0xfc]
push eax
call fcn.004a9f70
mov byte [esp + 0xf4], 2
mov eax, dword [esp + 0x24]
dec dword [eax + 8]
mov esi, eax
add eax, 8
cmp dword [eax], 0
jne 0x4ab0cc
xor edi, edi
call fcn.0041ad11
mov edx, dword [esp + 0x24]
push edx
call fcn.0058125d
add esp, 4
mov dword [esp + 0x24], edi
mov byte [esp + 0xf4], 0
lea eax, [esp + 0x6c]
push eax
call fcn.0048b260
mov eax, dword [esp + 0xfc]
jmp 0x4ab0e9
mov eax, ebx
mov ecx, dword [esp + 0xec]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe4
ret