Function at 0x10018d10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fc336
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x594
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 - 0x588], ecx
mov dword [ebp - 0x370], 1
mov dword [ebp - 0x368], 0xffffffff
mov dword [ebp - 0x4e8], 0xffffffff
mov dword [ebp - 0x3a4], 0
mov dword [ebp - 0x36c], 0
mov dword [ebp - 0x14], 0x43297
mov dword [ebp - 0x4b8], 0
mov dword [ebp - 0x364], 0
mov dword [ebp - 0x18], 0
cmp dword [ebp + 8], 0
jne 0x10018dac
mov eax, 0x800432b1
jmp 0x10019303
mov dword [ebp - 4], 0
push 0x104
push 0
lea eax, [ebp - 0x4b0]
push eax
call fcn.100cac20
add esp, 0xc
mov dword [ebp - 0x3a8], 0x103
lea ecx, [ebp - 0x3a8]
push ecx
lea edx, [ebp - 0x4b0]
push edx
push 1
mov ecx, dword [ebp - 0x588]
call sym.PfMgrApi.dll_private:_long_int___thiscall_CITProfileDbController::ITAdminToolTransDbFileName_int__char___unsigned_int__
mov dword [ebp - 0x58c], eax
mov eax, dword [ebp - 0x58c]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x43297
je 0x10018e0e
mov eax, dword [ebp - 0x14]
jmp 0x10019303
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 - 0x4e8], eax
cmp dword [ebp - 0x4e8], 0xffffffff
jne 0x10018e4a
mov eax, 0x8004329e
jmp 0x10019303
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 - 0x4e8]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x4b4], eax
cmp dword [ebp - 0x4b4], 0
je 0x10018e9f
mov eax, dword [ebp - 0x374]
cmp eax, dword [ebp - 0x36c]
je 0x10018eba
mov dword [ebp - 0x560], 1
push 0x1015198c
lea ecx, [ebp - 0x560]
push ecx
call fcn.100cb4c0
push 0x29
push 0
lea edx, [ebp - 0x4e4]
push edx
call fcn.100cac20
add esp, 0xc
push 0x29
push 0x14
lea eax, [ebp - 0x3a0]
push eax
lea ecx, [ebp - 0x158]
push ecx
call fcn.1008d890
add esp, 0x10
lea ecx, [ebp - 0x520]
call fcn.10017ba0
mov dword [ebp - 0x590], eax
mov byte [ebp - 4], 1
push 3
push 1
push 0x29
lea edx, [ebp - 0x3a0]
push edx
lea ecx, [ebp - 0x520]
call fcn.10017e30
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x4b8]
push ecx
push 0x29
lea edx, [ebp - 0x35c]
push edx
lea ecx, [ebp - 0x520]
call fcn.10018120
mov dword [ebp - 0x594], eax
mov eax, dword [ebp - 0x594]
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0
jne 0x10018f66
push 0x29
mov ecx, dword [ebp - 0x4b8]
push ecx
lea edx, [ebp - 0x4e4]
push edx
call fcn.100cd3b0
add esp, 0xc
lea ecx, [ebp - 0x520]
call fcn.100181d0
lea ecx, [ebp - 0x520]
call fcn.10017fd0
cmp dword [ebp - 0x134], 0
je 0x10018fa6
mov dword [ebp - 0x14], 0x80043298
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x564], eax
push 0x1014f068
lea ecx, [ebp - 0x564]
push ecx
call fcn.100cb4c0
cmp dword [ebp - 0x360], 0x64
je 0x10018fbc
cmp dword [ebp - 0x360], 0x78
jne 0x10019281
push 0x14
push 0
mov edx, dword [ebp - 0x588]
add edx, 0x326
push edx
call fcn.100cac20
add esp, 0xc
push 0xa
mov eax, dword [ebp - 0x588]
add eax, 0x326
push eax
mov ecx, dword [ebp - 0x360]
push ecx
call fcn.100d12cb
add esp, 0xc
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 - 0x598], eax
mov ecx, dword [ebp - 0x598]
mov dword [ebp - 0x568], ecx
mov edx, dword [ebp - 0x568]
mov dword [ebp - 0x55c], edx
cmp dword [ebp - 0x55c], 0
jne 0x10019055
mov dword [ebp - 0x14], 0x800432b4
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x56c], eax
push 0x1014f068
lea ecx, [ebp - 0x56c]
push ecx
call fcn.100cb4c0
mov dword [ebp - 0x36c], 0
cmp dword [ebp - 0x374], 0
jbe 0x1001909b
cmp dword [ebp - 0x374], 0xffffffff
jae 0x1001909b
push 0
lea edx, [ebp - 0x36c]
push edx
mov eax, dword [ebp - 0x374]
push eax
mov ecx, dword [ebp - 0x55c]
push ecx
mov edx, dword [ebp - 0x4e8]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x4b4], eax
cmp dword [ebp - 0x4b4], 0
je 0x100190b2
mov eax, dword [ebp - 0x374]
cmp eax, dword [ebp - 0x36c]
je 0x100190ee
mov dword [ebp - 0x14], 0x800432c3
mov ecx, dword [ebp - 0x55c]
mov dword [ebp - 0x570], ecx
mov edx, dword [ebp - 0x570]
push edx
call fcn.100aaaba
add esp, 4
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x574], eax
push 0x1014f068
lea ecx, [ebp - 0x574]
push ecx
call fcn.100cb4c0
lea ecx, [ebp - 0x558]
call fcn.10017ba0
mov dword [ebp - 0x59c], eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x4b8], 0
mov dword [ebp - 0x364], 0
push 3
push 1
push 0x29
lea edx, [ebp - 0x4e4]
push edx
lea ecx, [ebp - 0x558]
call fcn.10017e30
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x4b8]
push ecx
mov edx, dword [ebp - 0x374]
push edx
mov eax, dword [ebp - 0x55c]
push eax
lea ecx, [ebp - 0x558]
call fcn.10018120
mov dword [ebp - 0x5a0], eax
mov ecx, dword [ebp - 0x5a0]
mov dword [ebp - 0x134], ecx
cmp dword [ebp - 0x134], 0
jne 0x10019189
push 0x110
mov edx, dword [ebp - 0x4b8]
push edx
lea eax, [ebp - 0x130]
push eax
call fcn.100cd3b0
add esp, 0xc
lea ecx, [ebp - 0x558]
call fcn.100181d0
lea ecx, [ebp - 0x558]
call fcn.10017fd0
push 0x110
lea ecx, [ebp - 0x130]
push ecx
mov edx, dword [ebp - 0x588]
add edx, 0x1338
push edx
call fcn.100cd3b0
add esp, 0xc
push 0x224
lea eax, [ebp - 0x360]
push eax
mov ecx, dword [ebp - 0x588]
add ecx, 0x1448
push ecx
call fcn.100cd3b0
add esp, 0xc
cmp dword [ebp - 0x134], 0
je 0x10019226
mov dword [ebp - 0x14], 0x80043298
mov edx, dword [ebp - 0x55c]
mov dword [ebp - 0x578], edx
mov eax, dword [ebp - 0x578]
push eax
call fcn.100aaaba
add esp, 4
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x57c], ecx
push 0x1014f068
lea edx, [ebp - 0x57c]
push edx
call fcn.100cb4c0
mov eax, dword [ebp - 0x4e8]
push eax
lea ecx, [ebp - 0x130]
push ecx
lea edx, [ebp - 0x4b0]
push edx
mov ecx, dword [ebp - 0x588]
call sym.PfMgrApi.dll_private:_long_int___thiscall_CITProfileDbController::ITAdminToolAssociateDb_char___struct__IntelDbCryptoInfo____void__
mov dword [ebp - 0x5a4], eax
mov eax, dword [ebp - 0x5a4]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x55c]
mov dword [ebp - 0x580], ecx
mov edx, dword [ebp - 0x580]
push edx
call fcn.100aaaba
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x558]
call fcn.10017c00
jmp 0x100192a2
mov dword [ebp - 0x14], 0x800432b7
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x584], eax
push 0x1014f068
lea ecx, [ebp - 0x584]
push ecx
call fcn.100cb4c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x520]
call fcn.10017c00
jmp 0x100192d9
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x4e8], 0xffffffff
je 0x10019300
mov ecx, dword [ebp - 0x4e8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x4e8], 0xffffffff
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