Function at 0x442f40
Capabilities:
Get file size

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x57f1c8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, ecx
xor ebx, ebx
push esi
push edi
cmp dword [ebp + 0xb0], ebx
jne 0x442f7d
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
lea eax, [ebp + 0x244]
lea ecx, [esp + 0x14]
push eax
call fcn.00564ae3
mov ecx, dword [ebp + 0x780]
push ebx
push ebx
push 0x1042
push ecx
mov dword [esp + 0x3c], ebx
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, eax
cmp esi, 0xffffffff
je 0x44300d
lea edi, [ebp + 0x764]
push esi
mov ecx, edi
call fcn.0055f999
cmp eax, 1
jne 0x44300d
push ebx
lea edx, [esp + 0x20]
push esi
push edx
mov ecx, edi
call fcn.0055f8f4
push 0x402374
push eax
lea eax, [esp + 0x20]
mov byte [esp + 0x34], 1
push eax
call fcn.00565003
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 2
call fcn.00565186
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 1
call fcn.00564d6e
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 0
call fcn.00564d6e
mov ecx, dword [ebp + 0x6c]
lea eax, [ebp + 0x6c]
cmp dword [ecx - 8], ebx
je 0x443045
push 0x402374
lea edx, [esp + 0x20]
push eax
push edx
call fcn.00565003
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 3
call fcn.00565186
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 0
call fcn.00564d6e
mov eax, dword [ebp + 0xa8]
lea esi, [ebp + 0x70]
add eax, 8
mov ecx, esi
push eax
call fcn.00564ea7
push esi
lea ecx, [esp + 0x14]
call fcn.00564ae3
mov ecx, dword [esp + 0x14]
mov eax, dword [ebp + 0x668]
push ecx
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 4
call fcn.0055db8b
lea edx, [esp + 0x10]
lea ecx, [ebp + 0x64]
push edx
call fcn.00564ea7
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocStringLen
push ebx
mov ecx, esi
call fcn.0056519e
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4430e0
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
call fcn.00564d6e
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], edi
call fcn.00564d6e
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
lea eax, [esp + 0x20]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
push edi
mov dword [ebp + 0x78], esi
mov dword [ebp + 0x7c], ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
lea edi, [eax + 0xa]
push edi
push 0x40
mov dword [esp + 0x20], edi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ecx, edi
mov ebx, eax
mov edx, ecx
xor eax, eax
mov edi, ebx
push 0
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov byte [ebx], 4
mov eax, dword [esp + 0x24]
mov dword [ebx + 1], eax
mov dword [ebx + 5], esi
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x14]
lea edi, [eax + 1]
call fcn.0056519e
mov edx, edi
mov ecx, edx
mov esi, eax
mov eax, ecx
lea edi, [ebx + 9]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x18]
mov edx, dword [ebp + 0x654]
push ecx
mov ecx, dword [ebp + 0x658]
push ebx
push edx
call fcn.00449660
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea eax, [esp + 0x1c]
lea ecx, [ebp + 0xa4]
push eax
call fcn.004456a0
lea ecx, [esp + 0x1c]
call fcn.00564d6e
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
call fcn.00564d6e
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00564d6e
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret