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

Disassembly:
push 0xffffffffffffffff
push 0x70315452
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x7034b250]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebx, ecx
push 0x70358018
xor edi, edi
push 0x20
mov dword [esp + 0x1c], edi
call fcn.702e5548
add esp, 8
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], edi
cmp eax, edi
je 0x7024f306
push eax
call fcn.7024f130
mov esi, eax
cmp esi, edi
jne 0x7024f31c
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea edi, [esi + 0x1c]
push edi
call ebp
mov eax, dword [ebx]
test eax, eax
je 0x7024f372
mov ecx, dword [ebx]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x7024f372
push edi
mov dword [esp + 0x1c], 0
call ebp
mov eax, dword [ebx]
lea edx, [esp + 0x18]
push edx
push 0x3e8
push 0
push esi
push ebx
push 0x473
push eax
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
je 0x7024f372
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x7024f3d1
push edi
call ebp
lea ecx, [esp + 0x1c]
push ecx
push 0
push esi
push 0x7024f260
push 0
push 0
mov dword [esp + 0x34], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov ebx, eax
test ebx, ebx
je 0x7024f3c1
push 0xbb8
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x7024f3b8
mov edx, dword [esi + 0x18]
mov dword [esp + 0x14], edx
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x7024f3d1
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x7024f3d1
call fcn.7024f210
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x7024f3e1
call fcn.7024f210
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x702588d0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x70319ed0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x7034b250]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
call fcn.702237c0
mov eax, dword [0x703580e4]
mov edx, dword [eax + 0xc]
mov ecx, 0x703580e4
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x34], 0
mov ebp, dword [esp + 0x44]
mov ebx, dword [esp + 0x40]
lea eax, [esp + 0x14]
push ebp
push eax
call fcn.7023e2a0
mov edi, dword [ebp]
mov ebx, dword [esp + 0x44]
add esp, 8
test edi, edi
je 0x70258977
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x70258940
sub eax, edx
sar eax, 1
push eax
lea esi, [edi + 0x1370]
mov eax, ebx
call fcn.7020f4d0
cmp dword [edi + 0xa4], 0
mov ecx, dword [esp + 0x48]
mov dword [edi + 0x136c], ecx
jne 0x70258977
mov ecx, edi
call fcn.70289f00
mov dword [esp + 0x3c], 0
mov edx, dword [esp + 0x4c]
mov byte [esp + 0x34], 1
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x14]
push edx
push eax
push ebx
mov ecx, esi
call fcn.70258000
add esp, 0xc
cmp dword [ebp], 0
mov ebx, eax
je 0x70258a3f
test bl, 2
je 0x70258a3f
mov eax, 4
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x4c]
push edx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x48]
push eax
push 0x7032d4a4
push str.SOFTWARE360Safe_safemon
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x60], 0
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [esp + 0x48], 0
jne 0x70258a3f
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov eax, dword [ebp]
mov ecx, dword [eax + 0x70]
mov edx, dword [eax + 0xa4]
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], 1
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], 0x4ca
call fcn.702326f0
push eax
lea eax, [esp + 0x1c]
call fcn.70232740
lea eax, [esi - 0x10]
mov dword [esp + 0x34], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x70258a63
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0x14
Function at 0x7026f5c0
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x7034b250]
xor eax, ebp
mov dword [ebp + 0x194], eax
mov eax, dword [ebp + 0x1a0]
push ebx
push esi
push edi
mov ebx, ecx
push 0x3f
push ebx
mov dword [ebp - 0x7c], eax
call fcn.702e2f74
mov edi, eax
add esp, 8
test edi, edi
jne 0x7026f604
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [ebx + eax*2]
lea esi, [edi - 2]
cmp esi, ebx
jb 0x7026f626
jmp 0x7026f610
movzx eax, word [esi]
cmp ax, 0x2e
je 0x7026f630
cmp ax, 0x2f
je 0x7026f626
sub esi, 2
cmp esi, ebx
jae 0x7026f610
cmp word [esi], 0x2e
jne 0x7026f7c3
mov eax, edi
sub eax, esi
sar eax, 1
mov dword [ebp - 0x80], eax
lea eax, [eax + eax + 2]
call fcn.702e98d0
mov eax, esp
mov dword [ebp - 0x78], eax
test eax, eax
je 0x7026f7c3
mov ebx, eax
cmp esi, edi
jae 0x7026f671
movzx ecx, word [esi]
push ecx
call fcn.702e5b42
mov word [ebx], ax
add esi, 2
add esp, 4
add ebx, 2
cmp esi, edi
jb 0x7026f655
mov eax, dword [ebp - 0x78]
xor edx, edx
mov word [ebx], dx
xor esi, esi
jmp 0x7026f683
mov eax, dword [ebp - 0x78]
mov ecx, dword [esi + 0x70356eac]
push ecx
push eax
call fcn.702e2ee1
add esp, 8
test eax, eax
je 0x7026f7e5
add esi, 4
cmp esi, 4
jb 0x7026f680
xor esi, esi
mov eax, dword [esi + 0x70356e90]
mov edi, dword [ebp - 0x78]
push eax
push edi
call fcn.702e2ee1
add esp, 8
test eax, eax
je 0x7026f7ee
add esi, 4
cmp esi, 0x1c
jb 0x7026f6a5
push 0
push 1
push 0x7036ee48
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
jne 0x7026f77a
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x72]
push edx
mov word [ebp - 0x74], cx
call fcn.702e95e0
mov ecx, dword [0x7035806c]
add esp, 0xc
push 0x104
lea eax, [ebp - 0x74]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [ebp - 0x74]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x7032ae18
lea eax, [ebp - 0x74]
push eax
mov ecx, eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0x800
call fcn.702df932
add esp, 4
mov dword [0x7036ee4c], eax
test eax, eax
je 0x7026f77a
lea edx, [ebp - 0x74]
push edx
push 0x400
push eax
push 0x70326328
push str.downlink_postfix
push 0x7032ae50
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, dword [0x7036ee4c]
push 2
xor eax, eax
push 0x7036ee48
mov word [ecx + 0x7fe], ax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov edx, dword [0x7036ee48]
cmp edx, 2
jne 0x7026f7c3
mov eax, dword [0x7036ee4c]
push edi
push eax
call fcn.702e3fa7
add esp, 8
test eax, eax
je 0x7026f7c3
jmp 0x7026f7a0
mov ecx, dword [ebp - 0x80]
movzx ecx, word [eax + ecx*2]
cmp cx, 0x2e
je 0x7026f7ee
test cx, cx
je 0x7026f7ee
add eax, 2
push edi
push eax
call fcn.702e3fa7
add esp, 8
test eax, eax
jne 0x7026f7a0
xor eax, eax
lea esp, [ebp - 0x8c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x194]
xor ecx, ebp
call fcn.702e1c2f
add ebp, 0x198
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x7c]
mov dword [edx], 1
mov eax, 1
jmp 0x7026f7c5
Function at 0x702801b0
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov ecx, str.bop_qtgvvct8bop_s8uvgh_suct8g_sh
mov edi, 3
lea esp, [esp]
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x702801c5
sub eax, esi
mov edx, eax
test ecx, ecx
je 0x702801e9
xor eax, eax
test edx, edx
jbe 0x702801e9
lea ebx, [ebx]
xor byte [ecx + eax], 6
inc eax
cmp eax, edx
jb 0x702801e0
add ecx, 0x68
sub edi, 1
jne 0x702801c0
pop edi
pop esi
ret

Function at 0x70280e50
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, 0x70351e74
mov ebx, 3
lea ecx, [ecx]
lea ecx, [esi - 0x20]
mov eax, ecx
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x70280e68
sub eax, edi
mov edx, eax
lea eax, [esi - 0x20]
test eax, eax
je 0x70280e89
xor eax, eax
test edx, edx
jbe 0x70280e89
xor byte [eax + ecx], 6
inc eax
cmp eax, edx
jb 0x70280e80
mov eax, esi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x70280e90
sub eax, edx
mov ecx, eax
test esi, esi
je 0x70280eae
xor eax, eax
test ecx, ecx
jbe 0x70280eae
xor byte [esi + eax], 6
inc eax
cmp eax, ecx
jb 0x70280ea5
lea ecx, [esi + 0x20]
mov eax, ecx
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x70280eb6
sub eax, edi
mov edx, eax
test ecx, ecx
je 0x70280ed9
xor eax, eax
test edx, edx
jbe 0x70280ed9
jmp 0x70280ed0
xor byte [eax + ecx], 6
inc eax
cmp eax, edx
jb 0x70280ed0
add esi, 0x6c
sub ebx, 1
jne 0x70280e60
pop edi
pop esi
pop ebx
ret

Function at 0x70280f80
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x4c
mov eax, dword [0x7034b250]
xor eax, esp
mov dword [esp + 0x48], eax
push ebp
mov ebp, dword [esp + 0x54]
push esi
push edi
push 0x40
lea eax, [esp + 0x15]
push 0
push eax
mov edi, ecx
mov dword [esp + 0x18], 0
mov byte [esp + 0x1c], 0
call fcn.702e95e0
add esp, 0xc
lea esi, [esp + 0xc]
mov edx, edi
call fcn.70281bd0
test eax, eax
jl 0x70281064
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x70281064
lea eax, [esp + 0x10]
mov edx, eax
mov esi, 0x41
sub edi, edx
lea edx, [esi + 0x7fffffbd]
test edx, edx
je 0x70280ffc
mov dl, byte [edi + eax]
test dl, dl
je 0x70280ffc
mov byte [eax], dl
inc eax
sub esi, 1
jne 0x70280fe1
jmp 0x70281000
test esi, esi
jne 0x70281001
dec eax
mov byte [eax], 0
xor eax, eax
test ecx, ecx
jbe 0x7028101a
lea ebx, [ebx]
xor byte [esp + eax + 0x10], 0x24
inc eax
cmp eax, ecx
jb 0x70281010
lea eax, [esp + 0x10]
call fcn.702788c0
mov esi, eax
test esi, esi
je 0x70281064
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x70281030
sub eax, edx
push eax
push esi
mov ecx, ebp
call fcn.7020c1f0
push esi
call fcn.702e1dee
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.702e1c2f
add esp, 0x4c
ret 4
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebp
xor ecx, esp
xor eax, eax
call fcn.702e1c2f
add esp, 0x4c
ret 4
Function at 0x70284320
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x70310058
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x7034b250]
xor eax, esp
mov dword [esp + 0x28], eax
push ebp
push esi
push edi
mov eax, dword [0x7034b250]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x4c]
mov esi, ecx
lea edi, [esi + 0x1350]
call fcn.702444b0
cmp byte [0x7034d407], 0
je 0x70284451
test byte [0x7036e624], 1
jne 0x70284391
or dword [0x7036e624], 1
call fcn.7021b8d0
push 0x7031ac80
call fcn.702e1d65
add esp, 4
mov eax, 0x7036e628
call fcn.7021c7c0
test eax, eax
je 0x70284451
mov eax, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
push str.IEWebShopping
push str.SOFTWARE360Safe_safemon
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
xor eax, eax
cmp dword [esp + 0x10], eax
setne al
test eax, eax
je 0x70284451
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
mov dword [esp + 0x44], 0
mov eax, dword [ebp]
mov edx, dword [eax + 0x104]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, ebp
call edx
test eax, eax
je 0x70284448
cmp dword [esp + 0x30], 0
je 0x70284448
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x24]
push eax
mov ecx, edi
call fcn.7020c5f0
call fcn.70242520
lea ecx, [esp + 0x1c]
call fcn.7020cb20
mov eax, 1
jmp 0x70284453
lea ecx, [esp + 0x1c]
call fcn.7020cb20
xor eax, eax
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.702e1c2f
add esp, 0x38
ret 4
Function at 0x70286050
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
push esi
push 0x18
call fcn.702e1f8d
mov esi, eax
xor ebx, ebx
add esp, 4
cmp esi, ebx
je 0x702860d3
push edi
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
call edi
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
push esi
mov dword [esi + 8], 0x3e8
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edx
call edi
lea eax, [esp + 0xc]
push eax
push ebx
push esi
push 0x70285e80
push ebx
push ebx
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
cmp edi, ebx
jne 0x702860db
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x70286100
push esi
call fcn.702e1c24
add esp, 4
jmp 0x70286100
pop esi
xor eax, eax
pop ebx
pop ecx
ret 0xc
push 0x64
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, ebx
jne 0x702860ed
mov ebx, dword [esi + 4]
jmp 0x702860f9
cmp eax, 0x102
jne 0x702860f9
mov ebx, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
pop edi
test eax, eax
jne 0x70286115
push esi
call fcn.702e1c24
add esp, 4
pop esi
mov eax, ebx
pop ebx
pop ecx
ret 0xc

Function at 0x702862b0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x70318ddb
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
mov eax, dword [0x7034b250]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebx, ecx
push 0x38
call fcn.702e1f8d
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], 0
test eax, eax
je 0x702862fb
push eax
call fcn.702863a0
mov esi, eax
jmp 0x702862fd
xor esi, esi
mov dword [esp + 0x20], 0xffffffff
test esi, esi
jne 0x7028631d
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x18
ret
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x70286322
sub eax, edx
sar eax, 1
push eax
mov eax, ebx
call fcn.7020f4d0
mov ax, word [edi]
lea ecx, [esi + 0x20]
lea ebx, [edi + 4]
push ecx
mov word [esi + 0x1c], ax
call fcn.7025e430
lea edx, [esp + 0x14]
push edx
push 0
push esi
push 0x70286120
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test eax, eax
je 0x70286377
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x70286385
call fcn.70286250
push esi
call fcn.702e1c24
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x18
ret
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 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 0x702b7f60
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x80
push ebx
push ebp
mov ebp, dword [esp + 0x8c]
push esi
push edi
push ebp
mov ecx, 0x20
mov esi, ebp
lea edi, [esp + 0x14]
push ebp
mov ebx, 0x703252e8
rep movsd dword es:[edi], dword [esi]
call fcn.702b7eb0
mov ecx, dword [ebp + 0x7c]
shr ecx, 7
and ecx, 1
lea edi, [esp + 0x18]
lea ebx, [esp + 0x1c]
add esp, 8
neg ecx
xor edx, edx
sub edi, ebp
lea eax, [ebp + 8]
sub ebx, ebp
lea esp, [esp]
mov esi, dword [eax - 8]
mov ebp, dword [esp + edx*4 + 0x10]
xor ebp, esi
and ebp, ecx
xor ebp, esi
mov esi, dword [eax - 4]
mov dword [eax - 8], ebp
mov ebp, dword [esp + edx*4 + 0x14]
xor ebp, esi
and ebp, ecx
xor ebp, esi
mov esi, dword [eax]
mov dword [eax - 4], ebp
mov ebp, dword [edi + eax]
xor ebp, esi
and ebp, ecx
xor ebp, esi
mov esi, dword [eax + 4]
mov dword [eax], ebp
mov ebp, dword [ebx + eax]
xor ebp, esi
and ebp, ecx
xor ebp, esi
mov dword [eax + 4], ebp
add edx, 4
add eax, 0x10
cmp edx, 0x20
jb 0x702b7fb0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret

Function at 0x702b8c10
Capabilities:
Encrypt data using curve25519

Disassembly:
sub esp, 0x1a4
mov eax, dword [0x7034b250]
xor eax, esp
mov dword [esp + 0x1a0], eax
mov eax, dword [esp + 0x1a8]
push 0x20
push eax
lea ecx, [esp + 0x188]
push ecx
call fcn.702e9140
mov dl, byte [esp + 0x1ab]
and byte [esp + 0x18c], 0xf8
and dl, 0x3f
or dl, 0x40
add esp, 0xc
mov byte [esp + 0x19f], dl
xor eax, eax
lea esp, [esp]
movzx ecx, byte [eax + edi]
mov dword [esp + eax*4], ecx
inc eax
cmp eax, 0x20
jb 0x702b8c60
lea edx, [esp + 0x180]
push edx
lea eax, [esp + 4]
push eax
call fcn.702b83e0
lea ecx, [esp + 0x88]
push ecx
mov eax, ecx
call fcn.702b8820
lea edx, [esp + 0x8c]
push edx
lea eax, [esp + 0x110]
push eax
lea edx, [esp + 0x14]
call fcn.702b8010
lea ecx, [esp + 0x114]
push ecx
call fcn.702b7f60
add esp, 0x18
xor eax, eax
lea esp, [esp]
mov dl, byte [esp + eax*4 + 0x100]
mov byte [esi + eax], dl
inc eax
cmp eax, 0x20
jb 0x702b8cc0
mov ecx, dword [esp + 0x1a0]
xor ecx, esp
xor eax, eax
call fcn.702e1c2f
add esp, 0x1a4
ret
Function at 0x702e14bb
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
xor edi, edi
cmp dword [0x70358170], edi
jne 0x702e165b
mov eax, dword [0x7035816c]
cmp eax, edi
jne 0x702e165d
push 0x24
mov ebx, 0x70358148
push edi
push ebx
call fcn.702e95e0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push str.dbghelp.dll
mov dword [0x70358148], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, edi
mov dword [0x7035814c], eax
je 0x702e161c
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.ImagehlpApiVersionEx
push eax
call esi
push str.SymInitialize
mov dword [0x70358150], eax
push dword [0x7035814c]
call esi
push str.SymSetOptions
mov dword [0x70358154], eax
push dword [0x7035814c]
call esi
push str.SymGetOptions
mov dword [0x70358158], eax
push dword [0x7035814c]
call esi
push str.SymLoadModule64
mov dword [0x7035815c], eax
push dword [0x7035814c]
call esi
push str.SymGetModuleInfo64
mov dword [0x70358160], eax
push dword [0x7035814c]
call esi
push str.SymFromName
mov dword [0x70358164], eax
push dword [0x7035814c]
call esi
mov dword [0x70358168], eax
push 8
lea eax, [ebp - 8]
push edi
push eax
call fcn.702e95e0
mov eax, dword [0x70358150]
add esp, 0xc
cmp eax, edi
mov word [ebp - 8], 7
pop esi
je 0x702e1617
cmp dword [0x70358154], edi
je 0x702e1617
cmp dword [0x70358160], edi
je 0x702e1617
cmp dword [0x70358164], edi
je 0x702e1617
cmp dword [0x70358168], edi
je 0x702e1617
lea ecx, [ebp - 8]
push ecx
call eax
cmp word [ebp - 8], 7
jb 0x702e1617
push edi
push edi
push dword [0x70358148]
call dword [0x70358154]
test eax, eax
je 0x702e1617
mov eax, dword [0x7035815c]
cmp eax, edi
je 0x702e160d
cmp dword [0x70358158], edi
je 0x702e160d
call eax
and al, 0xfc
or al, 4
push eax
call dword [0x70358158]
mov dword [0x7035816c], ebx
mov eax, ebx
jmp 0x702e165d
mov eax, dword [0x7035814c]
cmp eax, edi
mov dword [0x70358170], 1
je 0x702e1631
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x70358150], edi
mov dword [0x70358154], edi
mov dword [0x70358158], edi
mov dword [0x7035815c], edi
mov dword [0x70358160], edi
mov dword [0x70358164], edi
mov dword [0x70358168], edi
xor eax, eax
pop edi
pop ebx
leave
ret

Function at 0x702e1c2f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x7034b250]
jne 0x702e1c39
repz ret
jmp fcn.702ea158