Function at 0x10026ee
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x464
mov eax, dword [0x1005004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
xor ebx, ebx
push esi
push edi
xor esi, esi
inc esi
push ebx
mov dword [ebp - 0x458], eax
mov dword [ebp - 0x420], ebx
mov dword [ebp - 0x440], ebx
mov dword [ebp - 0x464], ebx
mov dword [ebp - 0x42c], ebx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x418], 0xffff
mov dword [ebp - 0x41c], ebx
mov dword [ebp - 0x410], ebx
mov dword [ebp - 0x414], ebx
mov dword [ebp - 0x45c], ebx
mov dword [ebp - 0x444], ebx
mov dword [ebp - 0x450], esi
mov dword [ebp - 0x454], ebx
mov dword [ebp - 0x43c], ebx
mov dword [ebp - 0x44c], ebx
mov dword [ebp - 0x424], ebx
mov dword [ebp - 0x448], ebx
call dword [sym.imp.KERNEL32.dll_SetThreadUILanguage]
push ebx
push ebx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
cmp dword [ebp + 8], esi
mov edi, dword [sym.imp.msvcrt.dll__wcsicmp]
mov dword [ebp - 0x428], esi
jle 0x1002872
mov dword [ebp - 0x434], 2
mov ecx, dword [ebp - 0x428]
mov eax, dword [ebp - 0x458]
lea eax, [eax + ecx*4]
push 0x10017c4
push dword [eax]
mov dword [ebp - 0x438], eax
call edi
pop ecx
pop ecx
test eax, eax
jne 0x100282d
mov eax, dword [ebp + 8]
cmp dword [ebp - 0x434], eax
jge 0x10028c5
mov eax, dword [ebp - 0x458]
mov ecx, dword [ebp - 0x428]
mov eax, dword [eax + ecx*4 + 4]
cmp word [eax], 0x2f
je 0x10028c5
lea ecx, [ebp - 0x410]
push ecx
push eax
call fcn.0100231f
cmp dword [ebp - 0x410], 2
mov dword [0x1005020], eax
je 0x100377c
inc dword [ebp - 0x428]
inc dword [ebp - 0x434]
xor esi, esi
xor ebx, ebx
inc esi
jmp 0x100284f
mov eax, dword [ebp - 0x438]
push 0x10017b4
push dword [eax]
call edi
pop ecx
pop ecx
test eax, eax
jne 0x100284f
or dword [0x100501c], 0x20
mov dword [ebp - 0x444], esi
inc dword [ebp - 0x428]
mov eax, dword [ebp - 0x428]
inc dword [ebp - 0x434]
cmp eax, dword [ebp + 8]
jl 0x10027ae
cmp dword [ebp - 0x410], ebx
jne 0x100287d
push dword [0x1005020]
call fcn.010019d9
call dword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
push eax
push 0x10017b0
lea eax, [ebp - 0xc]
push 6
push eax
call sub.msvcrt.dll_sprintf_s
lea eax, [ebp - 0xc]
push eax
push ebx
call dword [sym.imp.msvcrt.dll_setlocale]
add esp, 0x18
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [0x1005018], eax
cmp eax, ebx
jne 0x10028d6
push 0x1001770
call fcn.01001d54
pop ecx
push 2
pop eax
jmp 0x1003828
push ebx
call fcn.01001d97
mov dword [ebp - 0x410], esi
jmp 0x100377c
cmp dword [ebp + 8], esi
mov dword [ebp - 0x428], esi
jle 0x100290e
mov eax, dword [ebp - 0x458]
mov ecx, dword [ebp - 0x428]
push 0x1001768
push dword [eax + ecx*4]
call edi
pop ecx
pop ecx
test eax, eax
je 0x1002921
inc dword [ebp - 0x428]
mov eax, dword [ebp - 0x428]
cmp eax, dword [ebp + 8]
jl 0x10028e1
cmp dword [ebp + 8], 2
jge 0x1002927
push ebx
call fcn.01001d97
mov eax, esi
jmp 0x1003828
push ebx
jmp 0x1003777
call fcn.01001ba3
cmp eax, 0x80070005
jne 0x1002944
push 7
call fcn.01001d97
mov eax, 0x2e4
jmp 0x1003828
cmp dword [ebp + 8], esi
mov ebx, esi
jle 0x1002f54
cmp dword [ebp - 0x430], 0
je 0x1002964
push dword [ebp - 0x430]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x458]
lea eax, [eax + ebx*4]
mov dword [ebp - 0x438], eax
mov eax, dword [eax]
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x1002978
sub eax, ecx
sar eax, 1
lea esi, [eax + eax + 2]
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x430], eax
test eax, eax
je 0x1002f58
mov eax, dword [ebp - 0x438]
push dword [eax]
shr esi, 1
push esi
push dword [ebp - 0x430]
call sub.msvcrt.dll_wcscpy_s
push 0x1001750
push dword [ebp - 0x430]
call edi
add esp, 0x14
test eax, eax
jne 0x10029e6
cmp dword [ebp - 0x414], eax
jne 0x1002f72
mov dword [ebp - 0x414], 0x12e
jmp 0x1002f41
mov esi, dword [ebp - 0x430]
push 0x100173c
push esi
call edi
pop ecx
pop ecx
test eax, eax
jne 0x1002a15
cmp dword [ebp - 0x414], eax
jne 0x1002f72
mov dword [ebp - 0x414], 0x12f
jmp 0x1002f41
push 0x1001718
push esi
call edi
pop ecx
pop ecx
test eax, eax
jne 0x1002a3e
cmp dword [ebp - 0x414], eax
jne 0x1002f72
mov dword [ebp - 0x414], 0x141
jmp 0x1002f41
push 0x1001708
push esi
call edi
pop ecx
pop ecx
test eax, eax
jne 0x1002a67
cmp dword [ebp - 0x414], eax
jne 0x1002f72
mov dword [ebp - 0x414], 1
jmp 0x1002f41
push 0x10016f8
push esi
call edi
pop ecx
pop ecx
test eax, eax
jne 0x1002a90
cmp dword [ebp - 0x414], eax
jne 0x1002f72
mov dword [ebp - 0x414], 6
jmp 0x1002f41
push 0x10016e4
push esi
call edi
pop ecx
pop ecx
test eax, eax
jne 0x1002af4
cmp dword [ebp - 0x414], eax
jne 0x1002f72
push 2
inc ebx
cmp ebx, dword [ebp + 8]
pop esi
mov dword [ebp - 0x414], esi
jge 0x1002f8c
mov eax, dword [ebp - 0x438]
mov eax, dword [eax + 4]
cmp word [eax], 0x2f
je 0x1002f8c
lea ecx, [ebp - 0x410]
push ecx
push eax
call fcn.0100231f
cmp dword [ebp - 0x410], esi
mov dword [ebp - 0x420], eax
je 0x100377c
jmp 0x1002f41
push 0x10016d0
push esi
call edi
pop ecx
pop ecx
test eax, eax
jne 0x1002b50
cmp dword [ebp - 0x414], eax
jne 0x1002f72
push 3
inc ebx
cmp ebx, dword [ebp + 8]
pop ecx
mov dword [ebp - 0x414], ecx
jge 0x1002f8f
mov eax, dword [ebp - 0x438]
mov eax, dword [eax + 4]
cmp word [eax], 0x2f
je 0x1002f8f
lea ecx, [ebp - 0x410]
push ecx
push eax
call fcn.0100231f
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x410], 2
jmp 0x1002ae9
push 0x10016b0
push esi
call edi
pop ecx
pop ecx
test eax, eax
je 0x1002f72
push 0x10016a0
push esi
call edi
pop ecx
pop ecx
test eax, eax
jne 0x1002c1d
cmp dword [ebp - 0x414], eax
jne 0x1002f72
push 5
lea esi, [ebx + 1]
cmp esi, dword [ebp + 8]
pop ecx
mov dword [ebp - 0x414], ecx
jge 0x1002f8f
mov ebx, dword [ebp - 0x438]
mov eax, dword [ebx + 4]
cmp word [eax], 0x2f
je 0x1002f8f
push 0x1001698
push eax
call edi
pop ecx
pop ecx
test eax, eax
jne 0x1002bc2
mov dword [ebp - 0x424], 0x12e
jmp 0x1002c16
push 0x1001690
push dword [ebx + 4]
call edi
pop ecx
pop ecx
test eax, eax
jne 0x1002bde
mov dword [ebp - 0x424], 0x132
jmp 0x1002c16
push 0x1001688
push dword [ebx + 4]
call edi
pop ecx
pop ecx
test eax, eax
je 0x1002c0c
push 0x1001678
push dword [ebx + 4]
call edi
pop ecx
pop ecx
test eax, eax
jne 0x1002f92
mov dword [ebp - 0x448], 1
mov dword [ebp - 0x424], 0x12f
mov ebx, esi
jmp 0x1002f41
push 0x1001668
push esi
call edi
pop ecx
pop ecx
test eax, eax
jne 0x1002c3a
mov dword [ebp - 0x45c], 1
jmp 0x1002f41
push 0x1001654
push esi
call edi
pop ecx
pop ecx
test eax, eax
je 0x1002f41
mov esi, dword [ebp - 0x430]
push 0x10017b4
push esi
call edi
pop ecx
pop ecx
test eax, eax
jne 0x1002c6f
mov dword [ebp - 0x444], 1
jmp 0x1002f41
push 0x100163c
push esi
call edi
pop ecx
pop ecx
test eax, eax
jne 0x1002c88
and dword [ebp - 0x450], eax
jmp 0x1002f41
push 0x1001620
push esi
call edi
pop ecx
pop ecx
test eax, eax
jne 0x1002ca5
mov dword [ebp - 0x448], 1
jmp 0x1002f41
push 0x100160c
push esi
call edi
pop ecx
pop ecx
test eax, eax
je 0x1002f41
mov esi, dword [ebp - 0x430]
push 0x1001600
push esi
call edi
pop ecx
pop ecx
test eax, eax
jne 0x1002d30
inc ebx
cmp ebx, dword [ebp + 8]
jge 0x1002f72
mov eax, dword [ebp - 0x438]
mov eax, dword [eax + 4]
cmp word [eax], 0x2f
je 0x1002f72
lea ecx, [ebp - 0x410]
push ecx
push eax
call fcn.0100231f
cmp dword [ebp - 0x410], 2
mov dword [ebp - 0x420], eax
je 0x1002d25
cmp dword [ebp - 0x414], 6
jne 0x1002f41
test eax, eax
je 0x1002d25
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1002f41
push dword [ebp - 0x414]
jmp 0x1003777
push 0x10015f4
push esi
call edi
pop ecx
pop ecx
test eax, eax
jne 0x1002d73
inc ebx
cmp ebx, dword [ebp + 8]
jge 0x1002f72
mov eax, dword [ebp - 0x438]
mov eax, dword [eax + 4]
cmp word [eax], 0x2f
je 0x1002f72
lea ecx, [ebp - 0x410]
push ecx
push eax
call fcn.0100231f
mov dword [ebp - 0x440], eax
jmp 0x1002b47
push 0x10015ec
push esi
call edi
pop ecx
pop ecx
test eax, eax
jne 0x1002db6
inc ebx
cmp ebx, dword [ebp + 8]
jge 0x1002f72
mov eax, dword [ebp - 0x438]
mov eax, dword [eax + 4]
cmp word [eax], 0x2f
je 0x1002f72
lea ecx, [ebp - 0x410]
push ecx
push eax
call fcn.0100231f
mov dword [ebp - 0x42c], eax
jmp 0x1002b47
push 0x10015dc
push esi
call edi
pop ecx
pop ecx
test eax, eax
jne 0x1002f1e
and dword [ebp - 0x418], eax
lea eax, [ebx + 1]
mov dword [ebp - 0x464], 1
mov dword [ebp - 0x460], ebx
cmp eax, dword [ebp + 8]
jae 0x1002f16
mov dword [ebp - 0x428], eax
mov eax, dword [ebp - 0x438]
add eax, 4
mov dword [ebp - 0x434], eax
mov eax, dword [ebp - 0x434]
mov eax, dword [eax]
cmp word [eax], 0x2f
je 0x1002f16
push dword [ebp - 0x430]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x434]
mov eax, dword [eax]
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x1002e28
sub eax, ecx
sar eax, 1
lea esi, [eax + eax + 2]
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
mov dword [ebp - 0x430], ebx
test ebx, ebx
je 0x1002f58
mov eax, dword [ebp - 0x434]
push dword [eax]
shr esi, 1
push esi
push ebx
call sub.msvcrt.dll_wcscpy_s
push 0x10015bc
push ebx
call edi
add esp, 0x14
test eax, eax
jne 0x1002e7c
or dword [ebp - 0x418], 1
jmp 0x1002ef4
push 0x10015a4
push ebx
call edi
pop ecx
pop ecx
test eax, eax
jne 0x1002e93
or dword [ebp - 0x418], 4
jmp 0x1002ef4
push 0x100158c
push ebx
call edi
pop ecx
pop ecx
test eax, eax
jne 0x1002eaa
or dword [ebp - 0x418], 8
jmp 0x1002ef4
push 0x100157c
push ebx
call edi
pop ecx
pop ecx
test eax, eax
jne 0x1002ec1
or dword [ebp - 0x418], 0x20
jmp 0x1002ef4
push 0x1001568
push ebx
call edi
pop ecx
pop ecx
test eax, eax
jne 0x1002ed8
or dword [ebp - 0x418], 0x40
jmp 0x1002ef4
push 0x1001554
push ebx
call edi
pop ecx
pop ecx
test eax, eax
jne 0x1002f72
or dword [ebp - 0x418], 0x80
inc dword [ebp - 0x460]
add dword [ebp - 0x434], 4
inc dword [ebp - 0x428]
mov eax, dword [ebp - 0x428]
cmp eax, dword [ebp + 8]
jb 0x1002dff
mov ebx, dword [ebp - 0x460]
jmp 0x1002f41
push 0x10017c4
push esi
call edi
pop ecx
pop ecx
test eax, eax
jne 0x1002f72
inc ebx
cmp ebx, dword [ebp + 8]
jge 0x1002f72
mov eax, dword [ebp - 0x438]
mov eax, dword [eax + 4]
cmp word [eax], 0x2f
je 0x1002f72
inc ebx
cmp ebx, dword [ebp + 8]
jl 0x100294f
cmp dword [ebp - 0x414], 0
jne 0x1002f96
push 0
jmp 0x1002f78
push 0x100152c
call fcn.01001d54
pop ecx
mov dword [ebp - 0x410], 2
jmp 0x100377c
push dword [ebp - 0x414]
call fcn.01001d97
mov dword [ebp - 0x410], 1
jmp 0x100377c
push esi
jmp 0x1002f78
push ecx
jmp 0x1002f78
push 5
jmp 0x1002f78
push 1
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
cmp dword [ebp - 0x45c], ebx
je 0x1002fb5
or dword [0x100501c], 0x80
jmp 0x1002fbc
or dword [0x100501c], 0x10
mov eax, dword [ebp - 0x414]
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
cmp eax, 5
ja 0x100331c
je 0x10032dd
dec eax
je 0x1003204
dec eax
je 0x1003068
dec eax
je 0x1002ff4
dec eax
je 0x10035f5
jmp 0x100333c
mov dword [ebp - 0x41c], ebx
cmp dword [ebp - 0x420], ebx
je 0x1003061
push dword [ebp - 0x420]
call sub.SCECLI.dll_SceRegisterRegValues
mov dword [ebp - 0x41c], eax
cmp eax, 8
je 0x10035eb
cmp eax, ebx
je 0x100302f
mov dword [ebp - 0x410], 1
jmp 0x10035f5
push 0x100
lea eax, [ebp - 0x20c]
push eax
push 0x1bcb
push dword [0x1005018]
call esi
push dword [ebp - 0x420]
lea eax, [ebp - 0x20c]
push eax
call fcn.01001d54
pop ecx
pop ecx
jmp 0x10035f5
push 3
jmp 0x100376d
mov dword [ebp - 0x41c], ebx
cmp dword [ebp - 0x420], ebx
je 0x10031fd
lea eax, [ebp - 0x454]
push eax
push 1
push dword [ebp - 0x420]
call sub.SCECLI.dll_SceOpenProfile
mov edi, eax
mov dword [ebp - 0x41c], edi
cmp edi, ebx
jne 0x1003177
cmp dword [ebp - 0x454], ebx
je 0x1003177
lea eax, [ebp - 0x44c]
push eax
lea eax, [ebp - 0x43c]
push eax
push 0xffff
push 0x12e
push dword [ebp - 0x454]
call sub.SCECLI.dll_SceGetSecurityProfileInfo
mov edi, eax
mov dword [ebp - 0x41c], edi
cmp edi, ebx
jne 0x1003110
cmp dword [ebp - 0x44c], ebx
je 0x1003110
push 0x100
lea eax, [ebp - 0x20c]
push eax
push 0x1c15
push dword [0x1005018]
call esi
lea eax, [ebp - 0x20c]
push eax
push ebx
call fcn.01001e4c
push 3
pop edi
mov dword [ebp - 0x41c], edi
mov esi, dword [ebp - 0x44c]
jmp 0x100312a
mov eax, dword [esi]
cmp eax, ebx
je 0x1003127
push eax
push dword [esi + 4]
call fcn.01001e4c
mov esi, dword [esi + 8]
cmp esi, ebx
jne 0x1003118
push 0x13e
push dword [ebp - 0x44c]
call sub.SCECLI.dll_SceFreeMemory
mov dword [ebp - 0x44c], ebx
cmp dword [ebp - 0x43c], ebx
je 0x1003169
push dword [ebp - 0x418]
push dword [ebp - 0x43c]
call sub.SCECLI.dll_SceFreeMemory
push dword [ebp - 0x43c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea eax, [ebp - 0x454]
push eax
call sub.SCECLI.dll_SceCloseProfile
jmp 0x10031af
push 0x100
lea eax, [ebp - 0x20c]
push eax
cmp edi, 0xc
jne 0x100318f
push 0x1bc3
jmp 0x1003194
push 0x1bbd
push dword [0x1005018]
call esi
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.010018c5
push eax
call fcn.01001e4c
cmp edi, 8
je 0x10031c9
cmp edi, 0xd
je 0x10031c9
cmp edi, ebx
je 0x10031db
mov dword [ebp - 0x410], 1
jmp 0x10031d3
mov dword [ebp - 0x410], 2
cmp edi, ebx
jne 0x10035f5
push 0x100
lea eax, [ebp - 0x20c]
push eax
push 0x1bbe
push dword [0x1005018]
call dword [sym.imp.USER32.dll_LoadStringW]
jmp 0x1003048
push 2
jmp 0x100376d
cmp dword [ebp - 0x420], ebx
je 0x10032ce
cmp dword [ebp - 0x42c], ebx
jne 0x100327c
cmp dword [ebp - 0x448], ebx
jne 0x100327c
push ebx
lea eax, [ebp - 0x43c]
push eax
push dword [ebp - 0x418]
push 0x12c
push ebx
call sub.SCECLI.dll_SceGetSecurityProfileInfo
mov dword [ebp - 0x41c], eax
cmp eax, ebx
jne 0x1003261
push ebx
push dword [ebp - 0x43c]
push dword [ebp - 0x418]
push dword [ebp - 0x420]
call sub.SCECLI.dll_SceWriteSecurityProfileInfo
mov dword [ebp - 0x41c], eax
cmp dword [ebp - 0x43c], ebx
je 0x10032a6
push dword [ebp - 0x43c]
call sub.SCECLI.dll_SceFreeProfileMemory
mov dword [ebp - 0x43c], ebx
jmp 0x10032a6
push dword [ebp - 0x418]
push dword [0x1005020]
push dword [ebp - 0x420]
push dword [ebp - 0x448]
push dword [ebp - 0x42c]
push ebx
call sub.SCECLI.dll_SceSetupGenerateTemplate
mov dword [ebp - 0x41c], eax
cmp dword [ebp - 0x41c], 8
je 0x10035eb
cmp dword [ebp - 0x41c], 0x420
je 0x10035eb
cmp dword [ebp - 0x41c], ebx
jmp 0x10035db
xor eax, eax
inc eax
mov dword [ebp - 0x410], eax
push eax
jmp 0x1003777
cmp dword [ebp - 0x418], ebx
jne 0x10032ef
mov dword [ebp - 0x418], 0xffff
push 0x100221b
push dword [ebp - 0x448]
push dword [ebp - 0x418]
push dword [ebp - 0x424]
push dword [ebp - 0x42c]
call sub.SCECLI.dll_SceBrowseDatabaseTable
mov dword [ebp - 0x424], ebx
jmp 0x10035c7
sub eax, 6
je 0x1003549
sub eax, 0x128
je 0x100348e
dec eax
je 0x1003409
sub eax, 0x12
je 0x100335c
push dword [ebp - 0x414]
mov dword [ebp - 0x41c], ebx
mov dword [ebp - 0x410], 1
call fcn.01001d97
jmp 0x10035f5
cmp dword [ebp - 0x464], ebx
je 0x100337a
test dword [ebp - 0x418], 0xffffff72
je 0x100337a
push 0x141
jmp 0x1002f78
cmp dword [ebp - 0x420], ebx
je 0x1003370
cmp dword [ebp - 0x440], ebx
je 0x1003370
push dword [ebp - 0x440]
push dword [ebp - 0x420]
call edi
pop ecx
pop ecx
test eax, eax
je 0x1003370
cmp dword [ebp - 0x444], ebx
jne 0x10033b3
call fcn.0100213c
test eax, eax
je 0x100352a
push 0x100
lea eax, [ebp - 0x20c]
push eax
push 0x1c17
push dword [0x1005018]
call esi
lea eax, [ebp - 0x20c]
push eax
call fcn.01001d54
pop ecx
lea eax, [ebp - 0x424]
push eax
push dword [ebp - 0x418]
push dword [0x100501c]
push dword [0x1005020]
push dword [ebp - 0x440]
push dword [ebp - 0x420]
push ebx
call sub.SCECLI.dll_SceGenerateRollback
jmp 0x100351f
cmp dword [ebp - 0x45c], ebx
jne 0x100341b
mov dword [ebp - 0x418], 0xffff
or dword [0x100501c], 1
cmp dword [ebp - 0x42c], ebx
je 0x100346f
push dword [ebp - 0x42c]
call sub.SCECLI.dll_SceIsSystemDatabase
test eax, eax
jne 0x100346f
lea eax, [ebp - 0x424]
push eax
push ebx
push 0x1001ee3
push dword [ebp - 0x418]
push dword [0x100501c]
push dword [0x1005020]
push dword [ebp - 0x42c]
push dword [ebp - 0x420]
push ebx
call sub.SCECLI.dll_SceAnalyzeSystem
jmp 0x100351f
push 0x12f
mov dword [ebp - 0x41c], 1
call fcn.01001d97
mov dword [ebp - 0x414], ebx
jmp 0x10035f5
cmp dword [ebp - 0x42c], ebx
je 0x100353f
push dword [ebp - 0x42c]
call sub.SCECLI.dll_SceIsSystemDatabase
test eax, eax
jne 0x100353f
cmp dword [ebp - 0x450], ebx
je 0x10034c6
cmp dword [ebp - 0x420], ebx
je 0x10034c6
or dword [0x100501c], 2
jmp 0x10034ee
or dword [0x100501c], 1
cmp dword [ebp - 0x450], ebx
jne 0x10034ee
cmp dword [ebp - 0x420], ebx
je 0x10034ee
cmp dword [ebp - 0x444], ebx
jne 0x10034ee
call fcn.01002019
cmp eax, ebx
je 0x100352a
lea eax, [ebp - 0x424]
push eax
push ebx
push 0x1001ee3
push dword [ebp - 0x418]
push dword [0x100501c]
push dword [0x1005020]
push dword [ebp - 0x42c]
push dword [ebp - 0x420]
push ebx
call sub.SCECLI.dll_SceConfigureSystem
mov dword [ebp - 0x41c], eax
jmp 0x10035f5
mov dword [ebp - 0x41c], ebx
mov dword [ebp - 0x424], 0x4d3
jmp 0x100377c
push 0x12e
jmp 0x1003474
cmp dword [ebp - 0x420], ebx
je 0x100376b
cmp dword [ebp - 0x42c], ebx
je 0x100376b
cmp dword [ebp - 0x450], ebx
jne 0x10035e2
cmp dword [ebp - 0x444], ebx
jne 0x1003576
call fcn.01002019
or dword [0x100501c], 1
cmp dword [ebp - 0x418], ebx
jne 0x100358f
mov dword [ebp - 0x418], 0xffff
test byte [0x100501c], 2
lea eax, [ebp - 0x424]
push eax
push ebx
push 0x1001ee3
push dword [ebp - 0x418]
push 0
pop eax
setne al
inc eax
or eax, 0x50
push eax
push ebx
push dword [ebp - 0x42c]
push dword [ebp - 0x420]
push ebx
call sub.SCECLI.dll_SceConfigureSystem
mov dword [ebp - 0x41c], eax
cmp eax, 8
je 0x10035eb
cmp eax, 0x420
je 0x10035eb
cmp eax, ebx
je 0x10035f5
jmp 0x1003020
or dword [0x100501c], 2
jmp 0x100357d
mov dword [ebp - 0x410], 2
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
mov eax, dword [ebp - 0x414]
cmp eax, 0x12e
je 0x1003628
cmp eax, 0x12f
je 0x1003628
cmp eax, 1
je 0x1003628
cmp eax, 5
je 0x1003628
cmp eax, 0x141
jne 0x100377c
xor ebx, ebx
push 0x1001490
call fcn.01001d54
pop ecx
cmp dword [ebp - 0x41c], ebx
jne 0x1003650
mov esi, dword [ebp - 0x424]
neg esi
sbb esi, esi
and esi, 3
add esi, 0x1bbc
jmp 0x1003667
push ebx
push dword [ebp - 0x41c]
call fcn.010018c5
push eax
call fcn.01001e4c
mov esi, 0x1bc0
mov edi, dword [sym.imp.USER32.dll_LoadStringW]
push 0x100
lea eax, [ebp - 0x20c]
push eax
push esi
push dword [0x1005018]
call edi
cmp esi, 0x1bbf
jne 0x1003703
xor eax, eax
cmp dword [ebp - 0x424], 2
mov word [ebp - 0x40c], ax
jb 0x10036d4
cmp dword [ebp - 0x424], 3
jbe 0x10036c1
cmp dword [ebp - 0x424], 0x20
jne 0x10036d4
push 0x100
lea eax, [ebp - 0x40c]
push eax
push 0x1bd5
jmp 0x10036e5
push 0x100
lea eax, [ebp - 0x40c]
push eax
push 0x1bd4
jmp 0x10036e5
push 0x100
lea eax, [ebp - 0x40c]
push eax
push 0x1bd6
push dword [0x1005018]
call edi
lea eax, [ebp - 0x40c]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.01001d54
pop ecx
jmp 0x100370f
lea eax, [ebp - 0x20c]
push eax
call fcn.01001d54
pop ecx
cmp dword [ebp - 0x444], ebx
jne 0x100377c
cmp dword [0x1005020], 0
push 0x100
lea eax, [ebp - 0x20c]
push eax
je 0x1003750
push 0x1bc1
push dword [0x1005018]
call edi
push dword [0x1005020]
lea eax, [ebp - 0x20c]
push eax
call fcn.01001d54
pop ecx
pop ecx
jmp 0x100377c
push 0x1bc2
push dword [0x1005018]
call edi
lea eax, [ebp - 0x20c]
push eax
push 0x1001458
jmp 0x1003747
push 6
mov dword [ebp - 0x410], 1
call fcn.01001d97
test byte [0x100501c], 0x20
je 0x100378a
call fcn.01001b83
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
xor edi, edi
cmp dword [ebp - 0x420], edi
je 0x10037a2
push dword [ebp - 0x420]
call esi
cmp dword [ebp - 0x42c], edi
je 0x10037b2
push dword [ebp - 0x42c]
call esi
mov eax, dword [0x1005020]
cmp eax, edi
je 0x10037be
push eax
call esi
cmp dword [ebp - 0x430], edi
je 0x10037ce
push dword [ebp - 0x430]
call esi
cmp dword [ebp - 0x440], edi
je 0x10037de
push dword [ebp - 0x440]
call esi
push dword [0x1005018]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x410]
cmp eax, edi
jne 0x1003828
cmp dword [ebp - 0x41c], edi
je 0x100381b
cmp dword [ebp - 0x41c], 8
je 0x10028bd
cmp dword [ebp - 0x41c], 0xd
je 0x10028bd
xor eax, eax
inc eax
jmp 0x1003828
mov eax, dword [ebp - 0x424]
neg eax
sbb eax, eax
and eax, 3
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01003adf
leave
ret