Function at 0x1001dee0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fc5b0
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x4a4
mov eax, dword [0x10172eb8]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x494], ecx
mov dword [ebp - 0x370], 1
mov dword [ebp - 0x368], 0xffffffff
mov dword [ebp - 0x3e0], 0xffffffff
mov dword [ebp - 0x3a8], 0
mov dword [ebp - 0x36c], 0
mov dword [ebp - 0x14], 0x43297
mov dword [ebp - 0x3b0], 0
mov dword [ebp - 0x364], 0
mov dword [ebp - 0x18], 0
cmp dword [ebp + 8], 0
jne 0x1001df7c
mov eax, 0x800432b1
jmp 0x1001e53f
mov ecx, dword [ebp - 0x494]
call sym.PfMgrApi.dll_public:_char_const____thiscall_CProfileDbController::GetFullPathDbName_void_
mov dword [ebp - 0x378], eax
push 1
mov eax, dword [ebp - 0x378]
push eax
mov ecx, dword [ebp - 0x494]
call sym.PfMgrApi.dll_private:_long_int___thiscall_CITProfileDbController::ManipExistingDatabases_char_const___enum_DB_MANIP_MODE_
mov ecx, dword [ebp - 0x494]
call sym.PfMgrApi.dll_public:_long_int___thiscall_CITProfileDbController::Initialize_void_
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0x43297
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x3e0], eax
cmp dword [ebp - 0x3e0], 0xffffffff
jne 0x1001dfef
mov eax, 0x8004329e
jmp 0x1001e53f
mov dword [ebp - 0x374], 0x224
mov dword [ebp - 0x36c], 0
push 0
lea edx, [ebp - 0x36c]
push edx
mov eax, dword [ebp - 0x374]
push eax
lea ecx, [ebp - 0x360]
push ecx
mov edx, dword [ebp - 0x3e0]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x3ac], eax
cmp dword [ebp - 0x3ac], 0
je 0x1001e044
mov eax, dword [ebp - 0x374]
cmp eax, dword [ebp - 0x36c]
je 0x1001e05f
mov dword [ebp - 0x46c], 1
push 0x1015198c
lea ecx, [ebp - 0x46c]
push ecx
call fcn.100cb4c0
push 0x29
push 0
lea edx, [ebp - 0x3dc]
push edx
call fcn.100cac20
add esp, 0xc
push 0x29
push 0x14
lea eax, [ebp - 0x3a4]
push eax
lea ecx, [ebp - 0x158]
push ecx
call fcn.1008d890
add esp, 0x10
cmp dword [ebp - 0x360], 0x64
je 0x1001e0a2
cmp dword [ebp - 0x360], 0x78
jne 0x1001e3ef
push 0x14
push 0
mov edx, dword [ebp - 0x494]
add edx, 0x326
push edx
call fcn.100cac20
add esp, 0xc
push 0xa
mov eax, dword [ebp - 0x494]
add eax, 0x326
push eax
mov ecx, dword [ebp - 0x360]
push ecx
call fcn.100d12cb
add esp, 0xc
lea ecx, [ebp - 0x450]
call fcn.10017ba0
mov dword [ebp - 0x498], eax
mov byte [ebp - 4], 1
push 3
push 1
push 0x29
lea edx, [ebp - 0x3a4]
push edx
lea ecx, [ebp - 0x450]
call fcn.10017e30
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x3b0]
push ecx
push 0x29
lea edx, [ebp - 0x35c]
push edx
lea ecx, [ebp - 0x450]
call fcn.10018120
mov dword [ebp - 0x49c], eax
mov eax, dword [ebp - 0x49c]
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0
jne 0x1001e157
push 0x29
mov ecx, dword [ebp - 0x3b0]
push ecx
lea edx, [ebp - 0x3dc]
push edx
call fcn.100cd3b0
add esp, 0xc
lea ecx, [ebp - 0x450]
call fcn.100181d0
lea ecx, [ebp - 0x450]
call fcn.10017fd0
cmp dword [ebp - 0x134], 0
je 0x1001e197
mov dword [ebp - 0x14], 0x80043298
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x470], eax
push 0x1014f068
lea ecx, [ebp - 0x470]
push ecx
call fcn.100cb4c0
mov edx, dword [ebp - 0x15c]
mov dword [ebp - 0x374], edx
mov eax, dword [ebp - 0x374]
push eax
call fcn.100aaab5
add esp, 4
mov dword [ebp - 0x4a0], eax
mov ecx, dword [ebp - 0x4a0]
mov dword [ebp - 0x474], ecx
mov edx, dword [ebp - 0x474]
mov dword [ebp - 0x454], edx
cmp dword [ebp - 0x454], 0
jne 0x1001e1fa
mov dword [ebp - 0x14], 0x800432b4
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x478], eax
push 0x1014f068
lea ecx, [ebp - 0x478]
push ecx
call fcn.100cb4c0
mov dword [ebp - 0x36c], 0
cmp dword [ebp - 0x374], 0
jbe 0x1001e240
cmp dword [ebp - 0x374], 0xffffffff
jae 0x1001e240
push 0
lea edx, [ebp - 0x36c]
push edx
mov eax, dword [ebp - 0x374]
push eax
mov ecx, dword [ebp - 0x454]
push ecx
mov edx, dword [ebp - 0x3e0]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x3ac], eax
cmp dword [ebp - 0x3ac], 0
je 0x1001e257
mov eax, dword [ebp - 0x374]
cmp eax, dword [ebp - 0x36c]
je 0x1001e293
mov dword [ebp - 0x14], 0x800432c3
mov ecx, dword [ebp - 0x454]
mov dword [ebp - 0x47c], ecx
mov edx, dword [ebp - 0x47c]
push edx
call fcn.100aaaba
add esp, 4
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x480], eax
push 0x1014f068
lea ecx, [ebp - 0x480]
push ecx
call fcn.100cb4c0
lea ecx, [ebp - 0x418]
call fcn.10017ba0
mov dword [ebp - 0x4a4], eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x3b0], 0
mov dword [ebp - 0x364], 0
push 3
push 1
push 0x29
lea edx, [ebp - 0x3dc]
push edx
lea ecx, [ebp - 0x418]
call fcn.10017e30
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x3b0]
push ecx
mov edx, dword [ebp - 0x374]
push edx
mov eax, dword [ebp - 0x454]
push eax
lea ecx, [ebp - 0x418]
call fcn.10018120
mov dword [ebp - 0x4a8], eax
mov ecx, dword [ebp - 0x4a8]
mov dword [ebp - 0x134], ecx
cmp dword [ebp - 0x134], 0
jne 0x1001e32e
push 0x110
mov edx, dword [ebp - 0x3b0]
push edx
lea eax, [ebp - 0x130]
push eax
call fcn.100cd3b0
add esp, 0xc
lea ecx, [ebp - 0x418]
call fcn.100181d0
lea ecx, [ebp - 0x418]
call fcn.10017fd0
cmp dword [ebp - 0x134], 0
je 0x1001e389
mov dword [ebp - 0x14], 0x80043298
mov ecx, dword [ebp - 0x454]
mov dword [ebp - 0x484], ecx
mov edx, dword [ebp - 0x484]
push edx
call fcn.100aaaba
add esp, 4
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x488], eax
push 0x1014f068
lea ecx, [ebp - 0x488]
push ecx
call fcn.100cb4c0
mov edx, dword [ebp - 0x3e0]
push edx
lea eax, [ebp - 0x130]
push eax
mov ecx, dword [ebp - 0x494]
call sym.PfMgrApi.dll_private:_long_int___thiscall_CITProfileDbController::ImportMuroc10Database_struct__IntelDbCryptoInfo____void__
mov dword [ebp - 0x4ac], eax
mov ecx, dword [ebp - 0x4ac]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x454]
mov dword [ebp - 0x48c], edx
mov eax, dword [ebp - 0x48c]
push eax
call fcn.100aaaba
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x418]
call fcn.10017c00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x450]
call fcn.10017c00
jmp 0x1001e4ba
cmp dword [ebp - 0x360], 0x5a
jne 0x1001e499
mov dword [ebp - 0x468], 0
mov dword [ebp - 0x458], 0
lea ecx, [ebp - 0x3a4]
push ecx
lea ecx, [ebp - 0x464]
call fcn.1000bcc0
mov dword [ebp - 0x4b0], eax
mov byte [ebp - 4], 3
lea edx, [ebp - 0x458]
push edx
lea eax, [ebp - 0x468]
push eax
push 0x200
lea ecx, [ebp - 0x35c]
push ecx
lea ecx, [ebp - 0x464]
call fcn.1000cb00
mov edx, dword [ebp - 0x3e0]
push edx
mov eax, dword [ebp - 0x468]
push eax
mov ecx, dword [ebp - 0x494]
call sym.PfMgrApi.dll_private:_long_int___thiscall_CITProfileDbController::ImportMuroc90Database_char_const___void__
mov dword [ebp - 0x4b4], eax
mov ecx, dword [ebp - 0x4b4]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x468]
push edx
call fcn.1000dc40
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x464]
call fcn.1000bdb0
jmp 0x1001e4ba
mov dword [ebp - 0x14], 0x800432b7
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x490], eax
push 0x1014f068
lea ecx, [ebp - 0x490]
push ecx
call fcn.100cb4c0
jmp 0x1001e4e2
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x3e0], 0xffffffff
je 0x1001e509
mov ecx, dword [ebp - 0x3e0]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x3e0], 0xffffffff
cmp dword [ebp - 0x14], 0x43297
jne 0x1001e528
push 2
mov edx, dword [ebp - 0x378]
push edx
mov ecx, dword [ebp - 0x494]
call sym.PfMgrApi.dll_private:_long_int___thiscall_CITProfileDbController::ManipExistingDatabases_char_const___enum_DB_MANIP_MODE_
jmp 0x1001e53c
push 3
mov eax, dword [ebp - 0x378]
push eax
mov ecx, dword [ebp - 0x494]
call sym.PfMgrApi.dll_private:_long_int___thiscall_CITProfileDbController::ManipExistingDatabases_char_const___enum_DB_MANIP_MODE_
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.100ca7f5
mov esp, ebp
pop ebp
ret 4