joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100084d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xa8
mov al, 0x6b
xor ecx, ecx
lea edx, [ebp - 0x6c]
mov esi, dword [0x1016c0a0]
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], 0xfd
add esi, 0xfffffdb7
mov dword [0x1016c09c], esi
mov dword [0x1016c0a0], 0xc00
mov dword [ebp - 0x70], edx
mov byte [ebp - 0x71], al
mov dword [ebp - 0x78], ecx
jmp 0x10008556
xor eax, eax
mov dword [ebp - 0x7c], eax
jmp 0x1000864f
xor eax, eax
mov dword [ebp - 0x80], eax
jmp 0x1000873f
mov eax, dword [ebp - 0x78]
mov cl, byte [ebp - 0x71]
movsx edx, cl
mov si, dx
mov edx, eax
add edx, 1
mov word [ebp + eax*2 - 0x6c], si
mov cl, byte [ebp + eax - 0x2b]
cmp cl, 0
mov byte [ebp - 0x71], cl
mov dword [ebp - 0x78], edx
jne 0x10008556
mov dword [0x1016c09c], 0x708
mov dword [0x1016c0a0], 0xa5a
mov ecx, dword fs:[0x18]
xor eax, eax
cmp ecx, 0x1000
mov edx, eax
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x8c], edx
jb 0x100085c3
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
mov dword [0x1016c09c], 0x120c
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0xc]
mov ecx, eax
add ecx, 0x14
mov eax, dword [eax + 0x14]
cmp eax, ecx
mov edx, dword [ebp - 0x88]
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x80], edx
je 0x1000873f
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x98], eax
jmp 0x1000860f
mov eax, dword [ebp - 0x98]
mov cx, word [eax + 0x24]
mov edx, dword [eax + 0x28]
mov dword [0x1016c09c], 0x8af
shr cx, 1
movzx esi, cx
cmp cx, 0
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0xa0], edx
mov dword [ebp - 0xa4], esi
je 0x10008714
jmp 0x10008542
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0xa0]
mov dx, word [ecx + eax*2]
mov si, dx
add si, 0xffbf
mov di, dx
add di, 0x20
cmp si, 0x1a
mov dword [ebp - 0xa8], eax
mov word [ebp - 0xaa], dx
mov word [ebp - 0xac], di
jb 0x10008695
mov ax, word [ebp - 0xaa]
mov word [ebp - 0xac], ax
mov ax, word [ebp - 0xac]
mov ecx, dword [ebp - 0xa8]
cmp word [ebp + ecx*2 - 0x6c], ax
sete dl
add ecx, 1
cmp ax, 0
setne dh
mov bl, dl
and bl, dh
mov esi, dword [ebp - 0xa4]
cmp ecx, esi
setb dh
and dh, bl
test dh, 1
mov dword [ebp - 0x7c], ecx
mov byte [ebp - 0xad], dl
jne 0x1000864f
mov al, byte [ebp - 0xad]
mov dword [0x1016c09c], 0x1684
test al, 1
mov ecx, dword [ebp - 0x9c]
mov dword [ebp - 0xb4], ecx
jne 0x100086fc
jmp 0x10008714
mov eax, dword [ebp - 0xb4]
mov eax, dword [eax + 0x10]
mov dword [0x1016c09c], 0x1457
mov dword [ebp - 0x80], eax
jmp 0x1000873f
mov dword [0x1016c09c], 0x167d
mov eax, dword [ebp - 0x9c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x90]
cmp ecx, edx
mov dword [ebp - 0x98], ecx
je 0x1000854c
jmp 0x1000860f
mov eax, dword [ebp - 0x80]
add esp, 0xa8
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10008fc0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x98
lea eax, [esp + 0x28]
lea ecx, [esp + 0x38]
mov edx, dword [0x1016c0a0]
mov esi, edx
add esi, 0xfffff527
mov dword [0x1016c09c], esi
add edx, 0x1b04
mov dword [0x1016c0a0], edx
mov dword [esp], eax
mov dword [esp + 0x24], ecx
call fcn.10008c30
dec dword [ebp + 0x78c00d]
adc byte [ebx - 0x76d7dbac], cl
push esp
and al, 0x48
Function at 0x4063d0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x44720b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
push edi
lea ecx, [esi + 4]
mov dword [esi], 0x4042dc
call fcn.004075bb
push 4
mov dword [esp + 0x18], 0
call fcn.004085a8
mov edi, eax
add esp, 4
test edi, edi
je 0x406444
push ebx
call fcn.004073b6
mov dword [edi], eax
call fcn.00407175
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.0040757c
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x406438
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.004075a4
pop ebx
jmp 0x406446
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x40917b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44a354]
jne 0x409185
repz ret
jmp fcn.0040d41c
Function at 0x411732
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x44a354]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040b98f
and dword [ebp - 0x14], 0
cmp dword [0x44faa0], 0
mov dword [ebp - 0x18], eax
jne 0x4117e5
push 0x403e68
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41188d
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403e5c
push ebx
call edi
test eax, eax
je 0x41188d
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403e4c
push ebx
mov dword [0x44faa0], eax
call edi
push eax
call esi
push 0x403e38
push ebx
mov dword [0x44faa4], eax
call edi
push eax
call esi
push 0x403e1c
push ebx
mov dword [0x44faa8], eax
call edi
push eax
call esi
mov dword [0x44fab0], eax
test eax, eax
je 0x4117e5
push 0x403e04
push ebx
call edi
push eax
call esi
mov dword [0x44faac], eax
mov eax, dword [0x44faac]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41183e
cmp dword [0x44fab0], ecx
je 0x41183e
push eax
call esi
push dword [0x44fab0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41183e
test ebx, ebx
je 0x41183e
call edi
test eax, eax
je 0x411835
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x411835
test byte [ebp - 8], 1
jne 0x41183e
or dword [ebp + 0x10], 0x200000
jmp 0x411871
mov eax, dword [0x44faa4]
cmp eax, dword [ebp - 0x18]
je 0x411871
push eax
call esi
test eax, eax
je 0x411871
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x411871
mov eax, dword [0x44faa8]
cmp eax, dword [ebp - 0x18]
je 0x411871
push eax
call esi
test eax, eax
je 0x411871
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x44faa0]
call esi
test eax, eax
je 0x41188d
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41188f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040917b
leave
ret
Function at 0x441ee0
Capabilities:
Accept command line arguments
Manipulate console buffer
Move file

Disassembly:
mov eax, dword [0x7d3804]
sub esp, 0x97c
push ebx
push ebp
push esi
shr eax, 3
xor ebx, ebx
push edi
mov edi, dword [0x7d376c]
cmp eax, ebx
jbe 0x4420de
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], eax
jmp 0x441f16
mov edi, dword [esp + 0x1c]
xor ebx, ebx
cmp dword [0x7d3804], 0x1c
jne 0x441f2d
lea eax, [esp + 0x40]
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputW]
mov ecx, dword [edi + 4]
mov edx, dword [0x44b2d0]
mov eax, dword [0x44b2d4]
mov esi, dword [edi]
mov dword [esp + 0x14], ecx
mov ecx, dword [0x44b2d8]
mov dword [esp + 0x28], edx
mov edx, dword [0x44b2dc]
mov edi, 0xc6ef3720
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], edx
mov ebp, 0x20
jmp 0x441f72
xor ebx, ebx
mov ecx, esi
shl ecx, 4
add ecx, dword [esp + 0x30]
mov eax, esi
shr eax, 5
add eax, dword [esp + 0x2c]
lea edx, [edi + esi]
xor ecx, edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ecx
mov dword [0x7d3770], ebx
mov eax, dword [esp + 0x18]
add dword [0x7d3770], eax
mov eax, dword [0x7d3770]
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x24]
add dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
xor eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x18]
sub dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov ecx, eax
shl ecx, 4
add ecx, dword [esp + 0x28]
cmp dword [0x7d3804], 0x1be
mov dword [esp + 0x10], ecx
lea ebx, [edi + eax]
jne 0x442047
push 0
lea edx, [esp + 0x18c]
push edx
push 0
push 0x403f10
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
lea eax, [esp + 0x44]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
xor eax, eax
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
call dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
shr eax, 5
add eax, dword [esp + 0x34]
xor ecx, ebx
mov dword [0x7d3778], 0xff6b3619
mov dword [0x7d377c], 0xffffffff
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x18]
xor dword [esp + 0x10], eax
sub esi, dword [esp + 0x10]
add edi, 0x61c88647
dec ebp
jne 0x441f70
cmp dword [0x7d3804], 0x8d4
jne 0x442097
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov dword [edi], esi
mov dword [edi + 4], edx
cmp dword [0x7d3804], 0x17
jne 0x4420cd
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressW]
lea eax, [esp + 0x48]
push eax
push 0x403ef4
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
add edi, 8
dec dword [esp + 0x20]
mov dword [esp + 0x1c], edi
jne 0x441f10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x97c
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0x14184af0
nop
nop
test eax, eax
nop
nop
nop
je 0x43204e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x432024
nop
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f314
nop
mov ecx, 0x3acd35f5
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x432084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x10001510
Capabilities:
Check for debugger via api
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push edi
and esp, 0xfffffff8
sub esp, 0x80
mov eax, esp
mov dword [eax], 0xe92110
mov eax, dword [sym.imp.KERNEL32.dll_DeleteTimerQueue]
call eax
sub esp, 4
xor ecx, ecx
lea edx, [esp + 0x50]
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], edx
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x40]
xor ecx, ecx
mov edx, esp
mov dword [edx], 0x33d
mov edx, dword [sym.imp.KERNEL32.dll_SetUserGeoID]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ecx
call edx
sub esp, 4
xor ecx, ecx
mov edx, 0xb
mov dword [esp + 0x34], eax
mov eax, ecx
mov dword [esp + 0x30], ecx
mov ecx, edx
mov edi, dword [esp + 0x44]
rep stosd dword es:[edi], eax
mov eax, esp
lea ecx, [esp + 0x50]
mov dword [eax + 4], ecx
mov dword [eax], 0x52a698
mov eax, dword [sym.imp.USER32.dll_SetWindowPlacement]
call eax
sub esp, 8
mov ecx, dword [esp + 0x3c]
sub ecx, 1
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ecx
je 0x10001622
jmp 0x100015a7
mov eax, dword [esp + 0x3c]
sub eax, 0x3d
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
jne 0x100015de
jmp 0x100015be
mov eax, esp
mov dword [eax + 4], 0x562e35
mov dword [eax], 0x58
mov eax, dword [sym.imp.USER32.dll_VkKeyScanExA]
call eax
sub esp, 8
mov word [esp + 0x1e], ax
jmp 0x10001622
mov eax, dword [esp + 0x20]
mov dword [esp + 0x4c], 0xf3
mov ecx, esp
lea edx, [esp + 0x4c]
mov dword [ecx + 4], edx
mov dword [ecx], 0x74ab24
mov ecx, dword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
mov dword [esp + 0x18], eax
call ecx
sub esp, 8
mov ecx, dword [esp + 0x18]
add ecx, 1
cmp ecx, 0xa
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], ecx
jne 0x100015de
mov eax, dword [esp + 0x3c]
add eax, 1
mov ecx, esp
mov dword [ecx], 0xd3ba2
mov ecx, dword [sym.imp.ADVAPI32.dll_ImpersonateAnonymousToken]
mov dword [esp + 0x10], eax
call ecx
sub esp, 4
mov ecx, dword [esp + 0x10]
cmp ecx, 0xba
mov dword [esp + 0xc], eax
mov dword [esp + 0x40], ecx
jne 0x10001541
lea esp, [ebp - 4]
pop edi
pop ebp
ret
Function at 0x10007b6a
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x1004149c], 0
mov dword [0x100414a0], 0
mov dword [0x100414a8], 0
mov dword [0x10041494], 0x1f97
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
je 0x10007cba
jmp 0x10007be6
mov eax, dword [0x1004149c]
mov ecx, dword [0x100414a0]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add ecx, 1
mov dword [ebp - 0x30], eax
mov eax, ecx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x1004149c], edx
mov ecx, dword [ebp - 0x20]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x34]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x38], edx
cdq
idiv esi
mov dword [0x100414a0], edx
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x100414a4], cl
mov edi, dword [ebp - 0x20]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov edx, dword [0x10041494]
add edx, 0xffffec0a
mov dword [0x10041494], edx
mov cl, byte [0x100414a4]
mov edx, dword [0x100414a0]
mov byte [edi + edx], cl
mov edx, dword [0x1004149c]
movzx edx, byte [edi + edx]
mov ebx, dword [0x100414a0]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x100414a8], ebx
mov dword [0x10041494], 0x715
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x30]
mov cl, byte [edx + ecx]
xor cl, byte [edi + ebx]
mov ebx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x30]
mov byte [ebx + edx], cl
mov dword [0x10041494], 0xac3
add edx, 1
mov ecx, dword [ebp - 0x10]
cmp edx, ecx
mov dword [ebp - 0x2c], edx
jne 0x10007bcf
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10007d56
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [0x10041498], 0x1ab6
mov dword [ebp - 4], 0
mov dword [0x10041494], 0x167
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x10041494], 0x1a39
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x10007e05
mov dword [0x10041498], 0xf6a
xor eax, eax
mov dword [ebp - 0x14], eax
jmp 0x10007ea1
mov eax, 1
mov dword [0x10041494], 0x4b0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x14], eax
je 0x10007ea1
jmp 0x10007da0
mov eax, dword [ebp - 0x1c]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x20], eax
jl 0x10007e05
jmp 0x10007e1b
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x10007e6c
jmp 0x10007da0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], edx
jne 0x10007ddb
mov eax, dword [ebp - 0x20]
mov dword [0x10041494], 0x91b
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x18], eax
jne 0x10007da0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x10007da0
mov dword [0x10041498], 0x162b
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x10007df4
jmp 0x10007da0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
mov dx, word [eax + ecx*2 - 0x12]
mov word [ebp - 0x22], dx
mov ax, word [ebp - 0x22]
cmp ax, 0x64
jne 0x10007da0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x10007db4
jmp 0x10007da0
mov eax, dword [ebp - 0x14]
add esp, 0x24
pop ebp
ret
Function at 0x1000814b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x60
mov eax, dword [ebp + 8]
mov ecx, dword [0x10041494]
add ecx, 0xffffe2e5
mov dword [0x10041494], ecx
mov dword [ebp - 0x10], eax
call fcn.10007a1c
xor ecx, ecx
mov edx, eax
mov esi, dword [0x10041494]
mov edi, dword [eax + 0x3c]
mov ebx, edx
add ebx, edi
add esi, 0xffffce03
mov dword [0x10041494], esi
mov edi, dword [eax + edi]
cmp edi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
je 0x100081ae
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov esi, dword [edx + eax + 0x24]
mov dword [0x10041498], 0x22e3
mov edi, dword [edx + eax + 0x18]
cmp edi, 0
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
je 0x10008308
jmp 0x10008200
mov al, byte [ebp - 0x39]
test al, 1
jne 0x100082cd
jmp 0x1000829d
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x30]
add ecx, edx
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x44]
xor esi, esi
mov edi, dword [ebp - 0x2c]
mov ebx, dword [edi + eax*4]
add edx, 0xffffe2e5
mov dword [0x10041494], edx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x5c], esi
jmp 0x1000826e
mov eax, dword [ebp - 0x60]
add eax, 1
mov cl, byte [ebp - 0x61]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x39]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x5c], eax
jne 0x1000826e
jmp 0x100081f0
mov eax, dword [ebp - 0x5c]
mov ecx, eax
mov edx, dword [ebp - 0x54]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x60], eax
mov byte [ebp - 0x61], bh
mov byte [ebp - 0x39], cl
je 0x100081f0
jmp 0x10008244
xor eax, eax
mov ecx, dword [ebp - 0x50]
add ecx, 2
mov edx, dword [ebp - 0x4c]
add edx, 1
mov esi, dword [ebp - 0x34]
cmp edx, esi
mov edi, dword [ebp - 0x58]
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x38], eax
jb 0x10008216
jmp 0x10008308
mov eax, dword [ebp - 0x50]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x28]
add edx, dword [edx + esi + 0x1c]
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x68]
mov edx, dword [eax + ecx*4]
mov dword [0x10041494], 0x21
mov esi, dword [ebp - 0x1c]
add esi, edx
mov dword [0x10041498], 0x201c
mov dword [ebp - 0x38], esi
mov eax, dword [ebp - 0x38]
add esp, 0x60
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10008313
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [0x100414a0], 0
mov byte [0x100414a4], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
xor eax, eax
mov ecx, dword [0x10041494]
add ecx, 0xffffde08
mov dword [0x10041498], ecx
mov dword [0x1004149c], 0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x10041494]
mov esi, eax
add esi, 0xfffff40d
mov dword [0x10041498], esi
mov esi, dword [0x1004149c]
add esi, 1
mov dword [0x1004149c], esi
cmp esi, 0x100
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], esi
jl 0x10008360
xor eax, eax
mov dword [0x10041498], 0x135f
mov dword [0x1004149c], 0
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov edx, 0x100
mov dword [ebp - 0x2c], eax
xor esi, esi
mov dword [ebp - 0x30], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
div esi
mov edi, ecx
add edi, 0xffffee70
add ecx, 0xfffff810
mov dword [0x10041498], ecx
mov ecx, dword [0x100414a0]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x2c]
movzx esi, byte [ebx + esi]
add esi, ecx
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx + edx]
add esi, edx
mov eax, esi
cdq
mov esi, dword [ebp - 0x30]
idiv esi
mov dword [0x100414a0], edx
mov dword [0x10041494], edi
mov edi, dword [ebp - 0x2c]
mov cl, byte [ebx + edi]
mov byte [0x100414a4], cl
mov dword [0x10041494], 0x1eef
mov cl, byte [ebx + edx]
mov byte [ebx + edi], cl
mov dword [0x10041498], 0x13
mov cl, byte [0x100414a4]
mov edx, dword [0x100414a0]
mov byte [ebx + edx], cl
mov edx, dword [0x1004149c]
add edx, 1
mov dword [0x1004149c], edx
cmp edx, 0x100
mov dword [ebp - 0x34], edx
jge 0x10008487
mov eax, dword [0x10041494]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
jmp 0x100083bf
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret