joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45c6fc
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45c8a7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45c888
mov dl, 1
mov eax, dword [0x412910]
call fcn.004038b4
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404710
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45c877
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0044f520
test al, al
je 0x45c86a
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x45c8b8
lea eax, [ebp - 0x254]
call fcn.00409470
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45c86a
xor eax, eax
push ebp
push 0x45c863
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x45c8f0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45c84c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404980
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x45c84c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404980
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45c86a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45c76d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.00416e20
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45c8ae
lea eax, [ebp - 0x260]
call fcn.00404710
ret

Function at 0x45d220
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x5365b0]
cmp byte [eax + 0xad], 0
jne 0x45d291
cmp dword [0x5365c8], 0
jne 0x45d252
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45d1dc
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x5365c8], eax
cmp dword [0x5365c4], 0
jne 0x45d26d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x5365c4], eax
cmp dword [0x5365cc], 0
jne 0x45d291
push esp
push 0
push 0
push 0x45d180
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x5365cc], eax
pop edx
ret
Function at 0x45d494
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45d4ab
add esp, 0xfffffff0
call fcn.00403c08
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041af20
mov eax, dword [0x532504]
cmp word [eax + 2], 0
jne 0x45d4d3
mov eax, dword [0x532504]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045ef44
mov eax, dword [0x5325d0]
cmp word [eax + 2], 0
jne 0x45d4ed
mov eax, dword [0x5325d0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045f150
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x412360]
call fcn.004038b4
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x412360]
call fcn.004038b4
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x412360]
call fcn.004038b4
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x41f6c8]
call fcn.00426dc8
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x45d6a4
mov eax, dword [0x532418]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042719c
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45f810
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x532418]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040ccc0
test eax, eax
je 0x45d5f4
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408e14
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040ccf4
test eax, eax
je 0x45d608
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404980
mov byte [ebx + 0xd4], 0
push ebx
push 0x45eaa4
call fcn.0041c09c
mov dword [ebx + 0xc8], eax
mov eax, dword [0x5322e0]
cmp byte [eax], 0
jne 0x45d659
mov eax, ebx
call fcn.0045d7e8
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.0045f9ec
mov eax, ebx
call fcn.0046054c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45d699
call fcn.00403c60
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45da68
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x5365b0]
cmp dword [eax + 0x30], 0
je 0x45db12
cmp dword [ebx + 0x94], 0
jne 0x45db0c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45d9f8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45db0c
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45dad2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45db0c
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00414898
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45dae1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45e82c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x45e861
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404800
jmp 0x45e86e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404764
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45fbd0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45fc3e
mov eax, esi
call fcn.0044a154
test al, al
je 0x45fc3e
mov eax, dword [ebx + 0x84]
call fcn.00449db4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45fc3e
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x45fc32
push 0
mov eax, dword [ebx + 0x84]
call fcn.00449db4
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.004420bc
jmp 0x45fc3e
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0045fa0c
pop esi
pop ebx
ret

Function at 0x46e210
Capabilities:
Set global application hook

Disassembly:
cmp dword [0x536648], 0
jne 0x46e233
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x46e184
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x536648], eax
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.00404502
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.00404502
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.00404502
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.00404502
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.00404502
mov dword [0x41203c], eax
call fcn.00404502
test eax, eax
jge 0x402550
push 8
call fcn.00404502
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.00404502
pop ecx
push 1
call fcn.00404502
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.00404502
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.00404502
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.00404502
jmp 0x402495

Function at 0x404502
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x404511
pop dword [ebp - 0xc]
mov eax, 0x8c9b7568
sub eax, 0x8c5b3057
sub dword [ebp - 0xc], eax
push 0x40
push 0x1000
push 0x3a5a6
push 0
mov eax, 0x673b1481
sub eax, 0x66fa33a9
add eax, dword [ebp - 0xc]
call dword [eax]
mov ecx, 0xec18d48f
sub ecx, 0xec1887f3
mov edx, eax
mov ebx, 0x61a43585
add ebx, 0x9e9d063f
add ebx, dword [ebp - 0xc]
mov edi, 0x6c3b4bea
sub edi, 0x59a51673
mov dword [ebp - 8], 0xb7fd6e9c
mov esi, dword [ebx]
add dword [ebp - 8], 0x3aa0a5c2
add esi, edi
xor dword [ebp - 8], 0xb0bcfbf9
mov dword [edx], esi
sub dword [ebp - 8], 0x43dce2be
add edx, 0xc7a21d82
add edx, 0x385de282
add ebx, 0xf493c30a
sub ebx, 0xf493c306
loop 0x404570
add eax, 0x12543
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x41e46d
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41e4ac
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41e4ac
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41e4ac
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x41e4ac
cmp dword [ecx + 0x74], 0xe
jbe 0x41e4ac
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x42447f
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42f348
push 0x42f340
push str.FlsAlloc
push 0x1f
call fcn.0042433e
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4244b3
push dword [ebp + 8]
mov ecx, esi
call dword [0x42d144]
call esi
jmp 0x4244b9
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4244fd
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42f358
push 0x42f350
push str.FlsGetValue
push 0x21
call fcn.0042433e
mov esi, eax
add esp, 0x10
test esi, esi
je 0x424534
push dword [ebp + 8]
mov ecx, esi
call dword [0x42d144]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x42453c
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42f360
push 0x42f358
push str.FlsSetValue
push 0x22
call fcn.0042433e
mov esi, eax
add esp, 0x10
test esi, esi
je 0x424576
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x42d144]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x425d2e
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x425dcb
push ebx
push esi
call fcn.00425cf7
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00425c8b
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x425d78
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x425dca
push edi
push eax
call fcn.00424741
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x425d98
call fcn.0042478f
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x425dc9
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00425c8b
add esp, 0x20
test eax, eax
jne 0x425db7
push edi
call fcn.0042478f
jmp 0x425dbf
push ebx
call fcn.0042478f
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x42c010
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42c03d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42c03d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x10010304
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x101da3f0]
jne 0x1001030e
repz ret
jmp fcn.10017c6c

Function at 0x1001b060
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.1000e0f4
and dword [ebp - 4], 0
cmp dword [0x101db3f4], 0
mov ebx, eax
jne 0x1001b111
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1001b1c2
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1001b1c2
push eax
call fcn.1000e082
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x101db3f4], eax
call esi
push eax
call fcn.1000e082
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x101db3f8], eax
call esi
push eax
call fcn.1000e082
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x101db3fc], eax
call esi
push eax
call fcn.1000e082
pop ecx
mov dword [0x101db404], eax
test eax, eax
je 0x1001b111
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1000e082
pop ecx
mov dword [0x101db400], eax
mov eax, dword [0x101db400]
cmp eax, ebx
je 0x1001b169
cmp dword [0x101db404], ebx
je 0x1001b169
push eax
call fcn.1000e0fd
push dword [0x101db404]
mov esi, eax
call fcn.1000e0fd
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1001b169
test edi, edi
je 0x1001b169
call esi
test eax, eax
je 0x1001b160
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1001b160
test byte [ebp - 0xc], 1
jne 0x1001b169
or dword [ebp + 0x10], 0x200000
jmp 0x1001b1a2
mov eax, dword [0x101db3f8]
cmp eax, ebx
je 0x1001b1a2
push eax
call fcn.1000e0fd
pop ecx
test eax, eax
je 0x1001b1a2
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1001b1a2
mov eax, dword [0x101db3fc]
cmp eax, ebx
je 0x1001b1a2
push eax
call fcn.1000e0fd
pop ecx
test eax, eax
je 0x1001b1a2
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x101db3f4]
call fcn.1000e0fd
pop ecx
test eax, eax
je 0x1001b1c2
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1001b1c4
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1001e610
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [fcn.1001e610]
mov dword [0x101d9854], 0x2324
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp word [eax], 0x5a4d
mov dword [ebp - 8], eax
jne 0x1001e64d
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
jne 0x1001e64d
mov eax, dword [ebp - 8]
add esp, 8
pop ebp
ret
mov eax, dword [ebp - 8]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [ebp - 4], eax
jmp 0x1001e629
Function at 0x1001e690
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x28
mov dword [ebp - 8], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
xor ecx, ecx
mov edx, dword [0x101d9858]
add edx, 0xffffd94f
mov dword [0x101d9854], edx
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 0x1001e6e7
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x1001e790
jmp 0x1001e70a
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
add eax, 0xffffe3e9
mov edx, dword [ebp - 0x10]
cmp word [edx + ecx*2], 0
mov esi, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], esi
je 0x1001e74c
jmp 0x1001e72f
xor eax, eax
mov dword [ebp - 0x2c], eax
jmp 0x1001e7db
mov dword [0x101d9858], 0x7a0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x1001e769
jmp 0x1001e70a
mov eax, dword [ebp - 0x20]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], eax
jl 0x1001e6e7
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov dword [0x101d9854], ecx
mov edx, dword [ebp - 0x10]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x1c], eax
je 0x1001e714
jmp 0x1001e70a
mov eax, dword [0x101d9854]
add eax, 0x3ee
mov dword [0x101d9854], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x1001e6d2
jmp 0x1001e70a
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x1001e70a
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x1001e70a
mov eax, 1
mov dword [0x101d9854], 0xb63
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x2c], eax
jne 0x1001e70a
mov eax, dword [ebp - 0x2c]
add esp, 0x28
pop esi
pop ebp
ret
Function at 0x1001ed10
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [0x101d9860], 0
mov byte [0x101d9864], 0
mov esi, dword [0x101d9854]
add esi, 0xe84
mov dword [0x101d9858], esi
mov dword [0x101d985c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
jmp 0x1001edf8
mov eax, 0x100
mov dword [0x101d9868], 0
mov ecx, dword [0x101d9860]
mov edx, dword [0x101d985c]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + edx]
add edi, ecx
mov dword [ebp - 0x1c], eax
mov eax, edx
xor edx, edx
mov ecx, dword [ebp - 0x10]
div ecx
mov ebx, dword [ebp - 0x14]
movzx edx, byte [ebx + edx]
add edi, edx
mov dword [0x101d9868], edi
mov dword [0x101d9854], 0x233b
mov eax, edi
cdq
mov edi, dword [ebp - 0x1c]
idiv edi
mov dword [0x101d9860], edx
mov ecx, dword [0x101d985c]
mov bl, byte [esi + ecx]
mov byte [0x101d9864], bl
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov bl, byte [0x101d9864]
mov ecx, dword [0x101d9860]
mov byte [esi + ecx], bl
mov ecx, dword [0x101d985c]
add ecx, 1
mov dword [0x101d985c], ecx
cmp ecx, 0x100
jl 0x1001ed5d
jmp 0x1001ee36
mov dword [0x101d9858], 0x8b8
mov eax, dword [0x101d985c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x101d985c]
add eax, 1
mov dword [0x101d985c], eax
cmp eax, 0x100
jl 0x1001edf8
mov dword [0x101d985c], 0
jmp 0x1001ed5d
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1001f160
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
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 [0x101d985c], 0
mov dword [0x101d9860], 0
mov dword [0x101d986c], 0
cmp eax, 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edi
je 0x1001f2a4
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov edx, eax
add edx, 1
mov dword [0x101d9854], 0x581
mov esi, dword [0x101d985c]
add esi, 1
mov dword [ebp - 0x24], eax
mov eax, esi
mov dword [ebp - 0x28], edx
cdq
idiv ecx
mov dword [0x101d985c], edx
mov dword [0x101d9858], 0x20ec
mov esi, dword [0x101d9860]
mov edi, dword [ebp - 0x1c]
movzx edx, byte [edi + edx]
add edx, esi
mov eax, edx
cdq
idiv ecx
mov dword [0x101d9860], edx
mov ecx, dword [0x101d985c]
mov bl, byte [edi + ecx]
mov byte [0x101d9864], bl
mov ecx, dword [0x101d9858]
add ecx, 0xfffffb2b
mov dword [0x101d9858], ecx
mov ecx, dword [0x101d9860]
mov bl, byte [edi + ecx]
mov ecx, dword [0x101d985c]
mov byte [edi + ecx], bl
mov bl, byte [0x101d9864]
mov ecx, dword [0x101d9860]
mov byte [edi + ecx], bl
mov ecx, dword [0x101d985c]
movzx ecx, byte [edi + ecx]
mov edx, dword [0x101d9860]
movzx edx, byte [edi + edx]
add edx, ecx
and edx, 0xff
mov dword [0x101d986c], edx
mov bl, byte [edi + edx]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
movzx esi, byte [ecx + edx]
mov dword [esp], esi
movzx esi, bl
mov dword [esp + 4], esi
call fcn.10001000
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x24]
mov byte [ecx + edx], al
mov esi, dword [ebp - 0x28]
mov edi, dword [ebp - 0x10]
cmp esi, edi
mov dword [ebp - 0x20], esi
jne 0x1001f1af
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret