joyce8/EMBER2024-capa huggingface dataset:
Function at 0x561b38
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee4
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x561d05
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 1
mov eax, dword [0x5b5f24]
cmp dword [eax], 2
je 0x561ce4
xor eax, eax
push ebp
push 0x561cda
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x46ff60]
call fcn.00470060
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x561cc9
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000001
mov eax, dword [ebp - 0xc]
call fcn.00470100
xor ecx, ecx
mov edx, 0x561d20
mov eax, dword [ebp - 0xc]
call fcn.00470164
test al, al
je 0x561cb3
mov edx, 0x561d40
mov eax, dword [ebp - 0xc]
call fcn.00470590
test eax, eax
je 0x561cb3
push 0xff
lea eax, [ebp - 0x115]
push eax
call sub.KERNEL32.DLL_GetSystemDirectoryA
lea edx, [ebp - 0x11c]
lea eax, [ebp - 0x115]
call fcn.0040b07c
mov eax, dword [ebp - 0x11c]
lea ecx, [ebp - 0x10]
mov edx, 0x561d60
call fcn.0044319c
mov eax, dword [ebp - 0x10]
call fcn.004054d0
push eax
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x561cb3
xor eax, eax
push ebp
push 0x561cac
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x561d70
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov ebx, eax
mov eax, dword [0x5b5ad4]
cmp byte [eax], 3
jne 0x561c62
mov eax, dword [0x5b59f8]
mov eax, dword [eax]
cmp byte [eax + 0x47c], 0
je 0x561c62
push 0xffffffffffffffff
call sub.user32.dll_ShowCursor
mov eax, dword [0x5b59f8]
mov eax, dword [eax]
call fcn.00453cc4
push eax
call ebx
mov byte [ebp - 1], al
mov eax, dword [0x5b5ad4]
cmp byte [eax], 3
jne 0x561c95
mov eax, dword [0x5b59f8]
mov eax, dword [eax]
cmp byte [eax + 0x47c], 0
je 0x561c95
push 0
call sub.user32.dll_ShowCursor
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x561cb3
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_FreeLibrary
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x561cd0
mov eax, dword [ebp - 0xc]
call fcn.004040e0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x561d0c
lea eax, [ebp - 0x11c]
call fcn.00404ff4
lea eax, [ebp - 0x10]
call fcn.00404ff4
ret
Function at 0x5a109c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffe8
mov edi, edx
xor edx, edx
mov dword [esp], edx
cmp dword [eax + 4], 0
je 0x5a1158
mov eax, dword [eax + 4]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x3c]
add eax, dword [esp + 4]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x78]
add eax, dword [esp + 0xc]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x18]
mov esi, eax
dec esi
test esi, esi
jb 0x5a1158
inc esi
xor ebx, ebx
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x20]
mov edx, dword [esp + 0xc]
add eax, edx
mov ecx, ebx
shl ecx, 2
add eax, ecx
mov eax, dword [eax]
add eax, edx
mov dword [esp + 0x14], eax
push edi
mov eax, dword [esp + 0x18]
push eax
call sub.KERNEL32.DLL_lstrcmpA
test eax, eax
jne 0x5a1154
mov edx, dword [esp + 0x10]
mov edx, dword [edx + 0x24]
mov eax, dword [esp + 0xc]
add edx, eax
mov ecx, ebx
add ecx, ecx
add edx, ecx
mov dx, word [edx]
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 0x1c]
add ecx, eax
movzx edx, dx
shl edx, 2
add ecx, edx
mov edx, dword [ecx]
add edx, eax
mov dword [esp], edx
jmp 0x5a1158
inc ebx
dec esi
jne 0x5a10f9
mov eax, dword [esp]
add esp, 0x18
pop edi
pop esi
pop ebx
ret

Function at 0x5a1aac
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404ff4
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x5a1b40
push 0x80000000
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x5a1b3b
xor eax, eax
push ebp
push 0x5a1b34
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x104
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10c]
push eax
push 0
push 0
push 0x5a1b7c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
jne 0x5a1b1d
mov edx, ebx
lea eax, [ebp - 0x10c]
call fcn.0040b07c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a1b3b
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5a258c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov edi, eax
xor eax, eax
push ebp
push 0x5a265c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
mov edx, 0x5a2674
call fcn.00405048
xor ebx, ebx
lea eax, [ebp - 4]
xor edx, edx
mov dl, bl
add edx, 0x41
call fcn.004051dc
lea eax, [ebp - 4]
mov edx, 0x5a2684
call fcn.004052d8
mov eax, dword [ebp - 4]
call fcn.004054d0
push eax
call sub.KERNEL32.DLL_GetDriveTypeA
xor edx, edx
push edx
push eax
mov eax, edi
cdq
cmp edx, dword [esp + 4]
jne 0x5a25f4
cmp eax, dword [esp]
pop edx
pop eax
jne 0x5a262e
lea eax, [ebp - 8]
xor edx, edx
mov dl, bl
add edx, 0x41
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 8]
lea eax, [ebp - 0xc]
call fcn.004036f0
mov edx, 0x5a2688
lea eax, [ebp - 0xc]
mov cl, 2
call fcn.004036c0
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.00405258
jmp 0x5a262f
inc ebx
cmp bl, 0x19
ja 0x5a2646
mov eax, dword [esi]
mov edx, 0x5a2674
call fcn.0040541c
je 0x5a25ba
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a2663
lea eax, [ebp - 4]
call fcn.00404ff4
ret

Function at 0x5a268c
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.00404ff4
push 1
call sub.user32.dll_IsClipboardFormatAvailable
test eax, eax
je 0x5a2790
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x5a2790
xor eax, eax
push ebp
push 0x5a2789
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x5a2776
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalLock
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x5a276f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalSize
mov edx, 0x7fffffff
call fcn.00442f30
mov esi, eax
mov eax, esi
call fcn.00402c7c
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5a2751
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
mov ecx, esi
call fcn.00402f2c
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0040b07c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a2758
mov eax, dword [ebp - 4]
call fcn.00402cac
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a2790
call sub.user32.dll_CloseClipboard
ret
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5a289c
Capabilities:
Get session user name

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, eax
mov dword [esp], 0x104
push esp
lea eax, [esp + 8]
push eax
call sub.advapi32.dll_GetUserNameA
test eax, eax
je 0x5a28c9
mov edx, ebx
lea eax, [esp + 4]
call fcn.0040b07c
jmp 0x5a28da
mov esi, dword [0x5b5a9c]
mov esi, dword [esi]
mov edx, ebx
mov eax, 0xe4
call esi
add esp, 0x10c
pop esi
pop ebx
ret
Function at 0x5a28e4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x114], ecx
mov dword [ebp - 0x110], ecx
mov dword [ebp - 0x10c], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x5a2a1f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404ff4
mov eax, dword [0x5b5d48]
cmp dword [eax], 0
je 0x5a2968
lea eax, [ebp - 0x105]
push eax
push 0
push 0
push esi
push 0
mov eax, dword [0x5b5d48]
mov eax, dword [eax]
call eax
test eax, eax
jne 0x5a2a01
lea edx, [ebp - 0x10c]
lea eax, [ebp - 0x105]
call fcn.0040b07c
mov eax, dword [ebp - 0x10c]
mov edx, ebx
call fcn.0040ee24
jmp 0x5a2a01
sub esi, 5
je 0x5a297d
sub esi, 0x1f
je 0x5a298b
dec esi
je 0x5a29c0
dec esi
je 0x5a29f5
jmp 0x5a2a01
mov eax, ebx
mov edx, 0x5a2a34
call fcn.00405048
jmp 0x5a2a01
push 0x104
lea eax, [ebp - 0x105]
push eax
call sub.KERNEL32.DLL_GetWindowsDirectoryA
test eax, eax
jbe 0x5a2a01
lea edx, [ebp - 0x110]
lea eax, [ebp - 0x105]
call fcn.0040b07c
mov eax, dword [ebp - 0x110]
mov edx, ebx
call fcn.0040ee24
jmp 0x5a2a01
push 0x104
lea eax, [ebp - 0x105]
push eax
call sub.KERNEL32.DLL_GetSystemDirectoryA
test eax, eax
jbe 0x5a2a01
lea edx, [ebp - 0x114]
lea eax, [ebp - 0x105]
call fcn.0040b07c
mov eax, dword [ebp - 0x114]
mov edx, ebx
call fcn.0040ee24
jmp 0x5a2a01
mov eax, ebx
mov edx, 0x5a2a50
call fcn.00405048
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a2a26
lea eax, [ebp - 0x114]
mov edx, 3
call fcn.00405018
ret

Function at 0x5a2a78
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
xor edx, edx
mov dword [ebp - 0x10c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5a2aef
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x105]
push eax
push 0x104
call sub.KERNEL32.DLL_GetCurrentDirectoryA
test eax, eax
jbe 0x5a2acf
lea edx, [ebp - 0x10c]
lea eax, [ebp - 0x105]
call fcn.0040b07c
mov eax, dword [ebp - 0x10c]
mov edx, ebx
call fcn.0040ee10
jmp 0x5a2ad6
mov eax, ebx
call fcn.00404ff4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a2af6
lea eax, [ebp - 0x10c]
call fcn.00404ff4
ret

Function at 0x5a2afc
Capabilities:
Get disk information

Disassembly:
add esp, 0xfffffff4
push 0
push 0
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x10]
push eax
push 0
push 0
push 0x5a2b30
call sub.KERNEL32.DLL_GetVolumeInformationA
test eax, eax
je 0x5a2b29
mov eax, dword [esp]
jmp 0x5a2b2b
xor eax, eax
add esp, 0xc
ret
Function at 0x5a5278
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5a53ab
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5b5c94]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x5a5395
xor eax, eax
push ebp
push 0x5a538e
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.user32.dll_EmptyClipboard
test ebx, ebx
jbe 0x5a537b
lea eax, [ebp - 0xc]
mov ecx, 0x5a53c4
mov edx, ebx
call fcn.0040531c
mov eax, dword [ebp - 0xc]
call fcn.004052d0
push eax
push 0x2002
call sub.KERNEL32.DLL_GlobalAlloc
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5a5363
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_GlobalLock
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x5a5352
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
call fcn.004052d0
push eax
lea eax, [ebp - 0xc]
call fcn.00405528
mov edx, dword [ebp - 8]
pop ecx
call fcn.00402f2c
mov eax, dword [ebp - 4]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a5359
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a5395
call sub.user32.dll_CloseClipboard
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a53b2
lea eax, [ebp - 0xc]
call fcn.00404ff4
ret
Function at 0x101bfbcc
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x101d8b20]
jne 0x101bfbd6
repz ret
jmp fcn.101bfe7d

Function at 0x101c0670
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x101d8b00], 0
mov byte [0x101d8b04], 0
mov dword [0x101d8afc], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x101c06ce
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
mov ecx, 0x25fd
mov dword [0x101d8afc], 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
jmp 0x101c0700
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x101d8af4], 0x25fd
mov eax, dword [0x101d8afc]
add eax, 1
mov dword [0x101d8afc], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x101c06ce
jmp 0x101c06b5
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov edx, 0x100
mov dword [0x101d8b08], 0
add eax, 0xfffff560
mov dword [ebp - 0x28], eax
mov eax, ecx
xor esi, esi
mov dword [ebp - 0x2c], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
div esi
mov edi, dword [0x101d8b00]
mov ebx, dword [ebp - 0x18]
movzx esi, byte [ebx + ecx]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x101d8b08], esi
mov eax, esi
cdq
mov esi, dword [ebp - 0x2c]
idiv esi
mov dword [0x101d8b00], edx
mov esi, dword [ebp - 0x28]
mov dword [0x101d8af4], esi
mov bl, byte [ebx + ecx]
mov byte [0x101d8b04], bl
mov dword [0x101d8af8], 0x21ee
mov esi, dword [ebp - 0x18]
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov bl, byte [0x101d8b04]
mov ecx, dword [0x101d8b00]
mov byte [esi + ecx], bl
mov ecx, dword [0x101d8af4]
add ecx, 0xfffff153
mov dword [0x101d8af4], ecx
mov edx, dword [0x101d8afc]
add edx, 1
mov dword [0x101d8afc], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], ecx
jl 0x101c0700
jmp 0x101c06ad
Function at 0x101c07c6
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov esi, dword [0x101d8af4]
add esi, 0xffffeeb0
mov dword [0x101d8af4], esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
jmp 0x101c0810
mov eax, dword [ebp - 0x34]
add eax, 0x1000
mov dword [0x101d8af8], 0x20b8
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
add esp, 0x4c
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x30]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x101c2448]
mov dh, byte [eax + 0x101c2419]
sub dh, dl
mov byte [ebp + eax - 0x24], dh
cmp ecx, 0xe
mov dword [ebp - 0x30], ecx
jne 0x101c0810
lea eax, [ebp - 0x24]
mov dword [0x101d8af8], 0x19f0
mov dword [ebp - 0x3c], eax
call fcn.101c05c0
mov dword [esp], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp + 4], eax
call fcn.101c0240
xor ecx, ecx
mov dword [0x101d8af8], 0x22ca
cmp eax, 0
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x38], ecx
je 0x101c0807
mov eax, dword [ebp - 0x40]
mov dword [0x101d8af4], 0x16e2
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 - 0x34], eax
call fcn.101c0d5b
xor eax, eax
mov ecx, dword [ebp - 0x34]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [0x101d8af8], 0x190b
mov dword [ecx + 0xd0], 0x4550
mov dword [0x101d8af4], 0xfffff83d
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x48], ecx
mov ecx, dword [ebp - 0x34]
mov dword [edx + 0x50], ecx
cmp ecx, 0
mov dword [ebp - 0x38], eax
je 0x101c0807
jmp 0x101c07f2
Function at 0x101c0c24
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov dword [0x101d8af8], 0x126c
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x101d8af4], 0x12da
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edx
je 0x101c0ce2
jmp 0x101c0cb8
mov eax, dword [ebp - 0x1c]
add esp, 0x20
pop ebp
ret
mov dword [0x101d8af8], 0x1430
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x101c0d2c
jmp 0x101c0d51
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x101c0cd1
jmp 0x101c0d51
mov eax, dword [ebp - 0x14]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], eax
jl 0x101c0c62
jmp 0x101c0ce2
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x101c0c82
jmp 0x101c0d51
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x20], eax
jne 0x101c0d51
mov dword [0x101d8af8], 0xd8e
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x101c0d51
mov dword [0x101d8af4], 0xfffff6b2
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x101c0ca4
jmp 0x101c0d51
mov eax, 1
mov dword [0x101d8af4], 0xcb8
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x20]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x1c], eax
je 0x101c0c7a
xor eax, eax
mov dword [ebp - 0x1c], eax
jmp 0x101c0c7a
Function at 0x101c1154
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.101c13bb
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x101c1190
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x101d8af4], 0xc6c
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov dword [0x101d8af8], 0x241c
mov esi, dword [edx + eax + 0x18]
cmp esi, 0
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
je 0x101c12bc
jmp 0x101c1230
xor eax, eax
mov ecx, dword [ebp - 0x34]
add ecx, 2
mov edx, dword [ebp - 0x38]
add edx, 1
mov esi, dword [ebp - 0x2c]
cmp edx, esi
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x30], eax
jb 0x101c1242
jmp 0x101c12bc
mov eax, dword [ebp - 0x44]
mov ecx, eax
mov edx, dword [ebp - 0x48]
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 - 0x4c], eax
mov byte [ebp - 0x4d], bh
mov byte [ebp - 0x4e], cl
jne 0x101c125e
mov al, byte [ebp - 0x4e]
test al, 1
jne 0x101c128d
jmp 0x101c11d5
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x40]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + ecx*4]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], edx
jmp 0x101c11fe
mov al, byte [ebp - 0x4d]
cmp al, 0
setne cl
mov edx, dword [ebp - 0x4c]
add edx, 1
mov ah, byte [ebp - 0x4e]
and ah, cl
cmp edx, 0x20
setb cl
and ah, cl
test ah, 1
mov dword [ebp - 0x44], edx
jne 0x101c11fe
jmp 0x101c1227
mov eax, dword [ebp - 0x34]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov dword [0x101d8af8], 0x22be
mov ecx, dword [edx + ecx*4]
mov dword [0x101d8af4], 0x4c8
mov edx, dword [ebp - 0x1c]
add edx, ecx
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101c152f
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 [0x101d8afc], 0
mov dword [0x101d8b00], 0
mov dword [0x101d8b0c], 0
mov ebx, dword [0x101d8af4]
add ebx, 0xffffec41
mov dword [0x101d8af8], ebx
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 0x101c1682
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add ecx, 1
mov edi, edx
add edi, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x101d8afc], edx
mov ecx, dword [ebp - 0x20]
movzx ebx, byte [ecx + edx]
mov ecx, dword [ebp - 0x2c]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x101d8b00], edx
mov dword [0x101d8af8], 0x63e
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x101d8b04], cl
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x101d8b04]
mov edx, dword [0x101d8b00]
mov byte [ebx + edx], cl
mov edx, dword [0x101d8afc]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x101d8b00]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x101d8b0c], ecx
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x30]
mov ch, byte [edx + esi]
mov dword [0x101d8af8], 0xff5
mov dword [0x101d8af4], 0xc9e
xor ch, cl
mov edx, dword [ebp - 0x1c]
mov byte [edx + esi], ch
mov edx, dword [ebp - 0x10]
cmp edi, edx
mov dword [ebp - 0x38], edi
je 0x101c1682
mov eax, dword [0x101d8afc]
mov ecx, dword [0x101d8b00]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], ecx
jmp 0x101c159a
mov dword [0x101d8af8], 0x22fd
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101c1694
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x98
lea eax, [esp + 0x80]
lea ecx, [esp + 0x20]
mov edx, dword [0x101d8af4]
mov esi, edx
add esi, 0xffffddef
mov dword [0x101d8af8], esi
add edx, 0xfffff1ae
mov dword [0x101d8af4], edx
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.101c0e7e
lea ecx, [0x101c039d]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x48], edx
mov dword [esp + 0x28], 0x13d800
mov edx, dword [0x101d8ae0]
mov dword [esp + 0x40], edx
mov edx, dword [0x101d8ae4]
mov dword [esp + 0x60], edx
mov dword [0x101d8af4], 0x1a6c
mov edx, dword [0x101d8ae8]
mov dword [esp + 0x2c], edx
mov edx, dword [0x101d8aec]
mov dword [esp + 0x54], edx
mov edx, dword [0x101d8af0]
mov dword [esp + 0x50], edx
mov edx, dword [0x101d8af8]
add edx, 0xc86
mov dword [0x101d8af8], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
jmp 0x101c178f
mov eax, dword [esp + 0x10]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
mov eax, dword [esp + 0xc]
mov dword [esp + 0x7c], eax
mov dword [0x101d8af8], 0x8e8
mov ecx, dword [esp + 8]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x24], edx
mov dword [0x101d8af4], 0x1277
call fcn.101c0c24
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x10], ecx
je 0x101c17c6
jmp 0x101c1749
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0xc], eax
jne 0x101c17b2
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 8], ecx
je 0x101c1753
mov eax, dword [esp + 0xc]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x101c178f
lea eax, [esp + 0x20]
mov ecx, dword [esp + 0x88]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.101c07c6
mov ecx, esp
lea edx, [esp + 0x20]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [0x101d8af8], 0xd4a
mov dword [esp + 0x10], eax
jmp 0x101c1749