joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4069c5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4069e9
xor eax, eax
test eax, eax
je 0x4069fc
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x4069fc
xor ecx, ecx
jmp 0x4069ff
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406b22
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x427dec], 0
push esi
jne 0x406b59
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406b33
mov dword [ecx*4 + 0x427de8], eax
inc ecx
cmp ecx, 0x100
jl 0x406b2e
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406b8a
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x427de8]
xor eax, esi
inc ecx
dec edx
jne 0x406b6c
pop edi
not eax
pop esi
ret 0xc

Function at 0x22f9bcc
Capabilities:
Encode data using xor

Disassembly:
jmp 0x22f9bd6
pushal
call 0x22f9bdc
pop ebp
sub ebp, 0x10
sub ebp, 0x1ef9bcc
jmp 0x22f9bf2
mov eax, 0x1ef9bcc
add eax, ebp
add eax, 0x4c
mov ecx, 0x5d4
mov edx, 0xc0b95cc2
xor byte [eax], dl
inc eax
dec ecx
jne 0x22f9c09
jmp 0x22f9c1c
dec ecx
cmovns ecx, dword [ebx - 2]
ret 0xc2c2

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x3f3554f5
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
mov ecx, 0x1b6c5a0d
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43306c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x1374c16
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp + 8]
sar eax, 2
push edi
mov edi, dword [ebp + 0x14]
test eax, eax
je 0x1374c96
push esi
xor esi, esi
cmp dword [ebp + 0x18], esi
jbe 0x1374c95
push ebx
mov ebx, 0x141a728
mov al, byte [edi + esi]
xor al, 0x73
sub al, 0x6c
xor al, 0x74
push str.Own_head
push ebx
mov byte [edi + esi], al
call fcn.013713cb
push eax
call fcn.01371eb7
mov al, byte [edi + esi]
add al, 0x4e
xor al, 0xdc
push str.Earth
push ebx
mov byte [edi + esi], al
call fcn.013713cb
push eax
call fcn.01371eb7
mov al, byte [edi + esi]
xor al, 0xac
sub al, 0x65
xor al, 0x22
sub al, 0x73
push 0x1390548
mov byte [edi + esi], al
call fcn.0137daae
xor byte [edi + esi], al
add esp, 0x1c
inc esi
cmp esi, dword [ebp + 0x18]
jb 0x1374c38
pop ebx
pop esi
lea ecx, [ebp + 8]
call fcn.01374793
pop edi
pop ebp
ret 0x14

Function at 0x1377b83
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x1377ba4
jl 0x1377b9b
test edi, edi
jne 0x1377ba4
xor eax, eax
xor edx, edx
jmp 0x1377c65
cmp dword [ebx + 0x38], 0
je 0x1377bb9
push eax
push edi
push dword [ebp + 8]
call fcn.01377c6b
jmp 0x1377c65
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x1377c00
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x1377c00
cmp eax, edi
jb 0x1377bda
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.013793c0
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp + 8]
sub esi, ecx
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x2c]
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
jmp 0x1377c06
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x1377c5a
mov ecx, ebx
call fcn.0137741d
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x1377c45
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.0137f0c3
mov ecx, dword [ebp - 4]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x1377c5a
jmp 0x1377c18
test edx, edx
je 0x1377c5a
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.0137f0c3
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop esi
pop edi
pop ebx
leave
ret 0xc

Function at 0x1378f18
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
test eax, eax
je 0x1378f57
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1378f57
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1378f57
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1378f57
cmp dword [ecx + 0x74], 0xe
jbe 0x1378f57
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1383b0c
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x13937b8
push 0x13937b0
push str.FlsAlloc
push 0x1e
call fcn.01383979
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1383b40
push dword [ebp + 8]
mov ecx, esi
call dword [0x1390174]
call esi
jmp 0x1383b46
call dword [sym.imp.kernel32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1383b8a
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x13937c8
push 0x13937c0
push str.FlsGetValue
push 0x20
call fcn.01383979
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1383bc1
push dword [ebp + 8]
mov ecx, esi
call dword [0x1390174]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.kernel32.dll_TlsGetValue]
Function at 0x13861bb
Capabilities:
Read file on windows

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

Function at 0x13865b5
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.01379370
mov eax, dword [0x1418b40]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.013841be
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x13865f7
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x1386753
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0138f060
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x141b0e0]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.01387354
mov ecx, dword [esi*4 + 0x141b0e0]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x138674c
cmp eax, dword [edi + ecx + 0x24]
jne 0x138674c
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
je 0x138674c
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.01387354
add esp, 0x14
test edx, edx
jl 0x138674c
jg 0x13866c2
test eax, eax
jb 0x138674c
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x138674c
jl 0x13866dc
cmp dword [ebp - 0x1008], eax
ja 0x138674c
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x13866fa
test ebx, ebx
je 0x1386733
cmp ecx, edi
jae 0x1386733
mov al, byte [ecx]
cmp al, 0xd
jne 0x1386714
lea eax, [edi - 1]
cmp ecx, eax
jae 0x1386720
cmp byte [ecx + 1], 0xa
jne 0x1386720
inc ecx
jmp 0x1386720
movzx eax, al
movsx eax, byte [eax + 0x1418e10]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x13866fa
cmp edx, ebx
jne 0x13866fa
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x1386751
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.01378791
leave
ret
Function at 0x13867f2
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x141b0e0]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x1386832
cmp byte [ebx], 0xa
jne 0x1386832
or byte [eax + edi + 0x28], 4
jmp 0x1386837
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x1386935
mov al, byte [edx]
cmp al, 0x1a
je 0x1386917
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x1386866
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x138688b
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x1386895
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x1386848
jmp 0x1386935
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
je 0x1386912
cmp dword [ebp - 0xc], 0
je 0x1386912
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x141b0e0]
test byte [eax + edi + 0x28], 0x48
je 0x13868ec
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x13868d7
mov byte [esi], dl
jmp 0x13868e8
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x141b0e0]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x1386935
cmp byte [ebp - 1], 0xa
jne 0x13868fb
cmp esi, ebx
jne 0x13868fb
mov byte [esi], 0xa
jmp 0x1386934
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.01387372
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x1386935
mov byte [esi], 0xd
jmp 0x1386934
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x141b0e0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x1386931
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x1386935
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x138693e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x141b0e0]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x1386981
cmp word [esi], dx
jne 0x1386981
or byte [edi + eax + 0x28], 4
jmp 0x1386986
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x1386ad9
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x1386ab9
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x13869c8
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x13869fe
cmp eax, edx
jae 0x1386a0a
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x13869a0
jmp 0x1386ad9
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
je 0x1386ab5
cmp dword [ebp - 0x14], 0
je 0x1386ab5
mov eax, dword [ebx*4 + 0x141b0e0]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x1386a8d
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x1386a56
mov word [esi], cx
jmp 0x1386a89
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x141b0e0]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x141b0e0]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x141b0e0]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x1386ad9
pop ebx
cmp word [ebp - 4], bx
jne 0x1386a9e
cmp esi, dword [ebp + 0xc]
jne 0x1386a9e
mov word [esi], bx
jmp 0x1386ad6
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.01387372
add esp, 0x10
cmp word [ebp - 4], bx
je 0x1386ad9
push 0xd
jmp 0x1386ad2
mov ecx, dword [ebx*4 + 0x141b0e0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x1386ad0
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x1386ad9
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x138928b
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.kernel32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1389328
push ebx
push esi
call fcn.01389254
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.01388035
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x13892d5
push esi
call dword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1389327
push edi
push eax
call fcn.01383e93
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x13892f5
call fcn.0138314b
pop ecx
push esi
call dword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1389326
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.01388035
add esp, 0x20
test eax, eax
jne 0x1389314
push edi
call fcn.0138314b
jmp 0x138931c
push ebx
call fcn.0138314b
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x138f020
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x138f04d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x138f04d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x411082
Capabilities:
Terminate process

Disassembly:
jmp 0x41e230
jmp fcn.0041eae0
cmp ecx, dword [0x4282d4]
jne 0x41e23a
repz ret
jmp 0x41123f
Function at 0x4113ca
Capabilities:
Encode data using xor
Encrypt data using xtea

Disassembly:
jmp 0x4121e0
mov edx, dword ss:[esp + 8]
mov ecx, dword ss:[esp + 4]
push ebx
push ebp
push esi
mov esi, dword ss:[esp + 0x18]
push edi
mov eax, 0xc6ef3720
mov edi, 0x20
lea ebx, ds:[ebx]
mov ebx, edx
shr ebx, 5
mov ebp, edx
shl ebp, 4
xor ebx, ebp
mov ebp, eax
shr ebp, 0xb
and ebp, 3
mov ebp, dword ds:[esi + ebp*4]
add ebp, eax
add ebx, edx
xor ebx, ebp
sub ecx, ebx
mov ebx, ecx
shr ebx, 5
mov ebp, ecx
shl ebp, 4
xor ebx, ebp
add eax, 0x61c88647
mov ebp, eax
and ebp, 3
mov ebp, dword ds:[esi + ebp*4]
add ebx, ecx
add ebp, eax
xor ebx, ebp
sub edx, ebx
dec edi
jne 0x412200
mov eax, dword ss:[esp + 0x20]
pop edi
pop esi
pop ebp
mov dword ds:[eax], edx
mov dword ds:[eax + 4], ecx
pop ebx
ret
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408ecc
nop
mov ecx, 0x73be48cd
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x1dea27c1
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x1000125c
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 0xc], 0
call sub.KERNEL32.DLL_GetEnvironmentStringsA
mov ebx, eax
mov dword [ebp - 0x10], ebx
jmp 0x10001299
cmp byte [ebx], 0x3d
je 0x10001285
inc dword [ebp - 0xc]
mov edi, ebx
xor eax, eax
stc
sbb ecx, ecx
repne scasb al, byte es:[edi]
neg ecx
lea eax, [ecx - 2]
mov edi, eax
inc edi
lea ebx, [ebx + edi]
cmp byte [ebx], 0
jne 0x10001278
mov edi, dword [ebp - 0xc]
inc edi
lea edi, [edi*4]
mov dword [ebp - 0x14], edi
push dword [ebp - 0x14]
call sub.CRTDLL.DLL_malloc
pop ecx
mov dword [ebp - 8], eax
mov dword [0x10003010], eax
cmp dword [ebp - 8], 0
jne 0x100012cc
xor eax, eax
jmp 0x10001342
mov ebx, dword [ebp - 0x10]
jmp 0x10001325
mov edi, ebx
xor eax, eax
stc
sbb ecx, ecx
repne scasb al, byte es:[edi]
neg ecx
lea eax, [ecx - 2]
mov edi, eax
inc edi
mov dword [ebp - 4], edi
cmp byte [ebx], 0x3d
je 0x1000131f
push dword [ebp - 4]
call sub.CRTDLL.DLL_malloc
pop ecx
mov esi, dword [ebp - 8]
mov dword [esi], eax
or eax, eax
jne 0x10001308
jmp 0x10001342
push ebx
mov edi, dword [ebp - 8]
push dword [edi]
call sub.CRTDLL.DLL_strcpy
add esp, 8
add dword [ebp - 8], 4
mov edx, dword [ebp - 4]
lea ebx, [ebx + edx]
cmp byte [ebx], 0
jne 0x100012d1
mov edx, dword [ebp - 8]
mov dword [edx], 0
mov eax, 1
pop edi
pop esi
pop ebx
leave
ret

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
call 0x43000c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d6f
nop
nop
sub eax, 0x403d15
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
jmp fcn.00401219
Function at 0x4050f5
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
cmp byte [ecx + 0x14], 0
invalid
invalid
invalid

Function at 0x405113
Capabilities:
Read file on windows

Disassembly:
call fcn.0042e8c4
add esp, 0x10
leave
ret 0x10

Function at 0x40693c
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
xor esi, esi
mov edx, dword [eax + 4]
mov edi, dword [eax]
add edx, edx
mov eax, 0x1505
test edx, edx
jle 0x406964
movzx ecx, byte [esi + edi]
imul eax, eax, 0x21
add eax, ecx
inc esi
cmp esi, edx
jl 0x406956
pop edi
pop esi
pop ebp
ret 4
Function at 0x41aecc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov eax, edx
mov dword [ebp - 0xc], 0x86
push edi
mov ebx, ecx
mov dword [ebp - 0x18], eax
xor edi, edi
mov dword [ebp - 8], 0x7d
or esi, 0xffffffff
mov dword [eax], esi
movzx eax, word [ebx]
mov ecx, 0x85
cmp ax, cx
je 0x457e63
add ecx, 5
cmp ax, cx
je 0x457e63
mov ecx, 0x86
cmp ax, cx
je 0x457e63
add ecx, 5
cmp ax, cx
je 0x457e63
push 4
pop eax
xor edx, edx
inc edx
lea ecx, [eax + ebx]
call fcn.0041c935
mov ecx, eax
movzx edx, word [ecx]
mov bh, 0x11
mov eax, edx
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], eax
cmp ax, 0x31
ja 0x41af78
cmp ax, 0x30
jae 0x457ef7
cmp ax, 0x1d
je 0x457e85
cmp ax, 0x1e
je 0x457ef7
cmp ax, 0x22
ja 0x457e6a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
cmp ax, 0x36
je 0x41afa4
cmp ax, 0x38
je 0x457ef7
clc
cmp byte [edi], cl
test byte [edi - 0x31], ch
add eax, dword [eax]
cmp ax, word [ebp - 8]
je 0x457ec0
mov dword [ebp - 4], 0x80
cmp ax, word [ebp - 4]
jbe 0x41af71
jmp 0x457e9b
add ecx, 2
jmp 0x457ef7
add ecx, dword [edi]
test byte [eax + 0x3375fc2f], bl
rol byte [eax - 0x17], 0x50
xor ah, bh
jne 0x457edd
push es
jmp 0x41af39
cmp eax, 0x24
jbe 0x457e94
cmp ax, 0x29
je 0x457e91
cmp ax, 0x2b
jne 0x41af80
jmp 0x457e94
add ecx, 2
cmp dword [ebp + 8], 0
je 0x7641af80
xor ah, bh
jne 0x457eae
movzx eax, word [ecx + 2]
test esi, esi
jns 0x457f1f
mov bh, 0x41
add al, byte [ebp + 0x337979f6]
imul bl
jno 0x457f11
xor esi, esi
jmp 0x457f1b
cmp eax, dword [ebp - 0xc]
jbe 0x457ecf
mov dword [ebp - 4], 0x75c089
cmp ax, word [ebp - 4]
jbe 0x7641af80
jne 0x457e7a
mov eax, 0x75c08b
mov eax, eax
jne 0x457ec6
cmp dx, ax
ja 0x7641af80
push 0x7d
xor eax, eax
pop edx
cmp word [ebp - 0x10], dx
lea edx, [ebp - 0x14]
sete al
push eax
call 0x7641aedb
pop ecx
rcl byte [eax - 0x18], 0xf7
das
cld
jne 0x457f3e
mov ecx, dword [ebp - 0x14]
test ecx, ecx
js 0x7641af80
call 0x8b4bf8eb
clc
mov esi, ecx
int1
jmp 0x457f27
mov bh, 0x41
add al, byte [ebp + 0x330779f6]
test byte [esi - 0x75], 0xf8
inc ebp
call 0xc7d0afcd
Function at 0x41b4ca
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
push ebx
mov ebx, dword [edx]
push esi
push edi

Function at 0x41b731
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x16c
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
mov dword [ebp - 0x124], ecx
mov ecx, dword [ecx]
push esi
mov esi, dword [eax]
Function at 0x471fc0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
sub dword [0x4d06e0], 1
jne 0x471fd3
call fcn.00472064
mov eax, dword [0x4d2ff4]
mov ecx, dword [eax]
add eax, 4
mov dword [0x4d2ff4], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
mov dword [ebp - 4], eax
fild dword [ebp - 4]
jns 0x472016
fadd qword [0x4c81c0]
fstp qword [ebp - 8]
fld qword [ebp - 8]
fmul qword [0x4c8190]
leave
ret

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

Disassembly:
push esi
xor esi, esi
mov dword [0x4d2630], ecx
inc esi
mov edx, esi
mov eax, dword [edx*4 + 0x4d262c]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [edx*4 + 0x4d2630], eax
inc edx
cmp edx, 0x840f0270
jl 0x472030
mov dword [0x4d06e0], esi
mov dword [0x4d2ff0], esi
pop esi
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x4d2ff0], 0
push esi
push edi
mov esi, 0x4d2630
jne 0x472087
push 0
call fcn.0042e506
pop ecx
mov ecx, eax
call 0x48582024
mov dword [0x4d06e0], 0x840f0270
mov edx, 0xe3
mov dword [0x4d2ff4], esi
mov eax, dword [esi + 4]
mov ecx, dword [esi]
xor ecx, eax
and al, 1
and ecx, 0x7f0470fe
movzx eax, al
xor ecx, dword [esi]
shr ecx, 1
neg eax
test ecx, ecx
and eax, 0x9908b0df
xor ecx, eax
xor ecx, dword [esi - 0x163ef9cc]
xchg byte [esi], cl
add esi, 4
sub edx, 1
jne 0x47209c
mov eax, dword [esi]
mov dword [ebp - 4], 0xc3018c
mov edi, dword [esi + 4]
mov ecx, eax
xor ecx, edi
and ecx, 0x7f0470fe
xor ecx, eax
mov eax, edi
and al, 1
shr ecx, 1
movzx eax, al
neg eax
test ecx, ecx
and eax, 0x9908b0df
xor ecx, eax
mov eax, edi
xor ecx, dword [esi - 0x38c]
sub dword [ebp - 4], 1
mov dword [esi], ecx
lea esi, [esi + 4]
jne 0x4720d6
mov eax, dword [0x4d2630]
mov ecx, edi
xor ecx, eax
and al, 1
and ecx, 0x7f0470fe
movzx eax, al
xor ecx, edi
shr ecx, 1
neg eax
pop edi
test ecx, ecx
and eax, 0x9908b0df
xor ecx, eax
xor ecx, dword [esi - 0x38c]
mov dword [esi], ecx
pop esi
leave
ret