Function at 0x100079f0
Capabilities:
Get file size

Disassembly:
sub esp, 0x18
mov eax, dword [0x10043290]
xor eax, esp
mov dword [esp + 0x14], eax
push ebx
push ebp
mov ebp, dword [esp + 0x24]
push esi
push edi
mov esi, ecx
call fcn.100057b0
push 0x100
lea edi, [esi + 0x1056]
push 0
push edi
call fcn.1001c250
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push 0x100
push edi
mov ecx, esi
call fcn.10005380
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push edi
call ebx
push eax
push edi
push str.JoyMax_File_Manager__n
call ebx
push eax
push str.JoyMax_File_Manager__n
push 0x10001
push 0x400
call dword [sym.imp.KERNEL32.dll_CompareStringA]
sub eax, 2
je 0x10007ae0
mov eax, dword [esi + 0x1617]
test eax, eax
je 0x10007ab0
push str.false
push 0x1003b600
push 1
call eax
add esp, 0xc
test eax, eax
jne 0x10007ac9
mov ecx, dword [esi + 0x161b]
push eax
push 0x1003b2bb
push 0x1003b600
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.1001bfcb
add esp, 0x18
ret 4
mov edx, dword [esi + 0x161b]
push 0
push 0x1003b2bb
push 0x1003b600
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.1001bfcb
add esp, 0x18
ret 4
cmp dword [esi + 0x1074], 0x1000002
je 0x10007b6a
mov eax, dword [esi + 0x1617]
test eax, eax
je 0x10007b3a
push str.false
push 0x1003b5dc
push 1
call eax
add esp, 0xc
test eax, eax
jne 0x10007b53
push eax
mov eax, dword [esi + 0x161b]
push 0x1003b2bb
push 0x1003b5dc
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.1001bfcb
add esp, 0x18
ret 4
mov ecx, dword [esi + 0x161b]
push 0
push 0x1003b2bb
push 0x1003b5dc
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.1001bfcb
add esp, 0x18
ret 4
cmp byte [esi + 0x1078], 0
je 0x10007d29
test ebp, ebp
je 0x10007cab
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10007b84
sub eax, edx
je 0x10007cab
mov eax, ebp
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10007ba0
sub eax, edx
push eax
lea edi, [esi + 4]
push ebp
mov ecx, edi
call fcn.1001b410
push 0x10
lea edx, [esp + 0x18]
push edx
push str.Joymax_Pak_File
mov ecx, edi
call fcn.1001b6e0
movzx eax, byte [esi + 0x1079]
movzx edx, byte [esp + 0x14]
sub eax, edx
lea ecx, [esi + 0x1079]
jne 0x10007c00
movzx eax, byte [ecx + 1]
movzx edx, byte [esp + 0x15]
add ecx, 1
sub eax, edx
jne 0x10007c00
movzx eax, byte [ecx + 1]
add ecx, 1
movzx ecx, byte [esp + 0x16]
sub eax, ecx
je 0x10007c0e
test eax, eax
mov ecx, 1
jg 0x10007c10
or ecx, 0xffffffff
jmp 0x10007c10
xor ecx, ecx
test ecx, ecx
je 0x10007c92
mov eax, dword [esi + 0x1617]
test eax, eax
je 0x10007c62
push str.false
push 0x1003b5c8
push 1
call eax
add esp, 0xc
test eax, eax
jne 0x10007c7b
mov edx, dword [esi + 0x161b]
push eax
push 0x1003b2bb
push 0x1003b5c8
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.1001bfcb
add esp, 0x18
ret 4
mov eax, dword [esi + 0x161b]
push 0
push 0x1003b2bb
push 0x1003b5c8
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.1001bfcb
add esp, 0x18
ret 4
mov dword [esi + 0x1723], 0x10007670
mov dword [esi + 0x1727], 0x10007740
jmp 0x10007d3d
mov eax, dword [esi + 0x1617]
test eax, eax
je 0x10007cf9
push str.false
push 0x1003b5b4
push 1
call eax
add esp, 0xc
test eax, eax
jne 0x10007d12
mov ecx, dword [esi + 0x161b]
push eax
push 0x1003b2bb
push 0x1003b5b4
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.1001bfcb
add esp, 0x18
ret 4
mov edx, dword [esi + 0x161b]
push 0
push 0x1003b2bb
push 0x1003b5b4
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.1001bfcb
add esp, 0x18
ret 4
mov dword [esi + 0x1723], 0x10007570
mov dword [esi + 0x1727], 0x100075f0
mov eax, dword [esi]
mov edx, dword [eax + 0x68]
mov ecx, esi
call edx
mov ecx, dword [esi + 0x1050]
lea eax, [esi + 0x1207]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0x24]
pop edi
mov dword [esi + 0x1203], eax
pop esi
pop ebp
pop ebx
xor ecx, esp
mov al, 1
call fcn.1001bfcb
add esp, 0x18
ret 4