joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412720
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x46f008]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ecx], 0
jne 0x412749
mov eax, dword [edx]
mov dword [ecx], eax
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041fb7c
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x1c]
push str._EAC_Setup___Error__Only_a_single_setup_action_may_be_selected_for_execution.
push eax
call fcn.00412330
add esp, 8
lea eax, [ebp - 0x1c]
cmp dword [ebp - 8], 0x10
jb 0x412766
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [ebp - 8]
cmp edx, 0x10
jb 0x41279d
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x412793
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4127ad
push edx
push ecx
call fcn.0041fbbf
add esp, 8
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
call fcn.0041fb7c
mov esp, ebp
pop ebp
ret
call fcn.00439d3f
int3
Function at 0x41d3f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x456e5d
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x46f008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov ebx, ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push 0
push 0x400
mov byte [ebp - 0x45], 1
mov dword [ebp - 0x50], 1
mov dword [ebp - 0x4c], 0x800
call fcn.00406c60
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.0041df00
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x41d45b
mov eax, dword [esi]
xor ecx, ecx
mov dword [esi + 0x10], 0
mov word [eax], cx
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
jb 0x41d473
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x4c]
push ecx
push eax
lea eax, [ebp - 0x50]
push eax
push 0
push 0x468090
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
sub eax, 0
je 0x41d4ff
sub eax, 2
je 0x41d581
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x44]
push 0x4680b4
push eax
call fcn.004123f0
add esp, 0xc
mov ecx, esi
push eax
call fcn.00403700
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x41d4f2
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41d4e8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d5d8
push edx
push ecx
call fcn.0041fbbf
add esp, 8
mov eax, dword [ebp - 0x18]
xor bl, bl
mov ecx, dword [ebp - 0x2c]
jmp 0x41d58a
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x1c]
shr eax, 1
cmp eax, ecx
ja 0x41d522
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
jb 0x41d517
mov ecx, dword [ebp - 0x2c]
xor edx, edx
mov dword [ebp - 0x1c], eax
mov word [ecx + eax*2], dx
jmp 0x41d52f
sub eax, ecx
lea ecx, [ebp - 0x2c]
push 0
push eax
call fcn.00401790
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x2c]
mov ecx, dword [ebp - 0x2c]
cmp eax, 8
jb 0x41d53f
mov esi, ecx
test esi, esi
je 0x41d587
cmp word [esi], 0
je 0x41d581
push esi
call fcn.0043d378
add esp, 4
test eax, eax
je 0x41d568
mov dword [ebp - 0x54], eax
mov ecx, edi
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0041e510
push 0x4680b0
push esi
call fcn.00436c75
mov esi, eax
add esp, 8
test esi, esi
je 0x41d581
add esi, 2
jne 0x41d543
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
mov bl, byte [ebp - 0x45]
cmp eax, 8
jb 0x41d5ba
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41d5b0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d5dd
push edx
push ecx
call fcn.0041fbbf
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041fb7c
mov esp, ebp
pop ebp
ret
call fcn.00439d3f
call fcn.00439d3f
int3
Function at 0x41da30
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x456f1d
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x46f008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x3c], edi
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov byte [ebp - 0x29], bl
test edi, edi
jne 0x41da83
push 0xe
push str.Invalid_GameID
mov ecx, esi
call fcn.00401680
xor eax, eax
jmp 0x41dc11
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x41da8d
mov eax, dword [esi]
xor ecx, ecx
mov dword [esi + 0x10], ebx
mov word [eax], cx
lea eax, [ebp - 0x30]
push eax
push 0xf003f
push ecx
push str.SoftwareEasyAntiCheat
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41dbb0
push 0x14
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
call fcn.0041fb8a
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x38], eax
mov dword [ebp - 4], 0
lea edx, [ebp - 0x38]
mov ecx, dword [ebp - 0x30]
push esi
call fcn.0041d3f0
add esp, 4
test al, al
je 0x41db87
mov ecx, dword [ebp - 0x38]
mov eax, dword [ecx + 4]
cmp byte [eax + 0xd], 0
jne 0x41db16
cmp dword [eax + 0x10], edi
jae 0x41db0c
mov eax, dword [eax + 8]
jmp 0x41db10
mov ecx, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x41db02
cmp byte [ecx + 0xd], 0
jne 0x41db6b
cmp edi, dword [ecx + 0x10]
jb 0x41db6b
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x38]
call fcn.0041df50
cmp dword [ebp - 0x34], 0
sete al
mov byte [ebp - 0x29], al
mov cl, al
test al, al
jne 0x41db83
mov ecx, dword [ebp - 0x30]
lea edx, [ebp - 0x38]
push esi
call fcn.0041d5f0
add esp, 4
test al, al
je 0x41db55
mov ebx, 1
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x38]
call fcn.0041e0b0
jmp 0x41dc0f
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x38]
call fcn.0041df50
cmp dword [ebp - 0x34], 0
sete al
mov byte [ebp - 0x29], al
mov cl, al
movzx ebx, cl
inc ebx
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp - 0x29], 0
je 0x41dba6
push str.SoftwareEasyAntiCheat
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea ecx, [ebp - 0x38]
call fcn.0041e0b0
jmp 0x41dc0f
cmp eax, 2
jne 0x41dbb9
mov ebx, eax
jmp 0x41dc0f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x28]
push str.RegOpenKeyEx_failed_with__i
push eax
call fcn.004123f0
add esp, 0xc
mov ecx, esi
push eax
call fcn.00403700
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x41dc0f
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41dc05
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41dc2d
push edx
push ecx
call fcn.0041fbbf
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041fb7c
mov esp, ebp
pop ebp
ret
call fcn.00439d3f
int3
Function at 0x41dc40
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [0x46f008]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, esi
mov dword [esp + 8], edi
cmp dword [esi + 0x14], 8
jb 0x41dc68
mov eax, dword [esi]
xor ecx, ecx
mov dword [esi + 0x10], edi
mov word [eax], cx
lea eax, [esp + 8]
push eax
push 0xf003f
push ecx
push str.SoftwareEasyAntiCheat
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41dd0a
push dword [esp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.SoftwareEasyAntiCheat
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x41dd0f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x10]
push str.RegDeleteKeyW_failed_with__i
push eax
call fcn.004123f0
add esp, 0xc
mov ecx, esi
push eax
call fcn.00403700
mov edx, dword [esp + 0x20]
cmp edx, 8
jb 0x41dd80
mov ecx, dword [esp + 0xc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41dd76
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41dd93
jmp 0x41dd76
cmp eax, 2
jne 0x41dd27
mov edi, 2
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0041fb7c
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x10]
push str.RegOpenKeyEx_failed_with__i
push eax
call fcn.004123f0
add esp, 0xc
mov ecx, esi
push eax
call fcn.00403700
mov edx, dword [esp + 0x20]
cmp edx, 8
jb 0x41dd80
mov ecx, dword [esp + 0xc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41dd76
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41dd98
push edx
push ecx
call fcn.0041fbbf
add esp, 8
mov ecx, dword [esp + 0x24]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.0041fb7c
mov esp, ebp
pop ebp
ret
call fcn.00439d3f
call fcn.00439d3f
int3
Function at 0x41ebe0
Capabilities:
Delete service
Stop service

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x46f008]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
mov esi, edx
xor bl, bl
push edi
mov edi, ecx
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x41ec07
mov eax, dword [esi]
xor ecx, ecx
mov dword [esi + 0x10], 0
mov word [eax], cx
test edi, edi
jne 0x41ec39
push 0x12
push str.Invalid_parameters
mov ecx, esi
call fcn.00401680
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0041fb7c
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x28]
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
push edi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x41ecca
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 0x430
je 0x41ecca
call edi
push eax
lea eax, [esp + 0x14]
push str.DeleteService_failed_with__i
push eax
call fcn.004123f0
add esp, 0xc
mov ecx, esi
push eax
call fcn.00403700
mov edx, dword [esp + 0x24]
cmp edx, 8
jb 0x41eccc
mov ecx, dword [esp + 0x10]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41ecac
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ece0
push edx
push ecx
call fcn.0041fbbf
add esp, 8
mov al, bl
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0041fb7c
mov esp, ebp
pop ebp
ret
mov bl, 1
mov ecx, dword [esp + 0x44]
mov al, bl
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0041fb7c
mov esp, ebp
pop ebp
ret
call fcn.00439d3f
int3
Function at 0x420417
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push eax
push ecx
nop
push edx
push ebx
push esp
push ebp
push esi
push edi
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
push esi
push edi
mov edi, 7
mov dword [ebp - 0xc], 0xa
mov esi, 0xe
add bh, al
inc ebp
clc
or dword [eax], eax
add byte [eax], al

Function at 0x420439
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push eax
push ecx
nop
push edx
push ebx
push esp
push ebp
push esi
push edi
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
push esi
push edi
mov edi, 7
mov dword [ebp - 0xc], 0xa
mov esi, 0xe
add bh, al
inc ebp
clc
or dword [eax], eax
add byte [eax], al

Function at 0x420456
Capabilities:
Encrypt data using rc4 prga

Disassembly:
add bh, al
inc ebp
clc
or dword [eax], eax
add byte [eax], al
mov eax, esi
add eax, dword [ebp - 8]
sub eax, 0x17
mov dword [ebp - 0x24], eax
and dword [ebp - 0x28], 0
jmp 0x4204bc
add dword [ebp - 0x28], 0x6470
mov dword [ebp - 0x20], 0xda5669bb
mov dword [ebp - 0x24], 0x57d8
jmp 0x4204c5
dec dword [ebp - 0x20]
mov eax, dword [ebp - 8]
sub eax, 9
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x1c], 0x4ee000
mov dword [ebp - 0x2c], 0x4ca6c0
mov eax, edi
add eax, esi
sub eax, 0x12
mov dword [ebp - 0x10], eax
jmp 0x4204a3
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x28]
movzx edx, byte [eax]
movzx ecx, byte [ebp - 0x20]
xor edx, ecx
mov byte [eax], dl
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x10], eax
jb 0x42048f
jmp 0x420511
mov eax, dword [ebp - 8]
add eax, esi
sub eax, 0x14
cmp eax, dword [ebp - 0x44]
jbe 0x4204ce
jmp 0x420475
mov dword [ebp - 0x28], 0x4c3e50
jmp 0x420452
add dword [ebp - 0x24], 0x1e228
jmp 0x420469
mov eax, esi
sub eax, 0xe
mov dword [ebp - 4], eax
jmp 0x4204ea
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x2c]
mov cl, byte [ecx + eax]
mov byte [edx + eax], cl
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x19d34
jb 0x4204d8
mov dword [ebp - 0x48], 0x4e44c0
mov dword [ebp - 0x4c], 0x521000
mov dword [ebp - 0x14], 0x4eb0c0
mov dword [ebp - 0x30], 0x10000000
jmp 0x420519
inc dword [ebp - 0x44]
jmp 0x420630
mov eax, dword [ebp - 8]
sub eax, 9
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x48]
mov cl, byte [ecx + eax]
mov byte [edx + eax], cl
inc dword [ebp - 0x3c]
mov eax, 0x6720
cmp eax, dword [ebp - 0x3c]
ja 0x420522
mov eax, esi
add eax, dword [ebp - 0xc]
sub eax, 0x16
push ss
cmp eax, dword [ebp - 0x44]
jne 0x4204ad
inc dword [ebp - 0x20]
jmp 0x4204ad

Function at 0x449f80
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00449bfd
Function at 0x402564
Capabilities:
Inspect section memory permissions

Disassembly:
xor edx, edx
test eax, 0x4000000
je 0x402573
or edx, 0x200
test eax, 0x20000000
je 0x4025a7
test eax, 0x40000000
je 0x402592
test eax, 0x80000000
je 0x40258d
or edx, 0x40
jmp 0x4025ce
or edx, 0x20
jmp 0x4025ce
test eax, 0x80000000
je 0x4025a1
or edx, 0x80
jmp 0x4025ce
or edx, 0x10
mov eax, edx
ret
test eax, 0x40000000
je 0x4025bf
test eax, 0x80000000
je 0x4025ba
or edx, 4
jmp 0x4025ce
or edx, 2
jmp 0x4025ce
test eax, 0x80000000
je 0x4025cb
or edx, 8
jmp 0x4025ce
or edx, 1
mov eax, edx
ret
Function at 0x40686f
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x460114], 0
jne 0x4068ad
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406883
mov dword [ecx*4 + 0x460110], eax
inc ecx
cmp ecx, 0x100
jl 0x40687e
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x4068da
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x460110]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x4068bb
not eax
pop ebp
ret 0xc

Function at 0x41fee0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x12000]
push edi
or ebp, 0xffffffff
jmp 0x41ff02
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41ff09
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41fef8
mov eax, 1
add ebx, ebx
jne 0x41ff1b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41ff10
jne 0x41ff2c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41ff10
xor ecx, ecx
sub eax, 3
jb 0x41ff40
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41ffb2
mov ebp, eax
add ebx, ebx
jne 0x41ff4b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41ff58
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41ff7c
inc ecx
add ebx, ebx
jne 0x41ff68
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41ff5d
jne 0x41ff79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41ff5d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41ff9c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41ff8d
jmp 0x41fefe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41ff9c
add edi, ecx
jmp 0x41fefe
pop esi
mov edi, esi
mov ecx, 0x658
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41ffba
cmp byte [edi], 0
jne 0x41ffba
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x41ffbf
lea edi, [esi + 0x1d000]
mov eax, dword [edi]
or eax, eax
je 0x42002e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x205b0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2063c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41ffec
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x20640]
or eax, eax
je 0x420028
mov dword [ebx], eax
add ebx, 4
jmp 0x420009
call dword [esi + 0x20644]
popal
jmp 0x40ec7c
Function at 0x413c80
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x476cfb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0046b8e3
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x413d02
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0046969a
mov eax, dword [eax]
push 0x676220
push eax
call fcn.0045c194
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0046bb6e
test bl, bl
je 0x413d02
push 0x676220
lea ecx, [esp + 0xc]
call fcn.0046befe
push 0x679d88
lea ecx, [esp + 0xc]
call fcn.0046befe
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x413d3e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0046bb6e
jmp 0x413e09
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x413dc2
lea edx, [esp + 0x7c]
push 0x679d84
push edx
call fcn.0045c194
add esp, 8
test eax, eax
je 0x413dc2
lea eax, [esp + 0x7c]
push 0x679d80
push eax
call fcn.0045c194
add esp, 8
test eax, eax
je 0x413dc2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x413d52
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0046bb6e
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x414600
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x414662
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x414670
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x476d7b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x6817a4]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x4147a8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4146d6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046bb6e
xor eax, eax
jmp 0x41481f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0046bcab
push esi
lea ecx, [esp + 0xc]
call fcn.0046bf3a
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x4147fd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00414600
test eax, eax
jne 0x4147fd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.00414600
test eax, eax
jne 0x4147fd
lea eax, [esp + 0x14]
push 0x679d9c
push eax
call fcn.0045d1d0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4147dc
lea ecx, [esp + 0x14]
push 0x679d98
push ecx
call fcn.0045d150
mov esi, eax
add esp, 8
test esi, esi
jne 0x4147dc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4147df
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0046bc5b
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4146ee
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046bb6e
xor eax, eax
jmp 0x41481f
mov byte [esi], 0
push 0x679d94
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.0046bb6e
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x426050
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x4260be
cmp si, 0x69
ja 0x4260be
add esi, 0xffd0
cmp si, 0x11
je 0x42608e
push 0x11
call edi
test ax, ax
jge 0x42608e
or esi, 0x2000
cmp si, 0x10
je 0x4260a3
push 0x10
call edi
test ax, ax
jge 0x4260a3
or esi, 0x4000
cmp si, 0x12
je 0x4260b8
push 0x12
call edi
test ax, ax
jge 0x4260b8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x4260cb
mov esi, 0xbd
jmp 0x42607f
cmp si, 0x6e
jne 0x4260d8
mov esi, 0xbe
jmp 0x42607f
cmp si, 0x6f
jne 0x426079
mov esi, 0xbf
jmp 0x42607f

Function at 0x427880
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x691eb0]
xor edx, edx
cmp eax, edx
jne 0x4278a6
xor eax, eax
mov byte [eax + 0x691db0], al
inc eax
cmp eax, 0x100
jl 0x42788e
mov dword [0x691eb0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x691db0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x427937
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x42790a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x4278d8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4279b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x427a03
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x4279ea
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret