Function at 0x1001c470
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fc493
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x43c
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 - 0x434], ecx
mov dword [ebp - 0x14], 0x43297
mov dword [ebp - 0x38c], 0xffffffff
mov dword [ebp - 0x39c], 0
mov dword [ebp - 0x398], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x15c], 0
mov dword [ebp - 0x390], 0
mov dword [ebp - 0x3a4], 0
cmp dword [ebp + 8], 0
jne 0x1001c50f
push 0xbec
push str..ITProfileDbController.cpp
push str.NULL___pszTargetFile
call fcn.100cb557
add esp, 0xc
cmp dword [ebp + 8], 0
jne 0x1001c534
mov ecx, dword [0x10112804]
push ecx
push 0x800432b1
mov ecx, dword [ebp - 0x434]
add ecx, 4
call sym.PfMgrApi.dll_protected:_long_int___thiscall_CProfileDbControllerBase::LogEvTrace_unsigned_long_int__char__const
jmp 0x1001c9f9
lea edx, [ebp - 0x158]
push edx
mov ecx, dword [ebp - 0x434]
call sym.PfMgrApi.dll_protected:_long_int___thiscall_CProfileDbController::GetCryptoInfo_struct__IntelDbCryptoInfo___
mov eax, dword [ebp - 0x434]
add eax, 0x1340
push eax
lea ecx, [ebp - 0x150]
push ecx
call fcn.10006820
add esp, 8
test eax, eax
je 0x1001c5b3
push 0x110
mov edx, dword [ebp - 0x434]
add edx, 0x1338
push edx
lea eax, [ebp - 0x158]
push eax
call fcn.100cd3b0
add esp, 0xc
push 0x224
mov ecx, dword [ebp - 0x434]
add ecx, 0x1448
push ecx
lea edx, [ebp - 0x388]
push edx
call fcn.100cd3b0
add esp, 0xc
mov dword [ebp - 0x390], 1
jmp 0x1001c5cd
mov byte [ebp - 0x20], 0
push 0x224
push 0
lea eax, [ebp - 0x388]
push eax
call fcn.100cac20
add esp, 0xc
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, dword [ebp - 0x434]
call sym.PfMgrApi.dll_public:_long_int___thiscall_CProfileDbController::GetDatabaseSize_unsigned_long_int__
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x43297
je 0x1001c5f0
mov eax, dword [ebp - 0x14]
jmp 0x1001c9f9
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x420]
call fcn.10017ba0
mov dword [ebp - 0x438], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x390], 0
jne 0x1001c719
push 0x14
lea edx, [ebp - 0x3bc]
push edx
call fcn.10017ca0
add esp, 8
push 0x29
push 0x14
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x3bc]
push ecx
call fcn.1008d890
add esp, 0x10
lea edx, [ebp - 0x388]
push edx
push 0x29
lea eax, [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x434]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x434]
mov eax, dword [edx + 0x18]
call eax
mov dword [ebp - 0x184], 0x110
mov dword [ebp - 0x388], 0x78
push 0x110
lea ecx, [ebp - 0x158]
push ecx
mov ecx, dword [ebp - 0x434]
call sym.PfMgrApi.dll_public:_unsigned_long_int___thiscall_CProfileDbController::CalculateChecksum_unsigned_char___unsigned_long_int_
mov dword [ebp - 0x43c], eax
mov edx, dword [ebp - 0x43c]
mov dword [ebp - 0x168], edx
push 3
push 1
push 0x29
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x420]
call fcn.10017e30
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x398]
push edx
push 0x110
lea eax, [ebp - 0x158]
push eax
lea ecx, [ebp - 0x420]
call fcn.10018000
mov dword [ebp - 0x440], eax
mov ecx, dword [ebp - 0x440]
mov dword [ebp - 0x15c], ecx
cmp dword [ebp - 0x15c], 0
je 0x1001c714
mov dword [ebp - 0x424], 0x80043298
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x420]
call fcn.10017c00
mov eax, dword [ebp - 0x424]
jmp 0x1001c9f9
jmp 0x1001c80c
push 0x29
push 0
lea edx, [ebp - 0x3e8]
push edx
call fcn.100cac20
add esp, 0xc
push 0x29
push 0x14
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x180]
push ecx
call fcn.1008d890
add esp, 0x10
push 3
push 1
push 0x29
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x420]
call fcn.10017e30
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x3a4]
push ecx
push 0x29
lea edx, [ebp - 0x384]
push edx
lea ecx, [ebp - 0x420]
call fcn.10018120
mov dword [ebp - 0x444], eax
mov eax, dword [ebp - 0x444]
mov dword [ebp - 0x15c], eax
cmp dword [ebp - 0x15c], 0
jne 0x1001c7aa
push 0x29
mov ecx, dword [ebp - 0x3a4]
push ecx
lea edx, [ebp - 0x3e8]
push edx
call fcn.100cd3b0
add esp, 0xc
lea ecx, [ebp - 0x420]
call fcn.100181d0
lea ecx, [ebp - 0x420]
call fcn.10017fd0
push 3
push 1
push 0x29
lea eax, [ebp - 0x3e8]
push eax
lea ecx, [ebp - 0x420]
call fcn.10017e30
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x398]
push edx
push 0x110
lea eax, [ebp - 0x158]
push eax
lea ecx, [ebp - 0x420]
call fcn.10018000
mov dword [ebp - 0x448], eax
mov ecx, dword [ebp - 0x448]
mov dword [ebp - 0x15c], ecx
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x38c], eax
cmp dword [ebp - 0x38c], 0xffffffff
jne 0x1001c871
lea ecx, [ebp - 0x420]
call fcn.100181d0
lea ecx, [ebp - 0x420]
call fcn.10017fd0
mov dword [ebp - 0x428], 0x80043298
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x420]
call fcn.10017c00
mov eax, dword [ebp - 0x428]
jmp 0x1001c9f9
mov dword [ebp - 0x394], 0x224
push 0
lea eax, [ebp - 0x39c]
push eax
mov ecx, dword [ebp - 0x394]
push ecx
lea edx, [ebp - 0x388]
push edx
mov eax, dword [ebp - 0x38c]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x3a0], eax
cmp dword [ebp - 0x3a0], 0
je 0x1001c8bc
mov ecx, dword [ebp - 0x394]
cmp ecx, dword [ebp - 0x39c]
je 0x1001c8f3
lea ecx, [ebp - 0x420]
call fcn.100181d0
lea ecx, [ebp - 0x420]
call fcn.10017fd0
mov dword [ebp - 0x14], 0x80043298
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x42c], edx
push 0x1014f068
lea eax, [ebp - 0x42c]
push eax
call fcn.100cb4c0
mov dword [ebp - 0x39c], 0
push 0
lea ecx, [ebp - 0x39c]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x398]
push eax
mov ecx, dword [ebp - 0x38c]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x3a0], eax
cmp dword [ebp - 0x3a0], 0
jne 0x1001c964
lea ecx, [ebp - 0x420]
call fcn.100181d0
lea ecx, [ebp - 0x420]
call fcn.10017fd0
mov dword [ebp - 0x14], 0x80043298
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x430], edx
push 0x1014f068
lea eax, [ebp - 0x430]
push eax
call fcn.100cb4c0
lea ecx, [ebp - 0x420]
call fcn.100181d0
lea ecx, [ebp - 0x420]
call fcn.10017fd0
mov ecx, dword [ebp - 0x38c]
push ecx
mov ecx, dword [ebp - 0x434]
call sym.PfMgrApi.dll_public:_long_int___thiscall_CProfileDbController::WriteDatabaseBytes_void__
mov dword [ebp - 0x44c], eax
mov edx, dword [ebp - 0x44c]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x38c], 0xffffffff
je 0x1001c9bb
mov eax, dword [ebp - 0x38c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x38c], 0xffffffff
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x420]
call fcn.10017c00
jmp 0x1001c9ef
mov dword [ebp - 4], 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