Function at 0x46c980
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eca70
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x572734]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x44], ecx
push str.WS_DAHFP
lea ecx, [ebp - 0x38]
call fcn.00445910
mov dword [ebp - 4], 0
mov byte [ebp - 0x39], 0
mov eax, 2
imul ecx, eax, 0
mov edx, dword [ebp + 8]
movzx eax, word [edx + ecx]
test eax, eax
je 0x46cbec
mov ecx, 2
imul edx, ecx, 0
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + edx]
test ecx, ecx
je 0x46cbec
mov edx, 2
imul eax, edx, 0
mov ecx, dword [ebp + 0x10]
movzx edx, word [ecx + eax]
test edx, edx
je 0x46cbec
lea eax, [ebp - 0x50]
push eax
call fcn.00432dc0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c]
call dword [sym.imp.mfc120u.dll_Ordinal_296]
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
push str._deAuthHardwareFP__deAuthHardwareFPRequest_profileId__s__serialNumber__s___hardwareFingerprint__s______deAuthHardwareFP_
lea ecx, [ebp - 0x4c]
push ecx
call dword [sym.imp.mfc120u.dll_Ordinal_4772]
add esp, 0x14
mov edx, dword [ebp - 0x44]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x44]
mov edx, dword [eax + 0x34]
call edx
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.00463d10
mov byte [ebp - 4], 3
push 0
lea ecx, [ebp - 0x54]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
call fcn.00463e10
movzx ecx, al
test ecx, ecx
je 0x46cbc5
lea ecx, [ebp - 0x40]
call dword [sym.imp.mfc120u.dll_Ordinal_296]
mov byte [ebp - 4], 4
lea edx, [ebp - 0x40]
push edx
mov eax, dword [ebp - 0x44]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x44]
mov eax, dword [edx + 0x34]
call eax
push eax
call fcn.00432f40
mov byte [ebp - 0x3a], al
movzx ecx, byte [ebp - 0x3a]
test ecx, ecx
je 0x46cb2e
lea edx, [ebp - 0x40]
push edx
lea ecx, [ebp - 0x48]
call dword [sym.imp.mfc120u.dll_Ordinal_280]
mov byte [ebp - 4], 5
push str.RequestDeAHPFDump.txt
push 0x104
lea ecx, [ebp - 0x48]
call dword [sym.imp.mfc120u.dll_Ordinal_5019]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x48]
call dword [sym.imp.mfc120u.dll_Ordinal_12430]
push 0x5001
lea ecx, [ebp - 0x48]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
lea ecx, [ebp - 0x6c]
call sub.mfc120u.dll_Ordinal_968
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x4c]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
lea ecx, [ebp - 0x6c]
call sub.mfc120u.dll_Ordinal_14537
lea ecx, [ebp - 0x6c]
call sub.mfc120u.dll_Ordinal_2857
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x6c]
call sub.mfc120u.dll_Ordinal_1444
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x48]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
lea ecx, [ebp - 0x50]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
lea ecx, [ebp - 0x4c]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
push 0x51c698
lea ecx, [ebp - 0x54]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
mov ecx, dword [ebp - 0x44]
add ecx, 0x1c
call fcn.00497a70
mov byte [ebp - 0x39], al
movzx eax, byte [ebp - 0x3a]
test eax, eax
je 0x46cba8
push str.DAHFPDump.txt
push 0x104
lea ecx, [ebp - 0x40]
call dword [sym.imp.mfc120u.dll_Ordinal_5019]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x40]
call dword [sym.imp.mfc120u.dll_Ordinal_12430]
push 0
lea ecx, [ebp - 0x40]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
lea ecx, [ebp - 0x50]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ebp - 0x50]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x54]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov cl, byte [ebp - 0x39]
mov byte [ebp - 0x3b], cl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.004459d0
mov al, byte [ebp - 0x3b]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e134c
mov esp, ebp
pop ebp
ret 0xc