joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f9ce
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi], ebx
jbe 0x40fa49
push ebp
push edi
lea edi, [esi + 4]
lea eax, [esp + 0x10]
push eax
push 0
push esi
push 0x40fb7e
push 0x10000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebp, eax
test ebp, ebp
jne 0x40fa25
push str.CreateThread_failed
push 0x43cbe8
call fcn.00406c6f
pop ecx
pop ecx
mov ecx, 0x43cbe8
call fcn.0041dace
push 2
mov ecx, 0x43cbe8
call fcn.00406c6a
mov dword [edi], ebp
inc dword [esi + 0x84]
mov eax, dword [0x441e70]
test eax, eax
je 0x40fa3f
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
inc ebx
add edi, 4
cmp ebx, dword [esi]
jb 0x40f9de
pop edi
pop ebp
pop esi
pop ebx
pop ecx
ret

Function at 0x417b57
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x24
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
xor eax, eax
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
call ebx
mov edi, dword [esp + 0x38]
mov ebp, eax
mov ecx, dword [edi]
lea eax, [esp + 0x10]
push eax
push edi
call dword [ecx + 0x48]
test eax, eax
js 0x417b8e
cmp dword [esp + 0x10], 0
jne 0x417bd6
call ebx
sub eax, ebp
cmp eax, 0x7d0
ja 0x417bd6
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x417b78
xor eax, eax
push eax
push eax
push eax
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x417b78
mov eax, dword [edi]
lea ecx, [esp + 0x10]
push ecx
push edi
call dword [eax + 0x48]
mov ebx, eax
test ebx, ebx
js 0x417c44
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x417c3c
mov eax, dword [ecx]
lea edx, [esp + 0x14]
push edx
push 0x43181c
push ecx
call dword [eax]
mov ebx, eax
test ebx, ebx
js 0x417c2e
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov ebx, eax
test ebx, ebx
js 0x417c24
mov eax, dword [esp + 0x14]
push dword [esp + 0x3c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov ebx, eax
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [esp + 0x10]
test ebx, ebx
js 0x417c44
test ecx, ecx
jne 0x417c95
xor ebp, ebp
cmp dword [esi + 8], ebp
je 0x417c95
cmp dword [esi + 0x18], ebp
jne 0x417c95
cmp dword [esi + 0x14], ebp
je 0x417c95
push dword [esi + 0x14]
mov ecx, esi
call fcn.00418183
mov edi, eax
test edi, edi
je 0x417c95
push 0x204
push ebp
push ebp
push ebp
push ebp
push 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 5
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push edi
call fcn.00421f00
pop ecx
pop edi
not ebx
pop esi
shr ebx, 0x1f
pop ebp
mov al, bl
pop ebx
add esp, 0x24
ret 8
Function at 0x418368
Capabilities:
Hide graphical window

Disassembly:
mov al, byte [esp + 0x14]
sub esp, 0x10
push ebx
push ebp
mov ebp, dword [esp + 0x20]
mov ebx, ecx
push esi
push 0
push ebp
mov dword [ebx + 8], ebp
mov byte [ebx + 0x1e], al
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esp + 0x20]
mov ecx, ebx
call fcn.004180cd
mov eax, dword [esp + 0x28]
mov dword [ebx + 0x14], eax
mov eax, dword [esp + 0x2c]
mov dword [ebx + 0x18], eax
lea eax, [esp + 0xc]
push eax
push ebp
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [esp + 0x10]
push eax
push ebp
call dword [sym.imp.USER32.dll_GetParent]
push eax
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
cmp dword [ebx + 4], 0
je 0x4183d2
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0x14]
push edi
push ebx
push dword [ebx]
sub esi, eax
lea edi, [eax + 1]
push 0
push ebp
sub esi, 2
call dword [sym.imp.USER32.dll_GetParent]
push eax
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
push eax
push esi
push dword [esp + 0x2c]
xor esi, esi
push edi
push 0x40000000
push esi
push 0x4310f8
push esi
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebx + 4], eax
pop edi
cmp dword [ebx + 0x10], esi
jne 0x418454
test ebp, ebp
je 0x41846a
cmp dword [ebx + 0x18], esi
jne 0x41846a
cmp dword [ebx + 0x14], esi
je 0x41846a
push dword [ebx + 0x14]
mov ecx, ebx
call fcn.00418183
mov esi, eax
test esi, esi
je 0x41846a
push 5
push ebp
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
push ebp
call dword [sym.imp.USER32.dll_SetWindowTextW]
push esi
call fcn.00421f00
pop ecx
jmp 0x41846a
test eax, eax
je 0x41846a
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x14
Function at 0x4187b2
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
lea eax, [ebp - 4]
xor ebx, ebx
push eax
push 0x43178c
push 1
push ebx
push 0x43185c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x418883
mov eax, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
push 0x43184c
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x41887a
cmp byte [ebp + 8], bl
je 0x418805
mov eax, dword [ebp - 8]
push 2
push dword [ebp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
push dword [ebp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
cmp dword [ebp + 0x18], ebx
je 0x418822
mov eax, dword [ebp - 4]
push dword [ebp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 4]
push ebx
mov ecx, dword [eax]
cmp dword [ebp + 0x1c], ebx
jne 0x418834
push 0x4302e4
jmp 0x418837
push dword [ebp + 0x1c]
push eax
call dword [ecx + 0x44]
cmp dword [ebp + 0x20], ebx
je 0x41884c
mov eax, dword [ebp - 4]
push dword [ebp + 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
cmp dword [ebp + 0x14], ebx
je 0x41885d
mov eax, dword [ebp - 4]
push dword [ebp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [ebp - 8]
push 1
push dword [ebp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
test eax, eax
js 0x418871
mov bl, 1
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x41895a
Capabilities:
Get common file path

Disassembly:
push dword [esp + 4]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
neg eax
sbb eax, eax
neg eax
ret 8
Function at 0x41899c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push esi
push 0x431304
push dword [esp + 0x10]
push dword [0x43cba4]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x418a92
push ebx
push esi
push dword [0x43cba4]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x4189ef
push esi
push dword [0x43cba4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4189ef
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x4189f6
xor eax, eax
jmp 0x418a91
push ebp
push edi
push ebx
xor ebp, ebp
push 2
mov dword [esp + 0x18], ebp
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x418a8b
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x418a84
push ebx
push esi
push eax
call fcn.0041ddf0
add esp, 0xc
mov dword [esp + 0x18], ebp
lea eax, [esp + 0x18]
push eax
push ebp
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x418a7d
push ebp
push dword [esp + 0x1c]
call fcn.00418931
mov ecx, dword [esp + 0x18]
mov esi, eax
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
test esi, esi
je 0x418a7d
mov ecx, dword [esi + 8]
mov dword [esi + 8], ebp
test ecx, ecx
jne 0x418a75
push 0xffffff
lea eax, [esp + 0x14]
push eax
push dword [esi + 4]
call sub.gdiplus.dll_GdipCreateHBITMAPFromBitmap
test eax, eax
je 0x418a75
mov dword [esi + 8], eax
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x10]
pop edi
pop ebp
pop ebx
pop esi
pop ecx
ret 4

Function at 0x419003
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1020
call fcn.0041cc80
push 0x800
lea eax, [ebp - 0x1020]
push eax
call fcn.0041895a
cmp byte [0x44e7f2], 0
jne 0x419098
push 6
push dword [0x43a14c]
lea eax, [ebp - 0x1020]
push eax
call fcn.0040b69f
push eax
call fcn.00410906
test eax, eax
jne 0x419098
push 0x43055c
call fcn.00418def
lea eax, [ebp - 0x1020]
push eax
call fcn.00421ee5
xor ecx, ecx
push 0x1e
push ecx
mov word [ebp + eax*2 - 0x101e], cx
lea eax, [ebp - 0x20]
push eax
call fcn.0041dc90
add esp, 0x10
mov dword [ebp - 0x1c], 3
push 0x14
pop eax
mov word [ebp - 0x10], ax
lea eax, [ebp - 0x1020]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov esp, ebp
pop ebp
ret
Function at 0x4190f4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
cmp dword [0x43a164], 0
push ebx
push esi
push edi
mov ebx, 0x400
jne 0x41913f
push 0x64
lea eax, [ebp - 0x12c]
push eax
push 0xf
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ax, word [ebp - 0x12c]
mov word [0x457920], ax
xor eax, eax
mov word [0x457922], ax
mov dword [0x43a164], 0x457920
push 0x32
lea eax, [ebp - 0x64]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040ee36
mov edi, dword [ebp + 0x10]
xor eax, eax
mov esi, dword [ebp + 0x14]
push esi
push edi
push 0x43a154
mov word [edi], ax
lea eax, [ebp - 0x64]
push eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
xor eax, eax
mov word [edi + esi*2 - 2], ax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x41933c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x200c
call fcn.0041cc80
cmp byte [0x442128], 0
je 0x4193e5
lea eax, [ebp - 0x200c]
push eax
push dword [ebp + 8]
call fcn.0041a7b6
lea eax, [ebp - 8]
push eax
push 1
push 0
push str.SoftwareWinRAR_SFX
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4193e5
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x1000
push eax
lea eax, [ebp - 0x100c]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 0x200c]
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4193dc
mov eax, dword [ebp - 4]
mov ecx, 0x7ff
shr eax, 1
mov dword [ebp - 4], eax
cmp eax, ecx
jb 0x4193c0
mov eax, ecx
push dword [ebp + 0xc]
xor ecx, ecx
mov word [ebp + eax*2 - 0x100c], cx
lea eax, [ebp - 0x100c]
push eax
push dword [ebp + 8]
call fcn.0040ef16
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret 8
Function at 0x419491
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x2004
call fcn.0041cc80
mov ecx, dword [esp + 0x2014]
push ebx
xor ebx, ebx
push esi
test ecx, ecx
je 0x4194ac
mov byte [ecx], bl
mov edx, dword [esp + 0x2020]
test edx, edx
je 0x4194b9
mov byte [edx], bl
mov esi, dword [esp + 0x2010]
test esi, esi
je 0x41957c
movzx eax, word [esi]
test ax, ax
je 0x41957c
push ebp
mov ebp, dword [esp + 0x2018]
push edi
mov edi, dword [esp + 0x2020]
mov dword [esp + 0x10], ebx
movzx eax, ax
add esi, 2
cmp eax, 0x3d
jne 0x419506
test edi, edi
je 0x419510
test ebx, ebx
jne 0x419510
test ecx, ecx
je 0x419502
mov byte [ecx], 1
mov ebx, ebp
jmp 0x419527
cmp eax, 0xd
je 0x41953a
cmp eax, 0xa
je 0x41953d
mov word [ebp], ax
add ebp, 2
mov eax, dword [esp + 0x202c]
add eax, 0xfffffffe
cmp dword [esp + 0x10], eax
jge 0x419535
movzx eax, word [esi]
inc dword [esp + 0x10]
test ax, ax
jne 0x4194e8
jmp 0x41953d
mov byte [edx], 1
jmp 0x41953d
add esi, 2
xor eax, eax
mov word [ebp], ax
test edi, edi
je 0x419576
mov word [edi], ax
test ebx, ebx
je 0x419576
push 0x1000
lea eax, [esp + 0x18]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push dword [esp + 0x202c]
lea eax, [esp + 0x18]
push eax
push edi
call fcn.0040ef16
xor eax, eax
mov word [ebx], ax
pop edi
mov eax, esi
pop ebp
jmp 0x41957e
xor eax, eax
pop esi
pop ebx
add esp, 0x2004
ret 0x18

Function at 0x419589
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
lea eax, [ebp - 8]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
lea eax, [ebp - 4]
push eax
xor eax, eax
push eax
push eax
push dword [ebp + 0xc]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
mov ebx, eax
neg ebx
sbb bl, bl
add bl, 1
je 0x4195d8
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push dword [ebp - 4]
dec eax
neg eax
sbb al, al
lea ebx, [eax + 1]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
jmp 0x4195e0
mov eax, dword [ebp + 8]
xor ecx, ecx
mov word [eax], cx
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x41b9f1
Capabilities:
Hide graphical window

Disassembly:
and dword [0x4420f8], 0
push 1
push dword [esp + 8]
mov byte [0x4420f5], 1
mov byte [0x4420f6], 1
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 2
push dword [esp + 0xc]
call fcn.00401273
cmp dword [0x442100], 0
jne 0x41ba31
cmp byte [0x44211b], 0
je 0x41ba3a
cmp dword [0x442114], 0
jne 0x41ba4d
push 0
push 1
push 0x111
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_SendMessageW]
ret 4

Function at 0x41bb4d
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.0041cc80
cmp byte [0x442128], 0
je 0x41bbd7
cmp word [0x456920], 0
je 0x41bbd7
push esi
lea eax, [ebp - 0x1008]
push eax
push 0x456920
call fcn.0041a7b6
lea eax, [ebp - 8]
xor esi, esi
push eax
lea eax, [ebp - 4]
push eax
push esi
push 0x20006
push esi
push esi
push esi
push str.SoftwareWinRAR_SFX
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x41bbd6
push dword [ebp + 8]
call fcn.00421ee5
pop ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x1008]
push 1
push esi
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x41bbdd
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2000
call fcn.0041cc80
push esi
push dword [ebp + 8]
push str.sfxcmd
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push 0x1000
lea eax, [ebp - 0x2000]
push eax
push dword [ebp + 8]
call fcn.0040ed0b
mov esi, eax
test esi, esi
je 0x41bc35
movzx ecx, word [esi]
push ecx
jmp 0x41bc20
add esi, 2
movzx eax, word [esi]
push eax
call fcn.0040ee02
test al, al
jne 0x41bc19
push esi
push str.sfxpar
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x1000450d
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0xa0
lea eax, [esp + 0x30]
lea ecx, [esp + 0x40]
mov dword [0x10034b7c], 0x121e
mov dword [0x10034b80], 0x1c3
mov dword [esp], eax
mov dword [esp + 0x2c], ecx
call fcn.100058a9
lea ecx, [0x10004684]
mov edx, 0xc67
mov dword [0x10034b80], 0xc67
mov esi, dword [esp + 0x30]
mov dword [esp + 0x8c], esi
mov dword [esp + 0x78], 0x128000
mov dword [0x10034b7c], 0x423d
mov esi, dword [0x10034b68]
mov dword [esp + 0x54], esi
mov esi, dword [0x10034b6c]
mov dword [esp + 0x58], esi
mov esi, dword [0x10034b70]
mov dword [esp + 0x7c], esi
mov esi, dword [0x10034b74]
mov dword [esp + 0x74], esi
mov esi, dword [0x10034b78]
mov dword [esp + 0x80], esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
cmp word [ecx], 0x5a4d
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
jne 0x100045f0
mov eax, dword [esp + 0x18]
add eax, 0x3c
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [esp + 0x18]
cmp dword [edx + ecx], 0x4550
mov dword [esp + 0x10], ecx
je 0x10004627
mov eax, dword [esp + 0x18]
add eax, 0xfffff000
and eax, 0xfffff000
mov ecx, dword [esp + 0x1c]
add ecx, 0x954
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
mov eax, dword [esp + 8]
mov dword [0x10034b80], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
jmp 0x100045b5
lea eax, [esp + 0x40]
mov ecx, dword [esp + 0x1c]
add ecx, 0xffffe1fb
mov edx, dword [esp + 0x18]
mov dword [esp + 0x84], edx
mov dword [0x10034b7c], ecx
mov ecx, dword [esp + 0x10]
mov esi, dword [edx + ecx + 0x50]
mov dword [esp + 0x50], esi
mov esi, dword [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.10005715
mov dword [0x10034b80], 0xe4a
mov ecx, esp
lea edx, [esp + 0x40]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x100046dd
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
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 0x1000471e
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x100047a8
jmp 0x10004754
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
je 0x10004763
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
cmp eax, 0x104
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], ecx
jl 0x1000471e
jmp 0x10004763
xor eax, eax
mov dword [ebp - 0x24], eax
jmp 0x1000475b
mov eax, dword [ebp - 0x24]
add esp, 0x24
pop ebp
ret
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
jne 0x10004754
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x10004754
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x10004754
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x10004709
jmp 0x10004754
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x10004754
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x24], eax
je 0x1000475b
jmp 0x10004754
Function at 0x10004d4e
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]
mov dword [0x10034b88], 0
mov esi, dword [0x10034b7c]
add esi, 0xac6
mov dword [0x10034b7c], esi
mov byte [0x10034b8c], 0
mov esi, dword [0x10034b80]
add esi, 0x899
mov dword [0x10034b80], esi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
xor eax, eax
mov dword [0x10034b84], 0
mov dword [ebp - 0x1c], eax
jmp 0x10004e60
mov eax, dword [0x10034b7c]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov edx, 0x100
add eax, 0xfffff2bb
mov dword [0x10034b80], eax
mov eax, dword [0x10034b88]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + ecx]
add edi, eax
mov eax, ecx
xor ebx, ebx
mov dword [ebp - 0x2c], edx
mov edx, ebx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov eax, edi
cdq
mov edi, dword [ebp - 0x2c]
idiv edi
mov dword [0x10034b88], edx
mov esi, dword [ebp - 0x18]
mov bl, byte [esi + ecx]
mov byte [0x10034b8c], bl
mov dword [0x10034b80], 0x19c9
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov bl, byte [0x10034b8c]
mov ecx, dword [0x10034b88]
mov byte [esi + ecx], bl
mov dword [0x10034b80], 0x237e
mov ecx, dword [0x10034b84]
add ecx, 1
mov dword [0x10034b84], ecx
cmp ecx, 0x100
mov dword [ebp - 0x20], ecx
jl 0x10004db2
jmp 0x10004eb6
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x10034b80], 0x21f
mov eax, dword [0x10034b84]
add eax, 1
mov dword [0x10034b84], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10004e60
xor eax, eax
mov ecx, 0x117c
mov dword [0x10034b7c], 0x117c
mov dword [0x10034b84], 0
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
jmp 0x10004dc0
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10004ed5
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x10034b84], 0
mov dword [0x10034b88], 0
mov dword [0x10034b90], 0
mov dword [0x10034b7c], 0x1640
cmp eax, 0
sete bl
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov byte [ebp - 0x1d], bl
mov eax, 0xfffff7ea
xor ecx, ecx
mov dl, byte [ebp - 0x1d]
test dl, 1
mov esi, ecx
mov edi, ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], eax
jne 0x1000504a
jmp 0x10004f65
mov eax, dword [0x10034b84]
mov ecx, dword [0x10034b88]
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
mov esi, 0x100
mov edi, edx
add edi, 1
add eax, 1
mov dword [ebp - 0x38], edx
cdq
idiv esi
mov dword [0x10034b84], edx
mov ebx, dword [ebp - 0x1c]
movzx ebx, byte [ebx + edx]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x3c], edx
cdq
idiv esi
mov dword [0x10034b88], edx
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x3c]
mov cl, byte [ecx + esi]
mov byte [0x10034b8c], cl
mov ebx, dword [0x10034b80]
add ebx, 0xfffff1b0
mov dword [0x10034b80], ebx
mov ebx, dword [ebp - 0x1c]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x10034b8c]
mov edx, dword [0x10034b88]
mov byte [ebx + edx], cl
mov edx, dword [0x10034b84]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x10034b88]
movzx ecx, byte [ebx + ecx]
add ecx, edx
mov dword [0x10034b80], 0x494
and ecx, 0xff
mov dword [0x10034b90], ecx
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x38]
mov dl, byte [edx + esi]
xor dl, byte [ebx + ecx]
mov ecx, dword [ebp - 0x18]
mov byte [ecx + esi], dl
mov ecx, dword [0x10034b7c]
mov edx, ecx
add edx, 0x126e
mov dword [0x10034b7c], edx
mov edx, dword [ebp - 0x10]
cmp edi, edx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x40], ecx
jne 0x10004f4e
mov eax, dword [ebp - 0x40]
add eax, 0xfffff418
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [0x10034b80], eax
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret