joyce8/EMBER2024-capa huggingface dataset:
Function at 0x3b4d90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x3c3080
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x3cb014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], 0x3c5e04
call fcn.003bfabe
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.003bf424
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x3b5f20
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x3c3295
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x3cb014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x3cbe44
mov dword [ebp - 0x10], 0x3cbe44
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
lea eax, [ebp + 0xc]
mov dword [ebp - 4], 0
push eax
push ecx
push dword [ebp + 8]
xor edx, edx
xor ecx, ecx
call fcn.003b5a10
add esp, 8
lea ecx, [ebp - 0x1c]
lea esi, [eax + 1]
push esi
call fcn.003b6140
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 1
push eax
push ecx
push dword [ebp + 8]
mov edx, esi
mov esi, dword [ebp - 0x1c]
mov ecx, esi
call fcn.003b5a10
mov eax, dword fs:[0x2c]
add esp, 0xc
mov ebx, dword [eax]
mov edi, dword [ebx + 4]
test edi, edi
jne 0x3b5fda
push 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
add esp, 4
push eax
push esi
call dword [sym.imp.ucrtbase.dll_fputws]
push 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
add esp, 0xc
push eax
push 0xa
call dword [sym.imp.ucrtbase.dll_fputwc]
add esp, 8
jmp 0x3b5fe8
push esi
mov ecx, edi
call dword [sym.imp.___]
call edi
add esp, 4
push esi
call dword [sym.imp.kernel32.dll_OutputDebugStringW]
cmp dword [0x3cbe60], 0
je 0x3b6031
push 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov edi, dword [0x3cbe5c]
add esp, 4
cmp edi, eax
jne 0x3b6016
cmp dword [ebx + 4], 0
je 0x3b6031
mov edx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
push ecx
mov ecx, edi
call fcn.003b59e0
push edi
push 0xa
call dword [sym.imp.ucrtbase.dll_fputwc]
add esp, 0x10
test esi, esi
je 0x3b6067
mov ecx, dword [ebp - 0x14]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x3b605d
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x3b605d
call dword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.003bfab0
add esp, 8
push 0x3cbe44
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x3bc490
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
push edi
mov edi, ecx
mov eax, esi
mov dword [esi + 0x10], 0
cmp dword [esi + 0x14], 8
jb 0x3bc4ac
mov eax, dword [esi]
xor ecx, ecx
push ecx
push ecx
push edi
mov word [eax], cx
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
mov ebx, eax
test ebx, ebx
jne 0x3bc4f7
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0xcb
je 0x3bc4ee
call dword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jle 0x3bc4df
movzx eax, ax
or eax, 0x80070000
push eax
push edi
push str.Failed_to_read_environment_variable___s___HRESULT:_0x_X
call fcn.003b5f20
add esp, 0xc
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.003bfd68
add esp, 4
push ebx
mov ebx, eax
push ebx
push edi
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x3bc549
call dword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jle 0x3bc531
movzx eax, ax
or eax, 0x80070000
push eax
push edi
push str.Failed_to_read_environment_variable___s___HRESULT:_0x_X
call fcn.003b5f20
add esp, 0xc
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, ebx
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x3bc550
sub ecx, edx
sar ecx, 1
push ecx
push ebx
mov ecx, esi
call fcn.003b4970
push ebx
call fcn.003bfd63
add esp, 4
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1241790
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
xor eax, eax
cmp dword [esp + 0x20], 0
je 0x1241860
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x1241860
mov ebp, dword [esp + 0x28]
mov esi, 0x1505
test ebp, ebp
je 0x12417dd
xor edi, edi
nop
movzx ecx, byte [ebx + edi]
test ecx, ecx
je 0x12417dd
mov edx, esi
shl edx, 5
add edx, esi
mov esi, edx
and esi, ecx
xor edx, ecx
lea esi, [edx + esi*2]
inc edi
cmp ebp, edi
jne 0x12417c0
mov ecx, dword [esp + 0x20]
mov ebx, dword [ecx + 0x20]
lea edi, [ebx - 1]
mov edx, ebx
sub edx, 1
mov dword [esp + 8], edx
jb 0x1241860
and edi, esi
mov eax, dword [ecx + 4]
mov dword [esp + 4], eax
jmp 0x1241804
inc edi
dec ebx
je 0x124185e
mov eax, edi
and eax, dword [esp + 8]
mov edx, dword [esp + 4]
mov ebp, dword [edx + eax*4]
cmp ebp, 0xffffffff
je 0x124185e
mov eax, dword [ecx + 8]
cmp dword [eax + ebp*4], esi
jne 0x1241800
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + ebp*4]
mov dword [esp], eax
push eax
call fcn.012491a0
mov ecx, dword [esp + 0x24]
add esp, 4
cmp eax, dword [esp + 0x28]
jne 0x1241800
push dword [esp + 0x28]
push dword [esp + 4]
push dword [esp + 0x2c]
call fcn.012491c0
mov ecx, dword [esp + 0x2c]
add esp, 0xc
test eax, eax
jne 0x1241800
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + ebp*4]
jmp 0x1241860
xor eax, eax
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x12499b0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, dword [ecx]
cmp eax, 0x270
jne 0x1249a3e
xor eax, eax
mov edx, 0x80000000
nop
nop
nop
nop
nop
nop
nop
nop
lea esi, [eax + 0x270]
mov edi, esi
not edi
and edi, 0x270
and esi, 0x58f
sub esi, edi
mov edi, dword [ecx + esi*4 + 8]
lea ebp, [edi - 0x80000000]
mov ebx, edi
or ebx, 0x7ffffffe
and ebx, ebp
mov ebp, dword [ecx + esi*4 + 4]
and ebp, edx
or ebx, ebp
mov ebp, esi
and ebp, 0x18d
xor esi, 0x18d
lea esi, [esi + ebp*2]
and edi, 1
neg edi
and edi, 0x9908b0df
xor edi, dword [ecx + esi*4 + 4]
shr ebx, 1
xor edi, ebx
mov dword [ecx + eax*4 + 0x9c4], edi
inc eax
cmp eax, 0x270
jne 0x12499d0
mov eax, 0x270
jmp 0x1249a50
cmp eax, 0x4e0
jb 0x1249a50
mov esi, ecx
call fcn.01249aa0
mov ecx, esi
mov eax, dword [esi]
lea edx, [eax + 1]
mov dword [ecx], edx
mov edx, dword [ecx + eax*4 + 4]
mov eax, edx
shr eax, 0xb
and eax, dword [ecx + 0x1384]
xor eax, edx
mov ecx, eax
shl ecx, 7
and ecx, 0x9d2c5680
mov edx, ecx
and edx, eax
add edx, edx
sub ecx, edx
add ecx, eax
mov edx, ecx
shl edx, 0xf
and edx, 0xefc60000
xor edx, ecx
mov eax, edx
shr eax, 0x12
xor eax, edx
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x1249aa0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
push ebx
push edi
push esi
xor eax, eax
mov edx, 0x80000000
nop
nop
nop
nop
nop
mov edi, eax
and edi, 0x70
mov esi, eax
or esi, 0x270
add esi, edi
mov ebp, dword [ecx + esi*4 + 4]
and ebp, edx
mov edi, dword [ecx + esi*4 + 8]
mov ebx, edi
and ebx, 0x7ffffffe
or ebx, ebp
shr ebx, 1
and edi, 1
neg edi
and edi, 0x9908b0df
xor edi, dword [ecx + esi*4 + 0x638]
xor edi, ebx
mov dword [ecx + eax*4 + 4], edi
inc eax
cmp eax, 0xe3
jne 0x1249ab0
mov esi, dword [ecx + 0xd50]
mov eax, 0x355
and esi, 0x80000000
mov edi, dword [ecx + eax*4]
mov edx, edi
and edx, 0x7ffffffe
or edx, esi
shr edx, 1
mov esi, edi
and edi, 1
neg edi
and edi, 0x9908b0df
xor edi, dword [ecx + eax*4 - 0xd50]
xor edi, edx
mov dword [ecx + eax*4 - 0x9c4], edi
inc eax
cmp eax, 0x4e1
jne 0x1249b00
mov edx, 0x80000000
and edx, dword [ecx + 0x1380]
mov eax, dword [ecx + 4]
mov esi, eax
and esi, 0x7fffffff
or edx, esi
shr edx, 1
xor eax, 0x7ffffffe
and eax, esi
je 0x1249b62
mov eax, 0x9908b0df
mov esi, eax
and esi, edx
add eax, edx
add esi, esi
sub eax, esi
xor eax, dword [ecx + 0x634]
mov dword [ecx + 0x9c0], eax
mov dword [ecx], 0
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x124ac00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x228
push eax
sub esp, 8
mov dword [ebp - 0x14], esp
sub esp, 0x40
mov dword [ebp - 0x1c], esp
sub esp, 0x80
mov dword [ebp - 0x20], esp
mov eax, dword [0x1289d3c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x234], 0xc1c6cfc4
mov word [ebp - 0x230], 0
xor ecx, ecx
nop
mov edx, ecx
not edx
movzx esi, byte [ebp + ecx - 0x234]
lea ebx, [ecx + 0xd1]
mov edi, 0x2e
sub edi, ecx
xor ebx, edi
and ebx, esi
xor ebx, edi
mov al, 0xea
sub al, bl
mov byte [ebp + ecx - 0x234], al
and edx, 6
mov eax, ecx
and eax, 1
xor ecx, 0xfffffffe
or ecx, edx
not ecx
lea ecx, [ecx + eax*2]
cmp ecx, 6
jb 0x124ac40
mov ecx, dword [ebp - 0x234]
mov dword [ebp - 0x1b4], 0x63f161f7
mov dword [ebp - 0x1b0], 0x67c965b6
mov dword [ebp - 0x1ac], 0x5b88598b
mov dword [ebp - 0x1a8], 0x5ffa5d82
mov dword [ebp - 0x1a4], 0x53ce51cc
mov word [ebp - 0x1a0], 0x5554
mov dword [ebp - 0x19e], 0
mov byte [ebp - 0x19a], 0
mov edx, 0x5bcc3c98
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [ebp + edx - 0x5bcc3e4c]
xor ebx, edx
mov esi, ebx
and esi, 5
mov eax, ebx
and eax, 2
mov edi, eax
xor edi, 2
imul edi, esi
or esi, 2
imul esi, eax
xor ebx, 7
add ebx, edi
add ebx, esi
inc bl
mov byte [ebp + edx - 0x5bcc3e4c], bl
inc edx
cmp edx, 0x5bcc3cb3
jne 0x124ace0
lea esi, [ebp - 0x1b4]
push ecx
push 0
push esi
call dword [ebp - 0x10]
mov ecx, 0x1289d40
push eax
call 0x127a5b0
movzx eax, al
mov eax, dword [eax*4 + 0x1283958]
mov ecx, 0x7bbfa073
xor ecx, dword [0x1283960]
add eax, ecx
inc eax
xor ebx, ebx
jmp eax
Function at 0x124d230
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x21c
push eax
sub esp, 0x2c
mov dword [ebp - 0x20], esp
push eax
mov dword [ebp - 0x24], esp
push eax
mov dword [ebp - 0x28], esp
mov eax, dword [0x1289d0c]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x228], 0x61176733
mov dword [ebp - 0x224], 0x7d1963ea
mov dword [ebp - 0x220], 0x790a7f08
mov dword [ebp - 0x21c], 0x754b7b1b
mov dword [ebp - 0x218], 0x7140773b
mov dword [ebp - 0x214], 0x8d527340
mov dword [ebp - 0x210], 0x89e78fb4
mov dword [ebp - 0x20c], 0x85fc8bf3
mov dword [ebp - 0x208], 0x81f787f8
mov dword [ebp - 0x204], 0x9d0f8309
mov dword [ebp - 0x200], 0x99c89fbc
mov dword [ebp - 0x1fc], 0x95ba9bf4
mov dword [ebp - 0x1f8], 0x91a697a7
mov dword [ebp - 0x1f4], 0xada293a6
mov dword [ebp - 0x1f0], 0xa98eafe9
mov dword [ebp - 0x1ec], 0xa5d1abc1
mov dword [ebp - 0x1e8], 0xa1e8a7d2
mov dword [ebp - 0x1e4], 0xbde7a3ec
mov dword [ebp - 0x1e0], 0xb936bf9c
mov dword [ebp - 0x1dc], 0xb5f6bbf6
mov dword [ebp - 0x1d8], 0xb196b78f
mov dword [ebp - 0x1d4], 0xcdc2b3f3
mov dword [ebp - 0x1d0], 0xc9bacfbc
mov dword [ebp - 0x1cc], 0xc5a3cbb7
mov dword [ebp - 0x1c8], 0xc1a4c7bb
mov dword [ebp - 0x1c4], 0xddb9c395
mov dword [ebp - 0x1c0], 0xd9efdf50
mov dword [ebp - 0x1bc], 0xd597db97
mov dword [ebp - 0x1b8], 0xd1e0d79d
mov dword [ebp - 0x1b4], 0xed9cd39d
mov dword [ebp - 0x1b0], 0xe9d6efcc
mov dword [ebp - 0x1ac], 0xe5b2ebbd
mov dword [ebp - 0x1a8], 0xe1b1e788
mov dword [ebp - 0x1a4], 0xfdd6e3b4
mov dword [ebp - 0x1a0], 0xf98affdc
mov dword [ebp - 0x19c], 0xf58ffb83
mov dword [ebp - 0x198], 0xf1d6f78b
mov dword [ebp - 0x194], 0xd8df3a9
mov dword [ebp - 0x190], 0x97b0f71
mov dword [ebp - 0x18c], 0x5310b79
mov dword [ebp - 0x188], 0x15b0724
mov dword [ebp - 0x184], 0x1d700378
mov dword [ebp - 0x180], 0x19691f6d
mov dword [ebp - 0x17c], 0x152b1b67
mov dword [ebp - 0x178], 0x11251727
mov dword [ebp - 0x174], 0x2d24135b
mov dword [ebp - 0x170], 0x29182f1c
mov dword [ebp - 0x16c], 0x251c2b18
mov dword [ebp - 0x168], 0x21062714
mov dword [ebp - 0x164], 0x3d41234d
mov dword [ebp - 0x160], 0x395d3f42
mov dword [ebp - 0x15c], 0x35413b4a
mov dword [ebp - 0x158], 0x31793705
mov dword [ebp - 0x154], 0x4d7b337d
mov dword [ebp - 0x150], 0x49034f7a
mov dword [ebp - 0x14c], 0x454a4b06
mov dword [ebp - 0x148], 0
xor ecx, ecx
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [ebp + edx - 0x228]
mov edi, ecx
and edi, 0xd2
mov ebx, edx
xor ebx, 0xaae8d269
add ebx, edi
mov edi, ebx
and edi, esi
add edi, edi
sub ebx, edi
add ebx, esi
mov esi, ebx
and esi, 0xf0
mov eax, ebx
and eax, 2
mov edi, eax
xor edi, 2
imul edi, esi
or esi, 2
imul esi, eax
xor ebx, 0xf2
add ebx, edi
add ebx, esi
inc bl
mov byte [ebp + edx - 0x228], bl
inc edx
add ecx, 2
cmp edx, 0xe4
jne 0x124d4a0
lea eax, [ebp - 0x228]
push 0
push 0
push 0
push 0
push eax
call dword [ebp - 0x14]
mov esi, eax
xor eax, eax
test esi, esi
setne al
mov eax, dword [eax*4 + 0x1283eb4]
mov ecx, dword [0x1283ebc]
mov edx, ecx
and edx, 0xe81a69fd
add edx, edx
sub edx, ecx
add eax, edx
add eax, 0x97e59603
xor ebx, ebx
jmp eax
Function at 0x125aae0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x1a0
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x18], 0xf740f98b
mov dword [esp + 0x1c], 0xf341f57b
mov dword [esp + 0x20], 0xcfcef142
mov dword [esp + 0x24], 0
mov edx, 0x56
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [esp + edx - 0x3e]
mov ebx, eax
mov edi, eax
and ebx, edx
mov eax, ebx
or al, 0xfd
inc al
mov ecx, ebx
and cl, 0x7d
mul cl
mov ecx, eax
mov eax, edi
add cl, al
mov eax, ebx
shr al, 1
and al, 1
or bl, 2
mul bl
add al, al
sub cl, al
movzx eax, cl
add eax, edx
add al, 0x52
mov byte [esp + edx - 0x3e], al
inc edx
cmp edx, 0x66
jne 0x125ab20
mov dword [esp + 0x34], 0x179a1980
mov dword [esp + 0x38], 0x13821598
mov dword [esp + 0x3c], 0xf5d1156
mov dword [esp + 0x40], 0xb9e0d5f
mov dword [esp + 0x44], 0x799099b
mov dword [esp + 0x48], 0x3960565
mov dword [esp + 0x4c], 0x3fad0198
mov dword [esp + 0x50], 0x3bb63db3
mov dword [esp + 0x54], 0x3736397e
mov word [esp + 0x58], 0
xor eax, eax
nop
mov ecx, eax
add cl, 6
xor cl, byte [esp + eax + 0x34]
add cl, 0xe2
mov byte [esp + eax + 0x34], cl
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
cmp eax, 0x26
jb 0x125abb0
movzx ecx, word [esp + 0x34]
lea eax, [esp + 0x15c]
test cx, cx
je 0x125ac01
lea edx, [esp + 0x36]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x125abf0
mov word [eax], 0
movzx ecx, word [esi]
test cx, cx
je 0x125ac31
lea edx, [esi + 2]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x125ac20
mov word [eax], 0
movzx ecx, word [esp + 0x18]
test cx, cx
je 0x125ac61
lea edx, [esp + 0x1a]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x125ac50
mov word [eax], 0
mov eax, dword [ebp + 0xc]
mov ebx, dword [eax]
mov dword [esp + 0x34], 0xb5b0b00a
mov byte [esp + 0x38], 0x18
mov dword [esp + 0x39], 0
mov word [esp + 0x3d], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
lea ecx, [eax + 0xfb]
mov edx, 4
sub edx, eax
and edx, 0x7e
and ecx, 0x81
or ecx, edx
xor cl, byte [esp + eax + 0x34]
xor cl, 0x7e
add cl, 0x19
mov byte [esp + eax + 0x34], cl
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
cmp eax, 0xb
jb 0x125ac90
movzx eax, byte [esp + 0x34]
test al, al
je 0x125aceb
lea ecx, [esp + 0x35]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [ebx], al
inc ebx
movzx eax, byte [ecx]
inc ecx
test al, al
jne 0x125ace0
mov byte [ebx], 0
lea eax, [esp + 0x140]
lea ecx, [esp + 0x150]
lea edx, [esp + 0x30]
lea edi, [esp + 0x15c]
push eax
push ecx
push edx
push edi
call fcn.0124c010
add esp, 0x10
movzx eax, al
mov eax, dword [eax*4 + 0x1284c70]
mov ecx, 0xa1eb21e6
xor ecx, dword [0x1284c78]
add eax, ecx
inc eax
jmp eax
Function at 0x154aa00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x18
cmp dword [ecx + 8], 0
je 0x154aa73
mov edx, dword [ecx]
test edx, edx
je 0x154aa73
mov edi, dword [ebp + 0xc]
mov dword [esp], 0x20272625
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ebx, eax
add bl, 0xc9
xor bl, byte [esp + eax]
add bl, 0x13
mov byte [esp + eax], bl
inc eax
cmp eax, 4
jne 0x154aa30
mov eax, dword [esp]
mov ebx, dword [0x128b064]
test ebx, ebx
je 0x154aad3
xor edi, edi
mov esi, dword [0x128b068]
nop
nop
nop
cmp dword [esi + edi*8], 0xaf0e0c2e
je 0x154aaaf
inc edi
cmp ebx, edi
jne 0x154aa60
mov edi, dword [ebp + 0xc]
jmp 0x154aad3
mov dword [esp], 0xf3323148
mov eax, 0x4f21078c
nop
movzx ecx, byte [esp + eax - 0x4f21078c]
mov edx, ecx
and edx, eax
add dl, dl
sub cl, dl
movzx ecx, cl
add ecx, eax
add cl, 0x44
mov byte [esp + eax - 0x4f21078c], cl
inc eax
cmp eax, 0x4f210790
jne 0x154aa80
mov eax, dword [esp]
jmp 0x154ac1b
mov esi, dword [esi + edi*8 + 4]
cmp esi, eax
mov edi, dword [ebp + 0xc]
je 0x154aad3
push dword [ebp + 8]
push edx
push 8
push esi
push dword [0x128b06c]
mov esi, ecx
call fcn.0154cf50
mov ecx, esi
add esp, 0x14
test edi, edi
je 0x154ab91
cmp eax, 0xc000010a
jne 0x154ab91
mov edx, 0xffffd8f0
mov eax, edi
mul edx
sub edx, edi
mov dword [esp], eax
mov dword [esp + 4], edx
mov ebx, dword [ecx]
mov dword [esp + 0xc], 0x20272625
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, eax
add dl, 0xc9
xor dl, byte [esp + eax + 0xc]
add dl, 0x13
mov byte [esp + eax + 0xc], dl
inc eax
cmp eax, 4
jne 0x154ab10
xor edx, edx
cmp edi, 0xffffffff
je 0x154ab2f
mov edx, esp
mov eax, dword [esp + 0xc]
mov esi, dword [0x128b064]
test esi, esi
je 0x154ab91
mov dword [esp + 0x10], edx
mov dword [esp + 8], ebx
xor ebx, ebx
mov edx, dword [0x128b068]
nop
nop
nop
cmp dword [edx + ebx*8], 0x4c697c35
je 0x154ab6a
mov edi, ebx
and edi, 1
xor ebx, 1
lea ebx, [ebx + edi*2]
cmp ebx, esi
jb 0x154ab50
jmp 0x154ab91
mov edx, dword [edx + ebx*8 + 4]
cmp edx, eax
je 0x154ab91
push dword [esp + 0x10]
push 0
push dword [esp + 0x10]
push 0xc
push edx
push dword [0x128b06c]
mov esi, ecx
call fcn.0154cf50
mov ecx, esi
add esp, 0x18
test eax, eax
js 0x154ac1b
mov edx, dword [ecx]
test edx, edx
je 0x154ac1b
mov dword [esp + 8], edx
mov dword [esp], 0x20272625
xor ebx, ebx
mov edx, ebx
add dl, 0xc9
xor dl, byte [esp + ebx]
add dl, 0x13
mov byte [esp + ebx], dl
inc ebx
cmp ebx, 4
jne 0x154abb0
mov esi, dword [0x128b064]
test esi, esi
je 0x154ac15
mov edx, dword [esp]
xor ebx, ebx
mov edi, dword [0x128b068]
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + ebx*8], 0x1b6183f2
je 0x154abf0
inc ebx
cmp esi, ebx
jne 0x154abe0
jmp 0x154ac15
mov esi, dword [edi + ebx*8 + 4]
cmp esi, edx
je 0x154ac15
push dword [esp + 8]
push 4
push esi
push dword [0x128b06c]
mov esi, ecx
mov edi, eax
call fcn.0154cf50
mov eax, edi
mov ecx, esi
add esp, 0x10
mov dword [ecx], 0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x154e980
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [esp + 0x3c]
movzx eax, word [eax]
mov dword [esp + 8], eax
mov dword [esp], 0xb18e7543
mov word [esp + 4], 0
mov ebp, 0xa382385d
mov esi, 0x5c7dc7a2
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + ebp + 0x5c7dc7a3]
mov ebx, edx
xor ebx, ebp
or ebx, esi
mov eax, ebx
shr al, 1
and al, 1
mov ecx, ebx
not cl
mov ah, cl
and ah, 0x7d
mul ah
add al, al
sub dl, al
test bl, 2
sete al
or cl, 2
mul cl
add al, al
sub dl, al
movzx eax, dl
add eax, ebp
add al, 0x2f
mov byte [esp + ebp + 0x5c7dc7a3], al
inc ebp
dec esi
cmp ebp, 0xa3823863
jne 0x154e9b0
xor ecx, ecx
mov eax, dword [esp + 8]
cmp dword [esp], eax
setne cl
xor eax, eax
mov ebp, dword [esp + 0x3c]
jmp dword [ecx*4 + 0x1288834]

Function at 0x154f740
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x28
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov dword [esp], 0x40474645
mov word [esp + 4], 0
mov byte [esp + 6], 0
xor edx, edx
mov eax, edx
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + edx]
lea ebx, [edx + 0x6e667871]
xor ebx, ecx
mov ecx, ebx
and ecx, 1
xor ebx, 1
lea ecx, [ebx + ecx*2]
add cl, 0xca
mov byte [esp + edx], cl
mov ecx, edx
xor eax, 1
add eax, edx
and edx, 1
and ecx, 6
add eax, edx
sub eax, ecx
mov edx, eax
cmp eax, 7
jb 0x154f770
mov eax, dword [esp]
mov edx, dword [0x128b064]
test edx, edx
je 0x154f7f8
xor ebx, ebx
mov ecx, dword [0x128b068]
nop
nop
nop
nop
nop
nop
cmp dword [ecx + ebx*8], 0x9c142cda
je 0x154f7d0
inc ebx
cmp edx, ebx
jne 0x154f7c0
jmp 0x154f7f8
mov edx, dword [ecx + ebx*8 + 4]
cmp edx, eax
je 0x154f7f8
mov eax, esp
lea ecx, [esp + 0x1c]
push 5
push 0x18
push eax
push ecx
push dword [ebp + 8]
push 0x14
push edx
push dword [0x128b06c]
call fcn.0154cf50
add esp, 0x20
test edi, edi
je 0x154f802
mov ecx, dword [esp + 8]
mov dword [edi], ecx
test esi, esi
je 0x154f80e
cmp byte [esp + 0x15], 0
setne byte [esi]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x402704
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov esi, edx
mov ebx, eax
test ebx, ebx
jne 0x402733
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA_1
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004032f8
jmp 0x402751
call sub.KERNEL32.DLL_GetCommandLineA
mov edi, eax
mov edx, esi
mov eax, edi
call fcn.0040268c
mov edi, eax
test ebx, ebx
je 0x402751
cmp dword [esi], 0
je 0x402751
dec ebx
jmp 0x40273a
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x402890
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [section.DATA]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402928
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x402908
xor eax, eax
push ebp
push 0x402901
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x402944
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402908
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov ax, word [section.DATA]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [section.DATA], ax
mov esp, ebp
pop ebp
ret