joyce8/EMBER2024-capa huggingface dataset:
Function at 0x435c6e
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x448
mov byte [ebp - 8], dl
mov dword [ebp - 0xc], ecx
mov byte [ebp - 1], 0
test dl, dl
je 0x435c94
push 0x51623c
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x240]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [ebp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, 0x1f4
push ebx
mov dword [ebp - 0x14], 3
mov dword [ebp - 0x10], eax
call edi
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileW]
jmp 0x435dd9
mov ecx, dword [ebp - 0xc]
call fcn.004b9537
test al, al
je 0x435cf3
push 0
push dword [ebp - 0xc]
lea eax, [ebp - 0x240]
push eax
call esi
test eax, eax
jne 0x435def
mov edx, dword [ebp - 0xc]
lea ecx, [ebp - 0x240]
call fcn.004b8147
test al, al
jne 0x435def
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 8]
jne 0x435d6b
cmp byte [ebp - 8], 0
je 0x435d6b
call fcn.0046a110
test al, al
je 0x435d6b
call fcn.004c9f38
test al, al
jne 0x435d6b
push dword [ebp + 8]
lea eax, [ebp - 0x18]
push dword [ebp - 0xc]
push 0x516204
push eax
call fcn.004a1618
add esp, 0x10
push 0
push 1
push 1
lea ecx, [ebp - 0x18]
call fcn.004a0ff9
mov edx, eax
lea ecx, [ebp - 0x240]
call fcn.0046bda7
test al, al
jne 0x435e3c
lea ecx, [ebp - 0x18]
call fcn.004a0c7d
dec dword [ebp - 0x10]
jne 0x435dd6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push 0x559fc8
mov dword [ebp - 0x10], eax
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x435db9
call fcn.004c9f38
test al, al
jne 0x435dc6
push dword [0x896f78]
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x34], 0x35
call fcn.00477c73
pop ecx
pop ecx
cmp eax, 2
je 0x435e2d
jmp 0x435dcf
call fcn.004c9f38
test al, al
je 0x435e7e
cmp dword [ebp - 0x14], 0
je 0x435e2d
dec dword [ebp - 0x14]
mov dword [ebp - 0x10], 0xa
push ebx
call edi
push 0
push dword [ebp - 0xc]
lea eax, [ebp - 0x240]
push eax
call esi
test eax, eax
je 0x435cd1
cmp byte [ebp - 8], 0
je 0x435e29
mov ecx, dword [ebp - 0xc]
call fcn.00435c4d
test al, al
jne 0x435e2d
call fcn.004c9f38
test al, al
jne 0x435e29
push dword [0x896f64]
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x34], 0x10
call fcn.00477c73
pop ecx
pop ecx
mov byte [ebp - 1], 1
call fcn.00435be8
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
leave
ret 4
mov ecx, dword [ebp - 0xc]
call fcn.00435c4d
test al, al
jne 0x435e70
call fcn.004c9f38
test al, al
jne 0x435e70
push dword [0x896f64]
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x34], 0x10
call fcn.00477c73
pop ecx
pop ecx
mov byte [ebp - 1], 1
lea ecx, [ebp - 0x18]
call fcn.004a0c7d
jmp 0x435e2d
mov ecx, dword [ebp - 0x10]
push 0x104
lea edx, [ebp - 0x448]
call fcn.004b922b
lea eax, [ebp - 0x448]
push eax
push dword [0x896f60]
lea eax, [ebp + 8]
push eax
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x34], 0x30
call fcn.004a1618
add esp, 0xc
mov ecx, eax
call fcn.004a0ff9
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00477c73
pop ecx
pop ecx
lea ecx, [ebp + 8]
jmp 0x435e77
Function at 0x436554
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
mov ecx, edi
mov ebx, edx
call fcn.004a0cb3
xor edx, edx
xor ecx, ecx
call fcn.0048245f
mov esi, eax
lea eax, [ebp - 0x20c]
mov ecx, esi
sub eax, esi
movzx edx, word [ecx]
mov word [eax + ecx], dx
inc ecx
inc ecx
test dx, dx
jne 0x436584
mov eax, 0x5162f4
lea ecx, [ebp - 0x20c]
call fcn.004068fc
mov dl, 1
mov ecx, esi
call fcn.00479b79
mov edx, dword [ebp - 4]
push ebx
lea ecx, [ebp - 0x20c]
call fcn.004b9462
test al, al
jne 0x4365d0
push dword [0x896f74]
mov ecx, edi
call fcn.004a101e
jmp 0x436700
mov eax, dword [0x55a034]
mov edx, dword [ebp + 8]
mov ecx, 0xfffeffff
mov esi, eax
mov ebx, edx
and esi, ecx
and ebx, ecx
cmp ebx, esi
ja 0x43660e
push edx
push eax
push dword [0x896f70]
lea eax, [ebp + 0xc]
push eax
call fcn.004a1618
add esp, 0x10
push dword [eax]
mov ecx, edi
call fcn.004a101e
lea ecx, [ebp + 0xc]
jmp 0x4366fb
lea ecx, [ebp - 0x20c]
call fcn.004bd0e5
test al, al
jne 0x436625
push dword [0x896f7c]
jmp 0x4365c4
mov edx, edi
lea ecx, [ebp - 0x20c]
call fcn.0042c94a
test eax, eax
je 0x436700
xor esi, esi
push esi
mov edx, edi
lea ecx, [ebp - 0x20c]
call fcn.0042cc57
test al, al
je 0x436700
push 0x104
lea eax, [ebp - 0x414]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [ebp - 0x414]
lea ecx, [ebp - 0x20c]
call fcn.004359ba
test al, al
jne 0x436698
lea eax, [ebp - 0x20c]
push eax
push dword [0x896f68]
lea eax, [ebp + 0xc]
push eax
call fcn.004a1618
add esp, 0xc
jmp 0x4365fd
mov ebx, 0x51623c
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov dword [ebp + 8], 0x12c
mov edi, 0x1f0001
jmp 0x4366c3
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
dec dword [ebp + 8]
je 0x4366d5
push ebx
push 0
push edi
call esi
test eax, eax
je 0x4366b3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x43670f
lea eax, [ebp - 0x20c]
push eax
push dword [0x896f6c]
lea eax, [ebp + 8]
push eax
call fcn.004a1618
mov ecx, dword [ebp + 0xc]
add esp, 0xc
push dword [eax]
call fcn.004a101e
lea ecx, [ebp + 8]
call fcn.004a0c7d
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor al, al
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4399a6
Capabilities:
Get disk information via ioctl

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
xor edi, edi
push edi
push edi
push 3
push edi
push 3
push edi
mov esi, edx
or dword [esi], 0xffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4399d0
xor eax, eax
jmp 0x439a04
push edi
lea eax, [ebp - 4]
push eax
push 0xc
lea eax, [ebp - 0x10]
push eax
push edi
push edi
push 0x2d1080
push ebx
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x4399f5
mov eax, dword [ebp - 0xc]
mov dword [esi], eax
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp dword [esi], 0xffffffff
setne al
pop edi
pop esi
pop ebx
leave
ret

Function at 0x43d83a
Capabilities:
Encode data using xor

Disassembly:
test ecx, ecx
jne 0x43d842
xor al, al
jmp 0x43d85d
xor eax, eax
push esi
mov esi, dword [esp + 8]
mov edx, eax
xor edx, 3
mov dl, byte [edx + ecx]
mov byte [eax + esi], dl
inc eax
cmp eax, 0x14
jne 0x43d845
mov al, 1
pop esi
ret 4

Function at 0x43d860
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
mov edx, dword [esp + 8]
mov ecx, eax
xor ecx, 3
mov cl, byte [ecx + edx]
mov edx, dword [esp + 4]
mov byte [eax + edx], cl
inc eax
cmp eax, 0x14
jne 0x43d862
ret 8
Function at 0x441953
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push 0
lea eax, [ebp + 8]
push eax
push dword [ebp + 8]
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x44199d
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
je 0x441999
push dword [ebp + 8]
push dword [ebp + 0xc]
push 0xffffffffffffffff
push 0xffffffffffffff9d
push 0xffffffffffffff9d
push 0x169
call esi
push eax
push 0x517bf8
call fcn.004263e6
add esp, 0x20
call esi
jmp 0x4419cd
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0xc]
jae 0x4419cb
push eax
push dword [ebp + 0xc]
mov esi, 0x490
push 0xffffffffffffffff
push 0xffffffffffffff9d
push 0xffffffffffffff9d
push 0x16d
push esi
push 0x517bf8
call fcn.004263e6
add esp, 0x20
mov eax, esi
jmp 0x4419cd
xor eax, eax
pop esi
pop ebp
ret 8
Function at 0x442f51
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
mov edi, ecx
call fcn.00442e90
mov esi, 0x517ff4
mov edx, 0x517fdc
mov ecx, esi
call fcn.004b878f
mov edx, 0x517fc8
mov ecx, esi
mov dword [0x56b100], eax
call fcn.004b878f
xor esi, esi
mov dword [0x56b004], eax
cmp eax, esi
je 0x442f9f
push 2
pop edx
mov ecx, 0x517fb0
call fcn.004b8ec2
mov byte [0x56af88], al
push esi
push esi
push esi
push esi
mov dword [0x56afdc], esi
mov dword [0x56afe0], 0x56afdc
mov dword [0x56b008], esi
mov dword [0x56b00c], 0x56b008
mov dword [0x56af90], esi
mov dword [0x56af94], 0x56af90
mov dword [0x56affc], esi
mov dword [0x56b000], 0x56affc
mov dword [0x56b0f8], esi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov edx, 0x517fac
mov ecx, 0x56b010
mov dword [0x56af98], eax
call fcn.00446dec
mov edx, 0x517fa8
mov ecx, 0x88d1a8
call fcn.00446dec
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
cmp dword [ebp - 0x18], 0x8000000
jae 0x44302c
mov eax, 0x800000
jmp 0x44303d
mov eax, dword [ebp - 0x18]
shr eax, 4
mov ecx, 0x2000000
cmp eax, ecx
jb 0x44303d
mov eax, ecx
push esi
push eax
push esi
push dword [ebp - 0x18]
mov dword [0x56af9c], eax
push 0x517f78
call fcn.004263aa
add esp, 0x14
push 0x56b11c
push edi
push 0x442db1
mov ecx, edi
call fcn.004a17b2
pop edi
pop esi
leave
ret
Function at 0x444a14
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x18]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x1c]
and dword [edi], 0
push dword [ebp + 8]
mov byte [eax], 0
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov ebx, eax
test ebx, ebx
je 0x444a8d
cmp word [ebx + 8], 2
jne 0x444a6a
cmp word [ebx + 0xa], 4
jne 0x444a6a
mov esi, dword [ebx + 0xc]
jmp 0x444a64
push dword [eax]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.004449ad
mov dword [edi], eax
test eax, eax
je 0x444a88
lea edi, [eax + 0x1c]
add esi, 4
mov eax, dword [esi]
test eax, eax
jne 0x444a48
mov esi, dword [ebp + 0x18]
push 0x400
push dword [ebx]
push esi
call sub.msvcrt.dll_strncpy
add esp, 0xc
mov byte [esi + 0x400], 0
xor eax, eax
jmp 0x444ab3
push 8
pop eax
jmp 0x444ab3
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
mov eax, 0x2af9
sub ecx, eax
je 0x444ab3
dec ecx
je 0x444aae
dec ecx
je 0x444aa7
dec ecx
jmp 0x444ab3
mov eax, 0x2afb
jmp 0x444ab3
mov eax, 0x2afa
pop edi
pop esi
pop ebx
pop ebp
ret 0x18
Function at 0x445091
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
cmp dword [0x56b46c], 0
mov dword [ebp - 0x18], 0x5180b4
mov dword [ebp - 0x14], 0x444c4f
mov dword [ebp - 0x10], 0x5180a8
mov dword [ebp - 0xc], 0x444ed9
mov dword [ebp - 8], 0x518098
mov dword [ebp - 4], fcn.00444c16
jne 0x4451ed
push 0x104
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x4451e3
xor eax, eax
mov cl, byte [ebp + eax - 0x22c]
mov byte [ebp + eax - 0x124], cl
inc eax
test cl, cl
jne 0x4450ed
push edi
lea edi, [ebp - 0x124]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x445108
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
mov esi, 0x518090
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x124]
push eax
movsd dword es:[edi], dword [esi]
call ebx
mov esi, eax
test esi, esi
je 0x44514b
push 0x5180b4
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x445147
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor esi, esi
test esi, esi
jne 0x4451a2
xor eax, eax
mov cl, byte [ebp + eax - 0x22c]
mov byte [ebp + eax - 0x124], cl
inc eax
test cl, cl
jne 0x44514d
lea edi, [ebp - 0x124]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x445167
mov esi, 0x518088
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x124]
push eax
movsd dword es:[edi], dword [esi]
call ebx
mov esi, eax
test esi, esi
je 0x4451e0
push 0x5180b4
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x44519e
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor esi, esi
test esi, esi
je 0x4451e0
xor edi, edi
push dword [ebp + edi*8 - 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp + edi*8 - 0x14], eax
test eax, eax
je 0x4451bf
inc edi
cmp edi, 3
jl 0x4451a4
jmp 0x4451c8
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor esi, esi
test esi, esi
je 0x4451e0
xor eax, eax
mov ecx, dword [ebp + eax - 0x14]
mov dword [eax + 0x554990], ecx
add eax, 8
cmp eax, 0x18
jl 0x4451ce
pop esi
pop ebx
pop edi
mov dword [0x56b46c], 1
movzx eax, word [ebp + 8]
mov eax, dword [eax*8 + 0x554990]
leave
ret 4

Function at 0x446e3a
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
push esi
mov esi, dword [ebp + 0x20]
push edi
test esi, esi
jne 0x446e50
lea esi, [ebp - 4]
push esi
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
mov eax, dword [esi]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov esi, 0x56b4cc
mov ecx, esi
mov dword [ebp - 8], eax
call fcn.00446bf3
push 0
lea eax, [ebp - 0xc]
push eax
mov ecx, 0x56b520
call fcn.00446d2e
mov ecx, esi
call fcn.00446c71
mov eax, edi
pop edi
pop esi
leave
ret 0x1c
Function at 0x448893
Capabilities:
Check os version

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetVersion]
push 0x11c
lea edi, [esi + 4]
push 0
lea ebx, [esi + 0x124]
and dword [ebx], 0
push edi
mov dword [esi], eax
mov byte [esi + 0x120], 0
call sub.msvcrt.dll_memset
movzx eax, byte [esi]
add esp, 0xc
cmp eax, 5
jb 0x4488e3
push edi
mov dword [edi], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
setne al
mov byte [esi + 0x120], al
movzx eax, byte [esi]
cmp eax, 6
jb 0x44890e
mov edx, 0x518efc
mov ecx, 0x51497c
call fcn.004b878f
test eax, eax
je 0x44890e
movzx ecx, byte [esi + 1]
push ebx
push 0
push 0
push ecx
movzx ecx, byte [esi]
push ecx
call eax
pop edi
mov eax, esi
pop esi
pop ebx
ret

Function at 0x44967f
Capabilities:
Delete file

Disassembly:
push ebx
push esi
mov bl, dl
mov esi, ecx
call fcn.00482110
test al, al
je 0x4496b9
test bl, bl
je 0x4496b2
mov ecx, esi
call fcn.00482517
test eax, eax
je 0x4496b9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push 0x519008
call fcn.004263e6
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop esi
pop ebx
ret
Function at 0x44a48f
Capabilities:
Delete directory
Delete file

Disassembly:
push ecx
push ecx
push ebp
xor eax, eax
mov ebp, ecx
mov dword [esp + 8], eax
cmp dword [ebp + 8], eax
je 0x44a5a2
push ebx
push esi
mov dword [esp + 0xc], eax
push edi
mov esi, dword [ebp]
add esi, dword [esp + 0x10]
mov ecx, dword [ebp + 0x1c]
mov edx, dword [esi + 0x24]
push 0
call fcn.004b7a49
mov edi, eax
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x44a4c3
sub eax, ecx
sar eax, 1
mov ecx, eax
mov eax, dword [esi + 0x24]
lea edx, [eax + 2]
mov si, word [eax]
inc eax
inc eax
test si, si
jne 0x44a4d9
sub eax, edx
sar eax, 1
sub ecx, eax
lea esi, [edi + ecx*2 - 2]
jmp 0x44a56e
xor ecx, ecx
push edi
mov word [eax], cx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x44a56e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x91
jne 0x44a56e
push 0
mov edx, 0x5190f0
mov ecx, edi
call fcn.004b7a49
mov ecx, eax
call fcn.0049e702
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
push 0
mov edx, 0x5190dc
mov ecx, edi
setne bl
call fcn.004b7a49
mov ecx, eax
call fcn.0049e702
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne al
test bl, bl
jne 0x44a556
test al, al
je 0x44a580
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x44a56e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x91
je 0x44a580
push 0x5c
push edi
call sub.msvcrt.dll_wcsrchr
pop ecx
pop ecx
cmp eax, esi
jae 0x44a4ef
mov dl, 1
mov ecx, edi
call fcn.00479b79
inc dword [esp + 0x14]
mov eax, dword [esp + 0x14]
add dword [esp + 0x10], 0x7c
cmp eax, dword [ebp + 8]
jne 0x44a4aa
pop edi
pop esi
pop ebx
pop ebp
pop ecx
pop ecx
ret

Function at 0x44a70f
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
push ebx
mov edi, ecx
call fcn.0044a132
mov esi, dword [ebp + 8]
mov eax, dword [edi]
imul esi, esi, 0x7c
add eax, esi
push eax
mov ecx, edi
call fcn.004498b8
lea ecx, [ebp - 4]
mov dword [ebp - 4], eax
call fcn.004a0ff9
mov ecx, eax
call fcn.00482110
test al, al
je 0x44a768
push dword [ebp + 0xc]
lea ecx, [ebp - 4]
call fcn.004a0ff9
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x44a768
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x44a77d
mov ecx, dword [ebp + 0xc]
call fcn.0042876e
push eax
mov eax, dword [edi]
add eax, esi
push eax
mov ecx, edi
call fcn.0044a35e
lea ecx, [ebp - 4]
call fcn.004a0c7d
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 8
Function at 0x44a78e
Capabilities:
Check if file exists
Get disk information
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 0x1c]
xor ebx, ebx
call fcn.004b82dc
mov ecx, dword [esi + 0x1c]
test al, al
je 0x44a7b0
call fcn.0042876e
jmp 0x44a7b5
call fcn.0049a515
lea ecx, [ebp - 4]
mov dword [ebp - 4], eax
call fcn.004a1005
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 4]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
call fcn.004a0ff9
push eax
mov ecx, esi
call fcn.00449bcd
xor esi, esi
cmp dword [ebp - 8], ebx
jbe 0x44a838
mov eax, dword [ebp - 0x10]
lea eax, [eax + esi*4]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, dword [ebp - 8]
cmp eax, 0xffffffff
je 0x44a813
test al, 0x10
jne 0x44a81a
lea edx, [ecx - 1]
cmp esi, edx
je 0x44a81e
test eax, 0x1000
jne 0x44a838
test eax, 0x400
jne 0x44a838
inc esi
cmp esi, ecx
jb 0x44a7e4
jmp 0x44a838
mov bl, 1
jmp 0x44a838
mov eax, dword [ebp - 0x10]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [eax + esi*4]
push ebx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
setne bl
lea ecx, [ebp - 0x10]
call fcn.0043d153
lea ecx, [ebp - 4]
call fcn.004a0c7d
pop esi
mov al, bl
pop ebx
leave
ret

Function at 0x44afc7
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
xor edi, edi
push edi
mov esi, ecx
call fcn.0044a132
cmp byte [esi + 0x28], 0
mov ecx, esi
jne 0x44b035
call fcn.0044a78e
mov ebx, 0x70000001
test al, al
je 0x44b013
mov eax, dword [esi]
mov cl, byte [eax + 0x2e]
shr cl, 3
push 1
and cl, 1
movzx ecx, cl
push ecx
push dword [ebp + 8]
push dword [esi + 0x1c]
push dword [eax + 0x24]
push dword [ebp + 0xc]
call fcn.00449922
mov edi, eax
jmp 0x44b015
mov edi, ebx
test edi, edi
je 0x44b021
cmp edi, ebx
jne 0x44b0cf
mov ecx, dword [ebp + 0xc]
call fcn.0042876e
push eax
push dword [esi]
mov ecx, esi
call fcn.0044a35e
jmp 0x44b0b3
call fcn.0044a78e
test al, al
je 0x44b0ae
lea ecx, [ebp + 0xc]
call fcn.004a0e93
push dword [ebp + 8]
push dword [esi + 0x1c]
push 0x519104
call fcn.004263e6
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileW]
add esp, 0xc
push dword [ebp + 8]
push dword [esi + 0x1c]
call ebx
test eax, eax
jne 0x44b0a4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x44b090
push dword [ebp + 8]
mov ecx, esi
call fcn.0044a64c
mov edi, eax
test edi, edi
je 0x44b0a4
lea ecx, [ebp + 0xc]
call fcn.004a0c7d
jmp 0x44b0cf
mov ecx, dword [ebp + 8]
call fcn.004b9537
push dword [ebp + 8]
push dword [esi + 0x1c]
call ebx
test eax, eax
je 0x44b076
lea ecx, [ebp + 0xc]
call fcn.004a0c7d
jmp 0x44b0b3
mov edi, 0x70000001
call fcn.0047cfd9
mov edx, dword [ebp + 8]
lea ecx, [esi + 0x1c]
call fcn.0049fe43
mov ecx, esi
call fcn.0044a316
call fcn.0047cff8
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x44bfb9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
mov eax, dword [esi]
push edi
call dword [eax + 8]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
xor ebx, ebx
cmp edi, ebx
je 0x44c0b7
push edi
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp + 0xc], eax
cmp eax, ebx
je 0x44c0b7
push edi
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
cmp edi, ebx
je 0x44c0b7
push dword [ebp + 0xc]
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [esi + 0x10], eax
cmp eax, ebx
je 0x44c0b7
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, ebx
je 0x44c0ab
push dword [ebp + 0xc]
push edi
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
lea eax, [ebp + 0x10]
push eax
push ebx
push dword [esi + 0x10]
mov dword [ebp + 0x10], ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x44c0a2
mov ecx, dword [ebp + 0x10]
xor edx, edx
call fcn.0044bf2d
mov dword [esi + 4], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x44c0a2
mov ecx, dword [eax + 8]
mov dword [eax + 8], ebx
cmp ecx, ebx
mov ecx, dword [esi + 4]
jne 0x44c095
call fcn.00406291
mov ecx, dword [esi + 4]
mov dword [esi + 8], eax
call fcn.004062b5
mov dword [esi + 0xc], eax
mov al, 1
jmp 0x44c0b9
cmp ecx, ebx
je 0x44c09f
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 4], ebx
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [esi + 0x10], ebx
xor al, al
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x44e035
Capabilities:
Write file on windows

Disassembly:
push esi
push edi
mov esi, ecx
call fcn.004a0e93
mov ecx, 0x519bf4
mov byte [esi + 4], 0
mov byte [esi + 5], 0
call fcn.0049a53c
mov edx, 0x519bec
mov ecx, eax
call fcn.004b7368
mov edi, eax
push edi
mov ecx, esi
call fcn.004a101e
mov dl, 1
mov ecx, edi
call fcn.00479b79
push 0x519be8
mov ecx, esi
call fcn.004a0ff9
mov ecx, eax
call fcn.0049e64a
push eax
call sub.msvcrt.dll_fopen
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x44e0b8
push edi
push dword [esp + 0x14]
mov byte [esi + 4], 1
push 1
push dword [esp + 0x18]
call sub.msvcrt.dll_fwrite
add esp, 0x10
cmp dword [esp + 0x10], eax
jne 0x44e0b1
mov byte [esi + 5], 1
push edi
call sub.msvcrt.dll_fclose
pop ecx
pop edi
mov eax, esi
pop esi
ret 8
Function at 0x44e5e2
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
lea eax, [ebp + 0x14]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp + 0x10]
test eax, eax
jne 0x44e615
cmp dword [ebp + 0x14], ecx
jne 0x44e615
xor eax, eax
inc eax
jmp 0x44e617
xor eax, eax
cmp ecx, 1
jne 0x44e627
xor ecx, ecx
cmp dword [ebp + 0x14], 2
sete cl
or eax, ecx
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x44e633
mov edx, dword [ebp - 4]
mov dword [ecx], edx
test eax, eax
setne al
leave
ret 0x14

Function at 0x44e63c
Capabilities:
Set registry value

Disassembly:
cmp byte [0x88f7d0], 0
je 0x44e64a
or eax, 0xffffffff
jmp 0x44e664
push dword [esp + 0x10]
push dword [esp + 0xc]
push dword [esp + 0x14]
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 0x10

Function at 0x44e747
Capabilities:
Set registry value

Disassembly:
cmp byte [0x88f7d0], 0
jne 0x44e781
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x44e781
push eax
push dword [esp + 0xc]
push dword [esp + 0xc]
push 0x519de0
call fcn.00466ca2
add esp, 0x10
ret 8

Function at 0x44e784
Capabilities:
Delete registry value

Disassembly:
cmp byte [0x88f7d0], 0
jne 0x44e7af
push dword [esp + 4]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x44e7af
push dword [esp + 4]
push eax
push 0x519e60
call fcn.00466ca2
add esp, 0xc
ret 4

Function at 0x44e7e3
Capabilities:
Delete registry key

Disassembly:
cmp byte [0x88f7d0], 0
je 0x44e7f3
mov eax, 0x80004005
jmp 0x44e817
push dword [esp + 8]
push dword [esp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x44e817
push dword [esp + 8]
push eax
push 0x519eb0
call fcn.00466ca2
add esp, 0xc
ret 8