joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10004e0b
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x18
mov eax, 0x10157252
call fcn.101399db
mov eax, ecx
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp + 0x10]
xor edi, edi
mov ecx, dword [ebp + 0x14]
push edi
mov dword [ebx], edi
mov dword [ecx], edi
cmp dword [eax + 0x58], edi
je 0x10004eb5
push dword [ebp + 8]
mov ecx, eax
call fcn.10005143
mov esi, eax
test esi, esi
je 0x10004f48
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
lea eax, [ebp - 0x14]
mov dword [ebp - 4], edi
push eax
push edi
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], edi
push eax
push edi
push dword [ebp + 0xc]
mov dword [ebp - 0x14], edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x14]
mov dword [ecx], edx
test eax, eax
jne 0x10004e9e
push edx
call fcn.10001f2f
pop ecx
lea ecx, [ebp - 0x14]
mov dword [ebx], eax
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
push edi
push dword [ebp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10004e9e
xor edi, edi
inc edi
jmp 0x10004ea8
push dword [ebx]
call fcn.10001f2a
pop ecx
mov dword [ebx], edi
lea ecx, [ebp - 0x24]
call fcn.10004cd0
jmp 0x10004f46
mov esi, dword [eax]
lea eax, [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
mov esi, dword [esi + 0x84]
mov ecx, esi
push eax
call fcn.1013999e
mov ecx, dword [ebp - 0x18]
call esi
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], 1
mov esi, dword [eax - 0xc]
mov dword [ebp - 0x18], esi
test esi, esi
je 0x10004f3e
mov ecx, dword [ebp + 0x14]
mov eax, esi
shr eax, 1
push eax
mov dword [ecx], eax
call fcn.10001f2f
mov dword [ebx], eax
pop ecx
test esi, esi
jle 0x10004f38
mov esi, dword [ebp + 0x10]
lea eax, [edi + 1]
push eax
lea ecx, [ebp - 0x10]
call fcn.10004cac
push edi
lea ecx, [ebp - 0x10]
lea ebx, [eax - 1]
shl bl, 4
sub bl, 0x41
call fcn.10004cac
add al, bl
mov edx, edi
test edx, edx
jns 0x10004f29
add edx, 1
sar edx, 1
mov ecx, dword [esi]
add edi, 2
mov byte [edx + ecx], al
cmp edi, dword [ebp - 0x18]
jl 0x10004f00
mov eax, dword [ebp - 0x10]
xor edi, edi
inc edi
lea ecx, [eax - 0x10]
call fcn.100034f5
mov eax, edi
call fcn.101399a4
ret 0x10

Function at 0x10004f50
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push edi
cmp dword [ecx + 0x58], esi
je 0x10004fa3
push esi
push dword [ebp + 8]
call fcn.10005143
mov edi, eax
test edi, edi
jne 0x10004f73
mov eax, dword [ebp + 0x10]
jmp 0x10004fb5
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x10004f6e
mov eax, dword [ebp - 8]
jmp 0x10004fb5
push dword [ecx + 0x6c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100105dc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x10010621
call fcn.10007059
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x10010621
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x1001063d
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.1001b359
mov ebx, eax
test edi, edi
je 0x1001063b
test esi, esi
je 0x1001063b
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x10011047
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x10011105
cmp dword [esi + 0x20], 0
je 0x10011105
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10011105
cmp dword [ebp + 8], 0
je 0x10011105
xor eax, eax
mov ebx, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], ebx
mov edi, eax
call fcn.10007059
push str.AFX_DIALOG_LAYOUT
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x100110d6
mov edi, dword [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 0x10]
mov dword [ebp - 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x10011105
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov dword [ebp - 8], eax
push dword [ebp - 4]
push ebx
push esi
call fcn.1001bf09
add esp, 0xc
mov ebx, eax
cmp dword [ebp - 8], 0
je 0x100110f6
test edi, edi
je 0x100110f6
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
test ebx, ebx
je 0x10011101
mov ecx, esi
call fcn.10010dea
mov eax, ebx
jmp 0x10011107
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x10015587
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x1015ee12
call fcn.101399db
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x100155ad
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x1001560c
call fcn.10008a71
push eax
lea ecx, [ebp - 0x10]
call fcn.10001f4d
mov edi, dword [edi + 0x74]
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x8c]
mov ecx, esi
call fcn.1013999e
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.10141cd3
push eax
call fcn.10002561
add esp, 0x14
test esi, esi
je 0x100155ff
push esi
call fcn.1013ee86
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.100034f5
mov eax, ebx
call fcn.101399a4
ret 8
Function at 0x1001c542
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [ebx + 0x84], edi
test edi, 0xffff0000
jne 0x1001c56d
cmp dword [ebx + 0x80], 0
jne 0x1001c56d
movzx eax, di
mov dword [ebx + 0x80], eax
call fcn.10007059
push 5
push edi
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov edi, eax
mov ecx, ebx
push edi
call fcn.1001c800
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x1001c5a7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.10007059
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x1001c5de
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.1001c5ff
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x1001e729
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 4], ebx
test byte [esi + 4], 1
je 0x1001e743
mov edi, dword [esi + 0xc]
jmp 0x1001e783
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x1001e75c
call fcn.1000da23
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x1001e771
call fcn.1000da23
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x1001e783
call fcn.1000da23
call fcn.10007059
cmp dword [eax + 0x3c], 0
je 0x1001e798
push edi
mov ecx, ebx
call fcn.1001ddbd
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.1001e975
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x1001e7c1
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x1001e7cd
mov edi, ebx
mov dword [eax + 0x88], ebx
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10020c0c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.100154d1
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x10020c48
call fcn.10020e2e
mov dword [esi + 0xc], 1
jmp 0x10020c4d
call fcn.10020e2e
cmp dword [esi], 0
je 0x10020c96
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x10020c70
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.1000877e
jmp 0x10020c81
push 0xff
mov ecx, esi
call fcn.10003140
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.1000527f
jmp 0x10020cba
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x10020cba
push dword [esi]
push dword [ebp - 4]
call fcn.1000a0d7
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10020d83
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.10020e2e
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x10020dcb
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.1000877e
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.1000527f
jmp 0x10020dd6
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.1000a0d7
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x100328e0
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.10081172
call fcn.100070ad
cmp dword [eax + 0x14], 0
jne 0x100328fb
mov ecx, esi
pop esi
jmp fcn.10031c2b
pop esi
ret

Function at 0x100337d1
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.10001af0
call fcn.100070ad
cmp dword [eax + 0x14], 0
jne 0x100337ec
mov ecx, esi
pop esi
jmp fcn.1003304f
pop esi
ret
Function at 0x100420c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
test esi, esi
jne 0x100420d9
call fcn.10007059
mov esi, dword [eax + 0xc]
push 0x1016ee84
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x1004212f
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x1004212e
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
test eax, eax
jne 0x1004210f
xor esi, esi
jmp 0x10042125
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.10042137
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x10152eec
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10152bac
Function at 0x101d2384
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x101e64b8]
jne 0x101d238e
repz ret
jmp fcn.101d390d

Function at 0x101d6656
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.101d248c
and dword [ebp - 4], 0
cmp dword [0x101e810c], 0
mov ebx, eax
jne 0x101d6707
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x101d67b8
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x101d67b8
push eax
call fcn.101d241a
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x101e810c], eax
call esi
push eax
call fcn.101d241a
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x101e8110], eax
call esi
push eax
call fcn.101d241a
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x101e8114], eax
call esi
push eax
call fcn.101d241a
pop ecx
mov dword [0x101e811c], eax
test eax, eax
je 0x101d6707
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.101d241a
pop ecx
mov dword [0x101e8118], eax
mov eax, dword [0x101e8118]
cmp eax, ebx
je 0x101d675f
cmp dword [0x101e811c], ebx
je 0x101d675f
push eax
call fcn.101d2495
push dword [0x101e811c]
mov esi, eax
call fcn.101d2495
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x101d675f
test edi, edi
je 0x101d675f
call esi
test eax, eax
je 0x101d6756
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x101d6756
test byte [ebp - 0xc], 1
jne 0x101d675f
or dword [ebp + 0x10], 0x200000
jmp 0x101d6798
mov eax, dword [0x101e8110]
cmp eax, ebx
je 0x101d6798
push eax
call fcn.101d2495
pop ecx
test eax, eax
je 0x101d6798
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x101d6798
mov eax, dword [0x101e8114]
cmp eax, ebx
je 0x101d6798
push eax
call fcn.101d2495
pop ecx
test eax, eax
je 0x101d6798
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x101e810c]
call fcn.101d2495
pop ecx
test eax, eax
je 0x101d67b8
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x101d67ba
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x101d7d1d
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x98
call fcn.10001075
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
jne 0x101d7e86
lea eax, [esp + 0x38]
mov dword [0x101e60a0], 0x1c88
mov dword [esp + 0x20], eax
call fcn.101d83e9
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x1c], ecx
jne 0x101d7e3d
lea eax, [esp + 0x28]
mov dword [esp], eax
call fcn.101d7a3a
lea ecx, [0x101d86ba]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x40], edx
mov dword [esp + 0x68], 0x143a00
mov edx, dword [0x101e608c]
mov dword [esp + 0x4c], edx
mov edx, dword [0x101e6090]
mov dword [esp + 0x3c], edx
mov dword [0x101e60a4], 0x1cfb
mov edx, dword [0x101e6094]
mov dword [esp + 0x58], edx
mov edx, dword [0x101e6098]
mov dword [esp + 0x6c], edx
mov edx, dword [0x101e609c]
mov dword [esp + 0x80], edx
mov dword [0x101e60a0], 0x3721
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
jmp 0x101d7e75
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x8c], ecx
mov edx, dword [esp + 0xc]
mov esi, dword [ecx + edx + 0x50]
mov dword [esp + 0x48], esi
mov dword [0x101e60a0], 0x287
mov esi, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.101d89d8
mov ecx, dword [0x101e60a0]
add ecx, 0x1596
mov dword [0x101e60a0], ecx
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
jmp 0x101d7e86
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x101d7e75
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
je 0x101d7de0
jmp 0x101d7e47
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
je 0x101d7e5b
jmp 0x101d7e47
mov eax, dword [esp + 0x24]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x101d8169
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x50
mov eax, dword [ebp + 8]
mov dword [0x101e60a0], 0x7d3
mov dword [ebp - 0x10], eax
call fcn.101d8b77
xor ecx, ecx
mov edx, eax
mov dword [0x101e60a0], 0x2094
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 0x101d81b9
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [0x101e60a4], 0x10c6
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
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 0x101d82ee
jmp 0x101d8204
mov al, byte [ebp - 0x31]
test al, 1
jne 0x101d82b3
jmp 0x101d828d
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], eax
jmp 0x101d8243
mov eax, dword [ebp - 0x40]
mov ecx, eax
mov edx, dword [ebp - 0x44]
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 - 0x48], eax
mov byte [ebp - 0x49], bh
mov byte [ebp - 0x31], cl
je 0x101d81f4
jmp 0x101d825f
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], edx
jmp 0x101d8218
mov al, byte [ebp - 0x49]
cmp al, 0
setne cl
mov edx, dword [ebp - 0x48]
add edx, 1
mov ah, byte [ebp - 0x31]
and ah, cl
cmp edx, 0x20
setb cl
and ah, cl
test ah, 1
mov dword [ebp - 0x40], edx
jne 0x101d8218
jmp 0x101d81f4
xor eax, eax
mov ecx, dword [ebp - 0x54]
add ecx, 2
mov edx, dword [ebp - 0x50]
add edx, 1
mov esi, dword [ebp - 0x2c]
cmp edx, esi
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x30], eax
jb 0x101d8243
jmp 0x101d82ee
mov eax, dword [ebp - 0x54]
movzx ecx, word [eax]
mov dword [0x101e60a4], 0x552
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x58]
mov edx, dword [eax + ecx*4]
mov dword [0x101e60a0], 0x401
mov esi, dword [ebp - 0x1c]
add esi, edx
mov dword [ebp - 0x30], esi
mov eax, dword [ebp - 0x30]
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101d83e9
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x28
mov dword [ebp - 8], 0
mov dword [0x101e60a0], 0xbee
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
xor ecx, ecx
mov edx, 0x26f4
mov dword [0x101e60a0], 0x26f4
mov esi, dword [ebp - 8]
mov esi, dword [esi + 0x10]
mov esi, dword [esi + 0x3c]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
jmp 0x101d8489
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x101d84e3
jmp 0x101d8456
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x101d8432
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x101d8524
mov eax, dword [ebp - 0x24]
add eax, 0xfffffc2c
mov ecx, dword [ebp - 0x28]
add ecx, 1
mov dword [0x101e60a0], eax
cmp ecx, 0x104
mov edx, ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x2c], ecx
jge 0x101d84a5
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
cmp word [edx + ecx*2], 0
mov esi, ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
jne 0x101d8460
mov eax, dword [ebp - 0x2c]
mov dword [0x101e60a0], 0x1599
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x1c], eax
jne 0x101d8456
mov dword [0x101e60a0], 0x1581
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x101d8447
jmp 0x101d8456
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x101d8456
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x101d8456
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x20], eax
jne 0x101d8456
mov eax, dword [ebp - 0x20]
add esp, 0x28
pop esi
pop ebp
ret
Function at 0x101d8711
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 [0x101e60a0], 0x545
mov dword [0x101e60a8], 0
mov dword [0x101e60ac], 0
mov dword [0x101e60b8], 0
mov ebx, dword [0x101e60a4]
add ebx, 0x1628
mov dword [0x101e60a4], 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 0x101d8885
jmp 0x101d879f
mov eax, dword [0x101e60a8]
mov ecx, dword [0x101e60ac]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add ecx, 1
mov dword [ebp - 0x30], eax
mov eax, ecx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x101e60a8], edx
mov ecx, dword [ebp - 0x20]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x34]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x38], edx
cdq
idiv esi
mov dword [0x101e60ac], edx
mov dword [0x101e60a0], 0x1d10
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x101e60b0], cl
mov dword [0x101e60a4], 0x609
mov edi, dword [ebp - 0x20]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov edx, dword [0x101e60a4]
add edx, 0x19b1
mov dword [0x101e60a0], edx
mov cl, byte [0x101e60b0]
mov edx, dword [0x101e60ac]
mov byte [edi + edx], cl
mov edx, dword [0x101e60a8]
movzx edx, byte [edi + edx]
mov ebx, dword [0x101e60ac]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x101e60b8], ebx
mov edx, dword [0x101e60a0]
add edx, 0x223a
mov dword [0x101e60a4], edx
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x30]
mov cl, byte [edx + ecx]
xor cl, byte [edi + ebx]
mov ebx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x30]
mov byte [ebx + edx], cl
add edx, 1
mov ecx, dword [ebp - 0x10]
cmp edx, ecx
mov dword [ebp - 0x2c], edx
jne 0x101d8788
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret