Function at 0x4430b2
Capabilities:
Get file size

Disassembly:
push 0xa8
mov eax, 0x48a8cd
call fcn.00485437
mov eax, dword [ebp + 8]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0xc]
mov edi, ecx
xor ebx, ebx
push 0x78
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x60], edi
mov dword [ebp - 4], ebx
call fcn.00483e3c
pop ecx
mov dword [ebp - 0x68], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x4430f8
push eax
call fcn.00447017
mov dword [ebp - 0x50], eax
jmp 0x4430fd
mov eax, ebx
mov dword [ebp - 0x50], ebx
mov esi, eax
mov dword [ebp - 0x68], esi
mov edx, dword [ebp - 0x54]
mov byte [ebp - 4], 2
test edx, edx
jne 0x443122
mov dword [ebp - 0x7c], 0x810002
push 0x48d91c
lea eax, [ebp - 0x7c]
push eax
call sub.msvcrt.dll__CxxThrowException
test edi, edi
je 0x4435d8
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x4435d8
mov ecx, dword [eax + 8]
cmp ecx, 5
jne 0x44350d
mov ecx, dword [eax]
test ecx, ecx
je 0x4434f3
cmp word [ecx], bx
je 0x4434f3
cmp dword [eax + 4], ebx
je 0x443170
mov dword [ebp - 0x8c], 5
push 0x48daa4
lea eax, [ebp - 0x8c]
jmp 0x44311c
cmp dword [edx + 0x758], 0
mov dword [ebp - 0x58], ebx
jle 0x443193
mov dword [ebp - 0x9c], 5
push 0x48daa4
lea eax, [ebp - 0x9c]
jmp 0x44311c
movzx ecx, word [eax + 0xc]
add edx, 0x4b8
mov dword [ebp - 0x4c], edx
cmp ecx, 0xffffffff
jne 0x4431a8
push 9
pop ecx
mov dword [edx + 0x10], ecx
mov dword [edx + 0x438], ecx
mov byte [edx + 0x219], 1
mov ecx, dword [eax]
lea eax, [ebp - 0x48]
call fcn.0041fbc8
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.00442b27
push 1
xor edi, edi
lea esi, [ebp - 0x48]
mov dword [ebp - 0x58], eax
mov byte [ebp - 4], 2
call fcn.0042081b
cmp dword [ebp - 0x58], edi
jne 0x44335c
mov esi, dword [ebp - 0x50]
mov edi, dword [ebp - 0x5c]
push dword [edi]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x84]
test al, al
je 0x443342
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push dword [edi]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x44323d
mov dword [ebp - 0x98], 0x920003
push 0x48da94
lea eax, [ebp - 0x98]
jmp 0x44311c
lea eax, [ebp - 0xa8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x443327
cmp dword [ebp - 0xa4], 0
jne 0x443327
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esi + 0x48]
mov esi, dword [ebp - 0xa8]
movzx eax, byte [esi + ecx - 1]
shl ax, 8
movzx edx, ax
movzx eax, byte [esi + ecx - 2]
or edx, eax
movzx eax, byte [esi + ecx - 3]
shl ax, 8
movzx eax, ax
shl edx, 0x10
or edx, eax
movzx eax, byte [esi + ecx - 4]
or edx, eax
mov eax, esi
sub eax, edx
add ecx, edx
sub eax, 4
cmp edx, esi
jb 0x4432bc
mov dword [ebp - 0x74], 0x920003
push 0x48da94
lea eax, [ebp - 0x74]
jmp 0x44311c
push eax
push ecx
mov byte [ebp - 4], 0xd
push dword [ebp - 0x4c]
call fcn.0044fa29
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x50]
mov edi, dword [ebp - 0x64]
mov esi, ebx
mov ebx, dword [ebp - 0x54]
mov dword [edi + 4], eax
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x64]
push eax
add ebx, 0x754
mov dword [ebp - 0x68], esi
call fcn.00444b28
jmp 0x443490
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x6c], 0x920003
push 0x48da94
lea eax, [ebp - 0x6c]
jmp 0x44311c
mov dword [ebp - 0x88], 0x920003
push 0x48da94
lea eax, [ebp - 0x88]
jmp 0x44311c
push 0x34
mov byte [ebp - 4], 4
call fcn.00483e3c
mov esi, eax
pop ecx
mov dword [ebp - 0x50], esi
mov byte [ebp - 4], 5
test esi, esi
je 0x4433aa
or dword [esi + 0xc], 0xffffffff
lea eax, [esi + 0x14]
push eax
mov dword [esi], 0x4111a4
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0x10], ebx
call fcn.00446b39
xor eax, eax
mov dword [esi + 0x24], 1
mov byte [esi + 0x28], bl
mov dword [esi + 0x2c], 7
mov word [esi + 0x30], ax
jmp 0x4433ac
mov esi, ebx
mov dword [ebp - 0x50], esi
mov byte [ebp - 4], 6
mov eax, dword [esi]
push ebx
push dword [ebp - 0x58]
mov ecx, esi
call dword [eax + 0xc]
test eax, eax
jne 0x4433df
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x84], 0x860003
push 0x48da94
lea eax, [ebp - 0x84]
jmp 0x44311c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov edi, eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
push edi
push eax
push dword [ebp - 0x4c]
call fcn.0044fa29
mov eax, dword [esi]
push esi
call dword [eax + 8]
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x2c], 0x410e34
mov dword [ebp - 0x1c], eax
mov ebx, eax
lea edi, [ebp - 0x58]
mov byte [ebp - 4], 7
call fcn.00444bb7
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1c]
mov edi, eax
mov dword [ebp - 0x4c], edi
test ecx, ecx
je 0x44343d
mov edx, dword [ecx]
mov eax, ebx
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0xc]
mov esi, dword [ebp - 0x54]
lea eax, [ebp - 0x4c]
push eax
lea ebx, [esi + 0x754]
mov byte [ebp - 4], 8
call fcn.00444b28
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0x64]
mov byte [ebp - 4], 0xa
mov ebx, dword [ebp - 0x5c]
mov dword [eax + 4], edi
push dword [ebx]
mov edi, esi
call fcn.00444433
push dword [ebx]
push esi
call fcn.004444c2
mov edi, dword [ebp - 0x64]
jmp 0x443486
mov dword [ebp - 4], 2
mov esi, dword [ebp - 0x68]
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 0x8f0]
mov word [edi + 0x14], ax
mov eax, dword [edi]
mov dword [edi + 0x10], 1
test eax, eax
je 0x4435c3
cmp dword [edi + 8], 0
jbe 0x4435c3
xor ecx, ecx
mov word [eax], cx
jmp 0x4435c3
mov dword [ebp - 0x90], 2
push 0x48daa4
lea eax, [ebp - 0x90]
jmp 0x44311c
cmp ecx, 3
je 0x44352b
cmp ecx, 4
je 0x44352b
mov dword [ebp - 0x70], 2
push 0x48daa4
lea eax, [ebp - 0x70]
jmp 0x44311c
push 0x24
call fcn.00483e3c
pop ecx
mov ecx, eax
mov dword [ebp - 0x60], ecx
mov byte [ebp - 4], 0xf
test ecx, ecx
je 0x443553
mov eax, dword [ebp - 0x5c]
push dword [eax + 8]
push ecx
call fcn.004485e9
mov ecx, eax
mov dword [ebp - 0x4c], ecx
jmp 0x443558
mov ecx, ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x60], ecx
mov byte [ebp - 4], 0x10
mov edx, dword [edi + 8]
mov eax, dword [edi]
test edx, edx
je 0x443580
test eax, eax
jne 0x443584
mov dword [ebp - 0x78], 2
push 0x48daa4
lea eax, [ebp - 0x78]
jmp 0x44311c
test eax, eax
je 0x44358d
test edx, edx
je 0x44358d
xor edx, edx
mov word [eax], dx
mov dword [edi + 4], ecx
mov dword [edi + 0xc], ebx
mov eax, dword [ecx + 0x1c]
mov al, byte [eax + 0x26]
movzx eax, al
mov dword [edi + 0x10], eax
mov eax, dword [ecx]
call dword [eax + 0x14]
mov word [edi + 0x14], ax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x60], ebx
mov ebx, dword [ebp - 0x54]
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x5c]
push eax
lea ebx, [ebx + 0x764]
call fcn.00444b28
mov byte [ebp - 4], 0
test esi, esi
je 0x4435d4
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 0xc]
xor eax, eax
jmp 0x44361f
mov dword [ebp - 0x80], 2
push 0x48daa4
lea eax, [ebp - 0x80]
jmp 0x44311c
call fcn.004854a2
ret 8