joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402450
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
xor eax, eax
mov ecx, 0x10
mov ebp, esp
push edi
push ebx
lea edi, [ebp - 0x110]
lea ebx, [ebp - 0xd0]
sub esp, 0x148
mov dword [ebp - 0x114], 0x44
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x128]
mov dword [esp], eax
call fcn.00448870
mov eax, dword [ebp - 0x128]
mov dword [esp + 0x10], 0x44c29c
mov edx, dword [eax + 4]
mov dword [esp + 0xc], edx
mov eax, dword [eax]
mov dword [esp], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], str.__s___s__s
call fcn.004012d0
lea eax, [ebp - 0x124]
mov dword [esp + 4], ebx
mov dword [esp + 0x24], eax
lea eax, [ebp - 0x114]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov eax, dword [ebp - 0x128]
mov eax, dword [eax]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CreateProcessA]
sub esp, 0x28
mov ebx, eax
call fcn.00448020
mov dword [eax], 0x44c06a
mov dword [eax + 4], 0x4ce
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp], ebx
mov dword [esp + 4], str.CreateProcess_failed:__lu_n
mov dword [esp + 8], eax
call fcn.00401990
mov eax, dword [ebp - 0x120]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, dword [ebp - 0x124]
sub esp, 4
lea esp, [ebp - 8]
pop ebx
pop edi
pop ebp
ret
Function at 0x419680
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
xor eax, eax
mov ecx, 0x10
mov ebp, esp
push edi
push esi
lea edx, [ebp - 0x150]
lea esi, [ebp - 0x154]
push ebx
mov edi, edx
sub esp, 0x18c
mov dword [ebp - 0x170], 0xc
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x170]
mov dword [ebp - 0x16c], 0
lea edi, [ebp - 0x110]
mov dword [ebp - 0x168], 1
mov dword [ebp - 0x154], 0x44
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CreateEventW]
sub esp, 0x10
mov ebx, eax
call fcn.00448020
mov dword [eax], 0x452a3d
mov dword [eax + 4], 0xa21
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 4], str.CreateEvent_failed:__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
setne al
mov dword [esp], eax
call fcn.004190a0
mov dword [esp + 0xc], ebx
mov eax, dword [0x4b32a0]
mov dword [esp], edi
mov dword [esp + 8], eax
mov dword [esp + 4], str._s_server_run__Ix
call fcn.00418540
call fcn.00448020
mov dword [eax], 0x452a3d
mov dword [eax + 4], 0xa24
mov dword [esp], str.running_server_process..._n
call fcn.00418b10
call fcn.00448020
mov dword [eax], 0x452a3d
mov dword [eax + 4], 0xa25
lea eax, [ebp - 0x164]
mov dword [esp + 0x20], esi
mov dword [esp + 4], edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_CreateProcessA]
sub esp, 0x28
mov dword [esp + 4], str.CreateProcess_n
mov dword [esp], eax
call fcn.004190a0
mov dword [esp], ebx
mov dword [esp + 4], 0x2710
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
sub esp, 8
mov esi, eax
call fcn.00448020
mov dword [eax], 0x452a3d
mov dword [eax + 4], 0xa27
xor eax, eax
test esi, esi
sete al
mov dword [esp + 4], str.WaitForSingleObject_n
mov dword [esp], eax
call fcn.004190a0
call fcn.00448020
mov esi, dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [eax], 0x452a3d
mov dword [eax + 4], 0xa29
mov eax, dword [ebp - 0x160]
mov dword [esp], eax
call esi
sub esp, 4
mov dword [esp], eax
mov dword [esp + 4], str.CloseHandle_n
call fcn.004190a0
call fcn.00448020
mov dword [eax], 0x452a3d
mov dword [eax + 4], 0xa2a
mov dword [esp], ebx
call esi
sub esp, 4
mov dword [esp], eax
mov dword [esp + 4], str.CloseHandle_n
call fcn.004190a0
mov eax, dword [ebp - 0x164]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x419890
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov edx, eax
mov ecx, 0x10
xor eax, eax
mov ebp, esp
push edi
push esi
lea esi, [ebp - 0x150]
push ebx
mov edi, esi
lea esi, [ebp - 0x110]
lea ebx, [ebp - 0x154]
sub esp, 0x170
mov dword [0x4b329c], edx
rep stosd dword es:[edi], eax
mov dword [ebp - 0x154], 0x44
mov dword [esp + 0xc], edx
mov eax, dword [0x4b32a0]
mov dword [esp], esi
mov dword [esp + 8], eax
mov dword [esp + 4], str._s_server__s
call fcn.00418540
call fcn.00448020
mov dword [eax], 0x452a3d
mov dword [eax + 4], 0x538
mov dword [esp + 0x20], ebx
mov dword [esp + 4], esi
mov dword [esp + 0x24], 0x4b3280
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_CreateProcessA]
sub esp, 0x28
mov dword [esp], eax
mov dword [esp + 4], str.CreateProcess_n
call fcn.004190a0
call fcn.00448020
mov dword [eax], 0x452a3d
mov dword [eax + 4], 0x539
mov eax, dword [0x4b3280]
mov dword [esp], eax
call fcn.00448890
call fcn.00448020
mov ebx, dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [eax], 0x452a3d
mov dword [eax + 4], 0x53a
mov eax, dword [0x4b3280]
mov dword [esp], eax
call ebx
sub esp, 4
mov dword [esp], eax
mov dword [esp + 4], str.CloseHandle_n
call fcn.004190a0
call fcn.00448020
mov dword [eax], 0x452a3d
mov dword [eax + 4], 0x53b
mov eax, dword [0x4b3284]
mov dword [esp], eax
call ebx
sub esp, 4
mov dword [esp + 4], str.CloseHandle_n
mov dword [esp], eax
call fcn.004190a0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x41f760
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov eax, 0xd
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x10
mov edx, dword [ebp + 8]
mov byte [ebp - 0xd], 0
mov dword [ebp - 0x19], 0x6572654a
mov ebx, dword [edx + 4]
mov esi, dword [edx]
mov dword [ebp - 0x15], 0x5720796d
mov dword [ebp - 0x11], 0x65746968
cmp ebx, eax
cmovbe eax, ebx
cmp eax, 4
jae 0x41f7b8
test eax, eax
jne 0x41f800
cmp ebx, 0xc
ja 0x41f7a9
mov eax, dword [edx]
mov byte [eax + ebx - 1], 0
add esp, 0x10
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esi], 0x6572654a
mov ebx, dword [ebp + eax - 0x1d]
lea ecx, [ebp - 0x19]
mov dword [esi + eax - 4], ebx
lea ebx, [esi + 4]
and ebx, 0xfffffffc
sub esi, ebx
add eax, esi
sub ecx, esi
and eax, 0xfffffffc
cmp eax, 4
jb 0x41f7ef
and eax, 0xfffffffc
xor esi, esi
mov edi, dword [ecx + esi]
mov dword [ebx + esi], edi
add esi, 4
cmp esi, eax
jb 0x41f7e2
mov ebx, dword [edx + 4]
cmp ebx, 0xc
ja 0x41f7a9
jmp 0x41f7a2
movzx ecx, byte [ebp - 0x19]
mov byte [esi], cl
test al, 2
je 0x41f7ef
movzx ecx, word [ebp + eax - 0x1b]
mov word [esi + eax - 2], cx
mov ebx, dword [edx + 4]
jmp 0x41f79d
Function at 0x420570
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x18]
push ebx
sub esp, 0x24
mov eax, dword [0x4b329c]
mov dword [esp], 0x452a25
mov dword [esp + 4], eax
call fcn.004186b0
mov dword [esp + 4], edi
mov esi, dword [sym.imp.rpcrt4.dll_I_RpcBindingInqLocalClientPID]
mov dword [esp], 0
call esi
sub esp, 8
cmp dword [ebp + 8], 3
mov ebx, eax
je 0x420670
call fcn.00448020
mov dword [eax], 0x452a3d
mov dword [eax + 4], 0x4f7
xor eax, eax
cmp ebx, 0x6a6
sete al
mov dword [esp + 8], ebx
mov dword [esp + 4], str.Got_unexpected__ld._n
mov dword [esp], eax
call fcn.004190a0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x4199f0
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_CreateThread]
sub esp, 0x18
mov ebx, eax
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
sub esp, 8
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_CloseHandle]
sub esp, 4
call fcn.00448020
mov edx, dword [eax + 0xbec]
test edx, edx
je 0x420661
sub edx, 1
mov dword [eax + 0xbec], edx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
call fcn.00448020
mov dword [eax], 0x452a3d
mov dword [eax + 4], 0x4f2
xor eax, eax
test ebx, ebx
sete al
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], str.Got_unexpected__ld._n
call fcn.004190a0
call fcn.00448020
mov dword [eax], 0x452a3d
mov dword [eax + 4], 0x4f3
mov dword [esp + 4], str.Got_unexpected_pid._n
mov eax, dword [ebp - 0x18]
cmp dword [0x4b3288], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.004190a0
mov dword [esp + 4], edi
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call esi
sub esp, 8
mov esi, eax
call fcn.00448020
mov dword [eax], 0x452a3d
mov dword [eax + 4], 0x4fd
xor eax, eax
test esi, esi
sete al
mov dword [esp + 8], esi
mov dword [esp], eax
mov dword [esp + 4], str.Got_unexpected__ld._n
call fcn.004190a0
call fcn.00448020
mov dword [eax], 0x452a3d
mov dword [eax + 4], 0x4fe
mov dword [esp + 4], str.Got_unexpected_pid._n
mov eax, dword [ebp - 0x18]
cmp dword [0x4b3288], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.004190a0
jmp 0x4205e4

Function at 0x447f70
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [esp], 1
call dword [0x44ad94]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll_fflush]
mov dword [esp], 1
call dword [sym.imp.kernel32.dll_ExitProcess]
Function at 0x449720
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
mov dword [esp + 0x10], eax
lea eax, [ebp - 8]
mov dword [esp + 8], eax
lea eax, [ebp - 0xc]
mov dword [esp + 4], eax
lea eax, [ebp - 0x10]
mov dword [esp], eax
mov dword [esp + 0xc], 0
call sub.msvcrt.dll___getmainargs
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sub.msvcrt.dll___set_app_type
mov eax, dword [ebp - 8]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.004497f0
mov dword [esp], eax
call sub.msvcrt.dll_exit
nop
nop
nop
nop
push ebp
mov ebp, esp
call sub.msvcrt.dll___iob_func
mov edx, dword [ebp + 8]
pop ebp
shl edx, 5
add eax, edx
ret
Function at 0x10118fe7
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 [0x101be580], 0
mov byte [0x101be584], 0
mov dword [0x101be574], 0x19f5
mov dword [0x101be57c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x101be574]
add eax, 0x1e60
mov dword [0x101be578], eax
mov esi, dword [0x101be57c]
add esi, 1
mov dword [0x101be57c], esi
cmp esi, 0x100
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], esi
jl 0x1011902c
mov eax, 0x1a82
xor ecx, ecx
mov dword [0x101be574], 0x1a82
mov dword [0x101be57c], 0
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov dword [0x101be588], 0
add eax, 0xffffe1b1
mov dword [0x101be578], eax
mov eax, dword [0x101be580]
mov edi, dword [ebp - 0x18]
movzx ebx, byte [edi + ecx]
add ebx, eax
mov eax, ecx
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 [0x101be588], ebx
mov eax, ebx
cdq
idiv esi
mov dword [0x101be580], edx
mov esi, dword [ebp - 0x18]
mov bl, byte [esi + ecx]
mov byte [0x101be584], bl
mov esi, dword [ebp - 0x30]
add esi, 0xffffe791
mov dword [0x101be578], esi
mov esi, dword [ebp - 0x18]
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov bl, byte [0x101be584]
mov ecx, dword [0x101be580]
mov byte [esi + ecx], bl
mov ecx, dword [0x101be57c]
add ecx, 1
mov dword [0x101be57c], ecx
cmp ecx, 0x100
mov dword [ebp - 0x34], ecx
jge 0x10119153
mov eax, dword [0x101be578]
mov ecx, dword [0x101be574]
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x2c], eax
jmp 0x1011908f
mov dword [0x101be578], 0x2635
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10119170
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x168
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [0x101be574], 0x2249
mov dword [0x101be578], 0x1ad5
mov edx, ecx
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], ecx
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
xor edx, edx
lea esi, section..data
imul edi, eax, 0x11c
mov ebx, esi
add ebx, edi
add ebx, 0x68
mov edi, dword [ebx]
imul ebx, eax, 0x11c
add esi, ebx
add esi, 0x50
movzx esi, word [esi]
xor esi, edi
add esi, ecx
add eax, 1
cmp eax, 0x3e8
mov ecx, esi
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x13c], esi
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x140], edx
jne 0x101191a9
mov eax, dword [ebp - 0x140]
mov cl, byte [eax + 0x10177da0]
mov dl, byte [eax + 0x10177d71]
sub dl, cl
mov byte [ebp + eax - 0x12c], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x140], eax
jne 0x1011920a
lea eax, [ebp - 0x12c]
mov dword [0x101be574], 0x179a
mov dword [ebp - 0x144], eax
call fcn.1011a11b
mov dword [esp], eax
mov eax, dword [ebp - 0x144]
mov dword [esp + 4], eax
call fcn.10118ce9
mov ecx, eax
mov dword [0x101be590], eax
mov eax, esp
mov edx, dword [ebp - 0x13c]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 4
mov dword [eax + 8], 0x1000
mov dword [eax], 0
call ecx
sub esp, 0x10
xor ecx, ecx
mov edx, ecx
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x150], ecx
mov eax, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x14c]
lea edx, section..data
imul esi, eax, 0x11c
mov edi, edx
add edi, esi
add edi, 0x68
mov esi, dword [edi]
imul edi, eax, 0x11c
mov ebx, edx
add ebx, edi
mov edi, dword [ebx]
imul ebx, eax, 0x11c
add edx, ebx
add edx, 0x50
movzx edx, word [edx]
xor edx, esi
mov esi, dword [ebp - 0x148]
add esi, ecx
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x158], ecx
mov dword [ebp - 0x15c], edx
call fcn.10119820
mov eax, dword [ebp - 0x15c]
mov ecx, dword [ebp - 0x158]
add eax, ecx
mov edx, dword [ebp - 0x154]
add edx, 1
cmp edx, 0x3e8
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x150], edx
jne 0x101192a7
lea eax, [0x10177d7f]
mov ecx, 0x20
lea edx, [ebp - 0x10c]
mov dword [0x101be574], 0x1695
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x160], edx
mov dword [ebp - 0x164], ecx
call fcn.10118fe7
mov dword [0x101be578], 0x1967
mov eax, dword [ebp - 0x160]
mov dword [esp], eax
mov ecx, dword [ebp - 0x148]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x13c]
mov dword [esp + 0xc], edx
call fcn.101198a9
xor eax, eax
mov dword [0x101be578], 0x15ce
mov ecx, dword [ebp - 0x148]
add ecx, 0x59c88
mov edx, dword [ebp - 0x130]
mov dword [edx], ecx
mov dword [edx + 4], 0x10d000
mov ecx, dword [ebp - 0x148]
add ecx, 0x4e40c
mov dword [edx + 8], ecx
mov dword [0x101be574], 0xe3a
mov dword [edx + 0xc], 0x2010
add esp, 0x168
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10119522
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x2c
mov dword [ebp - 8], 0
mov dword [0x101be574], 0xea1
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
xor ecx, ecx
mov dword [0x101be574], 0x12cc
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 0x10119638
mov dword [0x101be578], 0x369d
mov eax, 1
mov dword [ebp - 0x18], eax
jmp 0x101196b8
mov dword [0x101be574], 0xffffe770
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x10], 0x6c
sete dl
mov byte [ebp - 0x1d], dl
xor eax, eax
mov cl, byte [ebp - 0x1d]
test cl, 1
mov dword [ebp - 0x18], eax
jne 0x101195d7
jmp 0x101196b8
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff6
shl eax, 1
mov ecx, dword [ebp - 0x10]
add ecx, eax
mov dword [ebp - 0x24], ecx
xor eax, eax
mov ecx, dword [ebp - 0x24]
cmp word [ecx], 0x64
mov dword [ebp - 0x18], eax
je 0x101196a0
jmp 0x101196b8
xor eax, eax
mov dword [0x101be574], 0x251c
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x18], eax
je 0x10119566
jmp 0x101196b8
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0x18], 0x6f
mov dword [ebp - 0x18], eax
je 0x10119686
jmp 0x101196b8
mov eax, 0x19cd
mov ecx, dword [ebp - 0x28]
add ecx, 1
cmp ecx, 0x104
mov edx, ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
jge 0x10119656
mov eax, dword [ebp - 0x14]
mov ecx, 0x1bd2
mov edx, dword [ebp - 0x10]
cmp word [edx + eax*2], 0
mov esi, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], esi
jne 0x10119617
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
xor edx, edx
mov dword [0x101be578], ecx
mov dword [0x101be574], 0x6b6
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
je 0x101195fe
jmp 0x101196b8
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0x16], 0x61
mov dword [ebp - 0x18], eax
je 0x101195ac
jmp 0x101196b8
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0x12], 0x64
mov dword [ebp - 0x18], eax
je 0x1011957d
mov eax, dword [ebp - 0x18]
add esp, 0x2c
pop esi
pop ebp
ret
Function at 0x101196c1
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x28]
lea ecx, [esp + 0x38]
mov edx, dword [0x101be574]
add edx, 0xffffef19
mov dword [0x101be578], edx
mov dword [esp], eax
mov dword [esp + 0x24], ecx
call fcn.10119170
lea ecx, [0x10119a3e]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x58], 0x10d000
mov edx, dword [0x101be560]
mov dword [esp + 0x64], edx
mov edx, dword [0x101be564]
mov dword [esp + 0x50], edx
mov edx, dword [0x101be568]
mov dword [esp + 0x60], edx
mov edx, dword [0x101be56c]
mov dword [esp + 0x44], edx
mov edx, dword [0x101be570]
mov dword [esp + 0x74], edx
mov dword [0x101be578], 0x717
mov dword [0x101be574], 0x127a
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
jmp 0x10119761
mov eax, dword [esp + 0x18]
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x1c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x14], eax
jne 0x10119794
mov eax, dword [esp + 0x14]
add eax, 0x3c
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [esp + 0x14]
cmp dword [edx + ecx], 0x4550
mov dword [esp + 0xc], ecx
je 0x101197b0
mov eax, dword [esp + 0x14]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x1c], eax
jmp 0x10119761
mov eax, dword [esp + 0x14]
mov dword [esp + 0x8c], eax
mov dword [0x101be574], 0x25db
mov ecx, dword [esp + 0xc]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x38], edx
call fcn.10119522
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x18], ecx
jne 0x10119759
lea eax, [esp + 0x38]
mov dword [0x101be574], 0xf39
mov ecx, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.10119db4
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [esp + 0x18], eax
jmp 0x10119759
Function at 0x101198a9
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 ebx, 0x2448
mov dword [0x101be57c], 0
mov dword [0x101be580], 0
mov dword [0x101be58c], 0
mov dword [0x101be574], 0x2448
cmp eax, 0
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov eax, edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], edi
je 0x10119a36
jmp 0x10119936
mov eax, dword [0x101be57c]
mov ecx, dword [0x101be574]
mov edx, dword [0x101be580]
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
mov edi, 0x100
add eax, 1
mov ebx, edx
add ebx, 1
mov dword [0x101be578], 0x264a
add ecx, 0xffffffa9
mov dword [ebp - 0x34], edx
cdq
idiv edi
mov dword [0x101be57c], edx
mov dword [0x101be574], ecx
mov ecx, dword [ebp - 0x24]
movzx ecx, byte [ecx + edx]
add ecx, esi
mov eax, ecx
mov dword [ebp - 0x38], edx
cdq
idiv edi
mov dword [0x101be580], edx
mov ecx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x101be584], cl
mov dword [0x101be578], 0x20ef
mov edi, dword [ebp - 0x24]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x101be584]
mov edx, dword [0x101be580]
mov byte [edi + edx], cl
mov edx, dword [0x101be574]
mov ecx, edx
add ecx, 0xffffe99b
mov dword [0x101be578], ecx
mov ecx, dword [0x101be57c]
movzx ecx, byte [edi + ecx]
mov esi, dword [0x101be580]
movzx esi, byte [edi + esi]
add esi, ecx
and esi, 0xff
mov dword [0x101be58c], esi
mov dword [0x101be578], 0x1562
mov cl, byte [edi + esi]
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x34]
mov ch, byte [esi + edi]
add edx, 0x5a6
mov dword [0x101be578], edx
xor ch, cl
mov dword [0x101be574], 0x6a8
mov edx, dword [ebp - 0x20]
mov byte [edx + edi], ch
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x30], ebx
jne 0x10119916
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret