joyce8/EMBER2024-capa huggingface dataset:
Function at 0x442570
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x54e680
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebp
mov ebp, ecx
push esi
push 0x5ba440
lea ecx, [esp + 0xc]
call fcn.00537b72
mov esi, dword [ebp + 4]
mov dword [esp + 0x2c], 0
test esi, esi
je 0x4425df
mov eax, esi
mov esi, dword [esi]
lea ecx, [esp + 0x18]
push 0xa
mov edx, dword [eax + 8]
push ecx
push edx
call fcn.00521e1d
add esp, 0xc
lea eax, [esp + 0x18]
lea ecx, [esp + 8]
push eax
call fcn.00537ee0
test esi, esi
je 0x4425df
push 0x20
lea ecx, [esp + 0xc]
call fcn.00537f07
jmp 0x4425a9
mov ecx, dword [0x5b5ecc]
mov dword [esp + 0xc], ecx
mov edx, dword [0x5ba8a4]
lea eax, [esp + 0xc]
push edx
push str._sScheduler
push eax
mov byte [esp + 0x38], 1
call fcn.0053091a
mov ecx, dword [esp + 0x18]
add esp, 0xc
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x442624
mov edx, dword [esp + 0xc]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 0
call fcn.00537b04
mov eax, dword [0x5b5ecc]
mov dword [esp + 0x10], eax
mov ecx, dword [ebp + 0x60]
mov edx, dword [0x5ba8a4]
push ecx
push edx
lea eax, [esp + 0x18]
push str._sSchedulerq__ld.dt
push eax
mov byte [esp + 0x3c], 2
call fcn.0053091a
mov ecx, dword [esp + 0x20]
push 0x59cedc
push ecx
call fcn.0051dc3f
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x4426da
call fcn.0051ec14
mov edx, dword [0x5b5ecc]
mov eax, dword [eax]
mov dword [esp + 0x14], edx
push esi
lea ecx, [esp + 0x10]
push esi
push ecx
push 0x400
push eax
push esi
push 0x1100
mov byte [esp + 0x48], 3
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov ecx, dword [0x5baf28]
push edx
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
call fcn.0053091a
mov eax, dword [esp + 0x1c]
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 2
call fcn.00537b04
jmp 0x4426ff
mov edx, dword [esp + 8]
push edi
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
push esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 1
push edx
call fcn.0051dad5
push esi
call fcn.0051da58
add esp, 0x14
pop edi
cmp dword [ebp + 0x60], 1
jne 0x442711
mov ecx, dword [esp + 8]
push ecx
mov ecx, ebp
call fcn.00442750
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
call fcn.00537b04
lea ecx, [esp + 8]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00537b04
mov ecx, dword [esp + 0x24]
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x442750
Capabilities:
Set registry value

Disassembly:
sub esp, 8
lea eax, [esp + 4]
lea ecx, [esp]
push esi
push eax
push ecx
push 0
push 0xf003f
push 0
push 0x5ba440
push 0
push str.SoftwareDownloadManagerQueue
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4427b5
mov esi, dword [esp + 4]
test esi, esi
je 0x4427b5
mov edx, dword [esp + 0x10]
push edi
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
push 1
push eax
push str.Queue
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
add esp, 8
ret 4

Function at 0x4427c0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x3c
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov eax, dword [esi + 0x10]
mov edi, dword [esp + 0x50]
mov ebp, dword [esi + 8]
cmp eax, ebx
mov byte [esp + 0x20], bl
jne 0x44280d
mov eax, dword [esi + 0x18]
push 0x14
lea ecx, [esi + 0x14]
push eax
push ecx
call fcn.00532a13
mov ecx, dword [esi + 0x18]
add eax, 4
lea edx, [ecx + ecx*4]
dec ecx
test ecx, ecx
lea eax, [eax + edx*4 - 0x14]
jl 0x44280d
inc ecx
mov edx, dword [esi + 0x10]
mov dword [eax], edx
mov dword [esi + 0x10], eax
sub eax, 0x14
dec ecx
jne 0x4427ff
mov eax, dword [esi + 0x10]
xor edx, edx
mov ecx, dword [eax]
mov dword [esi + 0x10], ecx
mov dword [eax + 4], ebp
mov dword [eax], 0
mov ebp, dword [esi + 0xc]
inc ebp
lea ecx, [eax + 8]
mov dword [esi + 0xc], ebp
mov ebp, ecx
mov dword [ebp], edx
mov dword [ebp + 4], edx
mov dword [ebp + 8], edx
mov edx, dword [esp + 0x20]
mov dword [ecx], edi
mov dword [ecx + 4], ebx
mov dword [ecx + 8], edx
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44284c
mov dword [ecx], eax
jmp 0x44284f
mov dword [esi + 4], eax
mov ecx, esi
mov dword [esi + 8], eax
call fcn.00442570
push edi
mov ecx, esi
call fcn.00442b40
test eax, eax
je 0x44286e
mov ecx, dword [esi + 0x60]
mov dword [eax + 0x40c], ecx
push edi
lea edx, [esp + 0x28]
push str.SoftwareDownloadManager_ld
push edx
call fcn.0051d0e8
add esp, 0xc
lea eax, [esp + 0x14]
lea ecx, [esp + 0x50]
lea edx, [esp + 0x24]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0x5ba440
push 0
push edx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4428dc
mov edx, dword [esp + 0x50]
mov eax, dword [esi + 0x60]
lea ecx, [esp + 0x10]
push 4
push ecx
push 4
push 0
push str.queueID
push edx
mov dword [esp + 0x28], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 0x50]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [0x5ba98c]
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
push ecx
call ebx
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x442909
mov edx, dword [0x5ba98c]
push edi
push 0x1396
push 0x111
push edx
call esi
mov eax, dword [0x5ba990]
push eax
call ebx
test eax, eax
je 0x442929
mov ecx, dword [0x5ba990]
push edi
push 0x139a
push 0x111
push ecx
call esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 4
Function at 0x442940
Capabilities:
Set registry value

Disassembly:
sub esp, 0x60
push ebx
push ebp
mov ebx, dword [esp + 0x6c]
push esi
mov esi, ecx
push edi
xor ebp, ebp
mov edi, dword [esi + 4]
cmp edi, ebp
je 0x442965
cmp dword [edi + 8], ebx
je 0x442a14
mov edi, dword [edi]
cmp edi, ebp
jne 0x442956
push ebx
mov ecx, esi
call fcn.00442b40
cmp eax, ebp
je 0x442977
mov dword [eax + 0x40c], ebp
push ebx
lea eax, [esp + 0x4c]
push str.SoftwareDownloadManager_ld
push eax
call fcn.0051d0e8
add esp, 0xc
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x10]
lea eax, [esp + 0x48]
push ecx
push edx
push ebp
push 0xf003f
push ebp
push 0x5ba440
push ebp
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4429e1
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x74]
push 4
push ecx
push 4
push ebp
push str.queueID
push edx
mov dword [esp + 0x8c], ebp
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [0x5ba990]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x442a0a
mov edx, dword [0x5ba990]
push ebx
push 0x139b
push 0x111
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 4
mov eax, dword [0x5ba98c]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x442a3c
mov ecx, dword [0x5ba98c]
push ebx
push 0x1397
push 0x111
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp edi, dword [esi + 4]
jne 0x442a48
mov edx, dword [edi]
mov dword [esi + 4], edx
jmp 0x442a4f
mov eax, dword [edi + 4]
mov ecx, dword [edi]
mov dword [eax], ecx
cmp edi, dword [esi + 8]
jne 0x442a5c
mov edx, dword [edi + 4]
mov dword [esi + 8], edx
jmp 0x442a64
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov edx, dword [esi + 0x10]
mov dword [edi], edx
mov eax, dword [esi + 0xc]
dec eax
mov dword [esi + 0x10], edi
mov dword [esi + 0xc], eax
jne 0x442a99
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x442a82
mov eax, dword [eax]
cmp eax, ebp
jne 0x442a7c
mov ecx, dword [esi + 0x14]
mov dword [esi + 0xc], ebp
mov dword [esi + 0x10], ebp
mov dword [esi + 8], ebp
mov dword [esi + 4], ebp
call fcn.00532a33
mov dword [esi + 0x14], ebp
mov ecx, esi
call fcn.00442570
push ebx
mov ecx, esi
call fcn.00442b40
cmp eax, ebp
je 0x442ab2
mov dword [eax + 0x40c], ebp
push ebx
lea eax, [esp + 0x24]
push str.SoftwareDownloadManager_ld
push eax
call fcn.0051d0e8
add esp, 0xc
lea ecx, [esp + 0x18]
lea edx, [esp + 0x74]
lea eax, [esp + 0x20]
push ecx
push edx
push ebp
push 0xf003f
push ebp
push 0x5ba440
push ebp
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x442b19
mov edx, dword [esp + 0x74]
lea ecx, [esp + 0x14]
push 4
push ecx
push 4
push ebp
push str.queueID
push edx
mov dword [esp + 0x2c], ebp
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 0x74]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [0x5ba990]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x442a0a
jmp 0x4429f2
Function at 0x442d00
Capabilities:
Delete file
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x54e6d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push ebp
mov ebp, ecx
push esi
push edi
xor ebx, ebx
mov edi, dword [ebp + 4]
mov dword [esp + 0x18], ebp
cmp edi, ebx
je 0x442de6
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov esi, dword [edi + 8]
mov ecx, dword [esp + 0x18]
push esi
call fcn.00442b40
cmp eax, ebx
je 0x442d4c
mov dword [eax + 0x40c], ebx
push esi
lea eax, [esp + 0x28]
push str.SoftwareDownloadManager_ld
push eax
call fcn.0051d0e8
add esp, 0xc
lea ecx, [esp + 0x20]
lea edx, [esp + 0x14]
lea eax, [esp + 0x24]
push ecx
push edx
push ebx
push 0xf003f
push ebx
push 0x5ba440
push ebx
push eax
push 0x80000001
call ebp
test eax, eax
jne 0x442daf
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
push 4
push ecx
push 4
push ebx
push str.queueID
push edx
mov dword [esp + 0x34], ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [0x5ba990]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x442dd8
mov edx, dword [0x5ba990]
push esi
push 0x139b
push 0x111
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, dword [edi]
cmp edi, ebx
jne 0x442d35
mov ebp, dword [esp + 0x18]
mov eax, dword [0x5b5ecc]
mov dword [esp + 0x10], eax
mov ecx, dword [ebp + 0x60]
mov edx, dword [0x5ba8a4]
push ecx
push edx
lea eax, [esp + 0x18]
push str._sScheduler_s__ld.dt
push eax
mov dword [esp + 0x64], ebx
call fcn.0053091a
mov ecx, dword [esp + 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
add esp, 0x10
push ecx
call esi
mov edx, dword [ebp + 0x60]
mov eax, dword [0x5ba8a4]
push edx
push eax
lea ecx, [esp + 0x18]
push str._sSchedulerq__ld.dt
push ecx
call fcn.0053091a
mov edx, dword [esp + 0x20]
add esp, 0x10
push edx
call esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x54], 0xffffffff
call fcn.00537b04
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x48
ret
Function at 0x443ef0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x30c
push ebx
push ebp
mov ebx, ecx
push esi
mov esi, dword [esp + 0x31c]
lea eax, [esp + 0x118]
push edi
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0x220]
push ecx
mov ecx, dword [esi]
lea eax, [esp + 0x1c]
push edx
push eax
push ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x24], 2
call fcn.0051d13a
mov edi, dword [esp + 0x338]
add esp, 0x14
test edi, edi
je 0x443fd7
mov ebp, dword [esp + 0x32c]
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x443f84
mov edx, dword [esp + 0x328]
mov eax, dword [esi]
push edx
push eax
mov ecx, edi
call fcn.00443b00
cmp eax, 0xffffffff
jg 0x443f84
mov eax, dword [esi]
push 0xffffffffffffffff
push eax
mov ecx, ebx
call fcn.00443b00
cmp eax, 0xffffffff
jle 0x444053
test ebp, ebp
je 0x443f9c
mov eax, dword [esi]
push eax
push ebp
call fcn.00524fd0
add esp, 8
test eax, eax
je 0x444053
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x11c]
push eax
lea edx, [esp + 0x20]
push ecx
lea eax, [esp + 0x224]
push edx
lea ecx, [esp + 0x20]
push eax
push ecx
push str._s_s_s__d_s
push esi
call fcn.0053091a
mov eax, dword [esp + 0x2c]
add esp, 0x1c
inc eax
mov dword [esp + 0x10], eax
jmp 0x443f4a
mov edi, dword [esp + 0x32c]
mov ebx, dword [esp + 0x328]
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov eax, dword [esi]
push eax
call ebp
cmp eax, 0xffffffff
jne 0x444007
mov eax, dword [esi]
mov ecx, dword [esp + 0x18]
push ebx
push eax
call fcn.00443b00
cmp eax, 0xffffffff
jle 0x444053
test edi, edi
je 0x44401b
mov eax, dword [esi]
push eax
push edi
call fcn.00524fd0
add esp, 8
test eax, eax
je 0x444053
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x11c]
push edx
lea ecx, [esp + 0x20]
push eax
lea edx, [esp + 0x224]
push ecx
lea eax, [esp + 0x20]
push edx
push eax
push str._s_s_s__d_s
push esi
call fcn.0053091a
mov eax, dword [esp + 0x2c]
add esp, 0x1c
inc eax
mov dword [esp + 0x10], eax
jmp 0x443feb
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x30c
ret 0x10

Function at 0x444520
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [0x5ba8bc]
lea eax, [esp]
lea ecx, [esp + 4]
push eax
push ecx
push 0
push 0
push str.dPrDtVis
push edx
mov dword [esp + 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x44455c
mov eax, dword [esp + 4]
test eax, eax
setne al
add esp, 8
ret
mov al, 1
add esp, 8
ret
Function at 0x445520
Capabilities:
Get geographical location

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [esp + 0x1c]
push 0
push 0x400
push esi
push edi
call fcn.0051e2c0
mov dword [esp + 0x10], eax
mov ecx, esi
cdq
mov ebp, eax
mov eax, edi
sub eax, ebp
push 0
sbb ecx, edx
push 0x400
push ecx
push eax
mov dword [esp + 0x30], edx
call fcn.0051e210
mov ebx, eax
and ebx, 0x800003ff
jns 0x445570
dec ebx
or ebx, 0xfffffc00
inc ebx
mov eax, ebx
mov ecx, edi
shl eax, 0xa
cdq
sub ecx, eax
mov eax, esi
sbb eax, edx
sub ecx, ebp
mov ebp, dword [esp + 0x20]
push 0
sbb eax, ebp
push 0x100000
push eax
push ecx
call fcn.0051e210
mov ebp, eax
and ebp, 0x800003ff
jns 0x4455a6
dec ebp
or ebp, 0xfffffc00
inc ebp
push 0
push 0x40000000
push esi
push edi
call fcn.0051e210
lea ecx, [esp + 0x1c]
push 3
push ecx
mov esi, eax
push 0xe
push 0x400
mov dword [esp + 0x24], esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x4455fa
mov edi, 0x59a5b0
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x1c]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x14]
test esi, esi
jne 0x44569a
cmp ebp, 0x3e7
jg 0x44569a
test ebp, ebp
jne 0x445672
cmp ebx, 0x3e7
jg 0x445672
test ebx, ebx
je 0x44564a
mov eax, dword [esp + 0x10]
mov ecx, dword [0x5bafd8]
push ecx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
and edx, 0x3ff
add eax, edx
lea edx, [esp + 0x20]
sar eax, 0xa
push eax
push edx
push ebx
jmp 0x4456c2
mov ecx, dword [0x5bafd4]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
push ecx
push edx
push str._d___s
push eax
call fcn.0051d0e8
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
lea eax, [ebx + ebx*4]
mov ecx, dword [0x5bafdc]
push ecx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
and edx, 0x3ff
add eax, edx
lea edx, [esp + 0x20]
sar eax, 0xa
push eax
push edx
push ebp
jmp 0x4456c2
lea ebp, [ebp + ebp*4]
mov ecx, dword [0x5bafe0]
push ecx
lea eax, [ebp + ebp*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
and edx, 0x3ff
add eax, edx
lea edx, [esp + 0x20]
sar eax, 0xa
push eax
push edx
push esi
mov eax, dword [esp + 0x34]
push str._d_s_03d___s
push eax
call fcn.0051d0e8
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
Function at 0x447360
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x54eca0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov cl, byte [esp + 0x14]
mov edx, dword [0x5ba8bc]
xor eax, eax
push 4
test cl, cl
lea ecx, [esp + 0x18]
push ecx
push 4
push 0
push str.ShowDropTarget
setne al
push edx
mov dword [esp + 0x2c], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x44a700
Capabilities:
Move file

Disassembly:
mov eax, dword [0x5ba8ac]
push esi
test eax, eax
push edi
je 0x44a7c8
mov eax, dword [0x5babb4]
test eax, eax
jne 0x44a72b
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
pop edi
pop esi
ret
mov eax, dword [0x5baba8]
test eax, eax
jne 0x44a748
call fcn.0044a2d0
mov dword [0x5baba4], eax
mov dword [0x5baba8], 1
mov eax, dword [0x5baba4]
test eax, eax
je 0x44a764
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
pop edi
pop esi
ret
mov esi, dword [esp + 0x10]
push esi
call fcn.0044a390
mov edi, dword [esp + 0x10]
add esp, 4
test eax, eax
jne 0x44a7a4
push esi
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x44a79c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x44a7a4
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
xor eax, eax
pop esi
ret
pop edi
mov eax, 1
pop esi
ret
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x44a7b9
push 5
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
xor eax, eax
pop esi
ret
push 0
push esi
push edi
call fcn.00449dc0
add esp, 0xc
pop edi
pop esi
ret
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
pop edi
pop esi
ret

Function at 0x44a7e0
Capabilities:
Copy file

Disassembly:
mov eax, dword [0x5ba8ac]
push ebx
push esi
push edi
test eax, eax
je 0x44a88f
mov eax, dword [0x5babb4]
test eax, eax
je 0x44a88f
mov eax, dword [0x5baba8]
test eax, eax
jne 0x44a81a
call fcn.0044a2d0
mov dword [0x5baba4], eax
mov dword [0x5baba8], 1
mov eax, dword [0x5baba4]
test eax, eax
jne 0x44a88f
mov esi, dword [esp + 0x14]
push esi
call fcn.0044a390
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
add esp, 4
test eax, eax
jne 0x44a86a
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x44a861
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x44a86a
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
xor eax, eax
pop ebx
ret
pop edi
pop esi
mov eax, 1
pop ebx
ret
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x44a880
push 5
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
xor eax, eax
pop ebx
ret
push edi
push esi
push ebx
call fcn.00449f00
add esp, 0xc
pop edi
pop esi
pop ebx
ret
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
pop edi
pop esi
pop ebx
ret
Function at 0x44a8b0
Capabilities:
Delete file

Disassembly:
mov eax, dword [0x5ba8ac]
push esi
test eax, eax
je 0x44a95f
mov eax, dword [0x5babb4]
test eax, eax
jne 0x44a8d4
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop esi
ret
mov eax, dword [0x5baba8]
test eax, eax
jne 0x44a8f1
call fcn.0044a2d0
mov dword [0x5baba4], eax
mov dword [0x5baba8], 1
mov eax, dword [0x5baba4]
test eax, eax
je 0x44a907
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop esi
ret
mov esi, dword [esp + 8]
push esi
call fcn.0044a390
add esp, 4
test eax, eax
jne 0x44a940
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x44a939
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x44a940
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop esi
ret
mov eax, 1
pop esi
ret
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x44a954
push 5
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop esi
ret
push esi
call fcn.0044a030
add esp, 4
pop esi
ret
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop esi
ret

Function at 0x44a970
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [0x5ba8ac]
push esi
test eax, eax
je 0x44aa4c
mov eax, dword [0x5babb4]
test eax, eax
jne 0x44a99e
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop esi
ret
mov eax, dword [0x5baba8]
test eax, eax
jne 0x44a9bb
call fcn.0044a2d0
mov dword [0x5baba4], eax
mov dword [0x5baba8], 1
mov eax, dword [0x5baba4]
test eax, eax
jne 0x44aa4c
mov esi, dword [esp + 8]
push esi
call fcn.0044a390
add esp, 4
test eax, eax
jne 0x44a9fb
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x44aa0d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x44aa2d
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop esi
ret
push 0x5baaa0
push esi
call fcn.00524fd0
add esp, 8
test eax, eax
jne 0x44aa14
mov eax, 1
pop esi
ret
push 0x5ba99c
push esi
call fcn.00524fd0
add esp, 8
test eax, eax
jne 0x44aa2d
mov eax, 1
pop esi
ret
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x44aa41
push 5
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop esi
ret
push esi
call fcn.0044a110
add esp, 4
pop esi
ret
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop esi
ret
Function at 0x44aa70
Capabilities:
Create directory

Disassembly:
mov eax, dword [0x5ba8ac]
push esi
test eax, eax
je 0x44ab24
mov eax, dword [0x5babb4]
test eax, eax
jne 0x44aa96
mov eax, dword [esp + 8]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
pop esi
ret
mov eax, dword [0x5baba8]
test eax, eax
jne 0x44aab3
call fcn.0044a2d0
mov dword [0x5baba4], eax
mov dword [0x5baba8], 1
mov eax, dword [0x5baba4]
test eax, eax
je 0x44aacb
mov ecx, dword [esp + 8]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
pop esi
ret
mov esi, dword [esp + 8]
push esi
call fcn.0044a390
add esp, 4
test eax, eax
jne 0x44ab05
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x44aafe
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x44ab05
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop esi
ret
mov eax, 1
pop esi
ret
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x44ab19
push 5
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop esi
ret
push esi
call fcn.0044a1f0
add esp, 4
pop esi
ret
mov edx, dword [esp + 8]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
pop esi
ret
Function at 0x44b8e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54f200
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], esi
mov eax, dword [esi + 4]
mov dword [ebp - 4], 0
test eax, eax
je 0x44b91d
push eax
call fcn.005380ca
add esp, 4
mov ebx, dword [ebp + 8]
or ecx, 0xffffffff
mov edi, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.005380a1
mov edx, eax
add esp, 4
test edx, edx
mov dword [esi + 4], edx
je 0x44b97f
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [ebp - 0x14]
push ebx
push 1
mov edx, dword [ecx + 8]
push eax
mov eax, dword [0x5ba8bc]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4