joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403b1c
Capabilities:
Allocate or change rwx memory
Read .ini file

Disassembly:
mov eax, 0x447e9b
call fcn.00447da8
sub esp, 0x178
push ebx
push esi
mov eax, 0xb2d3b
add dword [0x487324], eax
xor ebx, ebx
cmp dword [0x487324], 0x20a
jne 0x403bb8
push edi
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push ebx
call dword [sym.imp.USER32.dll_ChildWindowFromPoint]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasW]
lea eax, [ebp - 0x184]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 0x402c28
push ebx
push 0x402c4c
push 0x402c74
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
call fcn.004030d0
lea eax, [ebp - 0x3c]
call fcn.00403e20
push 0x929
push 0xea
mov dword [ebp - 4], ebx
call fcn.00404b4f
push ebx
push ebx
push ebx
call fcn.004051fb
or dword [ebp - 4], 0xffffffff
add esp, 0x14
lea edi, [ebp - 0x3c]
call fcn.00403e45
pop edi
xor eax, eax
cmp eax, 0xf027935
jg 0x403bc9
inc eax
cmp eax, 0x736251e2
jl 0x403bba
push 0x45ab18
mov byte [0x45ab1d], 0x6c
mov byte [0x45ab1f], 0x32
mov byte [0x45ab20], 0x2e
mov byte [0x45ab1b], 0x6e
mov byte [0x45ab1c], 0x65
mov byte [0x45ab21], 0x64
mov byte [0x45ab1e], 0x33
mov byte [0x45ab22], 0x6c
mov byte [0x45ab23], 0x6c
mov byte [0x45ab24], bl
mov byte [0x45ab18], 0x6b
mov byte [0x45ab19], 0x65
mov byte [0x45ab1a], 0x72
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push dword [0x487324]
mov dword [0x487294], eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea ecx, [ebp - 0x10]
push ecx
push 0x40
push dword [0x487324]
mov dword [0x487290], eax
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [0x45502c]
xor esi, esi
mov dword [0x4873fc], eax
cmp dword [0x487324], ebx
jbe 0x403cba
mov eax, dword [0x4873fc]
mov dword [ebp - 0x14], eax
mov eax, 0xb2d3b
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov al, byte [eax + esi]
mov ecx, dword [0x487290]
mov byte [ecx + esi], al
cmp dword [0x487324], 0x44
jne 0x403cb1
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFlags]
push ebx
lea eax, [ebp - 0x20]
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
inc esi
cmp esi, dword [0x487324]
jb 0x403c6c
call fcn.00403a60
xor esi, esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetAtomNameA]
cmp esi, 0x770e
jne 0x403cde
call fcn.00403af6
inc esi
cmp esi, 0x286c535
jl 0x403cc1
push 0x7b
pop esi
cmp dword [0x487324], 0xd
jne 0x403d27
push 0x30
lea eax, [ebp - 0x6c]
push ebx
push eax
mov dword [ebp - 0x70], ebx
call fcn.00409850
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x70]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetDefaultCommConfigW]
push 0x402cb8
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_GetOldestEventLogRecord]
dec esi
jne 0x403cea
call fcn.00403b10
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x403d3d
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
xor esi, esi
cmp dword [0x487324], 0xc
push edi
jne 0x403db0
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_ReplaceFileA]
push dword [ebp - 4]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.MSIMG32.dll_AlphaBlend]
call dword [sym.imp.ole32.dll_CoRevokeMallocSpy]
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push 0x402c17
push 0x45ab18
call fcn.004049b0
push esi
call fcn.00405024
push esi
call fcn.00404e0e
push esi
call fcn.00404df8
push esi
push esi
call fcn.00404cd5
push esi
call fcn.0040500d
add esp, 0x20
mov eax, dword [0x459e4c]
mov dword [0x487324], eax
mov edi, 0x9ae37
cmp dword [0x487324], 0x15
jne 0x403e0b
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstChangeNotificationA]
push 0x402d18
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoA]
push 0x402d28
push 0x402d78
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
lea eax, [ebp - 0x120]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetCPInfoExA]
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push esi
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
dec edi
jne 0x403dbf
call fcn.004031a1
call fcn.00403b1c
pop edi
xor eax, eax
pop esi
leave
ret 0x10

Function at 0x4059db
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x454ac0]
jne 0x4059e5
repz ret
jmp fcn.0040bb8c
Function at 0x40f139
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.00407b06
and dword [ebp - 4], 0
cmp dword [0x45aa48], 0
mov ebx, eax
jne 0x40f1ea
push 0x402bb4
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40f29b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402ba8
push edi
call esi
test eax, eax
je 0x40f29b
push eax
call fcn.00407a94
mov dword [esp], 0x402b98
push edi
mov dword [0x45aa48], eax
call esi
push eax
call fcn.00407a94
mov dword [esp], 0x402b84
push edi
mov dword [0x45aa4c], eax
call esi
push eax
call fcn.00407a94
mov dword [esp], 0x402b68
push edi
mov dword [0x45aa50], eax
call esi
push eax
call fcn.00407a94
pop ecx
mov dword [0x45aa58], eax
test eax, eax
je 0x40f1ea
push 0x402b50
push edi
call esi
push eax
call fcn.00407a94
pop ecx
mov dword [0x45aa54], eax
mov eax, dword [0x45aa54]
cmp eax, ebx
je 0x40f242
cmp dword [0x45aa58], ebx
je 0x40f242
push eax
call fcn.00407b0f
push dword [0x45aa58]
mov esi, eax
call fcn.00407b0f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40f242
test edi, edi
je 0x40f242
call esi
test eax, eax
je 0x40f239
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40f239
test byte [ebp - 0xc], 1
jne 0x40f242
or dword [ebp + 0x10], 0x200000
jmp 0x40f27b
mov eax, dword [0x45aa4c]
cmp eax, ebx
je 0x40f27b
push eax
call fcn.00407b0f
pop ecx
test eax, eax
je 0x40f27b
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40f27b
mov eax, dword [0x45aa50]
cmp eax, ebx
je 0x40f27b
push eax
call fcn.00407b0f
pop ecx
test eax, eax
je 0x40f27b
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x45aa48]
call fcn.00407b0f
pop ecx
test eax, eax
je 0x40f29b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40f29d
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x403200
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x410ba0]
mov ecx, dword [0x410ba2]
push ebx
pop ebx
sbb eax, 0x414560
push esi
push edi
mov edi, dword [0x410fc4]
sub edi, dword [ebx + ebx - 0x31]
mov edx, dword [0xe64117e8]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ecx
fild qword [ebp - 0x17]
mov esi, dword [edi]
rol dword fs:[eax], 0x49
push 0xac40e7ec
fmul qword [0x40c238]
fisttp qword [eax + ecx*8 - 0x65]
salc
mov eax, dword [0x3b17f0]
mov eax, dword [0x6f411318]
push eax
push eax
mov eax, dword [0x410ba8]
push eax
push str._tr__s__th_colspan2__s_Server_Software:__th__td_colspan2__s__s__td___tr__n
call esi
mov edi, dword [edx + 0xfb1824]
mov eax, dword [0x9be817ca]
xor dl, byte [0x3941f1a8]
push ecx
push eax
stosb byte es:[edi], al
push edx
push str._tr__s__th_colspan2__s_Server_Hostname:__th__td_colspan2__s__s__td___tr__n
dec dword [ebx + ecx*4]
or eax, 0x410b2b
je 0x403247
enter 0xffffffffffffd69b, 0xffffffffffffffa1
invalid
mov ax, word [0x412bf4]
push eax
mov eax, dword [0xa4117f0]
push eax
push eax
push ecx
push str._tr__s__th_colspan2__s_Server_Port:__th__td_colspan2__s__hu__td___tr__n
call esi
mov edx, dword [0x410455]
mov eax, dword [0x2a41d61f]
add esp, 0x44
push edx
rcl dword [eax - 0x5f], 0x37
or eax, dword [ecx]
push eax
push ecx
mov al, 0xe6
inc eax
add bh, bh
adc cl, byte [ebx + 0x70028c0d]
add byte [ecx + 0x4117ac], ah
retf 0xa815
Function at 0x405d20
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov edx, 0xf5e85797
add dword [eax], eax
mov al, 0xf5
ror byte [edi], 0x57
std
add byte [eax], al
mov ebp, 0x8dc3d83
inc ecx
add byte [ebx - 0x74], dh
out dx, al
add byte [eax], al
add byte [ecx + 0x410384], ah
test eax, eax
enter 0xffffffffffffe146, 0x7d
add byte [eax], al
mov al, 0xac
test byte [ebx], al
inc ecx
cmc
add dword [eax], eax
add byte [eax], al
movsb byte es:[edi], byte [esi]
adc eax, sym.imp.KERNEL32.dll_GetCommandLineW
mov esi, eax
test esi, esi
je 0x405db3
mov eax, dword [0x5fb30349]
test eax, eax
jne 0x405d89
push eax
push 0x44f4e3
push 0xffffffffffffff94
call fcn.0040a940
add dword [edi], 0xc
mov dword [0x4103d2], eax
test dword [ebx], esp
je 0x405e38
lea eax, [edx - 4]
push ecx
js 0x405e08
rcl ah, 1
invalid
push ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esp, ebx
mov eax, dword [0x15ff53ff]
rol dword ss:[eax], 0x50
call fcn.00405e50
movsd dword es:[edi], dword [esi]
jge 0x405dde
add esp, 0xc
test edi, edi
je 0x405e02
lea esi, [eax*4 + 4]
push esi
jmp dword [ebx + sym.imp.MSVCRT.dll_malloc]
mov dword [sym.imp.MSVCRT.dll_malloc], eax
add esp, 4
mov dword [edx - 1], edx
adc eax, sym.imp.MSVCRT.dll___p__environ
mov edi, dword [edi]
mov ecx, esi
mov esi, dword [eax]
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov edx, dword [eax - 0x7d]
loope 0x405e03
rep movsb byte es:[edi], byte [esi]
push ebx
call dword [0x4040c02b]
inc eax
mov esp, dword [edx + 0x28]
rol dword [eax], 0x38
salc
mov ecx, dword [eax]
or cl, 8
je 0x405e72
call esi
cwde
and eax, 0xc757d6ff
add byte [eax], al
add byte [eax], al
add byte [eax + 0x15], dl
xor cl, al
nop
lodsd eax, dword [esi]
add esp, 4
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
push 1
call dword [eax + 0x36]
rol byte [eax], 0xe9
outsb dx, byte [esi]
invalid
push es
invalid
Function at 0x40a340
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push esi
mov esi, ebp
add al, 0x85
sal byte [ebp + 0x11], 0x83
jge 0x40a35d
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor esi, dword [ebp - 0x3d3da2a2]
add byte [ecx - 8], bh
add dword [ecx + 0xc], ecx
mov eax, dword [ecx + 8]
push eax
call dword [0x39c030]
jmp 0x40a399
ret 0x7900
call dword [0x9c6b34]
test eax, eax
out dx, eax
inc edx
mov esi, dword [0x356ec098]
cwde
salc
xchg edx, eax
sal byte [ecx + ecx*8 - 0x3b], 0xd6
add eax, 0x54fc80
pop esi
pop ebp
into
add al, 0
nop
nop
nop
nop
sub al, 0xba
mov ebp, esp
mov eax, dword [ebp - 0x61]
push 0x40a280
push eax
mov eax, dword [eax]
push eax
call 0x3fd4c0
mov ebx, 0x90000468
enter 0xffffffffffff9073, 0xffffffffffffffc0
jl 0x40a34b
adc esp, ecx
ror byte [eax + 4], 0x6d
nop
adc dword [eax - 0x6f6f6fbc], 0xffffffdc
nop
nop
nop
push ebp
mov ebp, esp
mov eax, dword [ebp - 0x35]
popal
inc eax
adc al, 0x68
sal byte [ecx + ebx*2 - 0x75], 0x97
or al, 0x1a
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x40a40a
jp 0x40a379
xor eax, 0xff40c098
call esi
test eax, eax
jne 0x40a3fe
pop esi
pop ebp
sti
pop ds
pushal
salc
add eax, 0xa2f4a
pop esi
pop ebp
ret 0x4e
xor edi, dword [ecx + 0xd1c25d]
mov eax, 0xb3f04e3b
pop ebp
ret 0x4806
Function at 0x1026208d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1027b578]
jne 0x10262097
repz ret
jmp fcn.102649a7

Function at 0x1026533f
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.10260d9b
and dword [ebp - 4], 0
cmp dword [0x1027c6dc], 0
mov ebx, eax
jne 0x102653f0
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x102654a1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x102654a1
push eax
call fcn.10260d29
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1027c6dc], eax
call esi
push eax
call fcn.10260d29
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1027c6e0], eax
call esi
push eax
call fcn.10260d29
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1027c6e4], eax
call esi
push eax
call fcn.10260d29
pop ecx
mov dword [0x1027c6ec], eax
test eax, eax
je 0x102653f0
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10260d29
pop ecx
mov dword [0x1027c6e8], eax
mov eax, dword [0x1027c6e8]
cmp eax, ebx
je 0x10265448
cmp dword [0x1027c6ec], ebx
je 0x10265448
push eax
call fcn.10260da4
push dword [0x1027c6ec]
mov esi, eax
call fcn.10260da4
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10265448
test edi, edi
je 0x10265448
call esi
test eax, eax
je 0x1026543f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1026543f
test byte [ebp - 0xc], 1
jne 0x10265448
or dword [ebp + 0x10], 0x200000
jmp 0x10265481
mov eax, dword [0x1027c6e0]
cmp eax, ebx
je 0x10265481
push eax
call fcn.10260da4
pop ecx
test eax, eax
je 0x10265481
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10265481
mov eax, dword [0x1027c6e4]
cmp eax, ebx
je 0x10265481
push eax
call fcn.10260da4
pop ecx
test eax, eax
je 0x10265481
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1027c6dc]
call fcn.10260da4
pop ecx
test eax, eax
je 0x102654a1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x102654a3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10266463
Capabilities:
Parse pe header
Resolve function by parsing pe exports

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
je 0x10266528
jmp 0x1026651e
lea eax, [esp + 0x28]
mov dword [esp], eax
call fcn.10266192
lea ecx, [0x10266e29]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x78], 0x114c00
mov edx, dword [0x1027a8c4]
mov dword [esp + 0x3c], edx
mov edx, dword [0x1027a8c8]
mov dword [esp + 0x40], edx
mov dword [0x1027a8dc], 0x1cfb
mov edx, dword [0x1027a8cc]
mov dword [esp + 0x88], edx
mov edx, dword [0x1027a8d0]
mov dword [esp + 0x7c], edx
mov edx, dword [0x1027a8d4]
mov dword [esp + 0x44], edx
mov dword [0x1027a8d8], 0x3721
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
jmp 0x10266552
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], eax
jmp 0x1026651e
mov eax, dword [esp + 0x14]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x1c], eax
jmp 0x10266552
mov eax, dword [esp + 0x24]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
lea eax, [esp + 0x38]
mov dword [0x1027a8d8], 0x1c88
mov dword [esp + 0x10], eax
call fcn.10266b33
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x18], ecx
je 0x1026648b
jmp 0x10266500
mov eax, dword [esp + 0x1c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x14], eax
jne 0x1026650a
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
jne 0x1026650a
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x80], ecx
mov edx, dword [esp + 0xc]
mov esi, dword [ecx + edx + 0x50]
mov dword [esp + 0x48], esi
mov dword [0x1027a8d8], 0x287
mov esi, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.10267145
mov dword [esp + 8], eax
mov eax, dword [0x1027a8d8]
add eax, 0x1596
mov dword [0x1027a8d8], eax
mov eax, esp
lea ecx, [esp + 0x38]
mov dword [eax], ecx
mov eax, dword [esp + 8]
call eax
sub esp, 4
mov eax, 1
mov dword [esp + 0x18], eax
jmp 0x10266500
Function at 0x102668bc
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 [0x1027a8d8], 0x7d3
mov dword [ebp - 0x10], eax
call fcn.102672eb
xor ecx, ecx
mov edx, eax
mov dword [0x1027a8d8], 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 0x1026690c
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [0x1027a8dc], 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 0x10266a4b
jmp 0x10266970
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 0x10266990
jmp 0x10266a4b
mov eax, dword [ebp - 0x24]
add eax, 0x24
mov ecx, dword [ebp - 0x1c]
add ecx, eax
mov dword [ebp - 0x44], ecx
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x44]
add ecx, dword [edx]
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 - 0x4c], edx
mov eax, dword [ebp - 0x4c]
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 - 0x50], eax
mov byte [ebp - 0x51], bh
mov byte [ebp - 0x52], cl
je 0x102669fb
mov eax, dword [ebp - 0x50]
add eax, 1
mov cl, byte [ebp - 0x51]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x52]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x4c], eax
jne 0x102669aa
mov al, byte [ebp - 0x52]
test al, 1
jne 0x10266a07
jmp 0x10266947
mov eax, dword [ebp - 0x34]
movzx ecx, word [eax]
mov dword [0x1027a8dc], 0x552
mov edx, dword [ebp - 0x24]
add edx, 0x1c
mov esi, dword [ebp - 0x1c]
add esi, edx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x5c], esi
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x5c]
add eax, dword [ecx]
mov edx, dword [ebp - 0x58]
mov eax, dword [eax + edx*4]
mov dword [0x1027a8d8], 0x401
mov esi, dword [ebp - 0x1c]
add esi, eax
mov dword [ebp - 0x30], esi
mov eax, dword [ebp - 0x30]
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10266b33
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x2c
mov dword [ebp - 8], 0
mov dword [0x1027a8d8], 0xbee
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
mov ecx, 0x26f4
xor edx, edx
mov dword [0x1027a8d8], 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 0x10266c10
mov eax, dword [ebp - 0x1c]
mov dword [0x1027a8d8], 0x1599
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x20], eax
je 0x10266c46
jmp 0x10266baa
mov eax, dword [ebp - 0x24]
add esp, 0x2c
pop esi
pop ebp
ret
xor eax, eax
mov dword [ebp - 0x24], eax
jmp 0x10266ba1
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x10266c7c
jmp 0x10266baa
mov eax, dword [ebp - 0x28]
add eax, 0xfffffc2c
mov dword [0x1027a8d8], eax
mov ecx, dword [ebp - 0x2c]
add ecx, 1
cmp ecx, 0x104
mov edx, ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
jl 0x10266c10
jmp 0x10266b7f
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff7
shl eax, 1
mov ecx, dword [ebp - 0x10]
add ecx, eax
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x30]
cmp word [eax], 0x64
je 0x10266bb1
jmp 0x10266baa
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
cmp word [edx + eax*2], 0
mov esi, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x1c], esi
je 0x10266b7f
jmp 0x10266bc6
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x10266c64
jmp 0x10266baa
mov dword [0x1027a8d8], 0x1581
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x10266c32
jmp 0x10266baa
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x10266bf1
jmp 0x10266baa
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x20]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x24], eax
je 0x10266ba1
jmp 0x10266baa
Function at 0x10266e82
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 [0x1027a8d8], 0x545
mov dword [0x1027a8e0], 0
mov dword [0x1027a8e4], 0
mov dword [0x1027a8f0], 0
mov ebx, dword [0x1027a8dc]
add ebx, 0x1628
mov dword [0x1027a8dc], 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 0x10266ff5
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add ecx, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x1027a8e0], edx
mov ecx, dword [ebp - 0x20]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x30]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x1027a8e4], edx
mov dword [0x1027a8d8], 0x1d10
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x1027a8e8], cl
mov dword [0x1027a8dc], 0x609
mov edi, dword [ebp - 0x20]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov edx, dword [0x1027a8dc]
add edx, 0x19b1
mov dword [0x1027a8d8], edx
mov cl, byte [0x1027a8e8]
mov edx, dword [0x1027a8e4]
mov byte [edi + edx], cl
mov edx, dword [0x1027a8e0]
movzx edx, byte [edi + edx]
mov ebx, dword [0x1027a8e4]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x1027a8f0], ebx
mov edx, dword [0x1027a8d8]
add edx, 0x223a
mov dword [0x1027a8dc], edx
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
mov cl, byte [edx + ecx]
xor cl, byte [edi + ebx]
mov ebx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
mov byte [ebx + edx], cl
add edx, 1
mov ecx, dword [ebp - 0x10]
cmp edx, ecx
mov dword [ebp - 0x38], edx
je 0x10266ff5
mov eax, dword [0x1027a8e0]
mov ecx, dword [0x1027a8e4]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], edx
jmp 0x10266ef7
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret