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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push esi
xor esi, esi
push esi
lea eax, [ebp - 4]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push dword [ebp + 0xc]
mov dword [ebp - 4], esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4015aa
mov eax, 0x104
push eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10c]
push esi
push eax
call fcn.00401970
add esp, 0xc
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10c]
push eax
push esi
push esi
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x401584
push dword [ebp + 0x14]
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpA]
test eax, eax
je 0x4015a1
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
inc eax
push eax
push dword [ebp + 0x14]
push 1
push esi
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
leave
ret

Function at 0x40164d
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
xor ebx, ebx
cmp eax, ebx
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov dword [ebp + 0xc], ebx
jle 0x4016d9
push edi
xor edi, edi
mov eax, dword [esi + 8]
add eax, edi
mov ecx, dword [eax + 8]
cmp ecx, ebx
je 0x40167c
call ecx
jmp 0x40168f
push dword [eax + 0x10]
push dword [eax + 0xc]
push dword [eax + 4]
push dword [eax]
call fcn.0040150d
add esp, 0x10
push ebx
call fcn.0040109d
mov ecx, dword [esi + 8]
push ebx
mov dword [ecx + edi + 0x14], eax
call fcn.0040109d
pop ecx
pop ecx
mov ecx, dword [esi + 8]
mov dword [ecx + edi + 0x18], eax
lea eax, [ebp + 8]
push eax
mov eax, dword [esi + 8]
push ebx
add eax, edi
push eax
push 0x4015ad
push ebx
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov ecx, dword [esi + 8]
inc dword [ebp + 0xc]
mov dword [ecx + edi + 0x1c], eax
mov eax, dword [ebp + 0xc]
add edi, 0x20
cmp eax, dword [esi + 4]
jl 0x40166c
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x401df4
Capabilities:
Get file attributes

Disassembly:
sub esp, 0x108
push ebx
push ebp
push esi
push edi
xor esi, esi
push esi
call dword [sym.imp.ole32.dll_CoInitialize]
push 0x404380
mov ebp, 0x404278
push ebp
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
mov ebx, dword [sym.imp.KERNEL32.DLL_SetEvent]
push esi
call ebx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push esi
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
push 0x403218
push ebp
call dword [sym.imp.KERNEL32.DLL_lstrcatA]
push 0x5f
push 0x40319c
call fcn.0040128d
pop ecx
pop ecx
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401e4a
mov edi, ebp
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x401e56
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor esi, esi
push esi
push esi
push 0x403194
push 0x7d
push ebp
call fcn.004012bb
add esp, 0x14
push 0x403184
push 0x403174
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push esi
mov edi, eax
call ebx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push esi
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
push ebp
call edi
cmp eax, esi
mov dword [esp + 0x10], eax
je 0x401f1c
mov esi, str.DllR
lea edi, [esp + 0x14]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x14]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x401ec4
mov esi, str.egiste
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x14]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x401eda
mov esi, str.rServer
movsd dword es:[edi], dword [esi]
push 0
movsd dword es:[edi], dword [esi]
call ebx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push 0
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
test eax, eax
je 0x401f10
call eax
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
xor esi, esi
push esi
push esi
push 3
push esi
push 1
push 0x80000000
push ebp
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
push esi
mov dword [0x404484], eax
call ebx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push esi
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
call dword [sym.imp.ole32.dll_CoUninitialize]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret
Function at 0x4020f1
Capabilities:
Get file attributes
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_SetEvent]
push edi
push 0
mov byte [ebp - 1], 0
call esi
mov edi, dword [sym.imp.USER32.dll_GetDesktopWindow]
call edi
mov ebx, dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
push 0
call ebx
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x63
push 0x403224
call fcn.0040128d
pop ecx
pop ecx
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402188
push eax
call esi
call edi
push 0
call ebx
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
mov esi, str.Path
push 0
push 0
lea edi, [ebp - 0x10c]
lea eax, [ebp - 0x10c]
movsd dword es:[edi], dword [esi]
push eax
push dword [ebp - 8]
movsb byte es:[edi], byte [esi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40217f
mov byte [ebp - 1], 1
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x402190
Capabilities:
Get file attributes
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_SetEvent]
push edi
xor ebx, ebx
push ebx
mov dword [ebp - 4], ebx
call esi
mov edi, dword [sym.imp.USER32.dll_GetDesktopWindow]
call edi
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
call ebx
lea eax, [ebp - 0xc]
push eax
push str.Software
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x402248
lea eax, [ebp - 8]
push eax
push 0x5f
push 0x403520
call fcn.0040128d
pop ecx
pop ecx
push eax
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x40223f
push eax
mov dword [ebp - 0x10], 4
call esi
call edi
xor esi, esi
push esi
call ebx
push dword [ebp + 8]
lea eax, [ebp - 0x114]
push 0x40351c
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
push esi
push esi
lea eax, [ebp - 0x114]
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402250
Capabilities:
Delete registry key
Get file attributes
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_SetEvent]
push edi
push 0
call esi
mov edi, dword [sym.imp.USER32.dll_GetDesktopWindow]
call edi
mov ebx, dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
push 0
call ebx
lea eax, [ebp - 4]
push eax
push 0x2001f
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40229a
mov eax, 0x3f3
jmp 0x402302
push 0
call esi
call edi
push 0
call ebx
push 0x105
lea eax, [ebp - 0x110]
push eax
push 0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
push 0
mov dword [ebp - 8], eax
call esi
call edi
push 0
call ebx
cmp dword [ebp - 8], 0
jne 0x4022e3
lea eax, [ebp - 0x110]
push eax
push dword [ebp - 4]
call fcn.00402250
test eax, eax
pop ecx
pop ecx
je 0x4022a4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
call esi
call edi
push 0
call ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40266b
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0xc
push ebp
call fcn.00402307
push 0xc
call fcn.00401021
xor ebp, ebp
cmp eax, ebp
pop ecx
je 0x402696
push 9
push 0x404020
mov ecx, eax
call fcn.0040164d
mov dword [esp + 8], eax
jmp 0x40269a
mov dword [esp + 8], ebp
push ebx
push esi
push edi
push str.__ISA_UPDATE__
push ebp
push ebp
push ebp
call dword [sym.imp.KERNEL32.DLL_CreateEventA]
mov esi, dword [sym.imp.KERNEL32.DLL_SetEvent]
push ebp
mov dword [esp + 0x14], eax
call esi
mov edi, dword [sym.imp.USER32.dll_GetDesktopWindow]
call edi
mov ebx, dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
push ebp
call ebx
push ebp
push 0x401f55
call fcn.004010e3
cmp dword [esp + 0x18], ebp
pop ecx
pop ecx
mov dword [esp + 0x18], eax
je 0x4026fe
push 0xffffffffffffffff
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push ebp
call esi
call edi
push ebp
call ebx
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 0x36
push 0x4031a8
call fcn.0040128d
push eax
call fcn.004010ad
push 0xffffffffffffffff
push dword [esp + 0x28]
call fcn.004010fe
add esp, 0x14
push ebp
call esi
call edi
push ebp
call ebx
mov eax, dword [0x404484]
cmp eax, 0xffffffff
pop edi
pop esi
pop ebx
je 0x40273a
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [esp + 8], ebp
pop ebp
je 0x40274c
push 1
push dword [esp + 8]
call fcn.00401000
add esp, 0xc
ret

Function at 0x402750
Capabilities:
Get file attributes

Disassembly:
push ecx
push ecx
push 0xc
call fcn.00401021
test eax, eax
pop ecx
je 0x40276a
mov ecx, eax
call fcn.004011a2
mov dword [esp], eax
jmp 0x40276e
and dword [esp], 0
push ebx
push ebp
push esi
push edi
push 0x104
mov ebx, 0x404380
push ebx
call fcn.004020f1
test al, al
mov esi, dword [sym.imp.KERNEL32.DLL_SetEvent]
mov edi, dword [sym.imp.USER32.dll_GetDesktopWindow]
mov ebp, dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
pop ecx
pop ecx
jne 0x4027d6
push 0
call esi
call edi
push 0
call ebp
push 0x104
push ebx
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
push 0x5c
push ebx
call fcn.00401070
pop ecx
pop ecx
xor ebx, ebx
push ebx
mov dword [esp + 0x18], eax
call esi
call edi
push ebx
call ebp
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4027d8
mov byte [eax], bl
jmp 0x4027d8
xor ebx, ebx
push ebx
call esi
call edi
push ebx
call ebp
push 0xb
push str.00_.0__:.__00
call fcn.0040128d
pop ecx
pop ecx
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateEventA]
cmp eax, ebx
mov dword [esp + 0x14], eax
je 0x402831
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0xb7
je 0x402827
push ebx
call esi
call edi
push ebx
call ebp
call fcn.00401df4
push ebx
call esi
call edi
push ebx
call ebp
call fcn.0040266b
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov esi, dword [esp + 0x10]
cmp esi, ebx
je 0x402847
mov ecx, esi
call fcn.004011c3
push esi
call fcn.00401035
pop ecx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret
Function at 0x1005387
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push 0x10020fc
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10053df
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x1002138
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10053d2
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x10053e1
xor eax, eax
pop esi
leave
ret 4

Function at 0x10054ad
Capabilities:
Parse pe header

Disassembly:
push 0x70
push 0x1002140
call fcn.010056b0
xor ebx, ebx
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x10054ea
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10054ea
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x1005502
cmp eax, 0x20b
je 0x10054ef
mov dword [ebp - 0x1c], ebx
jmp 0x1005516
cmp dword [ecx + 0x84], 0xe
jbe 0x10054ea
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x1005510
cmp dword [ecx + 0x74], 0xe
jbe 0x10054ea
xor eax, eax
cmp dword [ecx + 0xe8], ebx
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x1007140], 0xffffffff
or dword [0x1007144], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x1007134]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x1007130]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x1007148], eax
call fcn.010056a6
cmp dword [0x10070f4], ebx
jne 0x1005571
push fcn.010056a6
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.0100568f
push 0x1007010
push 0x100700c
call sub.msvcrt.dll__initterm
mov eax, dword [0x100712c]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x1007128]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x38], eax
push 0x1007008
push section..data
call sub.msvcrt.dll__initterm
add esp, 0x24
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
cmp byte [esi], 0x22
jne 0x1005607
inc esi
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, bl
je 0x10055db
cmp al, 0x22
jne 0x10055cd
cmp byte [esi], 0x22
jne 0x10055e4
inc esi
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, bl
je 0x10055ee
cmp al, 0x20
jbe 0x10055e0
mov dword [ebp - 0x54], ebx
lea eax, [ebp - 0x80]
push eax
jmp 0x1008d9f
cmp byte [esi], 0x20
jbe 0x10055e4
inc esi
mov dword [ebp - 0x20], esi
jmp 0x1005607
Function at 0x100097c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
xor esi, esi
lea eax, [edx + eax*2]
mov dword [ebp - 0x10], eax
movzx eax, byte [edx + 1]
cmp byte [edx], ch
lea edx, [edx + 2]
lea edi, [esi + eax]
jne 0x10009810
cmp edi, esi
jb 0x1000987b
cmp edi, dword [ebp + 0x10]
ja 0x1000988e
add esi, dword [ebp + 0xc]
nop word [eax + eax]
test eax, eax
je 0x10009812
dec eax
cmp byte [esi], cl
lea esi, [esi + 1]
jne 0x10009800
jmp 0x1000986f
ja 0x10009819
cmp edx, dword [ebp - 0x10]
mov esi, edi
jne 0x100097d5
mov edi, dword [ebp + 0x18]
movzx ecx, cx
mov al, 1
add edi, ebx
nop word cs:[eax + eax]
nop dword [eax]
movzx edx, byte [ebx]
lea esi, [ebx + 1]
test dl, dl
js 0x10009850
mov ebx, esi
sub ecx, edx
jns 0x10009867
jmp 0x10009871
cmp esi, edi
je 0x100098a2
movzx esi, byte [ebx + 1]
and edx, 0x7f
add ebx, 2
shl edx, 8
or edx, esi
sub ecx, edx
js 0x10009871
xor al, 1
cmp ebx, edi
jne 0x10009830
jmp 0x10009871
xor eax, eax
and al, 1
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, esi
mov edx, edi
push 0x16a442c
call fcn.100083d0
add esp, 4
ud2
mov edx, dword [ebp + 0x10]
mov ecx, edi
push 0x16a442c
call fcn.10007b00
add esp, 4
ud2
mov ecx, 0x16acb2c
mov edx, 0x2b
push 0x16a441c
call fcn.10007ff0
add esp, 4
ud2
Function at 0x1002ab50
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x20
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
cmp byte [edx + 0x1195], 0
mov edi, edx
mov dword [esp + 4], ecx
je 0x1002abb6
mov edx, edi
lea ecx, [esp + 8]
push ebx
push esi
push eax
push 3
push 0
call fcn.10029380
add esp, 0x14
movq xmm0, qword [esp + 8]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
movd ecx, xmm0
test ecx, ecx
je 0x1002ac7d
mov ecx, dword [esp + 4]
movq qword [ecx], xmm0
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
jmp 0x1002acb4
cmp byte [edi + 0x1196], 0
je 0x1002acbc
mov byte [edi + 0x1190], 0xc
xor edi, edi
lea esi, [0x16a5efd]
lea edx, [0x16a5efe]
mov eax, 0xfffffff9
mov dword [esp + 0x18], 0
nop word cs:[eax + eax]
nop
movzx ebx, byte [esi]
mov esi, edx
mov edx, ebx
add dl, 0xd0
cmp dl, 0xa
jb 0x1002ac15
or bl, 0x20
mov edx, ebx
add dl, 0x9f
cmp dl, 6
jae 0x1002ad17
add bl, 0xa9
mov edx, ebx
mov ecx, edi
movzx ebx, dl
lea edx, [esi + 1]
shl ecx, 4
or ebx, ecx
test eax, eax
cmove edx, esi
je 0x1002ac36
shld dword [esp + 0x18], edi, 4
inc eax
test esi, esi
mov edi, ebx
jne 0x1002abf0
mov ecx, 0x16a5a3b
mov edx, 9
xor ebx, 0x12
call fcn.1000bf90
mov edi, eax
test eax, eax
mov esi, 1
mov ecx, 0x16a5840
mov edx, 0x12
cmove edi, esi
call fcn.1000bf90
mov ecx, dword [esp + 4]
test eax, eax
cmove eax, esi
mov dword [ecx], edi
mov dword [ecx + 4], eax
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], 0
jmp 0x1002acb4
movzx ecx, byte [edi + 0x118b]
cmp ecx, 0x10
jae 0x1002ad03
mov dword [edi + ecx*8], edx
mov dword [edi + ecx*8 + 4], eax
mov eax, dword [edi + 0x1178]
add dword [edi + 0xa0], eax
mov eax, dword [esp + 4]
adc dword [edi + 0xa4], 0
mov byte [edi + 0x1190], 0xd
mov dword [eax], 0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edx, edi
lea ecx, [esp + 8]
push ebx
push esi
push eax
push 2
push 0
call fcn.10029380
add esp, 0x14
movq xmm0, qword [esp + 8]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
movd ecx, xmm0
test ecx, ecx
jne 0x1002aba3
movzx ecx, byte [edi + 0x118b]
cmp ecx, 0x10
jb 0x1002ac89
mov edx, 0x10
push 0x16a5f08
jmp 0x1002ad0d
mov edx, 0x10
push 0x16a5f18
call fcn.10007630
add esp, 4
ud2
mov ecx, 0x16ac7bc
mov edx, 0xe
push 0x16a4dc0
call fcn.10007ff0
add esp, 4
ud2
Function at 0x1002b9a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x20
cmp byte [edx + 0x118a], 3
mov edi, edx
mov esi, ecx
jne 0x1002b9fa
movzx ecx, byte [edi + 0x118c]
cmp ecx, 0x10
jae 0x1002baf2
movzx eax, byte [edi + 0xa8]
mov dword [esi], 0
and al, 1
mov byte [edi + ecx*8], al
mov eax, dword [edi + 0x1178]
add dword [edi + 0xa0], eax
adc dword [edi + 0xa4], 0
mov byte [edi + 0x1190], 0xd
jmp 0x1002baea
lea ecx, [esp + 8]
mov edx, edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
push 0
call fcn.10029380
add esp, 0x14
movq xmm0, qword [esp + 8]
movd eax, xmm0
test eax, eax
je 0x1002ba3a
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
movq qword [esi], xmm0
mov dword [esi + 8], ecx
mov dword [esi + 0xc], eax
jmp 0x1002baea
mov dword [esp], esi
mov byte [edi + 0x1190], 0xc
xor edi, edi
lea esi, [0x16a5ec1]
lea edx, [0x16a5ec2]
mov eax, 0xfffffff9
mov dword [esp + 4], 0
nop
movzx ebx, byte [esi]
mov esi, edx
mov edx, ebx
add dl, 0xd0
cmp dl, 0xa
jb 0x1002ba85
or bl, 0x20
mov edx, ebx
add dl, 0x9f
cmp dl, 6
jae 0x1002bb06
add bl, 0xa9
mov edx, ebx
mov ecx, edi
movzx ebx, dl
lea edx, [esi + 1]
shl ecx, 4
or ebx, ecx
test eax, eax
cmove edx, esi
je 0x1002baa6
shld dword [esp + 4], edi, 4
inc eax
test esi, esi
mov edi, ebx
jne 0x1002ba60
mov ecx, 0x16a5a3b
mov edx, 9
xor ebx, 0x1a
call fcn.1000bf90
mov edi, eax
test eax, eax
mov esi, 1
mov ecx, 0x16a5840
mov edx, 0x12
cmove edi, esi
call fcn.1000bf90
mov ecx, dword [esp]
test eax, eax
cmove eax, esi
mov dword [ecx], edi
mov dword [ecx + 4], eax
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], 0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edx, 0x10
push 0x16a5eec
call fcn.10007630
add esp, 4
ud2
mov ecx, 0x16ac7bc
mov edx, 0xe
push 0x16a4dc0
call fcn.10007ff0
add esp, 4
ud2
Function at 0x1003ab40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [ebp + 0x14]
movzx esi, byte [ebp + 0x18]
mov edi, ecx
mov ecx, dword [ebp + 0x10]
or eax, dword [ebp + 8]
or esi, edx
mov edx, dword [ebp + 0xc]
and ecx, 0xfffff000
or esi, ecx
lea ecx, [ebp - 0x28]
push eax
push esi
call fcn.10036ef0
add esp, 8
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x1003ab92
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov dword [edi], eax
mov dword [edi + 4], edx
mov dword [edi + 0xc], ecx
mov dword [edi + 8], esi
jmp 0x1003ac69
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x10], edi
xor edi, edi
lea esi, [0x16a9441]
mov ecx, 0xfffffff9
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], eax
lea eax, [0x16a9442]
nop word cs:[eax + eax]
nop
movzx ebx, byte [esi]
mov esi, eax
mov eax, ebx
add al, 0xd0
cmp al, 0xa
jb 0x1003abe1
or bl, 0x20
mov eax, ebx
add al, 0x9f
cmp al, 6
jae 0x1003ac71
add bl, 0xa9
mov eax, ebx
mov edx, edi
movzx ebx, al
lea eax, [esi + 1]
shl edx, 4
or ebx, edx
test ecx, ecx
cmove eax, esi
je 0x1003ac01
shld dword [ebp - 0x18], edi, 4
inc ecx
test esi, esi
mov edi, ebx
jne 0x1003abc0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x1003ac22
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp - 0x10]
and eax, 0xfff
movzx eax, byte [ecx + eax]
mov byte [edx + 4], al
mov dword [edx], 0
jmp 0x1003ac69
mov ecx, 0x16ac9d1
mov edx, 0x13
xor ebx, 0x2c7
call fcn.1000bf90
mov ecx, 0x16ac9ad
mov edx, 6
mov edi, eax
call fcn.1000bf90
mov edx, dword [ebp - 0x10]
test eax, eax
mov ecx, 1
cmove eax, ecx
test edi, edi
cmove edi, ecx
mov dword [edx], edi
mov dword [edx + 4], eax
mov dword [edx + 8], ebx
mov dword [edx + 0xc], 0
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, 0x16ac7bc
mov edx, 0xe
push 0x16a4dc0
call fcn.10007ff0
add esp, 4
ud2
Function at 0x1003dd40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x350
mov dword [esp + 0x30c], ecx
call fcn.1003dd5b
Function at 0x100615a0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
mov eax, 0x5040
call 0x10073a2f
call fcn.100615b8