joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40fefc
Capabilities:
Impersonate user

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push edi
push ebp
mov ebp, esp
pop ebp
push 0x40ff12
clc
jb 0x40ff11
ret
inc dword [ebx + 0x414b033d]
add byte [eax], al
je 0x40ff24
cmp dword [0x414b0f], 0
jne 0x40ff2a
sub eax, eax
pop edi
pop ebx
leave
ret
mov ebx, dword [0x4172e1]
jmp 0x4100c6
call fcn.00402b47
cmp dword [0x4172e5], 0
je 0x40ff5a
push dword [ebx + 4]
push dword [0x4172e5]
call sub.kernel32.dll_lstrcmpiA
or eax, eax
jne 0x40ff5a
jmp 0x4100c4
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0
push 2
push dword [ebx + 4]
push 0
push dword [ebx + 4]
call dword [0x414b0f]
or eax, eax
je 0x40ff80
jmp 0x410009
push dword [ebx + 4]
call fcn.0040299a
mov dword [ebp - 8], eax
push dword [ebx + 4]
call sub.kernel32.dll_lstrlenA
push eax
push dword [ebp - 8]
push eax
push dword [ebx + 4]
push 0x100
push 0x400
call sub.kernel32.dll_LCMapStringA
or eax, eax
je 0x40ffd9
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0
push 2
push dword [ebp - 8]
push 0
push dword [ebx + 4]
call dword [0x414b0f]
or eax, eax
je 0x40ffd9
push dword [ebp - 8]
call fcn.00401835
jmp 0x410009
push dword [ebp - 8]
call fcn.00401835
mov edi, str.123456
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0
push 2
push edi
push 0
push dword [ebx + 4]
call dword [0x414b0f]
or eax, eax
je 0x4100b2
mov dword [ebp - 0x28], 0x20
mov dword [ebp - 0x24], 1
push dword [ebx + 4]
pop dword [ebp - 0x20]
push dword [ebx + 8]
pop dword [ebp - 0x1c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call sub.userenv.dll_LoadUserProfileA
or eax, eax
je 0x410067
cmp dword [ebp - 0xc], 0
je 0x41005e
push dword [ebp - 0xc]
pop dword [0x414841]
mov dword [ebp - 0x2c], 1
jmp 0x41006e
mov dword [ebp - 0x2c], 0
push dword [ebp - 4]
call dword [0x414b03]
or eax, eax
je 0x410099
call fcn.0040fb25
cmp dword [0x414afb], 0
je 0x41008f
call dword [0x414afb]
mov dword [0x414841], 0x80000001
cmp dword [ebp - 0x2c], 0
je 0x4100aa
push dword [ebp - 0xc]
push dword [ebp - 4]
call sub.userenv.dll_UnloadUserProfile
push dword [ebp - 4]
call sub.kernel32.dll_CloseHandle
cld
xor eax, eax
mov ecx, 0xffffffff
repne scasb al, byte es:[edi]
cmp byte [edi], al
jne 0x40ffe6
mov ebx, dword [ebx]
or ebx, ebx
jne 0x40ff35
mov eax, 1
pop edi
pop ebx
leave
ret
Function at 0x411ac0
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf0
push ebx
push esi
push edi
mov edx, dword [ebp + 8]
xor ebx, ebx
movzx esi, byte [ebx + str.80_]
mov eax, esi
sar eax, 3
movzx eax, byte [eax + edx]
mov ecx, esi
and ecx, 7
movzx ecx, word [ecx + ecx + 0x417530]
test eax, ecx
setne cl
movzx eax, cl
mov byte [ebp + ebx - 0x38], al
inc ebx
cmp ebx, 0x38
jl 0x411ad1
xor edx, edx
cmp word [ebp + 0xc], 1
jne 0x411b13
mov eax, edx
neg eax
lea ecx, [eax + eax + 0x1e]
jmp 0x411b16
lea ecx, [edx + edx]
lea edi, [ecx + 1]
and dword [ebp + edi*4 - 0xf0], 0
and dword [ebp + ecx*4 - 0xf0], 0
xor ebx, ebx
movzx eax, byte [edx + 0x4175d8]
lea esi, [eax + ebx]
cmp esi, 0x1c
jge 0x411b44
mov al, byte [ebp + esi - 0x38]
mov byte [ebp + ebx - 0x70], al
jmp 0x411b4c
mov al, byte [ebp + esi - 0x54]
mov byte [ebp + ebx - 0x70], al
inc ebx
cmp ebx, 0x1c
jl 0x411b2b
mov ebx, 0x1c
movzx eax, byte [edx + 0x4175d8]
lea esi, [eax + ebx]
cmp esi, 0x38
jge 0x411b70
mov al, byte [ebp + esi - 0x38]
mov byte [ebp + ebx - 0x70], al
jmp 0x411b78
mov al, byte [ebp + esi - 0x54]
mov byte [ebp + ebx - 0x70], al
inc ebx
cmp ebx, 0x38
jl 0x411b57
xor ebx, ebx
movzx eax, byte [ebx + 0x4175e8]
cmp byte [ebp + eax - 0x70], 0
je 0x411b9c
mov eax, dword [ebx*4 + 0x417540]
or dword [ebp + ecx*4 - 0xf0], eax
movzx eax, byte [ebx + 0x417600]
cmp byte [ebp + eax - 0x70], 0
je 0x411bb8
mov eax, dword [ebx*4 + 0x417540]
or dword [ebp + edi*4 - 0xf0], eax
inc ebx
cmp ebx, 0x18
jl 0x411b80
inc edx
cmp edx, 0x10
jl 0x411b02
lea eax, [ebp - 0xf0]
push eax
call fcn.00411bdd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4125b6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push eax
push eax
push ebx
push esi
mov edx, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
xor ecx, ecx
mov al, byte [ecx + edx]
mov byte [ebp + ecx - 8], al
mov al, byte [ecx + edx]
mov byte [ecx + ebx], al
inc ecx
cmp ecx, 8
jl 0x4125c8
push ebx
push edx
call fcn.0041208e
xor edx, edx
lea ecx, [edx + ebx]
mov al, byte [edx + esi]
xor al, byte [ecx]
mov byte [ecx], al
inc edx
cmp edx, 8
jl 0x4125e4
xor edx, edx
mov al, byte [ebp + edx - 8]
mov byte [edx + esi], al
inc edx
cmp edx, 8
jl 0x4125f6
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x403bf7
Capabilities:
Terminate process

Disassembly:
jmp 0x460379
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x46038a
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.0040655f
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x403d7d
Capabilities:
Query environment variable

Disassembly:
jmp 0x4a8dc2
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x4a8dd3
pop esi
ret
push ebx
push edi
push esi
call fcn.004a8ca9
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.004047cd
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4a8dfb
push ebx
push esi
push edi
call fcn.00406302
add esp, 0xc
push 0
call fcn.0040706d
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x4063d9
Capabilities:
Parse pe header

Disassembly:
jmp 0x44f1bf
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x44f1fe
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x44f1fe
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x44f1fe
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x44f1fe
cmp dword [ecx + 0x74], 0xe
jbe 0x44f1fe
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x4a1738
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00401fff
mov eax, dword [0x7533d0]
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.00406bc2
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x4a177a
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x4a18d6
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00406d52
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 + 0x7586f0]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.004037e7
mov ecx, dword [esi*4 + 0x7586f0]
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 0x4a18cf
cmp eax, dword [edi + ecx + 0x24]
jne 0x4a18cf
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 0x4a18cf
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004037e7
add esp, 0x14
test edx, edx
jl 0x4a18cf
jg 0x4a1845
test eax, eax
jb 0x4a18cf
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x4a18cf
jl 0x4a185f
cmp dword [ebp - 0x1008], eax
ja 0x4a18cf
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x4a187d
test ebx, ebx
je 0x4a18b6
cmp ecx, edi
jae 0x4a18b6
mov al, byte [ecx]
cmp al, 0xd
jne 0x4a1897
lea eax, [edi - 1]
cmp ecx, eax
jae 0x4a18a3
cmp byte [ecx + 1], 0xa
jne 0x4a18a3
inc ecx
jmp 0x4a18a3
movzx eax, al
movsx eax, byte [eax + 0x753f28]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x4a187d
cmp edx, ebx
jne 0x4a187d
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x4a18d4
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00403585
leave
ret
Function at 0x4a7361
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x7533d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x4a73ac
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.004a7823
test al, al
jne 0x4a73a6
sub edx, 2
cmp edx, edi
jne 0x4a738c
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x4a73ce
lea eax, [edi + 2]
cmp edx, eax
je 0x4a73ce
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.004a6f5a
add esp, 0x10
jmp 0x4a74c8
push esi
lea ecx, [ebp - 0x255]
call fcn.004a7823
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4a7411
push dword [ebp - 0x25c]
jmp 0x4a73be
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x4a744e
cmp word [ebp - 0x226], 0
je 0x4a746f
cmp word [ebp - 0x226], ax
jne 0x4a744e
cmp word [ebp - 0x224], 0
je 0x4a746f
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.004a6f5a
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x4a74bb
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x4a7428
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x4a74a3
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x4a74c8
push 0x4a6942
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00406109
add esp, 0x10
jmp 0x4a7498
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403585
leave
ret
Function at 0x4b2c43
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 + 0x7586f0]
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 0x4b2c83
cmp byte [ebx], 0xa
jne 0x4b2c83
or byte [eax + edi + 0x28], 4
jmp 0x4b2c88
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x4b2d86
mov al, byte [edx]
cmp al, 0x1a
je 0x4b2d68
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x4b2cb7
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x4b2cdc
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x4b2ce6
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 0x4b2c99
jmp 0x4b2d86
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 0x4b2d63
cmp dword [ebp - 0xc], 0
je 0x4b2d63
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x7586f0]
test byte [eax + edi + 0x28], 0x48
je 0x4b2d3d
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x4b2d28
mov byte [esi], dl
jmp 0x4b2d39
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x7586f0]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x4b2d86
cmp byte [ebp - 1], 0xa
jne 0x4b2d4c
cmp esi, ebx
jne 0x4b2d4c
mov byte [esi], 0xa
jmp 0x4b2d85
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00401ad7
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x4b2d86
mov byte [esi], 0xd
jmp 0x4b2d85
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x7586f0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4b2d82
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4b2d86
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4b2de2
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 + 0x7586f0]
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 0x4b2e25
cmp word [esi], dx
jne 0x4b2e25
or byte [edi + eax + 0x28], 4
jmp 0x4b2e2a
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 0x4b2f7d
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 0x4b2f5d
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x4b2e6c
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x4b2ea2
cmp eax, edx
jae 0x4b2eae
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 0x4b2e44
jmp 0x4b2f7d
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 0x4b2f59
cmp dword [ebp - 0x14], 0
je 0x4b2f59
mov eax, dword [ebx*4 + 0x7586f0]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x4b2f31
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x4b2efa
mov word [esi], cx
jmp 0x4b2f2d
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x7586f0]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x7586f0]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x7586f0]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x4b2f7d
pop ebx
cmp word [ebp - 4], bx
jne 0x4b2f42
cmp esi, dword [ebp + 0xc]
jne 0x4b2f42
mov word [esi], bx
jmp 0x4b2f7a
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00401ad7
add esp, 0x10
cmp word [ebp - 4], bx
je 0x4b2f7d
push 0xd
jmp 0x4b2f76
mov ecx, dword [ebx*4 + 0x7586f0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4b2f74
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4b2f7d
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 0x44a880
Capabilities:
Accept command line arguments

Disassembly:
push ecx
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push str.HKEY_CLASSES_ROOTCLSIDD2073C44_AB4F_11D0_A732_00A0C9082637
mov edi, eax
call fcn.0044a810
mov esi, dword [sym.imp.USER32.dll_GetKeyboardType]
add esp, 4
mov ebx, eax
push 0
call esi
cmp eax, 7
je 0x44a8f5
push 1
call esi
mov esi, eax
mov eax, dword [esp + 0xc]
and esi, 0xff00
test eax, eax
je 0x44a8cf
mov eax, dword [0x652dd4]
push 0x652b08
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
lea ecx, [esp + 0xc]
push ecx
push edi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp esi, 0xd00
je 0x44a8eb
cmp esi, 0x400
jne 0x44a8f5
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret
pop edi
mov eax, ebx
pop esi
pop ebx
pop ecx
ret

Function at 0x5555f4
Capabilities:
Encode data using xor

Disassembly:
insb byte es:[edi], dx
mov eax, 0x6d12fa00
rcl ch, 0x18
aad 0x5c
xchg ebp, eax
lodsd eax, dword [esi]
push ecx
dec esi
test byte [ecx + ebx*2 - 0x654424e9], bl
jle 0x555643
mov ebx, 0xdc6f5356
invalid
sti
push 0x6626ef1b
push 0x96135b23
retf 0x8068
int3
dec esi
pop ecx
jbe 0x55565c
pop ds
xchg ecx, eax
call dword [esi - 0x54]
jnp 0x55563c
jle 0x55568f
mov dword [0x55428e9e], eax
invalid
cmp dword [ecx], ebx
and al, 0xbe
jns 0x555639
jae 0x5556da
jle 0x5556a0
das
mov ch, 0xd3
xchg esi, eax
jp 0x55561d
retf 0xd63d
sbb bh, byte [eax]
xchg edi, eax
jge 0x555658
pop esi
clc
pop ds
jl 0x555632
invalid
aaa
out dx, eax
push ds
imul edi, dword [esi], 0x44
sal dword [ebp - 0x4e3b04c8], 0x8b
pop ss
xchg edx, eax
ljmp 0x7648
wait
into
insd dword es:[edi], dx
shr bh, 0xfe
wait
leave
xchg ebx, eax
lahf
retf 0x2fbe
mov ebx, 0x4e9d04a7
jnp 0x5556c5
pop ebp
lcall 0xb33c, 0xd4a70702
xchg cl, cl
aas
jo 0x555716
salc
push edi
out dx, eax
retf
add eax, esi
out dx, al
xor eax, 0x2ced35bc
xor eax, 0x2ced35bc
push es
nop
xchg edx, eax
mov ebp, ecx
jae 0x555712
bound esp, qword [eax - 0x4b]
adc dword [edx + 0x5d], ecx
cmp dword [edi - 0x7f6abdcb], esp
adc byte [edx - 2], ch
int3

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x409fd0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40a15b
sub esp, 0xc
mov eax, dword [esp + 0x14]
xor ebp, ebp
cmp eax, ebp
je 0x40a14e
mov ebp, dword [eax]
cmp ebp, 0
je 0x40a14e
movzx ebp, byte [eax + 4]
mov ebx, ebp
and ebx, 4
cmp bl, 0
je 0x40a029
mov ebx, 0x5fe394
mov dword [esp], ebx
mov dword [esp + 4], 0x21
call fcn.0042a460
mov eax, dword [esp + 0x14]
movzx ebp, byte [eax + 5]
xchg ebp, eax
cmp al, 0
xchg ebp, eax
jne 0x40a0ac
mov ecx, dword [eax + 0xc]
xor eax, eax
cmp eax, 8
jae 0x40a05a
mov esi, eax
shl esi, 2
add esi, 8
mov ebx, ecx
add ebx, esi
mov ebx, dword [ebx]
mov ebp, dword [esp + 0x18]
cmp ebx, ebp
je 0x40a080
inc eax
cmp eax, 8
jb 0x40a03e
mov eax, dword [esp + 0x10]
movzx ebp, word [eax + 0x34]
mov eax, ebp
sub eax, 4
mov ebx, ecx
add ebx, eax
mov ecx, dword [ebx]
xor ebp, ebp
cmp ecx, ebp
jne 0x40a037
mov ebx, 0x6da6a0
mov dword [esp + 0x1c], ebx
add esp, 0xc
ret
mov ebx, ecx
add ebx, eax
movzx ebp, byte [ebx]
xchg ebp, eax
cmp al, 0
xchg ebp, eax
je 0x40a054
mov ebx, dword [esp + 0x10]
movzx ebp, byte [ebx + 0x32]
mov ebx, ebp
imul ebx, eax
add ebx, 0x28
mov eax, ebx
mov ebx, ecx
add ebx, eax
mov dword [esp + 0x1c], ebx
add esp, 0xc
ret
lea ebx, [esp + 0x18]
xor ebx, 0
mov dword [esp], ebx
mov ebp, dword [eax + 8]
mov dword [esp + 4], ebp
mov ebx, dword [esp + 0x10]
mov ebp, dword [ebx + 0x20]
mov esi, dword [ebp + 0x10]
mov edx, dword [esi]
mov ebx, dword [edx]
call ebx
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 8]
movzx ecx, byte [edi + 5]
mov ebx, 1
cmp cl, 0x20
jae 0x40a14a
shl ebx, cl
dec ebx
mov edx, ebx
mov eax, esi
and eax, ebx
mov ebx, dword [esp + 0x10]
movzx ebp, word [ebx + 0x34]
imul eax, ebp
mov ecx, dword [edi + 0xc]
add ecx, eax
mov eax, dword [edi + 0x10]
xor ebp, ebp
cmp eax, ebp
je 0x40a037
shr edx, 1
and edx, esi
mov ebx, dword [esp + 0x10]
movzx ebp, word [ebx + 0x34]
mov ebx, ebp
mov ebp, edx
imul ebp, ebx
mov edx, eax
add edx, ebp
movzx ebp, byte [edx]
xchg ebp, eax
cmp al, 0
xchg ebp, eax
jbe 0x40a146
xchg ebp, eax
cmp al, 4
xchg ebp, eax
jae 0x40a146
mov eax, 1
cmp al, 0
jne 0x40a037
mov ecx, edx
jmp 0x40a037
xor eax, eax
jmp 0x40a136
xor ebx, ebx
jmp 0x40a0e3
mov ebx, 0x6da6a0
mov dword [esp + 0x1c], ebx
add esp, 0xc
ret
call fcn.00450ed0
jmp fcn.00409fd0
Function at 0x40a170
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40a30e
sub esp, 0xc
mov eax, dword [esp + 0x14]
xor ebp, ebp
cmp eax, ebp
je 0x40a2fc
mov ebp, dword [eax]
cmp ebp, 0
je 0x40a2fc
movzx ebp, byte [eax + 4]
mov ebx, ebp
and ebx, 4
cmp bl, 0
je 0x40a1c9
mov ebx, 0x5fe394
mov dword [esp], ebx
mov dword [esp + 4], 0x21
call fcn.0042a460
mov eax, dword [esp + 0x14]
movzx ebp, byte [eax + 5]
xchg ebp, eax
cmp al, 0
xchg ebp, eax
jne 0x40a25a
mov ecx, dword [eax + 0xc]
xor eax, eax
cmp eax, 8
jae 0x40a1fe
mov esi, eax
shl esi, 2
add esi, 8
mov ebx, ecx
add ebx, esi
mov ebx, dword [ebx]
mov ebp, dword [esp + 0x18]
cmp ebx, ebp
je 0x40a229
inc eax
cmp eax, 8
jb 0x40a1e2
mov eax, dword [esp + 0x10]
movzx ebp, word [eax + 0x34]
mov eax, ebp
sub eax, 4
mov ebx, ecx
add ebx, eax
mov ecx, dword [ebx]
xor ebp, ebp
cmp ecx, ebp
jne 0x40a1db
mov ebx, 0x6da6a0
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x20], 0
add esp, 0xc
ret
mov ebx, ecx
add ebx, eax
movzx ebp, byte [ebx]
xchg ebp, eax
cmp al, 0
xchg ebp, eax
je 0x40a1f8
mov ebx, dword [esp + 0x10]
movzx ebp, byte [ebx + 0x32]
mov ebx, ebp
imul ebx, eax
add ebx, 0x28
mov eax, ebx
mov ebx, ecx
add ebx, eax
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x20], 1
add esp, 0xc
ret
lea ebx, [esp + 0x18]
xor ebx, 0
mov dword [esp], ebx
mov ebp, dword [eax + 8]
mov dword [esp + 4], ebp
mov ebx, dword [esp + 0x10]
mov ebp, dword [ebx + 0x20]
mov esi, dword [ebp + 0x10]
mov edx, dword [esi]
mov ebx, dword [edx]
call ebx
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 8]
movzx ecx, byte [edi + 5]
mov ebx, 1
cmp cl, 0x20
jae 0x40a2f8
shl ebx, cl
dec ebx
mov edx, ebx
mov eax, esi
and eax, ebx
mov ebx, dword [esp + 0x10]
movzx ebp, word [ebx + 0x34]
imul eax, ebp
mov ecx, dword [edi + 0xc]
add ecx, eax
mov eax, dword [edi + 0x10]
xor ebp, ebp
cmp eax, ebp
je 0x40a1db
shr edx, 1
and edx, esi
mov ebx, dword [esp + 0x10]
movzx ebp, word [ebx + 0x34]
mov ebx, ebp
mov ebp, edx
imul ebp, ebx
mov edx, eax
add edx, ebp
movzx ebp, byte [edx]
xchg ebp, eax
cmp al, 0
xchg ebp, eax
jbe 0x40a2f4
xchg ebp, eax
cmp al, 4
xchg ebp, eax
jae 0x40a2f4
mov eax, 1
cmp al, 0
jne 0x40a1db
mov ecx, edx
jmp 0x40a1db
xor eax, eax
jmp 0x40a2e4
xor ebx, ebx
jmp 0x40a291
mov ebx, 0x6da6a0
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x20], 0
add esp, 0xc
ret
call fcn.00450ed0
jmp fcn.0040a170