Function at 0x100132a3
Capabilities:
Delete file
Move file
Read .ini file

Disassembly:
push ebp
sub esp, 0x74
push 0x120
mov eax, 0x1005d201
call fcn.1003230f
mov edi, ecx
xor esi, esi
lea ecx, [ebp + 0x40]
mov dword [ebp + 0x74], esi
call fcn.100013fb
lea ecx, [ebp + 0x18]
mov dword [ebp - 4], esi
call fcn.100013fb
lea eax, [ebp + 0x40]
push eax
push 5
mov ecx, edi
mov byte [ebp - 4], 1
mov dword [ebp + 0x68], esi
call fcn.1000e51a
lea eax, [ebp + 0x68]
push eax
mov ebx, str.TransmissionCount
push ebx
mov esi, 0x100626cc
push esi
mov ecx, edi
call fcn.1000cfb6
inc dword [ebp + 0x68]
push dword [ebp + 0x68]
mov ecx, edi
push ebx
push esi
call fcn.1000d346
call fcn.10003527
mov ecx, eax
call fcn.1002ef63
test eax, eax
je 0x1001334c
call fcn.10003527
push eax
lea ecx, [ebp + 0x6c]
call fcn.10001413
push dword [ebp + 0x70]
mov ecx, edi
push str.UserID
push 0x100626ec
mov byte [ebp - 4], 2
call fcn.1000d1c2
lea ecx, [ebp + 0x6c]
mov byte [ebp - 4], 1
call fcn.10001636
mov ecx, 0x1007cd48
call fcn.1001bf4a
lea eax, [edi + 0xd8]
push eax
push 5
pop esi
push esi
mov ecx, edi
call fcn.1000e422
lea eax, [ebp - 0x28]
push eax
call fcn.10031e3f
pop ecx
mov dword [ebp + 0x6c], eax
push 0
lea eax, [ebp + 0x6c]
push eax
push esi
mov ecx, edi
mov dword [ebp + 0x70], edx
call fcn.1000e62f
push 0x10061424
lea ecx, [ebp + 0x40]
call fcn.10001230
test eax, eax
jne 0x100133a3
lea eax, [ebp + 0x40]
push eax
push esi
mov ecx, edi
call fcn.1000e51a
lea eax, [ebp + 0x18]
push eax
push esi
mov ecx, edi
call fcn.1000e51a
lea ecx, [ebp + 0x50]
call fcn.100013fb
lea ecx, [ebp + 0x58]
mov byte [ebp - 4], 3
call fcn.100013fb
lea eax, [ebp + 0x50]
push eax
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.1000b5c3
lea eax, [ebp + 0x50]
push eax
lea ecx, [ebp + 0x58]
call fcn.100018ed
push str.HpDarc.ini
lea ecx, [ebp + 0x50]
call fcn.10001c79
mov esi, 0x10062d14
push esi
push dword [ebp + 0x54]
call fcn.10036e30
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop ecx
pop ecx
mov dword [ebp + 0x68], eax
test eax, eax
je 0x10013449
push eax
call fcn.10036b4a
lea ecx, [ebp + 0x58]
mov dword [esp], str.HpDarc.txt
call fcn.10001c79
push esi
push dword [ebp + 0x5c]
call fcn.10036e30
pop ecx
pop ecx
cmp dword [ebp + 0x68], eax
jne 0x1001343b
push dword [ebp + 0x68]
call fcn.10036b4a
pop ecx
push dword [ebp + 0x5c]
call ebx
push 1
push dword [ebp + 0x5c]
push dword [ebp + 0x54]
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
push edi
lea ecx, [ebp - 0xb8]
call fcn.1001a379
mov byte [ebp - 4], 5
call fcn.10023c2a
test eax, eax
je 0x10013496
mov esi, 0x2bd
push esi
call fcn.10023c32
pop ecx
test eax, eax
je 0x10013496
push 1
push esi
call fcn.10024822
pop ecx
pop ecx
cmp eax, 2
jne 0x10013496
push dword [0x1007b714]
push dword [0x1007b710]
push esi
call fcn.10023c3b
add esp, 0xc
lea ecx, [ebp + 0x20]
call fcn.100013fb
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 6
call fcn.100013fb
push str.Pump.Bin
lea eax, [ebp + 0x30]
push eax
mov ecx, edi
mov byte [ebp - 4], 7
call fcn.1000c727
push dword [ebp + 0x34]
mov byte [ebp - 4], 8
call ebx
lea eax, [ebp + 0x74]
push eax
push str.SnapshotCount
push 0x10062684
mov ecx, edi
call fcn.1000cfb6
push dword [ebp + 0x74]
mov esi, str.Pump__d.log
lea eax, [ebp + 0x10]
push esi
push eax
call fcn.10001266
add esp, 0xc
push dword [ebp + 0x14]
lea eax, [ebp + 0x6c]
push eax
mov ecx, edi
call fcn.1000c727
push dword [eax + 4]
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 9
call fcn.10001145
lea ecx, [ebp + 0x6c]
mov byte [ebp - 4], 8
call fcn.10001636
call fcn.10023c2a
test eax, eax
je 0x10013558
mov ebx, 0x2be
push ebx
call fcn.10023c32
pop ecx
test eax, eax
je 0x10013558
push dword [ebp + 0x74]
push ebx
call fcn.10024822
pop ecx
pop ecx
cmp eax, 2
jne 0x10013558
push dword [0x1007b714]
push dword [0x1007b710]
push ebx
call fcn.10023c3b
add esp, 0xc
mov ecx, edi
call fcn.1000d5ed
test eax, eax
jne 0x100135de
cmp dword [ebp + 0x74], 3
jne 0x100135de
lea ecx, [ebp + 0x60]
call fcn.100013fb
lea ecx, [ebp + 0x6c]
mov byte [ebp - 4], 0xa
call fcn.100013fb
push 2
lea eax, [ebp + 0x6c]
push esi
push eax
mov byte [ebp - 4], 0xb
call fcn.10001266
add esp, 0xc
push dword [ebp + 0x70]
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
call fcn.1000c727
push dword [eax + 4]
lea ecx, [ebp + 0x60]
mov byte [ebp - 4], 0xc
call fcn.10001145
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xb
call fcn.10001636
push dword [ebp + 0x34]
mov ecx, edi
push dword [ebp + 0x64]
call fcn.10012dae
lea ecx, [ebp + 0x6c]
mov byte [ebp - 4], 0xa
call fcn.10001636
lea ecx, [ebp + 0x60]
mov byte [ebp - 4], 8
call fcn.10001636
push dword [ebp + 0x34]
mov ecx, edi
push dword [ebp + 0x24]
call fcn.10012dae
lea ecx, [ebp + 0x48]
call fcn.100013fb
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 0xd
call fcn.100013fb
lea ecx, [ebp + 0x28]
mov byte [ebp - 4], 0xe
call fcn.100013fb
mov eax, dword [edi + 0x11c]
mov ecx, eax
mov esi, 0xff
sar eax, 8
and ecx, esi
push ecx
and eax, esi
push eax
mov ebx, str._d._d
lea eax, [ebp + 0x48]
push ebx
push eax
mov byte [ebp - 4], 0xf
call fcn.10001266
mov eax, dword [edi + 0x118]
mov ecx, eax
sar eax, 8
and ecx, esi
push ecx
and eax, esi
push eax
lea eax, [ebp + 0x28]
push ebx
push eax
call fcn.10001266
add esp, 0x20
push 0x10062578
push 0
push str.UseTestUserAgent
push str.MagicNumber
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 1
jne 0x100136c6
push str.test_
lea ecx, [ebp + 0x60]
call fcn.10001432
mov eax, dword [eax + 4]
lea ecx, [ebp + 0x48]
push ecx
push eax
lea eax, [ebp + 0x6c]
push eax
mov byte [ebp - 4], 0x10
call fcn.10001a07
add esp, 0xc
push dword [eax + 4]
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 0x11
call fcn.10001145
lea ecx, [ebp + 0x6c]
mov byte [ebp - 4], 0x10
call fcn.10001636
lea ecx, [ebp + 0x60]
mov byte [ebp - 4], 0xf
call fcn.10001636
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp + 0x48]
call fcn.100018ed
mov ecx, dword [ebp + 0x4c]
lea eax, [ebp - 0x44]
call fcn.1001063d
cmp dword [eax + 0x18], 0x10
mov byte [ebp - 4], 0x12
jb 0x100136e0
mov eax, dword [eax + 4]
jmp 0x100136e3
add eax, 4
push eax
lea ecx, [ebp + 0x38]
call fcn.10001145
push 0
push 1
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xf
call fcn.100048de
lea ecx, [ebp + 8]
call fcn.100013fb
lea eax, [ebp + 8]
push eax
mov ebx, str.machine_GUID
push ebx
mov esi, 0x100627e8
push esi
mov byte [ebp - 4], 0x13
call fcn.10028f61
add esp, 0xc
test eax, eax
jne 0x10013808
lea eax, [ebp + 0x6c]
push eax
call fcn.1000b70d
push dword [eax + 4]
mov byte [ebp - 4], 0x14
push ebx
push esi
call fcn.100294e2
add esp, 0x10
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [ebp + 0x6c]
inc bl
mov byte [ebp - 4], 0x13
call fcn.10001636
test bl, bl
je 0x10013808
xor esi, esi
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xf
call fcn.10001636
lea ecx, [ebp + 0x28]
mov byte [ebp - 4], 0xe
call fcn.10001636
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 0xd
call fcn.10001636
lea ecx, [ebp + 0x48]
mov byte [ebp - 4], 8
call fcn.10001636
lea ecx, [ebp + 0x30]
mov byte [ebp - 4], 7
call fcn.10001636
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 6
call fcn.10001636
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 5
call fcn.10001636
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 4
call fcn.10018c1d
lea ecx, [ebp + 0x58]
mov byte [ebp - 4], 3
call fcn.10001636
lea ecx, [ebp + 0x50]
mov byte [ebp - 4], 1
call fcn.10001636
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 0
call fcn.10001636
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x40]
call fcn.10001636
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add ebp, 0x78
leave
ret
push str.hpdarcsw.ini
lea eax, [ebp]
push eax
mov ecx, edi
call fcn.1000c727
lea esi, [edi + 0x78]
mov eax, dword [esi + 0x18]
mov eax, dword [eax]
push esi
push eax
lea ecx, [ebp + 0x6c]
mov byte [ebp - 4], 0x15
call fcn.1000e87a
mov eax, dword [esi + 0x18]
push esi
push eax
lea ecx, [ebp + 0x60]
call fcn.1000e87a
lea eax, [ebp + 0x60]
push eax
lea ecx, [ebp + 0x6c]
call fcn.1000c898
test al, al
jne 0x1001397a
mov ebx, 0x2c1
call fcn.10023c2a
test eax, eax
je 0x10013898
push 0x2c0
call fcn.10023c32
pop ecx
test eax, eax
je 0x10013898
push 1
push 0x2c0
call fcn.10024822
pop ecx
pop ecx
cmp eax, 2
jne 0x10013898
push dword [0x1007b714]
push dword [0x1007b710]
push 0x2c0
call fcn.10023c3b
add esp, 0xc
lea ecx, [ebp + 0x6c]
call fcn.1000cac7
mov eax, dword [eax + 8]
mov dword [ebp + 0x74], eax
test eax, eax
je 0x10013951
push eax
lea ecx, [ebp - 0x12c]
call fcn.1001a379
mov ecx, dword [ebp + 0x74]
push 0x100629e4
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 0x16
call fcn.1000c727
push dword [ebp + 4]
mov eax, dword [eax + 4]
push eax
mov byte [ebp - 4], 0x17
call fcn.1002842b
pop ecx
pop ecx
lea ecx, [ebp - 0x20]
mov dword [ebp + 0x74], eax
mov byte [ebp - 4], 0x16
call fcn.10001636
call fcn.10023c2a
cmp dword [ebp + 0x74], 0
jne 0x1001390e
test eax, eax
je 0x10013942
push ebx
call fcn.10023c32
pop ecx
test eax, eax
je 0x10013942
push 0
jmp 0x10013920
test eax, eax
je 0x10013942
push ebx
call fcn.10023c32
pop ecx
test eax, eax
je 0x10013942
push dword [ebp + 0x74]
push ebx
call fcn.10024822
pop ecx
pop ecx
cmp eax, 2
jne 0x10013942
push dword [0x1007b714]
push dword [0x1007b710]
push ebx
call fcn.10023c3b
add esp, 0xc
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 0x15
call fcn.10018c1d
lea ecx, [ebp + 0x6c]
call fcn.1000caf6
mov eax, dword [esi + 0x18]
push esi
push eax
lea ecx, [ebp + 0x60]
call fcn.1000e87a
lea eax, [ebp + 0x60]
push eax
lea ecx, [ebp + 0x6c]
call fcn.1000c898
test al, al
je 0x10013854
mov ecx, 0x1007cd48
call fcn.1001bfed
push ecx
push ecx
lea eax, [ebp]
mov ecx, esp
mov dword [ebp + 0x74], esp
push eax
call fcn.10001413
push ecx
push ecx
lea eax, [ebp + 0x18]
mov ecx, esp
mov dword [ebp + 0x68], esp
push eax
mov byte [ebp - 4], 0x18
call fcn.10001413
push ecx
push ecx
lea eax, [ebp + 0x40]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
mov byte [ebp - 4], 0x19
call fcn.10001413
push ecx
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
mov byte [ebp - 4], 0x1a
call fcn.10001413
push ecx
push ecx
lea eax, [ebp + 0x28]
mov ecx, esp
mov dword [ebp + 0x64], esp
push eax
mov byte [ebp - 4], 0x1b
call fcn.10001413
push ecx
push ecx
lea eax, [ebp + 0x38]
mov ecx, esp
mov dword [ebp + 0x70], esp
push eax
mov byte [ebp - 4], 0x1c
call fcn.10001413
mov ecx, edi
mov byte [ebp - 4], 0x15
call fcn.1000db7d
lea ecx, [ebp]
mov byte [ebp - 4], 0x13
call fcn.10001636
xor esi, esi
inc esi
jmp 0x10013760