joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4013b0
Capabilities:
Query environment variable

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], str.HOME
call dword [sym.imp.ucrtbase.dll_getenv]
test eax, eax
je 0x401410
mov ebx, eax
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_strlen]
add eax, 7
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov dword [esp + 4], ebx
mov dword [esp], eax
mov dword [section..bss], eax
call dword [sym.imp.ucrtbase.dll_strcpy]
mov eax, dword [section..bss]
mov dword [esp + 4], str._.wine
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_strcat]
mov eax, dword [section..bss]
add esp, 0x18
pop ebx
ret
mov dword [esp], str._.wine
call dword [sym.imp.ucrtbase.dll__strdup]
mov dword [section..bss], eax
add esp, 0x18
pop ebx
ret

Function at 0x401430
Capabilities:
Delete file
Delete registry key
Query environment variable
Query or enumerate registry value

Disassembly:
push esi
push ebx
sub esp, 0x34
lea eax, [esp + 0x20]
mov dword [esp + 4], str.SoftwareCodeWeaversCrossOvercxoffice
mov dword [esp + 8], eax
mov dword [esp], 0x80000002
call dword [sym.imp.advapi32.dll_RegCreateKeyW]
sub esp, 0xc
test eax, eax
je 0x401460
add esp, 0x34
pop ebx
pop esi
ret
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], 4
mov dword [esp + 0x14], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x28]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 8], 0
mov dword [esp + 4], str.Version
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
sub esp, 0x18
test eax, eax
jne 0x4014d0
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
xor eax, 0x4d7445c7
cmp dword [esp + 0x28], 4
mov dword [esp + 0x24], eax
je 0x4014f0
mov dword [esp], edx
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
add esp, 0x34
pop ebx
pop esi
ret
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
add esp, 0x34
pop ebx
pop esi
ret
cmp dword [esp + 0x2c], 4
jne 0x4014bc
mov dword [esp], edx
cmp eax, 0x17000000
ja 0x4014bf
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov esi, dword [section..bss]
sub esp, 4
test esi, esi
je 0x401580
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
add eax, 7
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov dword [esp + 4], esi
mov ebx, eax
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_strcpy]
mov dword [esp], ebx
mov dword [esp + 4], str._.eval
call dword [sym.imp.ucrtbase.dll_strcat]
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_DeleteFileA]
sub esp, 4
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_free]
mov dword [esp + 4], str.SoftwareCodeWeaversCrossOvercxoffice
mov dword [esp], 0x80000002
call dword [sym.imp.advapi32.dll_RegDeleteKeyW]
sub esp, 8
add esp, 0x34
pop ebx
pop esi
ret
mov dword [esp], str.WINEPREFIX
call dword [sym.imp.ucrtbase.dll_getenv]
mov esi, eax
test eax, eax
jne 0x401514
call fcn.004013b0
mov esi, eax
jmp 0x401514
Function at 0x405e30
Capabilities:
Get process heap force flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov dword [esp], 1
call sub.ucrtbase.dll__configure_narrow_argv
call sub.ucrtbase.dll__initialize_narrow_environment
call 0x405ea0
mov esi, dword [eax]
call sub.ucrtbase.dll___p___argv
mov edi, dword [eax]
call sub.ucrtbase.dll__get_initial_narrow_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sub.ucrtbase.dll__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.00405f70
mov dword [esp], eax
call sub.ucrtbase.dll_exit
jmp dword [sym.imp.ucrtbase.dll___p___argc]

Function at 0x405f70
Capabilities:
Accept command line arguments

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x78
call fcn.00405ee0
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov ebx, eax
movzx eax, byte [eax]
test al, al
je 0x405fff
cmp al, 9
je 0x405ff0
cmp al, 0x20
je 0x405ff0
xor esi, esi
mov dword [ebp - 0x6c], 0
lea esi, [esi]
cmp al, 0x5c
je 0x406058
cmp al, 0x22
je 0x406068
mov dword [ebp - 0x6c], 0
movzx eax, byte [ebx + 1]
add ebx, 1
test al, al
je 0x405fff
cmp al, 9
sete dl
cmp al, 0x20
sete cl
or dl, cl
je 0x405fb0
test esi, 1
jne 0x405fb0
lea esi, [esi]
nop
movzx eax, byte [ebx + 1]
add ebx, 1
cmp al, 9
je 0x405ff0
cmp al, 0x20
je 0x405ff0
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetStartupInfoA]
sub esp, 4
test byte [ebp - 0x30], 1
jne 0x40601a
mov word [ebp - 0x2c], 1
movzx esi, word [ebp - 0x2c]
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
sub esp, 4
mov dword [esp + 8], ebx
mov dword [esp + 0xc], esi
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.00402840
sub esp, 0x10
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
add dword [ebp - 0x6c], 1
jmp 0x405fc7
and dword [ebp - 0x6c], 1
jne 0x405fc0
xor esi, 1
jmp 0x405fc7
Function at 0x10002e10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push esi
push eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call fcn.10008920
push dword [ebp - 0x10]
lea eax, [ebp - 0xc]
push eax
call fcn.10007e80
add esp, 0xc
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0x1009e768
call sub.SHELL32.dll_SHGetKnownFolderPath
mov esi, dword [ebp + 8]
test eax, eax
jne 0x10002e7e
push dword [ebp - 0x14]
push esi
call fcn.10007c10
add esp, 8
push edi
push str.BrightData_
push esi
call fcn.10007d20
mov edx, dword [ebp - 0xc]
add esp, 8
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10002e95
lea eax, [ebp - 8]
sub ecx, edi
push eax
push ecx
push edx
call fcn.10009010
add esp, 0xc
pop edi
test eax, eax
jne 0x10002ede
push 0x14
push dword [ebp - 8]
lea eax, [ebp - 4]
push eax
call fcn.100092e0
push dword [ebp - 4]
call fcn.10007b30
push dword [ebp - 4]
lea eax, [ebp - 0x18]
push eax
call fcn.10007dc0
push dword [eax]
push esi
call fcn.10007d20
add esp, 0x20
mov eax, dword [ebp - 8]
test eax, eax
je 0x10002ef5
push eax
call fcn.100672c9
add esp, 4
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
test eax, eax
je 0x10002f0c
push eax
call fcn.100672c9
add esp, 4
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x10002f23
push eax
call fcn.100672c9
add esp, 4
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0x18]
push eax
call fcn.10007bc0
lea eax, [ebp - 0x10]
push eax
call fcn.10007bc0
add esp, 8
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10003010
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
call fcn.10008920
lea eax, [ebp - 4]
push str.luminati
push eax
call fcn.10007d20
add esp, 0xc
cmp dword [section..data], 0
je 0x100030b0
push dword [ebp - 4]
call fcn.10008660
add esp, 4
test eax, eax
jne 0x100030b0
lea eax, [ebp - 4]
push esi
push eax
call fcn.10002e10
push 0x5c
push dword [ebp - 4]
call fcn.10066e44
mov esi, eax
xor eax, eax
mov word [esi], ax
push dword [ebp - 4]
call fcn.10067301
push 0x1ff
push dword [ebp - 4]
call fcn.10067332
mov eax, 0x5c
mov word [esi], ax
push dword [ebp - 4]
call fcn.10067301
push 0x1ff
push dword [ebp - 4]
call fcn.10067332
add esp, 0x24
lea eax, [ebp - 4]
pop esi
push eax
call fcn.10007bc0
add esp, 4
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
call fcn.10008920
push 0x1ff
push dword [ebp - 8]
call fcn.10007890
lea eax, [ebp - 8]
push eax
call fcn.10007bc0
push dword [ebp - 4]
call fcn.10067301
push 0x1ff
push dword [ebp - 4]
call fcn.10007890
add esp, 0x1c
lea eax, [ebp - 4]
push eax
call fcn.10007bc0
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x10003100
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
mov eax, dword [0x100b9550]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea eax, [ebp - 0x25c]
xor esi, esi
push eax
mov dword [ebp - 0x25c], esi
mov dword [ebp - 0x258], esi
call fcn.10008920
lea eax, [ebp - 0x25c]
push str.luminati
push eax
call fcn.10007d20
add esp, 0xc
cmp dword [section..data], esi
je 0x1000316c
push dword [ebp - 0x25c]
call fcn.10008660
add esp, 4
test eax, eax
jne 0x1000316c
lea eax, [ebp - 0x25c]
push eax
call fcn.10002e10
add esp, 4
push dword [ebp - 0x25c]
lea eax, [ebp - 0x258]
push eax
call fcn.10007c10
lea eax, [ebp - 0x258]
push str.perr_.sent
push eax
call fcn.10007d20
add esp, 0x10
lea eax, [ebp - 0x254]
push eax
push dword [ebp - 0x258]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
xor eax, eax
cmp ebx, 0xffffffff
cmove ebx, eax
test ebx, ebx
je 0x100032bb
push edi
jmp 0x100031c0
lea eax, [ebp - 0x228]
push 0x1009d904
push eax
call fcn.10007cf0
add esp, 8
test eax, eax
jne 0x1000324a
push dword [ebp - 0x25c]
lea eax, [ebp - 0x258]
push eax
call fcn.10007c10
lea eax, [ebp - 0x258]
push 0x1009d918
push eax
call fcn.10007d20
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x258]
push eax
call fcn.10007d20
push 1
push 0xc
call fcn.10067289
push dword [ebp - 0x258]
mov edi, eax
lea ecx, [edi + 8]
push ecx
call fcn.10007c10
add esp, 0x28
test esi, esi
je 0x1000323f
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
mov dword [eax], edi
jmp 0x10003244
mov dword [edi + 4], edi
mov esi, edi
mov dword [edi], 0
lea eax, [ebp - 0x254]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x100031c0
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
test esi, esi
je 0x100032ba
jmp 0x10003270
push dword [esi + 8]
call fcn.100673e5
mov edi, esi
add esp, 4
mov esi, dword [esi]
mov ecx, dword [edi]
test ecx, ecx
je 0x1000328d
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x10003297
test esi, esi
je 0x10003297
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
lea eax, [edi + 8]
mov dword [edi], 0
push eax
mov dword [edi + 4], 0
call fcn.10007bc0
push edi
call fcn.100672c9
add esp, 8
test esi, esi
jne 0x10003270
pop edi
lea eax, [ebp - 0x258]
push eax
call fcn.10007bc0
lea eax, [ebp - 0x25c]
push eax
call fcn.10007bc0
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
pop esi
pop ebx
call fcn.100676f5
mov esp, ebp
pop ebp
ret
Function at 0x10003350
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x100bb01c]
sub esp, 0xc
test eax, eax
jne 0x1000345b
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
call fcn.10008920
lea eax, [ebp - 0xc]
push str.channel.txt
push eax
call fcn.10007d20
push dword [ebp - 0xc]
call fcn.100085f0
add esp, 0x10
test eax, eax
je 0x10003438
push 0x1009db70
push dword [ebp - 0xc]
call fcn.10008570
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
je 0x10003438
push esi
push 2
push 0
push eax
call fcn.10065bf2
push dword [ebp - 4]
call fcn.10066005
push dword [ebp - 4]
mov esi, eax
call fcn.1006624c
add esp, 0x14
cmp esi, 0x32
jg 0x10003437
lea eax, [ebp - 8]
push esi
push eax
call fcn.100079e0
push dword [ebp - 4]
push esi
push 1
push dword [ebp - 8]
call fcn.10065ab7
mov eax, dword [ebp - 8]
add esp, 0x18
xor ecx, ecx
mov byte [esi + eax], 0
mov edx, dword [ebp - 8]
test esi, esi
jle 0x10003429
mov al, byte [ecx + edx]
cmp al, 0x30
jl 0x1000340c
cmp al, 0x39
jle 0x10003424
cmp al, 0x41
jl 0x10003414
cmp al, 0x5a
jle 0x10003424
cmp al, 0x61
jl 0x1000341c
cmp al, 0x7a
jle 0x10003424
cmp al, 0x2e
je 0x10003424
cmp al, 0x5f
jne 0x10003437
inc ecx
cmp ecx, esi
jl 0x10003401
push edx
push 0x100bb01c
call fcn.10007dc0
add esp, 8
pop esi
lea eax, [ebp - 4]
push eax
call fcn.100085d0
lea eax, [ebp - 8]
push eax
call fcn.10007a10
lea eax, [ebp - 0xc]
push eax
call fcn.10007bc0
mov eax, dword [0x100bb01c]
add esp, 0xc
mov esp, ebp
pop ebp
ret

Function at 0x10003a50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
push 0x1009dc90
movzx eax, ax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x10003a81
imul eax, dword [ebp + 0x14], 0x64
pop edi
pop esi
inc eax
mov dword [0x100bab28], eax
xor eax, eax
pop ebp
ret
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x10003a9f
imul eax, dword [ebp + 0x14], 0x64
pop edi
pop esi
add eax, 2
mov dword [0x100bab28], eax
xor eax, eax
pop ebp
ret
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x10003ac0
imul eax, dword [ebp + 0x14], 0x64
pop ebx
pop edi
pop esi
add eax, 3
mov dword [0x100bab28], eax
xor eax, eax
pop ebp
ret
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, ebx
pop ebx
pop edi
pop esi
pop ebp
ret
Function at 0x10003b80
Capabilities:
Move file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
imul esi, dword [ebp + 0x14], 0x64
push edi
or edi, 0xffffffff
mov dword [ebp - 8], 0
lea eax, [esi + 1]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10003a50
add esp, 0x10
mov dword [ebp - 0xc], eax
mov dword [ebp + 0x14], 0
mov dword [ebp - 4], 0
test eax, eax
je 0x10003cff
lea eax, [ebp + 0x14]
push eax
call fcn.10008920
lea eax, [ebp + 0x14]
push str.luminati
push eax
call fcn.10007d20
add esp, 0xc
cmp dword [section..data], 0
je 0x10003c03
push dword [ebp + 0x14]
call fcn.10008660
add esp, 4
test eax, eax
jne 0x10003c03
lea eax, [ebp + 0x14]
push eax
call fcn.10002e10
add esp, 4
push ebx
lea eax, [ebp + 0x14]
push 0x1009dca0
push eax
call fcn.10007d20
push dword [ebp + 0x10]
lea eax, [ebp + 0x14]
push eax
call fcn.10007d20
push dword [ebp + 0x14]
lea eax, [ebp - 4]
push eax
call fcn.10007c10
lea eax, [ebp - 4]
push 0x1009dca4
push eax
call fcn.10007d20
push dword [ebp - 4]
call fcn.100673e5
push dword [ebp + 0x14]
call fcn.100085f0
mov ebx, dword [ebp - 0x10]
add esp, 0x28
test eax, eax
je 0x10003ca7
push ebx
push dword [ebp - 0xc]
push dword [ebp + 0x14]
call fcn.10003ae0
add esp, 0xc
test eax, eax
jne 0x10003cfc
push dword [ebp + 0x14]
call fcn.100673e5
push dword [ebp + 0x14]
call fcn.100085f0
add esp, 8
test eax, eax
je 0x10003c8e
push dword [ebp - 4]
push dword [ebp + 0x14]
call fcn.100673ee
add esp, 8
push dword [ebp + 0x14]
call fcn.100085f0
add esp, 4
test eax, eax
je 0x10003ca7
lea eax, [esi + 2]
mov dword [0x100bab28], eax
jmp 0x10003cfe
push 0x1009dcb0
push dword [ebp + 0x14]
call fcn.10008570
add esp, 8
mov dword [ebp - 8], eax
test eax, eax
jne 0x10003cdf
push 0x1009dcbc
push dword [ebp + 0x14]
call fcn.10008570
add esp, 8
mov dword [ebp - 8], eax
test eax, eax
jne 0x10003cdf
lea eax, [esi + 3]
mov dword [0x100bab28], eax
jmp 0x10003cfe
push eax
push ebx
push 1
push dword [ebp - 0xc]
call fcn.100661ca
add esp, 0x10
cmp eax, ebx
je 0x10003cfc
lea eax, [esi + 4]
mov dword [0x100bab28], eax
jmp 0x10003cfe
xor edi, edi
pop ebx
lea eax, [ebp + 0x14]
push eax
call fcn.10007bc0
lea eax, [ebp - 4]
push eax
call fcn.10007bc0
lea eax, [ebp - 8]
push eax
call fcn.100085d0
add esp, 0xc
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10012a40
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
mov eax, dword [esp + 8]
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
xor ebx, ebx
add eax, esi
mov ebp, eax
sub ebp, esi
cmp esi, eax
push edi
cmova ebp, ecx
mov edi, 0x1505
test ebp, ebp
je 0x10012a85
mov al, byte [esi]
push eax
call fcn.10024da0
movsx ecx, al
lea esi, [esi + 1]
mov eax, edi
inc ebx
shl eax, 5
add esp, 4
add eax, edi
xor ecx, eax
mov edi, ecx
cmp ebx, ebp
jb 0x10012a64
mov eax, 0x4104105
mov esi, edi
mul edi
sub esi, edx
shr esi, 1
add esi, edx
shr esi, 5
mov ecx, esi
shl ecx, 6
sub ecx, esi
sub edi, ecx
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x10020100
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp byte [esi + 0x6cb], 0
je 0x1002018c
cmp dword [esi + 0x1a4], 0
je 0x10020153
push esi
call fcn.1000d970
push 1
push esi
mov byte [esp + 0x14], al
call fcn.1000dc80
push dword [esi + 0x154]
mov eax, dword [esi + 0x1a4]
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x24]
push esi
call eax
push dword [esp + 0x28]
push esi
call fcn.1000dc80
add esp, 0x28
pop esi
ret
mov eax, dword [esp + 0xc]
cmp eax, 2
ja 0x1002018c
push dword [esi + 0x150]
lea eax, [eax + eax*2]
push 1
add eax, 0x100a0748
push 2
push eax
call fcn.100661ca
push dword [esi + 0x150]
push 1
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call fcn.100661ca
add esp, 0x20
pop esi
ret
Function at 0x10022f50
Capabilities:
Get common file path

Disassembly:
push ecx
push ebx
push edi
push str.kernel32
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ebx, eax
test ebx, ebx
jne 0x10022f6a
pop edi
pop ebx
pop ecx
ret
push ebp
push esi
push str.LoadLibraryExA
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [esp + 0x18]
mov ebp, eax
push 0x100a0b90
push esi
call fcn.1006c510
add esp, 8
test eax, eax
je 0x10022fb2
test ebp, ebp
je 0x10022fa3
push 8
push 0
push esi
call ebp
pop esi
pop ebp
mov edi, eax
pop edi
pop ebx
pop ecx
ret
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
pop esi
pop ebp
mov edi, eax
pop edi
pop ebx
pop ecx
ret
test ebp, ebp
je 0x10022fd8
push str.AddDllDirectory
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10022fd8
push 0x800
push 0
push esi
call ebp
pop esi
pop ebp
mov edi, eax
pop edi
pop ebx
pop ecx
ret
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edx, eax
mov dword [esp + 0x10], edx
test edx, edx
je 0x1002308f
mov ecx, esi
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10022ff5
sub ecx, ebx
lea eax, [edx + 1]
add eax, ecx
push eax
call dword [0x100b9034]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x10023085
push dword [esp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x10023085
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10023027
sub ecx, edx
mov eax, 0x5c
mov word [ecx + ebx], ax
mov ecx, ebx
lea edx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10023040
sub ecx, edx
add ecx, ebx
sub ecx, esi
lea ecx, [ecx]
mov al, byte [esi]
lea esi, [esi + 1]
mov byte [ecx + esi - 1], al
test al, al
jne 0x10023050
test ebp, ebp
je 0x1002307c
push 8
push 0
push ebx
call ebp
push ebx
mov edi, eax
call dword [0x100b9038]
add esp, 4
mov eax, edi
pop esi
pop ebp
pop edi
pop ebx
pop ecx
ret
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
push ebx
call dword [0x100b9038]
add esp, 4
pop esi
pop ebp
mov eax, edi
pop edi
pop ebx
pop ecx
ret
Function at 0x10039010
Capabilities:
Resolve function by parsing pe exports

Disassembly:
into
sub al, 0x9b
add byte [eax], al
pop esi
mov eax, dword [ebp - 0x514]
invalid
invalid
mov al, bh
Function at 0x982666
Capabilities:
Encrypt data using aes mixcolumns step

Disassembly:
call fcn.00ba42e1
mov eax, 0x7c261e39
dec eax
lea ebp, [ebp + eax - 0x7c261e39]
sub eax, eax
inc eax
movzx ecx, byte [ebp + eax - 1]
xor cl, bl
rol cl, 1
sar eax, 0x4c
xor cl, 0x1b
dec al
jp 0xd61329
inc dh
mov ecx, dword [edi]
mov eax, 0x8d035d2c
mov ax, word [ecx]
jmp 0xd5bb10
jmp 0x982661
add edi, 2
jmp 0xba9c48
btc ax, ax
xor cl, al
bswap eax
dec eax
and eax, eax
ror cl, 1
bt ax, 0xac
and eax, eax
cwde
adc cl, al
ror cl, 1
add cl, al
inc al
xor cl, 0x38
inc cl
jmp 0xb96f2b
mov ebp, dword [ebp]
call fcn.00999c46
syscall
call fcn.00c1bca6
mov ecx, 0xc802d982
jmp 0x9830b6

Function at 0x9b0748
Capabilities:
Encode data using xor

Disassembly:
dec cx
mov ebp, dword [esi + 4]
jnp 0xb93be3
dec cl
mov dword [esp + 8], 0xfa93d3b7
shr word [esp + 0x11], 0xf
xor bl, cl
mov dword [esp], 0x8d2a6dbf
neg dword [esp + 0x10]
jl 0xf89c7f
mov ecx, 0xc81fc381
and cx, 0x29b
mov edx, dword [esi]
lea ebp, [ecx + ecx*2 + 0x5a1b7dbd]
jae 0x9a2493
inc esp
push 0xffffffffffffff81
inc ecx
xor dword [ecx + 0x39be5cfd], edx
cmc
mov cl, byte [edx]
fbstp tbyte [ecx]
jno 0x9b0766
popfd
invalid
jno 0xbe889d
ror cl, 0xa7
mov cl, byte [esi + 8]
adc esi, 6
push 0x93bae92c
sar dword [esp], 0xa1
shrd edx, ebp, cl
not dword [esp]
push 0x201b3e31
call fcn.009831e4
lea ecx, [esp + ecx + 0x14]
js 0x9b2f21

Function at 0xba8cbd
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp + 0x10]
je 0xba8d32
push 0x34aaaeb5
mov eax, dword [esp]
movzx eax, byte [ecx + eax*2 - 0x69555d6a]
not word [esp + 2]
inc dword [esp]
shl word [esp + 1], 0xea
xor eax, edx
shr word [esp], 0xec
and eax, 0xff
mov eax, dword [eax*4 + 0x990540]
inc byte [esp + 3]
shr edx, 8
shl byte [esp + 1], 0xa2
xor edx, eax
push 0x5d391fa2
push 0xa79e7f3b
inc ecx
push 0x5faa40a3
mov dword [esp + 0xc], 0xde9f6234
xor edx, 0xaa379223
dec edi
lea esp, [esp + 0x10]
jne 0xba8cc7
call fcn.00c2f383
Function at 0xbdf1ef
Capabilities:
Encrypt data using rc4 prga

Disassembly:
and ebx, 0xff
mov ebx, dword [ebx*4 + 0xd60c90]
mov dword [esp], 0xf73b9198
shr esi, 8
rol word [esp + 2], 0xcd
ror dword [esp], 0x46
xor esi, ebx
mov word [esp + 1], 0xb023
sar dword [esp], 0x24
inc edx
sal word [esp + 1], 0xca
call fcn.00d68981
invalid
Function at 0x40416b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor eax, eax
cmp ecx, eax
jle 0x40418e
mov ebx, eax
and ebx, 3
mov bl, byte [ebx + 0x4ce6bc]
xor byte [edx + eax], bl
inc eax
cmp ecx, eax
jg 0x40417b
pop ebx
pop ebp
ret
Function at 0xd11609
Capabilities:
Terminate process

Disassembly:
push 0x5c
push 0xd11a90
call fcn.00d117b4
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x20], ebx
mov edi, 0xd12370
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0xd113c4
cmp eax, esi
jne 0xd113b7
xor esi, esi
inc esi
mov dword [ebp - 0x20], esi
jmp 0xd113c7
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0xd1139e
xor esi, esi
inc esi
mov eax, dword [0xd1236c]
cmp eax, esi
jne 0xd113da
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0xd11409
mov eax, dword [0xd1236c]
test eax, eax
jne 0xd11403
mov dword [0xd1236c], esi
push 0xd110b8
push 0xd110ac
call fcn.00d11300
pop ecx
pop ecx
test eax, eax
je 0xd11409
jmp 0xd1152d
mov dword [0xd12034], esi
mov eax, dword [0xd1236c]
cmp eax, esi
jne 0xd1142d
push 0xd110a8
push 0xd110a0
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0xd1236c], 2
cmp dword [ebp - 0x20], ebx
jne 0xd1143a
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0xd12374], ebx
je 0xd1145b
push 0xd12374
call fcn.00d11729
pop ecx
test eax, eax
je 0xd1145b
push ebx
push 2
push ebx
call dword [0xd12374]
mov eax, dword [sym.imp.msvcrt.dll__wcmdln]
cmp dword [eax], ebx
je 0xd1152d
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
movzx ecx, word [eax]
cmp cx, 0x20
ja 0xd114c5
cmp cx, bx
je 0xd11480
cmp dword [ebp - 0x1c], ebx
jne 0xd114c5
movzx ecx, word [eax]
cmp cx, bx
je 0xd11495
cmp cx, 0x20
ja 0xd11495
inc eax
inc eax
mov dword [ebp - 0x24], eax
jmp 0xd11480
test byte [ebp - 0x40], 1
je 0xd114a1
movzx ecx, word [ebp - 0x3c]
jmp 0xd114a4
push 0xa
pop ecx
push ecx
push eax
push ebx
push 0xd10000
call main
mov dword [0xd12030], eax
cmp dword [0xd12024], ebx
jne 0xd1150a
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp cx, 0x22
jne 0xd114d6
xor ecx, ecx
cmp dword [ebp - 0x1c], ebx
sete cl
mov dword [ebp - 0x1c], ecx
inc eax
inc eax
jmp 0xd1146a
cmp dword [0xd12034], ebx
jne 0xd11518
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0xd12030]
jmp 0xd11539
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.00d117f9
ret
call fcn.00d11901
jmp 0xd11361