joyce8/EMBER2024-capa huggingface dataset:
Function at 0x487c10
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x10
mov eax, 0x5c
mov byte [esp], al
push esi
mov byte [esp + 5], al
mov byte [esp + 7], al
mov byte [esp + 6], 0x2e
mov byte [esp + 8], 0x53
mov byte [esp + 0xa], 0x74
mov byte [esp + 0xc], 0x6c
mov byte [esp + 0xd], 0x55
mov eax, 0x6e
push 0
mov byte [esp + 0xd], al
mov byte [esp + 0xf], al
mov byte [esp + 0x12], 0x73
mov byte [esp + 0x13], 0x62
lea ecx, [esp + 8]
push 0x80
mov byte [esp + 0x18], 0
push 3
push 0
push 3
push 0xc0000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, dword [esp + 0x18]
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x487cb6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jb 0x487c92
cmp eax, 3
jbe 0x487cab
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x487ca0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ax, 0x20b
pop esi
add esp, 0x10
ret 8
mov ax, 0x20c
pop esi
add esp, 0x10
ret 8
mov ax, 0x200
pop esi
add esp, 0x10
ret 8

Function at 0x487ce0
Capabilities:
Read file on windows

Disassembly:
sub esp, 4
push esi
push edi
mov esi, dword [esp + 0x14]
mov word [esi + 6], 0xffff
push esi
call fcn.00487ae0
lea eax, [esp + 8]
push 0
mov ecx, dword [esp + 0x14]
push eax
xor eax, eax
mov edx, dword [ecx]
mov ax, word [esi + 2]
push eax
push esi
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, eax
push esi
call fcn.00487a90
cmp edi, 1
jne 0x487d26
cmp word [esi + 6], 0xffff
jne 0x487d2c
mov word [esi + 6], 0x23b
mov ax, word [esi + 6]
pop edi
pop esi
add esp, 4
ret 8

Function at 0x487ea0
Capabilities:
Contain obfuscated stackstrings
Read .ini file

Disassembly:
sub esp, 0x24
mov eax, 0x53
mov byte [esp + 8], al
mov byte [esp + 0xa], al
mov byte [esp + 9], 0x59
mov byte [esp + 0xb], 0x54
mov byte [esp + 0xc], 0x45
mov byte [esp + 0xd], 0x4d
mov ecx, 0x49
mov byte [esp + 0x14], al
mov byte [esp + 0xf], cl
mov byte [esp + 0x11], cl
mov byte [esp + 0xe], 0x2e
mov byte [esp + 0x10], 0x4e
mov byte [esp + 0x12], 0
mov byte [esp + 0x16], 0x6e
mov byte [esp + 0x17], 0x74
mov edx, 0x65
mov byte [esp + 0x1c], al
mov byte [esp + 0x15], dl
mov byte [esp + 0x1a], dl
mov byte [esp + 0x18], 0x69
mov byte [esp + 0x19], 0x6e
mov byte [esp + 0x1b], 0x6c
mov byte [esp + 0x1e], 0x74
mov byte [esp + 0x1d], dl
mov byte [esp], cl
mov byte [esp + 0x1f], 0x75
mov byte [esp + 0x20], 0x70
mov byte [esp + 0x21], 0
mov byte [esp + 1], 0x6f
mov byte [esp + 2], 0x45
mov byte [esp + 3], 0x6e
mov byte [esp + 4], 0x74
lea eax, [esp + 8]
lea ecx, [esp]
lea edx, [esp + 0x14]
push eax
mov byte [esp + 9], 0x72
mov byte [esp + 0xa], 0x79
mov byte [esp + 0xb], 0
push 0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
add esp, 0x24
ret
Function at 0x488ce0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x40
push ebx
push esi
mov bx, word [esp + 0x4c]
mov esi, dword [esp + 0x50]
mov word [esi], 0
cmp bx, 4
jbe 0x488d03
xor al, al
pop esi
pop ebx
add esp, 0x40
ret 8
lea eax, [esp + 0x28]
push 0x10
push eax
call fcn.004889c0
lea eax, [esp + 0x38]
push 0x10
push eax
call fcn.00488a20
lea eax, [esp + 0x18]
push 0x10
push eax
add bl, 0x31
call fcn.00488ac0
lea eax, [esp + 0x18]
push eax
call fcn.0047ea20
lea ecx, [esp + 0x28]
lea edx, [esp + 8]
movzx eax, ax
push ecx
push 0x10
lea ecx, [esp + 0x40]
push edx
mov byte [esp + eax + 0x24], bl
push 0x475414
lea eax, [esp + 0x28]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x488daf
lea eax, [esp + 8]
push 0x2c
push eax
call fcn.00488cc0
test ax, ax
je 0x488d79
movzx eax, ax
mov byte [esp + eax + 8], 0
cmp byte [esp + 8], 0x30
jne 0x488d9b
mov al, byte [esp + 9]
and al, 0xdf
cmp al, 0x58
jne 0x488d9b
lea eax, [esp + 0xa]
push esi
push eax
call fcn.0047eb20
test al, al
jne 0x488daf
jmp 0x488daa
lea eax, [esp + 8]
push esi
push eax
call fcn.0047ea80
test al, al
jne 0x488daf
mov word [esi], 0
mov ax, word [esi]
test ax, ax
je 0x488dc7
cmp ax, 0xffff
je 0x488dc7
mov al, 1
pop esi
pop ebx
add esp, 0x40
ret 8
xor al, al
pop esi
pop ebx
add esp, 0x40
ret 8

Function at 0x488de0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x40
push ebx
push esi
mov bx, word [esp + 0x4c]
mov esi, dword [esp + 0x50]
mov word [esi], 0
cmp bx, 4
jbe 0x488e03
xor al, al
pop esi
pop ebx
add esp, 0x40
ret 8
lea eax, [esp + 0x28]
push 0x10
push eax
call fcn.004889c0
lea eax, [esp + 0x38]
push 0x10
push eax
call fcn.00488a20
lea eax, [esp + 0x18]
push 0x10
push eax
add bl, 0x31
call fcn.00488ac0
lea eax, [esp + 0x18]
push eax
call fcn.0047ea20
lea ecx, [esp + 0x28]
lea edx, [esp + 8]
movzx eax, ax
push ecx
push 0x10
lea ecx, [esp + 0x40]
push edx
mov byte [esp + eax + 0x24], bl
push 0x475414
lea eax, [esp + 0x28]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x488eaa
lea eax, [esp + 8]
push 0x2c
push eax
call fcn.00488cc0
test ax, ax
je 0x488eaa
movzx eax, ax
mov cl, byte [esp + eax + 9]
and cl, 0xdf
cmp cl, 0x54
jne 0x488eaa
cmp byte [esp + eax + 0xa], 0x3a
jne 0x488eaa
lea eax, [esp + eax + 0xb]
push esi
push eax
call fcn.0047ea80
test al, al
je 0x488ea5
mov ax, word [esi]
cmp ax, 1
jl 0x488ea5
cmp ax, 6
jle 0x488eaa
mov word [esi], 0
cmp word [esi], 1
pop esi
sbb al, al
pop ebx
inc al
add esp, 0x40
ret 8
Function at 0x488ec0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x50
lea eax, [esp]
push esi
push 0x10
push eax
call fcn.004889c0
lea eax, [esp + 0x24]
push 0x10
push eax
call fcn.00488a20
lea eax, [esp + 0x14]
push 0x10
push eax
call fcn.00488b80
lea eax, [esp + 0x44]
push 0x10
push eax
call fcn.00488b40
lea eax, [esp + 4]
lea ecx, [esp + 0x34]
lea edx, [esp + 0x14]
push eax
lea eax, [esp + 0x28]
push 0x10
push ecx
push 0x475414
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, eax
test esi, esi
je 0x488f30
lea eax, [esp + 0x34]
lea ecx, [esp + 0x44]
push eax
push ecx
call fcn.0047e8a0
mov ecx, dword [esp + 0x5c]
mov byte [ecx], al
cmp esi, 1
pop esi
sbb al, al
add esp, 0x50
inc al
ret 8

Function at 0x488f40
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x30
lea eax, [esp]
push 0x10
push eax
call fcn.004889c0
lea eax, [esp + 0x20]
push 0x10
push eax
call fcn.00488a20
lea eax, [esp + 0x10]
push 0x10
push eax
call fcn.00488b00
lea eax, [esp]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x20]
push eax
push 0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [esp + 0x34]
cmp eax, 1
mov word [ecx], ax
sbb cl, cl
add esp, 0x30
inc cl
mov al, cl
ret 4

Function at 0x488fa0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x70
lea eax, [esp]
push esi
mov esi, dword [esp + 0x78]
push 0x10
mov word [esi], 0
push 0
push eax
call fcn.0047ea40
lea eax, [esp + 0x14]
push 0x10
push eax
call fcn.004889c0
lea eax, [esp + 0x34]
push 0x10
push eax
call fcn.00488a20
lea eax, [esp + 0x24]
push 0x10
push eax
call fcn.00488a70
lea eax, [esp + 0x44]
push 0x10
push eax
call fcn.00488be0
lea eax, [esp + 0x54]
push 0x10
push eax
call fcn.00488c70
lea eax, [esp + 0x64]
push 0x10
push eax
call fcn.00488c30
lea eax, [esp + 0x14]
lea ecx, [esp + 4]
lea edx, [esp + 0x24]
push eax
lea eax, [esp + 0x38]
push 0x10
push ecx
push 0x475414
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x489074
lea eax, [esp + 0x44]
lea ecx, [esp + 4]
push eax
push ecx
call fcn.0047e8a0
test al, al
je 0x489042
mov word [esi], 2
jmp 0x489074
lea eax, [esp + 0x54]
lea ecx, [esp + 4]
push eax
push ecx
call fcn.0047e8a0
test al, al
je 0x48905c
mov word [esi], 3
jmp 0x489074
lea eax, [esp + 0x64]
lea ecx, [esp + 4]
push eax
push ecx
call fcn.0047e8a0
test al, al
je 0x489074
mov word [esi], 1
cmp word [esi], 1
pop esi
sbb al, al
add esp, 0x70
inc al
ret 4
Function at 0x489240
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 4
mov byte [esp + 3], 0
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x18]
push ebp
lea eax, [esi + 4]
mov dword [esi], eax
mov cx, word [edi + 4]
mov word [esi + 4], cx
mov ax, word [edi + 0xa]
mov word [esi + 6], ax
mov dx, word [edi + 0x14]
mov word [esi + 0x16], dx
lea edx, [esi + 0x24]
mov cx, word [edi + 8]
mov word [esi + 8], cx
lea ecx, [esi + 4]
mov ax, word [edi + 6]
push ecx
mov word [esi + 0xa], ax
mov dword [esi + 0x10], edx
call fcn.00489150
test al, al
jne 0x4893b1
test byte [edi + 0x1c], 4
je 0x4892a3
mov byte [esp + 0x13], 1
xor cx, cx
xor dx, dx
movzx ebp, cx
lea eax, [ebp*8]
sub eax, ebp
shl eax, 2
shl ebp, 2
lea eax, [eax + eax*4]
mov word [eax + esi + 0x36], cx
lea ebx, [eax + esi]
cmp cx, 3
lea eax, [ebp + ebp*8]
lea ebp, [eax + edi]
mov ax, word [ebp + 0xe]
mov word [ebx + 0x9c], ax
mov ax, word [ebp + 0x12]
mov word [ebx + 0x8e], ax
mov ax, word [ebp + 0x16]
mov word [ebx + 0x34], ax
mov ax, word [ebp + 0x18]
mov word [ebx + 0x32], ax
mov eax, dword [ebp + 0x1c]
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebx + 0x24], eax
mov eax, dword [ebp + 0x24]
mov dword [ebx + 0x28], eax
lea eax, [esi + 4]
mov dword [ebx + 0xa4], eax
jne 0x489320
mov dword [ebx + 0xa8], 0
jmp 0x48932c
lea eax, [ebx + 0xb0]
mov dword [ebx + 0xa8], eax
test cx, cx
jne 0x48933d
mov dword [ebx + 0xac], 0
jmp 0x489346
lea eax, [ebx - 0x68]
mov dword [ebx + 0xac], eax
cmp byte [esp + 0x13], 0
je 0x48935b
cmp word [ebp + 0xe], 0xffff
jne 0x48935b
or dword [ebx + 0x2c], 8
jmp 0x489361
mov word [ebx + 0x36], dx
inc dx
inc cx
cmp cx, 4
jb 0x4892a9
push esi
call fcn.004891c0
push esi
call fcn.00489100
push esi
call fcn.004890c0
mov eax, dword [esi + 0x10]
push eax
call fcn.0048a1b0
mov word [esi + 0xc], ax
test ax, ax
je 0x4893a7
add esi, 4
push esi
call fcn.0048a020
xor ax, ax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 8
push esi
call fcn.00489090
mov ax, 9
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 8
Function at 0x405ef4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a34], 0
push esi
jne 0x405f2b
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 0x405f05
mov dword [ecx*4 + 0x422a30], eax
inc ecx
cmp ecx, 0x100
jl 0x405f00
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405f5c
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 + 0x422a30]
xor eax, esi
inc ecx
dec edx
jne 0x405f3e
pop edi
not eax
pop esi
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp int.00401219
Function at 0x44ba10
Capabilities:
Accept command line arguments
Check os version

Disassembly:
sub esp, 8
mov al, byte [0x662041]
mov cl, byte [0x66204b]
xor cl, al
push ebx
mov byte [0x66204b], cl
mov cl, byte [0x662042]
or cl, 0x10
shr cl, 3
and ecx, 0xff
mov dword [esp + 4], ecx
fild dword [esp + 4]
fdivr qword [0x665958]
fadd qword [0x662058]
fstp qword [0x6659c8]
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dl, byte [0x66204d]
mov ebx, eax
mov al, byte [0x662041]
or al, dl
mov byte [0x662041], al
mov al, byte [0x662045]
or al, 2
shr al, 1
and eax, 0xff
mov dword [esp + 4], eax
fild dword [esp + 4]
fdivr qword [0x662058]
fadd qword [0x65e718]
fstp qword [0x665968]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [esp + 8]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
test eax, eax
je 0x44bac9
mov edx, dword [0x665ab4]
push 0x6657cc
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov eax, dword [0x665ab4]
push eax
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
mov ecx, ebx
xor eax, eax
and ecx, 0xff
mov al, bh
cmp ecx, 5
pop ebx
jne 0x44baee
cmp eax, 1
jae 0x44bafe
mov dword [0x664fb8], 0x409
add esp, 8
ret
ja 0x44bafe
mov dword [0x664fb8], 0x409
add esp, 8
ret
mov dword [0x664fb8], 0x7f
add esp, 8
ret

Function at 0x62021b
Capabilities:
Encode data using xor

Disassembly:
push cs
shr dx, 1
cmp al, 0xc9
push edx
invalid
jecxz 0x62016f
and bl, bl
jae 0x62023f
inc ebx
or byte [edx + 0x5b8b65f4], al
xchg ebx, eax
cmp eax, 0xfe169fbd
jl 0x620206
jp 0x620208
in al, dx
inc eax
lahf
outsd dx, dword [esi]
mov bh, bh
cmc
xchg ebx, eax
rcl dword [edx], 0xd7
retf
or eax, 0xa317aef6
dec ebx
invalid
scasb al, byte es:[edi]
pop ss
mov dword [0x65e6f04b], eax
inc esi
xor ah, bh
mov esp, cr7
dec edx
sbb byte [eax], 0x26
and dword [edx], 0xffffffac
lodsb al, byte [esi]
lodsb al, byte [esi]
add ah, byte [esi]
xchg ebx, eax
xchg dl, ah
pop esi
cmp eax, 0xedd90df0
mov esp, 0x4cea58e5
mov esp, 0x4cea58e5
arpl word [edx - 0x36], di
push eax
stosd dword es:[edi], eax
xor eax, 0x16ac0459
rcr byte [edx], cl
add ebx, dword [ecx + 0x1ba2ba25]
loop 0x620228
sbb esp, edx
out 0x41, al
inc ecx
sti
cmpsd dword [esi], dword es:[edi]
das
jbe 0x6201ce
mov dword [0x42f5b787], eax
add al, byte ss:[edx]
push ebx
sub byte [ebx], bh
pop ss
xor eax, esi
pushfd
mov ch, 0xa7
dec ecx
js 0x620288
adc cl, byte [edx + 0x26]
push edx
lea esi, [esi + 0x72cabfe2]
xor ebx, dword [ecx - 0x1f9f29a3]
sbb byte [edx + esi*8], 0x29
xor al, 0x26
pop ebp
salc
pushal
loopne 0x6201ed
sbb al, 0xf2
sub dword [esi], esi
fcmovu st(0), st(1)
xchg edx, eax
adc edx, dword [eax]
inc esi
call 0x52cc4354
jecxz 0x620215
bound edx, qword [esi + 0x7c]
cmp edx, dword [eax]
fidiv word [eax + ebx*4 - 0x76]
mov dl, 0xa7
sbb byte [edi], bh
mov bl, 0xda
shr edx, cl
and edx, dword [edx]
mov cs, word [edi + 0x3c44f99e]
salc
js 0x620268
add byte [edi], 0x54
sbb al, 0x3b
pop esp
xchg edi, eax
int1
scasb al, byte es:[edi]
int3
Function at 0x659a0d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x662398
cmp edx, dword [eax]
je 0x659a2f
add eax, 8
inc ecx
cmp eax, 0x662428
jl 0x659a20
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x662398]
jne 0x659b5d
mov eax, dword [0xa5ccfc]
cmp eax, 1
je 0x659b37
test eax, eax
jne 0x659a60
cmp dword [0x6622c4], 1
je 0x659b37
cmp edx, 0xfc
je 0x659b5d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x659a97
lea eax, [ebp - 0x1a4]
push 0x65eab0
push eax
call fcn.0065a3f0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0065a880
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x659ada
lea eax, [ebp - 0x1a4]
push eax
call fcn.0065a880
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x65eaac
push edi
call fcn.0065c750
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x65ea90
push eax
call fcn.0065a3f0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0065a400
lea eax, [ebp - 0xa0]
push 0x65ea8c
push eax
call fcn.0065a400
push dword [esi + 0x66239c]
lea eax, [ebp - 0xa0]
push eax
call fcn.0065a400
push 0x12010
lea eax, [ebp - 0xa0]
push 0x65ea64
push eax
call fcn.0065c6c4
add esp, 0x2c
pop edi
jmp 0x659b5d
lea eax, [ebp + 8]
lea esi, [esi + 0x66239c]
push 0
push eax
push dword [esi]
call fcn.0065a880
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x42c231
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x90
push ebx
push ebp
mov ebp, dword [esp + 0x9c]
lea eax, [esp + 8]
push esi
push edi
push 0x90
xor ebx, ebx
push ebx
push eax
call fcn.0042d670
mov edx, dword [esp + 0xb4]
add esp, 0xc
movzx ecx, byte [edx]
movzx eax, byte [edx + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 5]
mov dword [esp + 0x10], ecx
movzx ecx, byte [edx + 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 7]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 9]
mov dword [esp + 0x14], ecx
movzx ecx, byte [edx + 8]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xa]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xb]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xd]
mov dword [esp + 0x18], ecx
movzx ecx, byte [edx + 0xc]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xe]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xf]
shl ecx, 8
or ecx, eax
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + ebx*4 + 0x1c]
xor ecx, dword [esp + ebx*4 + 0x18]
xor ecx, dword [esp + ebx*4 + 0x14]
xor ecx, dword [ebp + ebx*4]
mov eax, ecx
shr eax, 0x18
movzx edi, byte [eax + 0x472070]
mov eax, ecx
shr eax, 0x10
movzx eax, al
shl edi, 8
movzx eax, byte [eax + 0x472070]
or edi, eax
mov eax, ecx
shr eax, 8
movzx eax, al
shl edi, 8
movzx eax, byte [eax + 0x472070]
or edi, eax
movzx eax, cl
mov esi, edi
shl esi, 8
movzx edx, byte [eax + 0x472070]
or esi, edx
mov ecx, esi
mov eax, esi
ror ecx, 0x1e
ror eax, 0x16
xor ecx, eax
mov eax, esi
ror eax, 0xe
xor ecx, eax
bswap edx
or edx, edi
xor ecx, edx
xor ecx, dword [esp + ebx*4 + 0x10]
xor ecx, esi
mov dword [esp + ebx*4 + 0x20], ecx
inc ebx
cmp ebx, 0x20
jb 0x42c2e9
mov edx, dword [esp + 0xac]
mov ecx, dword [esp + 0x9c]
mov eax, ecx
shr eax, 0x18
pop edi
mov byte [edx], al
mov eax, ecx
shr eax, 0x10
mov byte [edx + 1], al
mov eax, ecx
shr eax, 8
mov byte [edx + 2], al
mov byte [edx + 3], cl
mov ecx, dword [esp + 0x94]
mov eax, ecx
shr eax, 0x18
mov byte [edx + 4], al
mov eax, ecx
shr eax, 0x10
mov byte [edx + 5], al
mov eax, ecx
shr eax, 8
mov byte [edx + 6], al
mov byte [edx + 7], cl
mov ecx, dword [esp + 0x90]
mov eax, ecx
shr eax, 0x18
mov byte [edx + 8], al
mov eax, ecx
shr eax, 0x10
mov byte [edx + 9], al
mov eax, ecx
shr eax, 8
mov byte [edx + 0xa], al
mov byte [edx + 0xb], cl
mov ecx, dword [esp + 0x8c]
mov eax, ecx
shr eax, 0x18
mov byte [edx + 0xc], al
mov eax, ecx
shr eax, 0x10
mov byte [edx + 0xd], al
mov eax, ecx
pop esi
pop ebp
shr eax, 8
pop ebx
mov byte [edx + 0xe], al
mov byte [edx + 0xf], cl
add esp, 0x90
ret
Function at 0x42c400
Capabilities:
Encode data using xor

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x90
mov edx, dword [ebp + 0x7c]
push esi
push edi
mov edi, dword [ebp + 0x78]
movzx ecx, byte [edx]
movzx eax, byte [edx + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 5]
xor ecx, 0xa3b1bac6
mov dword [ebp - 0x20], ecx
movzx ecx, byte [edx + 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 7]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 9]
xor ecx, 0x56aa3350
mov dword [ebp - 0x1c], ecx
movzx ecx, byte [edx + 8]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xa]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xb]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xd]
xor ecx, 0x677d9197
mov dword [ebp - 0x18], ecx
movzx ecx, byte [edx + 0xc]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xe]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xf]
shl ecx, 8
or ecx, eax
xor ecx, 0xb27022dc
xor esi, esi
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + esi - 0x14]
xor ecx, dword [esi + 0x472180]
xor ecx, dword [ebp + esi - 0x18]
xor ecx, dword [ebp + esi - 0x1c]
mov eax, ecx
shr eax, 0x18
movzx edx, byte [eax + 0x472070]
mov eax, ecx
shr eax, 0x10
movzx eax, al
shl edx, 8
movzx eax, byte [eax + 0x472070]
or edx, eax
mov eax, ecx
shr eax, 8
movzx eax, al
shl edx, 8
movzx eax, byte [eax + 0x472070]
or edx, eax
movzx eax, cl
shl edx, 8
movzx eax, byte [eax + 0x472070]
or edx, eax
mov ecx, edx
mov eax, edx
ror ecx, 0x13
ror eax, 9
xor ecx, eax
xor ecx, dword [ebp + esi - 0x20]
xor ecx, edx
mov dword [ebp + esi - 0x10], ecx
mov dword [esi + edi], ecx
add esi, 4
cmp esi, 0x80
jb 0x42c4b4
pop edi
pop esi
add ebp, 0x70
leave
ret

Function at 0x42cc83
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x42ccc2
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42ccc2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42ccc2
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x42ccc2
cmp dword [ecx + 0x74], 0xe
jbe 0x42ccc2
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x432c7e
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 0x432d1b
push ebx
push esi
call fcn.00432c47
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.00432bdb
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x432cc8
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x432d1a
push edi
push eax
call fcn.00433511
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x432ce8
call fcn.004317a5
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x432d19
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00432bdb
add esp, 0x20
test eax, eax
jne 0x432d07
push edi
call fcn.004317a5
jmp 0x432d0f
push ebx
call fcn.004317a5
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 0x433bf7
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x474090
push 0x474088
push str.FlsAlloc
push 0x1f
call fcn.00433b13
mov esi, eax
add esp, 0x10
test esi, esi
je 0x433c2b
push dword [ebp + 8]
mov ecx, esi
call dword [0x44910c]
call esi
jmp 0x433c31
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x433c75
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4740a0
push 0x474098
push str.FlsGetValue
push 0x21
call fcn.00433b13
mov esi, eax
add esp, 0x10
test esi, esi
je 0x433cac
push dword [ebp + 8]
mov ecx, esi
call dword [0x44910c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x433cb4
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4740a8
push 0x4740a0
push str.FlsSetValue
push 0x22
call fcn.00433b13
mov esi, eax
add esp, 0x10
test esi, esi
je 0x433cee
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x44910c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x4388b0
Capabilities:
Parse pe header

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

Function at 0xd219c8
Capabilities:
Encode data using xor

Disassembly:
jmp 0xd219d2
pushal
call 0xd219d8
pop ebp
sub ebp, 0x10
sub ebp, 0x9219c8
jmp 0xd219ee
mov eax, 0x9219c8
add eax, ebp
add eax, 0x4c
mov ecx, 0x5c0
mov edx, 0xf81f5051
xor byte [eax], dl
inc eax
dec ecx
jne 0xd21a05
jmp 0xd21a18
ficomp dword [edx + ebx*8 + 0x51516dd8]
push ecx
rcl byte [eax + 0x515151a9]
push edx
pushfd
jmp 0x52236b82