joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446455
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [edi + 0x58]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00416651
mov eax, dword [edi + 0x40]
xor edx, edx
inc edx
test dl, al
jne 0x4464a6
shr eax, 3
movzx ecx, al
and al, dl
and ecx, edx
movzx eax, al
add ecx, ecx
or ecx, edx
neg eax
sbb eax, eax
and eax, 7
push ecx
push eax
mov eax, edi
call fcn.004469dc
lea ecx, [edi + 0x60]
call fcn.00447c85
mov esi, eax
lea eax, [ebp - 8]
add esi, 0x18
push eax
jmp 0x4464ee
shr eax, 6
test dl, al
je 0x44650a
lea esi, [ebp - 8]
mov ecx, edi
call fcn.00447aab
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 4]
call fcn.0042e514
mov ecx, esi
call fcn.004071b8
lea eax, [ebp - 4]
call fcn.0043e5d0
push 6
mov eax, edi
call fcn.00446a20
lea ecx, [edi + 0x84]
call fcn.00447d1a
lea ecx, [ebp - 8]
push ecx
mov esi, eax
call fcn.0043e9d0
mov eax, dword [eax]
pop ecx
push dword [eax - 0xc]
push eax
lea eax, [ebp - 4]
call fcn.0042e514
lea ecx, [ebp - 8]
call fcn.004071b8
lea eax, [ebp - 4]
push eax
call fcn.0043ed40
pop ecx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [ebp - 4]
call fcn.004071b8
xor eax, eax
pop esi
leave
ret
Function at 0x446dde
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [edi + 0x40]
sub esp, 0x10
test al, 1
je 0x446df6
shr eax, 6
test al, 1
je 0x446eac
mov eax, dword [edi + 0x64]
and dword [ebp - 8], 0
mov dword [ebp - 0x10], eax
test eax, eax
jle 0x446eac
push ebx
push esi
mov eax, dword [ebp - 8]
lea ecx, [edi + 0x60]
call fcn.00447c85
mov esi, eax
cmp byte [esi + 0x1c], 0
je 0x446e9b
mov eax, dword [esi]
cmp eax, 1
je 0x446e36
cmp eax, 3
je 0x446e36
cmp eax, 0x64
jb 0x446e4e
cmp dword [edi + 0x78], 2
jne 0x446e4e
jmp 0x446e9b
mov eax, dword [edi + 0x78]
cmp eax, 4
je 0x446e4e
cmp eax, 2
je 0x446e9b
cmp eax, 1
je 0x446e9b
test byte [esi + 8], 1
jne 0x446e9b
lea ebx, [edi + 0x58]
push ebx
lea eax, [ebp - 4]
push eax
call fcn.00416651
mov esi, dword [esi + 0x18]
push dword [esi - 0xc]
lea eax, [ebp - 4]
push esi
call fcn.0042e514
lea esi, [ebp - 4]
call fcn.00405d11
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0xc]
push ebx
push eax
call fcn.0043e9d0
pop ecx
push eax
call fcn.0043f1a0
pop ecx
pop ecx
lea ecx, [ebp - 0xc]
call fcn.004071b8
mov ecx, esi
call fcn.004071b8
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x10]
jl 0x446e0a
pop esi
pop ebx
leave
ret
Function at 0x446eae
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x18
push ebx
push esi
push edi
mov ebx, 0x400
push ebx
mov esi, eax
call fcn.0047602d
mov edi, eax
xor edx, edx
pop ecx
mov dword [esp + 0xc], edi
cmp edi, edx
jne 0x446edd
push edx
call fcn.00476c1b
pop ecx
push 3
pop eax
jmp 0x447023
push ebp
mov dword [esp + 0x14], edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0x20]
inc dword [esp + 0x14]
add dword [esp + 0x18], 0xa
add eax, ebx
cmp dword [esp + 0x14], 1
mov dword [esp + 0x20], eax
jle 0x446f0c
sub eax, dword [esp + 0x18]
mov ecx, dword [esi + 0x6c]
push 2
push edx
neg eax
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x447018
mov eax, dword [esi + 0x6c]
push 0
lea ecx, [esp + 0x20]
push ecx
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x447018
cmp dword [esp + 0x1c], ebx
jne 0x447018
xor eax, eax
jmp 0x446f54
mov edi, dword [esp + 0x10]
xor ecx, ecx
add edi, eax
mov dl, byte [edi]
cmp dl, byte [ecx + str.ADVINSTSFX]
jne 0x446f69
inc ecx
inc edi
cmp ecx, 0xa
jl 0x446f58
cmp ecx, 0xa
jne 0x446f79
lea ecx, [eax + ebp - 0x40]
mov dword [esp + 0x24], ecx
add eax, 0xa
inc eax
cmp eax, 0x3f6
jb 0x446f50
mov edi, dword [esp + 0x24]
xor ebp, ebp
cmp edi, ebp
jne 0x446f96
mov edi, dword [esp + 0x10]
xor edx, edx
jmp 0x446eee
mov eax, dword [esi + 0x6c]
push ebp
push ebp
push edi
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x446fae
push dword [esp + 0x10]
jmp 0x447019
mov eax, dword [esi + 0x6c]
push ebp
lea ecx, [esp + 0x20]
push ecx
push 0x4c
lea ecx, [esi + 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x447007
cmp dword [esp + 0x1c], ebp
je 0x447007
xor eax, eax
movzx ecx, byte [esi + eax + 0x44]
movsx edx, byte [eax + str.ADVINSTSFX]
cmp ecx, edx
jne 0x447003
inc eax
cmp eax, 0xa
jl 0x446fd0
cmp dword [esi + 0x10], 0x64
jne 0x447003
sub edi, dword [esi + 0x14]
push dword [esp + 0x10]
mov dword [esi + 0x80], edi
call fcn.00476c1b
pop ecx
xor eax, eax
jmp 0x447022
push 5
jmp 0x447009
push 2
pop esi
push dword [esp + 0x10]
call fcn.00476c1b
pop ecx
mov eax, esi
jmp 0x447022
push edi
call fcn.00476c1b
pop ecx
push 2
pop eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x18
ret
Function at 0x44702a
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
xor ebx, ebx
push edi
cmp dword [esi + 0xc], ebx
jne 0x447040
xor eax, eax
jmp 0x447152
mov ecx, dword [esi + 0x80]
add ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x6c]
push ebx
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x447063
push 2
pop eax
jmp 0x447152
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
call fcn.00407441
mov byte [ebp - 0x10], bl
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
cmp dword [esi + 0xc], ebx
jbe 0x44713f
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esi + 0x6c]
push ebx
lea ecx, [ebp - 0xc]
push ecx
push 0x18
lea ecx, [ebp - 0x2c]
push ecx
push eax
call edi
test eax, eax
je 0x44713c
cmp dword [ebp - 0xc], ebx
je 0x44713c
cmp dword [ebp - 4], ebx
je 0x4470c9
push dword [ebp - 4]
call fcn.00476c1b
pop ecx
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 4]
inc eax
push ecx
call fcn.00447b5e
test al, al
je 0x447138
mov eax, dword [esi + 0x6c]
push ebx
lea ecx, [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 0x18]
add ecx, ecx
push ecx
push dword [ebp - 4]
push eax
call edi
test eax, eax
je 0x44713c
cmp dword [ebp - 0xc], ebx
je 0x44713c
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 4]
xor eax, eax
mov word [edx + ecx*2], ax
lea eax, [ebp - 0x2c]
lea ebx, [esi + 0x60]
push eax
call fcn.00447beb
mov eax, dword [ebp - 8]
mov ecx, ebx
call fcn.00447c85
push dword [ebp - 4]
add eax, 0x18
push eax
call fcn.004073e1
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
xor ebx, ebx
cmp eax, dword [esi + 0xc]
jb 0x447096
jmp 0x44713f
push 3
jmp 0x44713e
push 2
pop ebx
push dword [ebp - 4]
call fcn.00476c1b
pop ecx
lea ecx, [ebp - 0x14]
call fcn.004071b8
mov eax, ebx
pop edi
pop ebx
leave
ret
Function at 0x447156
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
xor esi, esi
cmp dword [edi + 0x88], esi
jle 0x44716f
xor eax, eax
jmp 0x44727d
mov ecx, dword [edi + 0x80]
add ecx, dword [edi + 8]
mov eax, dword [edi + 0x6c]
push esi
push esi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x447192
push 2
pop eax
jmp 0x44727d
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], esi
cmp dword [edi + 4], esi
jbe 0x447272
mov eax, dword [edi + 0x6c]
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
lea ecx, [ebp - 8]
push ecx
push 8
lea ecx, [ebp - 0x14]
push ecx
push eax
call ebx
test eax, eax
je 0x44726f
cmp dword [ebp - 8], esi
je 0x44726f
lea eax, [ebp - 0x1c]
push eax
call fcn.00407441
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 4], esi
je 0x4471ef
push dword [ebp - 4]
call fcn.00476c1b
pop ecx
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 4]
inc eax
push ecx
call fcn.00447b5e
test al, al
je 0x44725b
mov eax, dword [edi + 0x6c]
push esi
lea ecx, [ebp - 8]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, ecx
push ecx
push dword [ebp - 4]
push eax
call ebx
test eax, eax
je 0x447267
cmp dword [ebp - 8], esi
je 0x447267
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
xor ecx, ecx
push eax
mov word [eax + edx*2], cx
lea eax, [ebp - 0x1c]
push eax
call fcn.004073e1
lea esi, [edi + 0x84]
lea ebx, [ebp - 0x1c]
call fcn.00447ca6
mov ecx, ebx
call fcn.004071b8
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
xor esi, esi
cmp eax, dword [edi + 4]
jb 0x4471a7
jmp 0x447272
lea ecx, [ebp - 0x1c]
call fcn.004071b8
push 3
jmp 0x447271
lea ecx, [ebp - 0x1c]
call fcn.004071b8
push 2
pop esi
push dword [ebp - 4]
call fcn.00476c1b
pop ecx
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x448178
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
and dword [ebp - 8], 0
and dword [ebp - 4], 0
or eax, 0xffffffff
push ebx
push esi
push edi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx ebx, ax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx eax, ax
mov dword [ebp - 0xc], eax
call fcn.00453c2a
cmp eax, 0x11
jl 0x4481fe
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
push str.GetSystemDefaultUILanguage
push edi
call esi
test eax, eax
je 0x4481ea
call eax
movzx eax, ax
mov dword [ebp - 4], eax
push str.GetUserDefaultUILanguage
push edi
call esi
test eax, eax
je 0x4481fe
call eax
movzx eax, ax
mov dword [ebp - 8], eax
mov edx, dword [ebp + 8]
mov edi, dword [edx + 4]
xor esi, esi
test edi, edi
jle 0x44825f
push esi
mov ecx, edx
call fcn.00445d64
movzx eax, word [eax]
cmp ax, bx
jne 0x44821d
mov dword [ebp - 0x20], esi
cmp al, bl
jne 0x448224
mov dword [ebp - 0x10], esi
cmp ax, word [ebp - 0xc]
jne 0x44822d
mov dword [ebp - 0x28], esi
cmp al, byte [ebp - 0xc]
jne 0x448235
mov dword [ebp - 0x18], esi
cmp ax, word [ebp - 4]
jne 0x44823e
mov dword [ebp - 0x24], esi
cmp al, byte [ebp - 4]
jne 0x448246
mov dword [ebp - 0x14], esi
cmp ax, word [ebp - 8]
jne 0x44824f
mov dword [ebp - 0x2c], esi
cmp al, byte [ebp - 8]
jne 0x448257
mov dword [ebp - 0x1c], esi
mov edx, dword [ebp + 8]
inc esi
cmp esi, edi
jl 0x44820a
pop edi
pop esi
xor ecx, ecx
pop ebx
mov eax, dword [ebp + ecx*4 - 0x2c]
test eax, eax
jge 0x448288
inc ecx
cmp ecx, 8
jb 0x448264
xor eax, eax
cmp dword [edx + 4], eax
jg 0x448292
push eax
push eax
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]
push eax
mov ecx, edx
call fcn.00445d64
jmp 0x448294
mov eax, dword [edx]
mov ax, word [eax]
leave
ret

Function at 0x44830a
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
call fcn.00407441
movzx ebx, word [ebp + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 0
push 0x49fc88
push 2
push ebx
call edi
mov esi, eax
lea eax, [esi - 1]
push eax
push 0x78
pop ecx
lea edx, [ebp - 4]
call fcn.004326c5
push esi
lea esi, [ebp - 4]
call fcn.00405d11
push eax
push 2
push ebx
call edi
push dword [ebp - 4]
push dword [ebp + 0xc]
push 0x4a5e3c
push dword [ebp + 8]
call fcn.0042ec93
add esp, 0x10
mov ecx, esi
call fcn.004071b8
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x448c80
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x30]
sub esp, 0x20
cmp dword [eax - 0xc], 0
push esi
push edi
jne 0x448c98
mov al, 1
jmp 0x448cd6
and dword [ebp - 0x20], 0
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [ebx + 8]
lea esi, [eax + 0x30]
mov ecx, dword [esi]
call fcn.00452e8a
mov ecx, dword [ebp - 0x18]
shr ecx, 0x14
cmp ecx, eax
jge 0x448c94
push esi
push 0xd4
mov eax, ebx
call fcn.00448d20
xor al, al
pop edi
pop esi
leave
ret

Function at 0x448cda
Capabilities:
Check internet connectivity via wininet

Disassembly:
mov eax, dword [edi + 8]
cmp byte [eax + 0x35], 0
jne 0x448ce6
mov al, 1
ret
push esi
xor esi, esi
push 0
push 1
push dword [esi + 0x4a7a48]
call dword [sym.imp.WININET.dll_InternetCheckConnectionW]
test eax, eax
jne 0x448d1c
add esi, 4
cmp esi, 0xc
jb 0x448ce9
mov eax, dword [edi + 8]
add eax, 0x60
push eax
push 0xe2
mov eax, edi
call fcn.00448d20
xor al, al
pop esi
ret
mov al, 1
pop esi
ret

Function at 0x448d20
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, eax
mov eax, dword [esi + 4]
add eax, 0x50
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00416651
lea eax, [ebp - 0xc]
push eax
call fcn.00452b8c
pop ecx
lea eax, [ebp - 8]
push eax
call fcn.00407441
push dword [ebp + 8]
lea eax, [ebp - 8]
push eax
call fcn.0040f4bf
lea eax, [ebp - 4]
push eax
call fcn.00407441
mov eax, dword [ebp + 0xc]
push dword [eax]
lea eax, [ebp - 4]
push dword [ebp - 0xc]
push dword [ebp - 8]
push eax
call fcn.0042ec93
add esp, 0x10
cmp byte [esi + 0xc], 0
je 0x448d89
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x448db0
mov eax, dword [esi]
call fcn.0044a818
mov eax, dword [esi]
push 0
call fcn.0044a756
mov esi, eax
call dword [sym.imp.USER32.dll_GetActiveWindow]
push 0x30
lea ecx, [ebp - 4]
push esi
push ecx
call fcn.00456b8c
add esp, 0xc
lea ecx, [ebp - 4]
call fcn.004071b8
lea ecx, [ebp - 8]
call fcn.004071b8
lea ecx, [ebp - 0xc]
call fcn.004071b8
pop esi
leave
ret 8

Function at 0x44a825
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 0x10]
push eax
push 0x456bd7
push esi
push esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
mov dword [ebp - 0x10], eax
mov ebx, 0x1ff
jmp 0x44a889
push 1
push esi
push esi
push esi
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x44a889
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push ebx
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x10]
push eax
push 1
call edi
cmp eax, 1
je 0x44a862
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44b4be
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
xor eax, eax
cmp byte [0x4c08c0], al
je 0x44b51a
push edi
push 0x10
pop edi
cmp byte [ebp + 8], al
je 0x44b4db
mov edi, 0x40010
push eax
lea eax, [ebp - 8]
push eax
call fcn.0040f504
push dword [esi]
lea eax, [ebp - 4]
push eax
call fcn.0040f504
push edi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_GetActiveWindow]
call fcn.00456b8c
add esp, 0xc
lea ecx, [ebp - 4]
call fcn.004071b8
lea ecx, [ebp - 8]
call fcn.004071b8
pop edi
leave
ret
push dword [esi]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
leave
ret

Function at 0x44b874
Capabilities:
Persist via run registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x128]
sub esp, 0x1a8
mov eax, dword [0x4bf490]
xor eax, ebp
mov dword [ebp + 0x124], eax
push ebx
push esi
push edi
xor esi, esi
push esi
lea eax, [ebp - 0x74]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push str.SoftwareMicrosoftWindowsCurrentVersionRun
mov ebx, ecx
mov edi, edx
push SysReAllocStringLen
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x80], edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x44b8c7
xor al, al
jmp 0x44b978
mov ebx, dword [ebx]
mov eax, dword [ebx - 0xc]
cmp eax, 0x4f
jle 0x44b8d8
lea ebx, [ebx + eax*2 - 0x9e]
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x6c]
push eax
push esi
push esi
push ebx
push dword [ebp - 0x74]
mov dword [ebp - 0x78], 0xc8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x7c], eax
cmp eax, esi
jne 0x44b903
cmp dword [ebp - 0x78], 0xc8
jbe 0x44b967
push dword [ebp - 0x70]
lea eax, [ebp - 0x70]
push eax
call fcn.00416651
mov eax, dword [edi]
mov ecx, dword [eax - 0xc]
cmp ecx, esi
je 0x44b937
jge 0x44b924
push 0x80070057
call fcn.00407bce
cmp word [eax], 0x20
je 0x44b937
push 0x20
lea edi, [ebp - 0x70]
call fcn.0043e570
mov edi, dword [ebp - 0x80]
mov eax, dword [edi]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x70]
call fcn.0042e514
mov ecx, dword [ebp - 0x70]
mov eax, dword [ecx - 0xc]
add eax, eax
push eax
push ecx
push 1
push esi
push ebx
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x7c], eax
call fcn.004071b8
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp dword [ebp - 0x7c], esi
sete al
mov ecx, dword [ebp + 0x124]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00476b4b
add ebp, 0x128
leave
ret
Function at 0x44ba11
Capabilities:
Delete registry value
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x44ba3a
xor al, al
leave
ret
mov eax, dword [ebp + 8]
push esi
mov esi, dword [eax]
mov eax, dword [esi - 0xc]
cmp eax, 0x4f
push edi
jle 0x44ba50
lea esi, [esi + eax*2 - 0x9e]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0
push esi
push dword [ebp - 8]
mov dword [ebp - 0xc], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test edi, edi
je 0x44ba7b
cmp edi, 0xea
jne 0x44ba87
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edi, eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test edi, edi
pop edi
sete al
pop esi
leave
ret

Function at 0x44c423
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [eax]
push ebx
push esi
push edi
xor edi, edi
cmp dword [eax - 0xc], edi
jne 0x44c43b
xor eax, eax
jmp 0x44c4e2
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x44c45c
push eax
jmp 0x44c4d9
mov eax, dword [ebp + 0xc]
sub dword [ebp + 0x10], 2
push edi
push edi
add eax, 2
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x44c4d4
mov eax, dword [ebp + 0x10]
shr eax, 1
push eax
push 0x78
pop ecx
lea edx, [ebp - 4]
call fcn.004326c5
push edi
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x10]
lea esi, [ebp - 4]
call fcn.00405d11
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x44c4cc
cmp dword [ebp - 8], edi
je 0x44c4cc
mov eax, esi
push eax
push dword [ebp + 8]
call fcn.0044c035
lea ecx, [ebp - 4]
movzx esi, al
call fcn.004071b8
cmp ebx, edi
je 0x44c4c8
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x44c4e2
lea ecx, [ebp - 4]
call fcn.004071b8
cmp ebx, edi
je 0x44c4df
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 2
pop eax
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x44db15
Capabilities:
Create process on windows
Delete file
Get common file path
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
mov eax, dword [0x4bf490]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x428], eax
lea eax, [ebp - 0x41c]
push eax
push 0x104
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor esi, esi
mov dword [ebp - 0x430], eax
cmp eax, esi
je 0x44dcc0
lea eax, [ebp - 0x214]
push eax
push esi
push 0x4a8708
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x44dcc0
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.0040f504
push str..url
lea eax, [ebp - 0x420]
push eax
call fcn.0042e49b
push esi
push 0x80
push 2
push esi
push esi
push 0x40000000
push dword [ebp - 0x420]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x44dbd3
push eax
jmp 0x44dcaf
mov eax, dword [0x4c1400]
mov ecx, 0x4c1400
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x424], eax
mov eax, dword [edi]
lea edi, [ebp - 0x42c]
call fcn.0044e24c
push dword [ebp - 0x42c]
lea eax, [ebp - 0x424]
push str._InternetShortcut__r_nURL_s_r_n
call fcn.0044e358
mov edi, dword [ebp - 0x424]
mov eax, dword [edi - 0xc]
pop ecx
pop ecx
push esi
lea ecx, [ebp - 0x430]
push ecx
push eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x424], eax
cmp ebx, esi
je 0x44dc3b
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
cmp dword [ebp - 0x424], esi
je 0x44dc59
push 5
push esi
push esi
push dword [ebp - 0x420]
push 0x4a0f4c
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [ebp - 0x428]
add eax, 0xc
push eax
push 0x5c
lea esi, [ebp - 0x420]
call fcn.0042e22b
lea ecx, [ebp - 0x428]
push ecx
mov ecx, esi
push ecx
mov ecx, eax
call fcn.0042e282
push eax
call fcn.0043f1a0
pop ecx
pop ecx
lea ecx, [ebp - 0x428]
call fcn.004071b8
mov eax, dword [ebp - 0x42c]
add eax, 0xfffffff0
call fcn.0040741f
lea eax, [edi - 0x10]
call fcn.0040741f
test ebx, ebx
je 0x44dcb5
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x420]
call fcn.004071b8
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00476b4b
leave
ret 4
Function at 0x44e531
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
lea esi, [edi + 4]
push dword [esi]
call fcn.00456b16
pop ecx
push esi
call fcn.00407526
mov eax, dword [edi + 0x28]
push dword [eax]
mov ebx, dword [sym.imp.USER32.dll_SetWindowTextW]
push dword [esi]
call ebx
lea eax, [ebp - 4]
push eax
call fcn.00407441
push 0xdc
lea eax, [ebp - 4]
push eax
call fcn.0040f4bf
push 0x40a
push dword [esi]
call dword [sym.imp.USER32.dll_GetDlgItem]
push dword [ebp - 4]
push eax
call ebx
lea eax, [edi + 0x40]
push eax
mov eax, dword [esi]
call fcn.0043be90
lea eax, [ebp - 8]
push eax
xor eax, eax
push eax
lea ecx, [edi + 0x30]
push ecx
push 0x44e5b6
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea ecx, [ebp - 4]
mov dword [edi + 0x38], eax
call fcn.004071b8
pop esi
xor eax, eax
pop ebx
leave
ret

Function at 0x44fb70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
lea edi, [esi + 0x24]
call fcn.00406165
mov eax, dword [ebp + 8]
lea edi, [esi + 0x20]
call fcn.00406165
mov eax, dword [esi + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [esi], ebx
mov dword [esi + 8], ebx
cmp eax, ebx
je 0x44fba3
push eax
call edi
mov al, byte [ebp + 0xc]
mov byte [esi + 0x41], al
lea eax, [ebp - 4]
push eax
push ebx
push esi
push 0x44fd4c
push ebx
push ebx
mov dword [esi + 0xc], ebx
mov byte [esi + 0x40], 1
mov dword [esi + 0x44], ebx
mov byte [esi + 0x58], bl
mov dword [esi + 0x68], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0xc], eax
cmp eax, ebx
jne 0x44fbdb
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x44fc08
cmp byte [ebp + 0xc], bl
je 0x44fc06
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp + 0xc]
push eax
push dword [esi + 0xc]
mov dword [ebp + 0xc], ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push dword [esi + 0xc]
call edi
mov eax, dword [ebp + 0xc]
mov dword [esi + 0xc], ebx
jmp 0x44fc08
xor eax, eax
pop edi
pop ebx
leave
ret 8