joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b0c08
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
mov eax, 0x4cb080
call fcn.00491128
call sym.TCP232.exe__TcmSocket_wsa_startup_qv
test al, al
jne 0x4b0c75
mov word [ebp - 0x20], 8
mov edx, 0x4ca1a0
lea eax, [ebp - 4]
call fcn.0049c1f4
inc dword [ebp - 0x14]
lea edx, [ebp - 4]
mov eax, dword [ebp + 8]
call fcn.0049c324
mov eax, dword [ebp + 8]
mov word [ebp - 0x20], 0x14
push eax
dec dword [ebp - 0x14]
lea eax, [ebp - 4]
mov edx, 2
call fcn.0049c2f4
pop eax
mov word [ebp - 0x20], 8
inc dword [ebp - 0x14]
mov edx, dword [ebp - 0x30]
mov dword fs:[0], edx
jmp 0x4b0d20
push 0x20
lea ecx, [ebp - 0x50]
push ecx
call sub.WSOCK32.DLL_gethostname
inc eax
jne 0x4b0cd4
mov word [ebp - 0x20], 0x20
mov edx, 0x4ca1a1
lea eax, [ebp - 8]
call fcn.0049c1f4
inc dword [ebp - 0x14]
lea edx, [ebp - 8]
mov eax, dword [ebp + 8]
call fcn.0049c324
mov eax, dword [ebp + 8]
mov word [ebp - 0x20], 0x2c
push eax
dec dword [ebp - 0x14]
lea eax, [ebp - 8]
mov edx, 2
call fcn.0049c2f4
pop eax
mov word [ebp - 0x20], 0x20
inc dword [ebp - 0x14]
mov edx, dword [ebp - 0x30]
mov dword fs:[0], edx
jmp 0x4b0d20
mov word [ebp - 0x20], 0x38
lea edx, [ebp - 0x50]
lea eax, [ebp - 0xc]
call fcn.0049c1f4
mov edx, eax
inc dword [ebp - 0x14]
mov eax, dword [ebp + 8]
call fcn.0049c324
mov eax, dword [ebp + 8]
mov word [ebp - 0x20], 0x44
push eax
dec dword [ebp - 0x14]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.0049c2f4
pop eax
mov word [ebp - 0x20], 0x38
inc dword [ebp - 0x14]
mov edx, dword [ebp - 0x30]
mov dword fs:[0], edx
mov esp, ebp
pop ebp
ret

Function at 0x4b1d84
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 1]
call fcn.004b1dd8
push 0x10
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x4b1da6
lea eax, [ebp - 1]
xor edx, edx
call fcn.004b1e0c
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x4b1dbc
lea eax, [ebp - 1]
mov dl, 2
call fcn.004b1e0c
push 0x12
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x4b1dd2
lea eax, [ebp - 1]
mov dl, 1
call fcn.004b1e0c
mov al, byte [ebp - 1]
pop ecx
pop ebp
ret
Function at 0x4b238c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [0x4cbd44]
mov edx, dword [eax]
push dword [edx + 0x30]
call sub.USER32.DLL_IsIconic
test eax, eax
jne 0x4b23e8
mov ecx, dword [0x4cbd44]
mov eax, dword [ecx]
call fcn.004611b4
push 0
mov edx, dword [0x4cbd44]
mov ecx, dword [edx]
push dword [ecx + 0x30]
call sub.USER32.DLL_ShowWindow
mov eax, dword [ebp - 4]
cmp word [eax + 0x24a], 0
je 0x4b23e8
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24c]
call dword [ebx + 0x248]
pop ebx
pop ecx
pop ebp
ret

Function at 0x4b23ec
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [0x4cbd44]
mov edx, dword [eax]
push dword [edx + 0x30]
call sub.USER32.DLL_IsIconic
test eax, eax
je 0x4b2457
mov ecx, dword [0x4cbd44]
mov eax, dword [ecx]
call fcn.00461264
push 9
mov edx, dword [0x4cbd44]
mov ecx, dword [edx]
push dword [ecx + 0x30]
call sub.USER32.DLL_ShowWindow
mov eax, dword [0x4cbd44]
mov edx, dword [eax]
push dword [edx + 0x30]
call sub.USER32.DLL_SetForegroundWindow
mov ecx, dword [ebp - 4]
cmp word [ecx + 0x252], 0
je 0x4b2457
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x254]
call dword [ebx + 0x250]
pop ebx
pop ecx
pop ebp
ret

Function at 0x4b55c8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
push 8
lea eax, [ebp - 0x10]
push eax
push 1
push 0x800
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
je 0x4b5611
cmp byte [ebp - 0x10], 0x30
jne 0x4b5611
cmp byte [ebp - 0xf], 0x38
jne 0x4b5611
cmp byte [ebp - 0xe], 0x30
jne 0x4b5611
cmp byte [ebp - 0xd], 0x34
jne 0x4b5611
cmp byte [ebp - 0xc], 0
jne 0x4b5611
mov dword [ebp - 8], 1
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x4b6130
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
test dl, dl
je 0x4b6149
add esp, 0xfffffff0
call fcn.00431c34
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4b6580
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00476030
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x168], edx
push 8

Function at 0x4b7cf4
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.KERNEL32.DLL_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x4b7d45
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4b7d2c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4b7d1c
jmp 0x4b7d45
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x4b7d2d
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4b95fc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0
jle 0x4b9644
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
xor eax, 0xff
imul dword [ebp - 8]
shr eax, 8
add eax, dword [ebp - 0xc]
call sym.TCP232.exe__Cmbitmap_CMIntToByte_qqri
mov edx, dword [ebp - 0xc]
mov byte [ebp + edx - 0x11c], al
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0x100
jne 0x4b9616
jmp 0x4b9679
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
cdq
xor eax, edx
sub eax, edx
imul dword [ebp - 0xc]
shr eax, 8
push eax
mov eax, dword [ebp - 0xc]
pop edx
sub eax, edx
call sym.TCP232.exe__Cmbitmap_CMIntToByte_qqri
mov edx, dword [ebp - 0xc]
mov byte [ebp + edx - 0x11c], al
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0x100
jne 0x4b9649
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
test eax, eax
jle 0x4b9704
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
test eax, eax
jle 0x4b96f0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
mov al, byte [ebp + eax - 0x11c]
mov edx, dword [ebp - 0x14]
mov byte [edx], al
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + 1]
mov al, byte [ebp + eax - 0x11c]
mov edx, dword [ebp - 0x14]
mov byte [edx + 1], al
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + 2]
mov al, byte [ebp + eax - 0x11c]
mov edx, dword [ebp - 0x14]
mov byte [edx + 2], al
add dword [ebp - 0x14], 3
inc dword [ebp - 0xc]
dec dword [ebp - 0x1c]
jne 0x4b96aa
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
inc dword [ebp - 0x10]
dec dword [ebp - 0x18]
jne 0x4b9696
mov esp, ebp
pop ebp
ret
Function at 0x4ba088
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
dec eax
test eax, eax
jl 0x4ba0fc
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x2c]
dec eax
test eax, eax
jl 0x4ba0e8
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0x10]
xor byte [eax], 0xff
mov eax, dword [ebp - 0x10]
xor byte [eax + 1], 0xff
mov eax, dword [ebp - 0x10]
xor byte [eax + 2], 0xff
add dword [ebp - 0x10], 3
inc dword [ebp - 8]
dec dword [ebp - 0x18]
jne 0x4ba0c8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
inc dword [ebp - 0xc]
dec dword [ebp - 0x14]
jne 0x4ba0b0
mov esp, ebp
pop ebp
ret
Function at 0x4bdbf0
Capabilities:
Check for time delay via gettickcount
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
call sym.TCP232.exe__Cmuartdrv_TcmUartDrv_IS_COM_Connected_qqrv
test al, al
je 0x4bdd35
xor eax, eax
push ebp
push 0x4bdc37
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.KERNEL32.DLL_GetTickCount
mov dword [ebp - 0x1c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4bdc55
cmp dword [ebp - 0xc], 0
jbe 0x4bdd35
mov eax, dword [ebp - 4]
call sym.TCP232.exe__Cmuartdrv_TcmUartDrv_OutFreeSpace_qqrv
movzx eax, ax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jbe 0x4bdd13
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0xc]
jbe 0x4bdc85
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4bdd35
push 0
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
push eax
call sub.KERNEL32.DLL_WriteFile
cmp dword [ebp - 0x18], 0
je 0x4bdd35
mov eax, dword [ebp - 0x18]
cdq
xor eax, edx
sub eax, edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x18]
sub dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4bdcf3
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.KERNEL32.DLL_GetTickCount
mov dword [ebp - 0x1c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4bdd2b
call sub.KERNEL32.DLL_GetTickCount
sub eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 4]
movzx edx, word [edx + 0x64]
cmp eax, edx
jbe 0x4bdd2b
neg dword [ebp - 0x10]
jmp 0x4bdd35
cmp dword [ebp - 0xc], 0
ja 0x4bdc5f
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1004307c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x1004308b
pop dword [ebp - 0x2c]
mov eax, 0x1004308b
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0xe02833a7
add dword [ebp - 0x3c], 0x6e2a11a4
mov dword [ebp - 0x38], 0xf5fc3dd2
sub dword [ebp - 0x38], 0xc3c8f18d
mov dword [ebp - 0x34], 0x9dfe7069
add dword [ebp - 0x34], 0xae4dd3c5
mov dword [ebp - 0x30], 0xadffb400
sub dword [ebp - 0x30], 0xadffb400
lea eax, [ebp - 0x3c]
push eax
mov eax, 0x8bbd962a
sub eax, 0x7bb7961a
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0xeb43782b
sub dword [ebp - 0x3c], 0x76d10ed5
mov dword [ebp - 0x38], 0xc04a4dc1
add dword [ebp - 0x38], 0x812213b4
mov dword [ebp - 0x34], 0x5cad8dc3
sub dword [ebp - 0x34], 0xf93e2157
mov dword [ebp - 0x30], 0x3a7d3a7b
sub dword [ebp - 0x30], 0x3a7d3a7b
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, 0xdba2fe80
sub eax, 0xcb9cfe6c
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x5811f
push 0
call eax
mov ecx, 0x5131
mov esi, eax
mov edi, 0x1008bc00
add edi, dword [ebp - 0x2c]
mov edx, 0x99ac1038
add edx, 0x8c40c6e6
sub dword [ebp - 0x14], 0xa8ff29f6
mov ebx, dword [edi]
sub dword [ebp - 0x10], 0x51fde551
xor ebx, edx
sub dword [ebp - 0x20], esi
mov dword [esi], ebx
sub dword [ebp - 0x1c], edi
add esi, 0x42c2ad53
add esi, 0xbd3d52b1
add edi, 4
loop 0x1004319c
add eax, 0x13797
xor ebx, ebx
add ebx, eax
add eax, 0x1535eea7
sub eax, 0x1535eea2
mov ecx, 0x67fe8c17
sub ecx, 0x57fe8c17
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x5f5560
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xef000]
push edi
or ebp, 0xffffffff
jmp 0x5f5582
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5f5589
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5f5578
mov eax, 1
add ebx, ebx
jne 0x5f559b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5f5590
jne 0x5f55ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5f5590
xor ecx, ecx
sub eax, 3
jb 0x5f55c0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5f5632
mov ebp, eax
add ebx, ebx
jne 0x5f55cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x5f55d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x5f55fc
inc ecx
add ebx, ebx
jne 0x5f55e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5f55dd
jne 0x5f55f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5f55dd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5f561c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5f560d
jmp 0x5f557e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5f561c
add edi, ecx
jmp 0x5f557e
pop esi
mov edi, esi
mov ecx, 0x4b6
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5f563a
cmp byte [edi], 7
jne 0x5f563a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x5f563f
lea edi, [esi + 0x1f3000]
mov eax, dword [edi]
or eax, eax
je 0x5f56ae
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1ff0ec]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1ff128]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5f566c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1ff12c]
or eax, eax
je 0x5f56a8
mov dword [ebx], eax
add ebx, 4
jmp 0x5f5689
call dword [esi + 0x1ff13c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x5f56df
cmp al, 0xef
ja 0x5f56d2
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x5f56b4
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x5f56c1
mov ebp, dword [esi + 0x1ff130]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x5f5713
sub esp, 0xffffff80
jmp 0x402b54
Function at 0x10278256
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x40
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, 0xffffffff
cmp ecx, 0
sete bl
cmp eax, 0
sete bh
and bl, bh
test bl, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
jne 0x1027829d
jmp 0x102782a8
mov dword [0x10291dac], 0xffffc994
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [0x10291dac], 0x25ed
mov dword [0x10291da8], 0x14fc
mov ecx, dword fs:[0x18]
mov dword [0x10291da8], 0xffffeafc
mov eax, dword [ecx + 0x30]
mov dword [0x10291dac], 0xffffd3cf
mov eax, dword [eax + 0xc]
add eax, 0x14
mov ecx, dword [ebp - 0x10]
cmp ecx, 0
setne dl
mov esi, eax
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x21], dl
mov dword [ebp - 0x28], esi
mov eax, dword [ebp - 0x28]
xor ecx, ecx
mov eax, dword [eax]
mov edx, dword [ebp - 0x20]
cmp eax, edx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x18], ecx
je 0x1027829d
mov dword [0x10291da8], 0xe77
mov eax, dword [ebp - 0x2c]
add eax, 0x24
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x28]
mov esi, dword [ecx + 0x10]
mov edi, dword [ebp - 0x10]
cmp esi, edi
sete bl
mov bh, byte [ebp - 0x21]
and bh, bl
test bh, 1
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x1c], esi
jne 0x10278345
jmp 0x10278355
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff8
mov dword [ebp - 0x18], eax
jmp 0x1027829d
xor eax, eax
mov ecx, dword [ebp - 0x30]
mov dx, word [ecx]
mov dword [0x10291da8], 0x26b6
shr dx, 1
movzx esi, dx
cmp dx, 0
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], eax
je 0x102782f9
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x34]
mov dx, word [ecx + eax*2]
mov si, dx
add si, 0xffbf
mov di, dx
add di, 0x20
cmp si, 0x1a
mov dword [ebp - 0x40], eax
mov word [ebp - 0x42], dx
mov word [ebp - 0x44], di
jb 0x102783b9
mov ax, word [ebp - 0x42]
mov word [ebp - 0x44], ax
mov ax, word [ebp - 0x44]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x40]
cmp word [ecx + edx*2], ax
sete bl
cmp ax, 0
sete bh
mov al, bl
xor al, 1
or bh, al
test bh, 1
mov byte [ebp - 0x45], bl
jne 0x10278401
mov dword [0x10291da8], 0x667
mov eax, dword [ebp - 0x40]
add eax, 1
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x38]
cmp eax, ecx
mov dword [ebp - 0x3c], eax
jb 0x10278385
mov al, byte [ebp - 0x45]
test al, 1
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x28], ecx
jne 0x1027828d
jmp 0x102782f9
Function at 0x10278831
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x10291db4], 0
mov byte [0x10291db8], 0
mov dword [0x10291da8], 0x1f87
mov dword [0x10291db0], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x10278893
xor eax, eax
mov dword [0x10291da8], 0xd51
mov dword [0x10291db0], 0
mov dword [ebp - 0x20], eax
jmp 0x102788bb
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x10291db0]
add eax, 1
mov dword [0x10291db0], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10278893
jmp 0x10278878
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x10291dbc], 0
mov dword [0x10291da8], 0x17de
mov edx, dword [0x10291db4]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
mov dword [ebp - 0x24], eax
xor edx, edx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov dword [0x10291dbc], edi
mov dword [0x10291dac], 0x51e
mov dword [0x10291da8], 0xffffe312
mov eax, edi
cdq
idiv ecx
mov dword [0x10291db4], edx
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x10291db8], cl
mov dword [0x10291da8], 0x1980
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov ecx, dword [0x10291da8]
add ecx, 0x1ff7
mov dword [0x10291dac], ecx
mov cl, byte [0x10291db8]
mov edx, dword [0x10291db4]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov dword [0x10291da8], 0x5e6
mov edx, dword [0x10291dac]
add edx, 0xfffffd1a
mov dword [0x10291dac], edx
mov edx, dword [0x10291db0]
add edx, 1
mov dword [0x10291db0], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x102788bb
mov dword [0x10291da8], 0x1e31
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10278e11
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 [0x10291dac], 0x26de
mov dword [ebp - 0x10], eax
call fcn.10278417
mov dword [ebp - 0x14], eax
xor eax, eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x14]
mov esi, dword [edx + 0x3c]
mov edi, ecx
add edi, esi
mov dword [0x10291dac], 0xe73
mov esi, dword [edx + esi]
cmp esi, 0x4550
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edi
je 0x10278e65
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x10291da8], 0x16bd
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 0x10278f78
jmp 0x10278ed5
mov eax, dword [ebp - 0x34]
add eax, 1
mov cl, byte [ebp - 0x35]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x36]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x3c], eax
jne 0x10278f01
mov al, byte [ebp - 0x36]
test al, 1
jne 0x10278f55
jmp 0x10278f2f
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x40]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
mov ecx, eax
mov edx, dword [ebp - 0x50]
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 - 0x34], eax
mov byte [ebp - 0x35], bh
mov byte [ebp - 0x36], cl
je 0x10278ec8
jmp 0x10278ea0
xor eax, eax
mov ecx, dword [ebp - 0x4c]
add ecx, 2
mov edx, dword [ebp - 0x48]
add edx, 1
mov esi, dword [ebp - 0x2c]
cmp edx, esi
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x30], eax
jb 0x10278ee7
jmp 0x10278f78
mov eax, dword [ebp - 0x4c]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [0x10291da8], 0x22a3
mov dword [ebp - 0x30], edi
mov eax, dword [ebp - 0x30]
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10278fd2
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
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 [0x10291da8], 0x1927
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x10279024
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x1027903c
jmp 0x10279101
mov eax, dword [ebp - 0x18]
add esp, 0x2c
pop ebp
ret
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], edx
je 0x1027908a
jmp 0x10279062
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff8
shl eax, 1
mov ecx, dword [ebp - 0xc]
add ecx, eax
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
cmp word [eax], 0x6c
je 0x102790e6
jmp 0x10279101
mov dword [0x10291da8], 0x9f6
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
cmp eax, 0x104
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], ecx
jl 0x10279024
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
jne 0x10279101
mov dword [0x10291da8], 0x21a9
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x18], 0x6f
sete dl
mov byte [ebp - 0x29], dl
mov al, byte [ebp - 0x29]
test al, 1
jne 0x102790c2
jmp 0x10279101
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x10279101
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x10279008
jmp 0x10279101
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x18], eax
je 0x1027901c
xor eax, eax
mov dword [ebp - 0x18], eax
jmp 0x1027901c