joyce8/EMBER2024-capa huggingface dataset:
Function at 0x702a43f1
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x218], 0
je 0x702a4405
call fcn.702a5f60
pop esi
pop ecx
ret
test byte [esi + 0x2c], 1
jne 0x702a440f
or dword [esi + 0x2c], 4
mov eax, dword [esi + 0x214]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ResetEvent]
push ebp
push edi
mov ebp, 0x80004005
mov dword [esp + 0x10], 0
test eax, eax
jne 0x702a4445
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x214], eax
jmp 0x702a4448
push eax
call ebx
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
lea eax, [esp + 0x10]
push eax
push 0
push esi
push 0x702a5f40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
jne 0x702a447e
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
pop edi
mov eax, ebp
pop ebp
pop ebx
pop esi
pop ecx
ret
test byte [esi + 0x2c], 4
je 0x702a449f
mov ecx, dword [esi + 0x214]
push 0xbb8
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esi + 0x214]
push edx
call ebx
push edi
xor ebp, ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, ebp
pop ebp
pop ebx
pop esi
pop ecx
ret
Function at 0x702a68c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x7030f14c
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x7034b250]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
mov dword [esi], vtable.CUrlQueryUrlBase.0
xor ebx, ebx
mov dword [esi + 4], ebx
mov edi, 0xf
mov dword [esi + 0x20], edi
mov dword [esi + 0x1c], ebx
mov byte [esi + 0xc], bl
mov dword [esp + 0x18], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x40], ebx
mov eax, 7
xor ecx, ecx
mov dword [esi + 0x5c], eax
mov dword [esi + 0x58], ebx
mov word [esi + 0x48], cx
xor edx, edx
mov dword [esi + 0x78], eax
mov dword [esi + 0x74], ebx
mov word [esi + 0x64], dx
mov dword [esi + 0x94], edi
mov dword [esi + 0x90], ebx
mov byte [esi + 0x80], bl
lea eax, [esi + 0x98]
push eax
mov byte [esp + 0x1c], 3
call fcn.702a7820
mov dword [esi + 0xcc], edi
mov dword [esi + 0xc8], ebx
mov byte [esi + 0xb8], bl
mov dword [esi + 0xe8], edi
mov dword [esi + 0xe4], ebx
mov byte [esi + 0xd4], bl
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4
Function at 0x702a74b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x7030f5a0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x7034b250]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
mov eax, dword [0x7034b250]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
xor eax, eax
mov esi, ecx
mov dword [esp + 0x14], eax
lea ecx, [esi + 8]
push edi
mov ebx, 0x70331a3c
mov dword [esp + 0x4c], eax
mov dword [esp + 0x14], eax
call fcn.702546a0
add esp, 4
lea eax, [esp + 0xc]
push eax
lea ecx, [esi + 0x24]
push ecx
mov ecx, str.url_bCouldResend
mov ebx, edi
mov dword [esp + 0x14], 0
call fcn.702a6300
lea edx, [esp + 0x14]
push edx
lea eax, [esi + 0x28]
push eax
mov ecx, str.url_bInResendSession
mov dword [esp + 0x1c], 0
call fcn.702a6300
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esi + 0x40]
push edx
mov ecx, str.url_dwExtDatType
mov dword [esp + 0x24], 0
call fcn.702a6480
lea ecx, [esi + 0x44]
push edi
mov ebx, str.url_wszExtDatString
call fcn.70254380
add esp, 0x1c
lea ecx, [esi + 0x7c]
push edi
mov ebx, str.url_szUrlQueryPartsString
call fcn.702546a0
add esp, 4
lea ecx, [esi + 0xb4]
push edi
mov ebx, str.url_szSceneCode
call fcn.702546a0
add esp, 4
lea ecx, [esi + 0x60]
push edi
mov ebx, str.url_wszSourceAnchor
call fcn.70254380
add esp, 4
lea ecx, [esi + 0xd0]
push edi
mov ebx, str.url_szPostData
call fcn.702546a0
xor ebx, ebx
add esp, 4
cmp dword [esi + 0x2c], ebx
je 0x702a7652
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
push ebx
push 0x10
lea ecx, [esp + 0x28]
mov byte [esp + 0x50], 1
add esi, 0x30
call fcn.7020c4b0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x24]
cmp eax, 0x10
jae 0x702a75ef
lea ecx, [esp + 0x24]
push 0x10
push esi
push eax
push ecx
call fcn.702e23bf
mov eax, dword [esp + 0x34]
add esp, 0x10
cmp dword [esp + 0x38], 0x10
mov dword [esp + 0x34], 0x10
jae 0x702a7613
lea eax, [esp + 0x24]
mov byte [eax + 0x10], bl
push edi
lea ecx, [esp + 0x24]
mov ebx, str.url_AppendMD5
call fcn.702546a0
xor ebx, ebx
add esp, 4
mov byte [esp + 0x48], bl
cmp dword [esp + 0x38], 0x10
jb 0x702a7642
mov eax, dword [esp + 0x24]
push eax
call fcn.702e1c24
add esp, 4
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
mov ecx, dword [edi]
mov edx, dword [ecx + 0x14]
push edi
call edx
test eax, eax
jbe 0x702a7666
mov dword [esp + 0x10], 1
lea esi, [esp + 0x14]
mov dword [esp + 0x48], 0xffffffff
call fcn.70299a70
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.702e1c2f
add esp, 0x40
ret
Function at 0x702a9600
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x214
mov eax, dword [0x7034b250]
xor eax, esp
mov dword [esp + 0x210], eax
mov eax, dword [0x7036d920]
cmp eax, 1
jne 0x702a9635
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.702e1c2f
add esp, 0x214
ret 4
mov ecx, dword [0x7036d920]
test ecx, ecx
je 0x702a9658
xor eax, eax
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.702e1c2f
add esp, 0x214
ret 4
push esi
push 0x206
xor esi, esi
lea eax, [esp + 0x12]
xor edx, edx
push esi
push eax
mov word [esp + 0x18], dx
call fcn.702e95e0
add esp, 0xc
push str.urlproc.dll
push 0x70359d48
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x702a96bc
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
call fcn.702156d0
add esp, 0xc
test eax, eax
jne 0x702a96e3
push 2
push 0x7036d920
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
xor eax, eax
pop esi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.702e1c2f
add esp, 0x214
ret 4
push 0x7036d928
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x7036d920]
test eax, eax
jne 0x702a97a6
mov eax, 0x70359a38
call fcn.70227d70
test eax, eax
je 0x702a971f
push 4
call fcn.702e1f8d
add esp, 4
cmp eax, esi
je 0x702a976c
mov dword [eax], vtable.CUrlLibVerC.0
jmp 0x702a976e
mov eax, dword [esp + 8]
cmp eax, 0x20000
ja 0x702a9753
jb 0x702a9737
mov eax, dword [esp + 4]
cmp eax, 0x3e9
jae 0x702a9753
push 0xc
call fcn.702e1f8d
add esp, 4
cmp eax, esi
je 0x702a976c
mov dword [eax], vtable.CUrlLibVerA.0
mov dword [eax + 4], esi
mov dword [eax + 8], esi
jmp 0x702a976e
push 8
call fcn.702e1f8d
add esp, 4
cmp eax, esi
je 0x702a976c
mov dword [eax], vtable.CUrlLibVerB.0
mov dword [eax + 4], esi
jmp 0x702a976e
xor eax, eax
mov ecx, eax
mov dword [0x7036d940], ecx
cmp ecx, esi
je 0x702a978f
mov eax, dword [esp + 0x21c]
mov edx, dword [ecx]
mov edx, dword [edx]
push eax
lea eax, [esp + 0x10]
push eax
call edx
mov esi, eax
mov eax, esi
neg eax
sbb eax, eax
add eax, 2
push eax
push 0x7036d920
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x702a97b2
mov esi, dword [0x7036d920]
dec esi
neg esi
sbb esi, esi
inc esi
push 0x7036d928
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x214]
mov eax, esi
pop esi
xor ecx, esp
call fcn.702e1c2f
add esp, 0x214
ret 4
Function at 0x702ab900
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x70311984
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x7034b250]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, dword [esp + 0x24]
xor ebx, ebx
mov dword [edi], vtable.IUrlLibObjectInf.0
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], 2
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], ebx
mov dword [esp + 0x1c], ebx
mov dword [edi], vtable.CUrlQueryVerB.0
mov dword [edi + 0x20], ebx
mov dword [edi + 0x24], ebx
mov dword [edi + 0x28], ebx
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], ebx
mov dword [edi + 0x38], ebx
mov dword [edi + 0x3c], ebx
mov dword [edi + 0x40], ebx
mov dword [edi + 0x44], ebx
mov dword [edi + 0x48], ebx
mov dword [edi + 0x4c], ebx
mov dword [edi + 0x80], ebx
mov dword [edi + 0x84], ebx
mov dword [edi + 0x88], ebx
mov dword [edi + 0x8c], ebx
mov dword [edi + 0x90], ebx
mov dword [edi + 0x94], ebx
mov dword [edi + 0x98], ebx
mov dword [edi + 0xb4], 0xf
mov dword [edi + 0xb0], ebx
mov byte [edi + 0xa0], bl
lea eax, [edi + 0xb8]
push eax
mov byte [esp + 0x20], 1
call fcn.7029f9e0
mov byte [esp + 0x1c], 2
lea esi, [edi + 0xf4]
mov dword [edi + 0xf0], ebx
call fcn.702aaa70
mov dword [edi + 0x50], ebx
mov dword [edi + 0x54], ebx
mov dword [edi + 0x58], ebx
mov dword [edi + 0x5c], ebx
mov dword [edi + 0x60], ebx
mov dword [edi + 0x64], ebx
mov dword [edi + 0x68], ebx
mov dword [edi + 0x6c], ebx
mov dword [edi + 0x70], ebx
mov dword [edi + 0x74], ebx
mov dword [edi + 0x78], ebx
mov dword [edi + 0x7c], ebx
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x702b2170
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0xc]
test eax, eax
jle 0x702b21f5
lea edx, [eax + ebx - 1]
push esi
mov dword [esp + 8], edx
mov dword [esp + 0x10], eax
push edi
mov al, byte [ebp]
test al, al
je 0x702b21df
movzx eax, al
mov al, byte [eax + 0x70350860]
xor ecx, ecx
test ebx, ebx
jle 0x702b21cf
movzx esi, al
mov edx, dword [ebx*4 + 0x70350e38]
movzx eax, byte [edx + ecx]
add eax, esi
cdq
mov edi, 0xff
idiv edi
inc ecx
movzx eax, dl
mov dl, byte [eax + 0x70350760]
xor dl, byte [ecx + ebp]
cmp ecx, ebx
mov byte [ecx + ebp - 1], dl
jl 0x702b21a1
mov edx, dword [esp + 0xc]
cmp ebx, edx
jge 0x702b21ec
lea edi, [ebx + ebp]
mov ecx, edx
lea esi, [edi + 1]
sub ecx, ebx
jmp 0x702b21ea
test edx, edx
jle 0x702b21ec
lea esi, [ebp + 1]
mov ecx, edx
mov edi, ebp
rep movsb byte es:[edi], byte [esi]
sub dword [esp + 0x14], 1
jne 0x702b2188
pop edi
pop esi
pop ebp
pop ecx
ret 4

Function at 0x702b3e60
Capabilities:
Get file size
Read file on windows

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 1
push SysReAllocStringLen
push eax
mov dword [esp + 0x30], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x702b3e91
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 8
push edi
lea ecx, [esp + 0x18]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp dword [esp + 0x18], ebx
ja 0x702b3ee2
cmp edi, 0x100000
jae 0x702b3ee2
cmp ebp, ebx
je 0x702b3edc
mov eax, dword [esp + 0x1c]
cmp dword [eax], edi
jb 0x702b3ee2
push ebx
lea ecx, [esp + 0x14]
push ecx
push edi
push ebp
push esi
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x702b3ee2
cmp dword [esp + 0x10], edi
jne 0x702b3ee2
mov ebx, 1
mov edx, dword [esp + 0x1c]
mov dword [edx], edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
pop ecx
ret 8
Function at 0x702b3f00
Capabilities:
Check if file exists

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov ebx, eax
xor esi, esi
push edi
mov edi, ecx
cmp ebx, esi
jne 0x702b3f24
cmp dword [esp + 0x20], esi
jne 0x702b3f24
lea eax, [esi + 1]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x10
cmp edi, esi
je 0x702b3ff7
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x702b3ff7
lea eax, [esp + 0x18]
push eax
push 0
mov eax, edi
mov dword [esp + 0x20], esi
call fcn.702b3e60
mov eax, dword [esp + 0x18]
test eax, eax
je 0x702b3f7a
push 0x70358018
push eax
call fcn.702e36d5
mov esi, eax
add esp, 8
test esi, esi
je 0x702b3f7a
lea ecx, [esp + 0x18]
push ecx
push esi
mov eax, edi
call fcn.702b3e60
test eax, eax
jne 0x702b3f81
mov edi, 3
jmp 0x702b3fe0
mov edx, dword [esi]
mov dword [ebp], edx
mov eax, dword [esi]
cmp eax, 0x55444b48
je 0x702b3f9d
cmp eax, 0x56444b48
je 0x702b3f9d
mov edi, 4
jmp 0x702b3fe0
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x10]
push eax
push ecx
mov ecx, dword [esp + 0x24]
push ebx
mov ebx, dword [esp + 0x24]
push ebx
push ebp
mov edx, esi
mov edi, 5
mov dword [esp + 0x24], 0
call fcn.702b3bc0
test eax, eax
je 0x702b3fe0
mov edx, dword [esp + 0x10]
test edx, edx
je 0x702b3fe0
mov ecx, dword [esp + 0x24]
push ebx
push esi
push ebp
call fcn.702b3980
mov edi, eax
test esi, esi
je 0x702b3fed
push esi
call fcn.702e1ea6
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x10
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
pop ecx
ret 0x10

Function at 0x702b45d0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x7034b250]
xor eax, esp
mov dword [esp + 0x208], eax
push 0x208
lea eax, [esp + 4]
push 0
push eax
call fcn.702e95e0
lea ecx, [esp + 0xc]
add esp, 0xc
test ecx, ecx
je 0x702b4612
push 0x104
mov edx, ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x702b462b
xor eax, eax
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.702e1c2f
add esp, 0x20c
ret 4
push esi
lea eax, [esp + 4]
push eax
mov ecx, eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
je 0x702b4612
cmp dword [esp + 0x210], 0
jne 0x702b4656
lea edx, [esp]
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x702b4660
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.702e1c2f
add esp, 0x20c
ret 4

Function at 0x702b4730
Capabilities:
Check if file exists

Disassembly:
push ebx
mov ebx, eax
test ebx, ebx
je 0x702b4775
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x702b4775
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.702b46c0
add esp, 4
test eax, eax
je 0x702b476a
mov eax, 0x70354e60
call fcn.702b7430
test eax, eax
je 0x702b476a
mov eax, 1
pop ebx
ret
push ebx
call fcn.702da5e0
add esp, 4
pop ebx
ret
xor eax, eax
pop ebx
ret
Function at 0x702b6a30
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x703117cb
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x7034b250]
xor eax, esp
mov dword [esp + 0x224], eax
push ebx
push esi
mov eax, dword [0x7034b250]
xor eax, esp
push eax
lea eax, [esp + 0x234]
mov dword fs:[0], eax
mov eax, dword [esp + 0x244]
push eax
mov ebx, str.config.ini
lea esi, [esp + 0x10]
call fcn.702b70d0
add esp, 4
mov dword [esp + 0x23c], 0
mov eax, dword [esp + 0x10]
mov ebx, 8
cmp dword [esp + 0x24], ebx
jae 0x702b6aa0
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x702b6ac5
cmp dword [esp + 0x24], ebx
jb 0x702b6abe
mov eax, dword [esp + 0x10]
push eax
call fcn.702e1c24
add esp, 4
xor eax, eax
jmp 0x702b6b43
push 0x208
lea ecx, [esp + 0x2c]
push 0
push ecx
call fcn.702e95e0
mov eax, dword [esp + 0x1c]
add esp, 0xc
cmp dword [esp + 0x24], ebx
jae 0x702b6ae7
lea eax, [esp + 0x10]
push eax
push 0x104
lea edx, [esp + 0x30]
push edx
push 0x70332c60
push str.language
push 0x70332c7c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x28]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x702b6b10
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x2c]
mov esi, edi
call fcn.7020f4d0
cmp dword [esp + 0x24], ebx
jb 0x702b6b3e
mov eax, dword [esp + 0x10]
push eax
call fcn.702e1c24
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x234]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x224]
xor ecx, esp
call fcn.702e1c2f
add esp, 0x234
ret
Function at 0x702b70d0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x7030fdc8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push edi
mov eax, dword [0x7034b250]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor edi, edi
xor eax, eax
push 0xffffffffffffffff
mov word [esp + 0x14], ax
mov eax, dword [esp + 0x3c]
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], edi
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], edi
call fcn.7020f220
mov eax, ebx
mov dword [esp + 0x30], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x702b7126
sub eax, edx
sar eax, 1
push eax
mov eax, ebx
lea ecx, [esp + 0x10]
call fcn.70219cc0
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push 0xffffffffffffffff
mov word [esi + 4], cx
push edi
mov ecx, esi
call fcn.7020f220
cmp dword [esp + 0x24], 8
jb 0x702b716f
mov edx, dword [esp + 0x10]
push edx
call fcn.702e1c24
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x2c
ret

Function at 0x702b7240
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x70
mov eax, dword [0x7034b250]
xor eax, esp
mov dword [esp + 0x6c], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, ecx
xor ecx, ecx
push eax
mov eax, dword [ebp + 0xc]
lea esi, [esp + 0xc]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], 0x67452301
mov dword [esp + 0x18], 0xefcdab89
mov dword [esp + 0x1c], 0x98badcfe
mov dword [esp + 0x20], 0x10325476
call fcn.702b7b80
add esp, 4
mov eax, esi
call fcn.702b7c90
mov ecx, dword [esp + 0x74]
pop edi
pop esi
xor ecx, esp
call fcn.702e1c2f
mov esp, ebp
pop ebp
ret

Function at 0x702b7300
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
sub esp, 0x214
mov eax, dword [0x7034b250]
xor eax, esp
mov dword [esp + 0x210], eax
push esi
push 0x208
lea eax, [esp + 0x10]
push 0
push eax
mov esi, ecx
call fcn.702e95e0
add esp, 0xc
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0xc]
push eax
push str.Path
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], 0x208
mov dword [esp + 0x1c], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x702b737b
xor eax, eax
pop esi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.702e1c2f
add esp, 0x214
ret
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x702b7363
lea eax, [esp + 0xc]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x702b7391
sub eax, edx
sar eax, 1
push eax
add esi, 0x24
lea eax, [esp + 0x10]
call fcn.7020f4d0
mov ecx, dword [esp + 0x214]
pop esi
xor ecx, esp
mov eax, 1
call fcn.702e1c2f
add esp, 0x214
ret
Function at 0x702b7520
Capabilities:
Create new key via cryptacquirecontext
Generate random numbers via winapi

Disassembly:
push ecx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
push 0
push 1
push 0
push 0
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x18], 0
call esi
test eax, eax
jne 0x702b756a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090016
je 0x702b7557
xor eax, eax
pop esi
pop ecx
ret 4
push 8
push 1
push 0
push 0
lea ecx, [esp + 0x14]
push ecx
call esi
test eax, eax
je 0x702b7550
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 4]
push edx
push 0x20
push eax
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
mov ecx, dword [esp + 4]
push 0
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, esi
pop esi
pop ecx
ret 4
Function at 0x702b9240
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x54
mov eax, dword [0x7034b250]
xor eax, esp
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x5c]
push esi
push edi
mov edi, edx
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 8], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
lea edx, [esp + 8]
lea eax, [esp + 0x18]
call fcn.702ba030
mov esi, dword [esp + 0x60]
lea edx, [esp + 0x18]
mov eax, edx
xor ecx, ecx
sub esi, edx
sub edi, eax
lea ebx, [ebx]
lea eax, [esp + ecx + 0x18]
mov dl, byte [esi + eax]
xor dl, byte [eax]
inc ecx
mov byte [edi + eax], dl
cmp ecx, 0x30
jb 0x702b9290
mov ecx, dword [esp + 0x58]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.702e1c2f
add esp, 0x54
ret

Function at 0x702b92c0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
sub esp, 0x44
push ebx
push esi
push edi
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0xc], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x10], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x14], ecx
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x18], edx
mov edx, dword [eax + 0x14]
mov dword [esp + 0x1c], ecx
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x20], edx
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x24], ecx
mov ecx, dword [eax + 0x20]
mov dword [esp + 0x28], edx
mov edx, dword [eax + 0x24]
mov dword [esp + 0x2c], ecx
mov ecx, dword [eax + 0x28]
mov dword [esp + 0x30], edx
mov edx, dword [eax + 0x2c]
mov dword [esp + 0x34], ecx
mov ecx, dword [eax + 0x30]
mov dword [esp + 0x38], edx
mov edx, dword [eax + 0x34]
mov dword [esp + 0x3c], ecx
mov ecx, dword [eax + 0x38]
mov dword [esp + 0x40], edx
mov edx, dword [eax + 0x3c]
mov dword [esp + 0x44], ecx
mov ecx, dword [eax + 0x40]
mov dword [esp + 0x48], edx
xor edx, edx
mov esi, 0x70325280
mov dword [esp + 0x4c], ecx
mov ecx, eax
sub esi, eax
lea edi, [edx + 0x11]
lea ebx, [ebx]
mov ebx, dword [esi + ecx]
add ebx, dword [ecx]
add ecx, 4
add edx, ebx
movzx ebx, dl
mov dword [ecx - 4], ebx
shr edx, 8
sub edi, 1
jne 0x702b9350
mov edx, dword [eax + 0x40]
shr edx, 7
lea esi, [esp + 0xc]
neg edx
sub esi, eax
mov edi, 0x11
jmp 0x702b9380
mov ecx, dword [eax]
mov ebx, dword [esi + eax]
xor ebx, ecx
and ebx, edx
xor ebx, ecx
mov dword [eax], ebx
add eax, 4
sub edi, 1
jne 0x702b9380
pop edi
pop esi
pop ebx
add esp, 0x44
ret
Function at 0x702d9740
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x68
mov eax, dword [0x7034b250]
xor eax, esp
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x6c]
xor ecx, ecx
push esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ecx
push eax
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.702dd230
add esp, 4
lea esi, [esp + 8]
mov ecx, edi
call fcn.702dd2d0
mov ecx, dword [esp + 0x64]
pop esi
xor ecx, esp
call fcn.702e1c2f
add esp, 0x68
ret