joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ab300
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x57221b
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x5e2320]
xor eax, esp
mov dword [esp + 0x78], eax
push esi
mov eax, dword [0x5e2320]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [esp + 0x34], 7
xorps xmm0, xmm0
mov dword [esp + 0x30], 0
mov word [esp + 0x20], ax
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], eax
mov word [esp + 0x38], ax
mov byte [esp + 0x50], 1
movupd xmmword [esp + 0x54], xmm0
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], eax
mov word [esp + 0x64], ax
mov dword [esp + 0x90], eax
sub esp, 0x70
movdqu xmm0, xmmword [ebp + 8]
lea eax, [esp + 0x7c]
mov dword [esp + 0x8c], 3
mov ecx, esp
push eax
movdqu xmmword [esp + 0x80], xmm0
call fcn.0044ebe0
mov ecx, dword [esi]
add ecx, 0x52c
mov eax, dword [ecx]
call dword [eax + 0xc]
lea ecx, [esp + 0xc]
call fcn.0044e610
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.005600c0
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4ab3f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x57230b
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x5e2320]
xor eax, esp
mov dword [esp + 0x90], eax
push esi
mov eax, dword [0x5e2320]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [esp + 0x30], 7
xorps xmm0, xmm0
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], eax
mov word [esp + 0x34], ax
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], eax
mov word [esp + 0x4c], ax
mov byte [esp + 0x64], 1
movupd xmmword [esp + 0x6c], xmm0
mov dword [esp + 0x90], 7
mov dword [esp + 0x8c], eax
mov word [esp + 0x7c], ax
mov dword [esp + 0xa8], eax
sub esp, 0x88
movdqu xmm0, xmmword [ebp + 8]
lea eax, [esp + 0x94]
mov ecx, esp
push eax
movdqu xmmword [esp + 0x98], xmm0
call fcn.0044fc10
push ecx
mov eax, esp
xor ecx, ecx
mov dword [eax], ecx
mov ecx, dword [esi]
add ecx, 0x52c
mov eax, dword [ecx]
call dword [eax + 0x10]
lea ecx, [esp + 0xc]
call fcn.0044f920
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.005600c0
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4ab500
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x57209b
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x5e2320]
xor eax, esp
mov dword [esp + 0x90], eax
push esi
mov eax, dword [0x5e2320]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [esp + 0x30], 0xf
xorps xmm0, xmm0
mov dword [esp + 0x2c], 0
mov byte [esp + 0x1c], 0
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], 0
mov word [esp + 0x34], ax
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], eax
mov word [esp + 0x4c], ax
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], eax
mov word [esp + 0x64], ax
mov byte [esp + 0x7c], 1
movupd xmmword [esp + 0x84], xmm0
mov dword [esp + 0xa8], eax
lea ecx, [esp + 0x1c]
movdqu xmm0, xmmword [ebp + 8]
push eax
push 0x58f340
movdqu xmmword [esp + 0x14], xmm0
call fcn.00425490
lea eax, [esp + 0xc]
push eax
push ecx
mov eax, esp
xor ecx, ecx
mov dword [eax], ecx
mov ecx, dword [esi]
add ecx, 0x52c
mov eax, dword [ecx]
call dword [eax + 0x14]
lea ecx, [esp + 0xc]
call fcn.00450fc0
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.005600c0
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4c9e60
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push 1
cmovae eax, dword [ebp + 8]
push 0
push eax
push str.explorer.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [ebp + 0x1c], 8
jb 0x4c9e97
push dword [ebp + 8]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
pop ebp
ret
Function at 0x4cafa0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x56c248
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x5e2320]
xor eax, esp
mov dword [esp + 0x34], eax
mov eax, dword [0x5e2320]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov ecx, dword [0x5fb708]
lea eax, [esp + 0x20]
push eax
call fcn.004cde90
lea ecx, [esp + 4]
mov dword [esp + 0x48], 0
push ecx
mov ecx, eax
call fcn.004261e0
cmp dword [esp + 0x18], 8
lea eax, [esp + 4]
push 1
cmovae eax, dword [esp + 8]
push 0
push eax
push str.explorer.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [esp + 0x18], 8
jb 0x4cb031
push dword [esp + 4]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [esp + 0x18], 7
cmp dword [esp + 0x34], 8
mov dword [esp + 0x14], 0
mov word [esp + 4], ax
jb 0x4cb05c
push dword [esp + 0x20]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.005600c0
mov esp, ebp
pop ebp
ret
Function at 0x4d9020
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x576530
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x5e2320]
xor eax, esp
mov dword [esp + 0x50], eax
push esi
mov eax, dword [0x5e2320]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov ecx, dword [0x5fb708]
lea eax, [esp + 0x40]
push eax
call fcn.004cdce0
push str.Screenshots
mov edx, eax
mov dword [esp + 0x6c], 0
lea ecx, [esp + 0x2c]
call fcn.00425f20
add esp, 4
lea ecx, [esp + 0xc]
mov byte [esp + 0x68], 1
push ecx
mov ecx, eax
call fcn.004261e0
cmp dword [esp + 0x20], 8
lea eax, [esp + 0xc]
push 1
cmovae eax, dword [esp + 0x10]
push 0
push eax
push str.explorer.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [esp + 0x20], 8
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x4d90cc
push dword [esp + 0xc]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x20], 7
cmp dword [esp + 0x3c], 8
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], ax
jb 0x4d90f3
push dword [esp + 0x28]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x3c], 7
cmp dword [esp + 0x54], 8
mov dword [esp + 0x38], 0
mov word [esp + 0x28], ax
jb 0x4d911a
push dword [esp + 0x40]
call esi
add esp, 4
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.005600c0
mov esp, ebp
pop ebp
ret

Function at 0x4db130
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x576940
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x5e2320]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x20], eax
lea eax, [esi + 8]
push eax
call fcn.004e1620
mov dword [esp + 0x38], 0
lea ecx, [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x24]
push eax
call fcn.004e1620
mov esi, dword [esi + 4]
sub esp, 0x10
mov byte [esp + 0x48], 1
mov eax, dword [esp + 0x1c]
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [esp + 0x20]
mov dword [ecx + 4], eax
lea eax, [esp + 0x24]
push eax
add ecx, 8
call fcn.004e1620
push dword [esp + 0x18]
push esi
call fcn.004e2500
add esp, 0x18
lea ecx, [esp + 0x14]
call fcn.0041d100
push dword [esp + 0x14]
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
call esi
add esp, 4
lea ecx, [esp + 0x24]
call fcn.0041d100
push dword [esp + 0x24]
call esi
add esp, 4
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4eb570
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x4eb585
lea eax, [edx + 0xd]
pop esi
pop ebp
ret 0xc
mov eax, edx
push edi
lea edi, [eax + 2]
jmp 0x4eb590
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4eb590
sub eax, edi
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push edx
push 1
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x4eb610
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
test ebx, ebx
jne 0x4eb629
lea eax, [ebx + 0xd]
pop ebx
mov esp, ebp
pop ebp
ret 8
push esi
push edi
xor esi, esi
mov edx, ebx
nop
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4eb635
sub eax, edi
sar eax, 1
lea ecx, [eax + 1]
lea edx, [edx + ecx*2]
lea esi, [esi + ecx*2]
cmp ecx, 1
jne 0x4eb630
mov eax, dword [ebp - 4]
push esi
push ebx
push 7
push 0
push dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4ec9d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x577eb6
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x5e2320]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x41c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
push 0x60
push 0
mov byte [ebp - 4], 1
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x4eca7c
push 2
push eax
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x4eca7c
call fcn.004eaea0
mov esi, eax
jmp 0x4ecb6c
push dword [ebp - 0x420]
push dword [ebp - 0x41c]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x4eca9f
call fcn.004eaea0
jmp 0x4ecb5f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x41c], ebx
test ebx, ebx
jne 0x4ecabd
call fcn.004eaea0
jmp 0x4ecb5f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x420], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x4ecade
mov esi, 0x8007000e
jmp 0x4ecb61
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.004eae50
jmp 0x4ecb08
mov dword [ebp - 4], 1
cmp dword [ebp - 0x418], 0
jne 0x4ecb1f
mov esi, 0x8007000e
jmp 0x4ecb61
push esi
push dword [ebp - 0x418]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x4ecb3f
call fcn.004eaea0
jmp 0x4ecb5f
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.004ec870
mov esi, eax
test edi, edi
je 0x4ecb6c
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x4ecb90
lea ecx, [ebp - 0x418]
call fcn.004eae00
jmp 0x4ecb90
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005600c0
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4f3910
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x578ab9
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5e2320]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
push esi
mov word [edi], ax
call fcn.0040ba20
lea ecx, [edi + 0x18]
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x18]
push eax
call fcn.0040ba20
lea ecx, [edi + 0x30]
mov byte [ebp - 4], 1
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x30]
push eax
call fcn.0040ba20
lea ecx, [edi + 0x48]
mov byte [ebp - 4], 2
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x48]
push eax
call fcn.0040ba20
mov byte [ebp - 4], 3
lea ecx, [edi + 0x64]
mov eax, dword [esi + 0x60]
mov dword [edi + 0x60], eax
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x64]
push eax
call fcn.0040ba20
mov eax, dword [esi + 0x7c]
mov dword [edi + 0x7c], eax
mov al, byte [esi + 0x80]
mov byte [edi + 0x80], al
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4fd3d0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ecx
xor eax, eax
mov edx, eax
mov ecx, eax
and edx, 1
shr ecx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov dword [eax*4 + 0x6143c0], ecx
inc eax
cmp eax, 0x100
jb 0x4fd3d3
cmp eax, 0x800
jae 0x4fd4a3
nop
mov edx, dword [eax*4 + 0x613fc0]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x6143c0]
mov dword [eax*4 + 0x6143c0], edx
inc eax
cmp eax, 0x800
jb 0x4fd480
mov dword [0x6163c0], 0x4feec0
mov dword [0x6163c4], 0x4feec0
mov dword [0x6163c8], 0x4fef60
call fcn.004ff170
mov ecx, dword [0x6163c4]
test eax, eax
mov edx, 0x4fef60
cmove ecx, edx
mov dword [0x6163c4], ecx
pop ecx
ret
Function at 0x502260
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
push edi
xor edi, edi
mov dword [ebp - 4], ebx
mov esi, dword [esi]
and esi, 7
cmp edx, 5
jae 0x502286
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
add dword [ebp + 8], 5
sub edx, 4
add edx, ebx
mov dword [ebp - 0xc], edx
lea eax, [edi + ebx]
cmp eax, edx
jae 0x5022af
lea esp, [esp]
mov cl, byte [eax]
and cl, 0xfe
cmp cl, 0xe8
je 0x5022af
inc eax
cmp eax, edx
jb 0x5022a0
mov ecx, eax
sub ecx, edi
mov edi, eax
sub ecx, ebx
sub edi, ebx
cmp eax, edx
jae 0x502392
cmp ecx, 2
jbe 0x502352
xor esi, esi
movzx ebx, byte [eax + 4]
lea ecx, [ebx + 1]
test cl, 0xfe
jne 0x502384
movzx ecx, byte [eax + 3]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [eax + 2]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [eax + 1]
shl ebx, 8
or ebx, ecx
mov ecx, dword [ebp + 8]
add ecx, edi
add edi, 5
sub ebx, ecx
mov dword [ebp - 8], ecx
test esi, esi
je 0x50232c
and esi, 6
mov edx, ebx
shl esi, 2
mov ecx, esi
shr edx, cl
inc edx
test dl, 0xfe
jne 0x502327
mov edx, 0x100
shl edx, cl
dec edx
xor ebx, edx
sub ebx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
xor esi, esi
mov ecx, ebx
mov byte [eax + 1], bl
shr ecx, 8
mov byte [eax + 2], cl
mov ecx, ebx
shr ebx, 0x18
and bl, 1
shr ecx, 0x10
neg bl
mov byte [eax + 3], cl
mov byte [eax + 4], bl
mov ebx, dword [ebp - 4]
jmp 0x502292
shr esi, cl
test esi, esi
je 0x5022cc
cmp esi, 4
ja 0x502379
cmp esi, 3
je 0x502379
mov ecx, esi
shr ecx, 1
movzx ecx, byte [ecx + eax + 1]
inc ecx
test cl, 0xfe
jne 0x5022cc
or esi, 8
shr esi, 1
inc edi
jmp 0x502292
mov ebx, dword [ebp - 4]
or esi, 8
shr esi, 1
inc edi
jmp 0x502292
cmp ecx, 2
jbe 0x5023a7
mov eax, dword [ebp + 0xc]
xor esi, esi
mov dword [eax], esi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
shr esi, cl
mov dword [eax], esi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5063c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57981b
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x5e2320]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], edi
mov dword [edi + 0xc], 0
push 0x400
push ecx
lea ecx, [edi + 0x10]
mov dword [ebp - 4], 0
call fcn.0042b900
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [ebp - 4], 1
lea esi, [edi + 0x34]
mov eax, dword [edi + 0x10]
mov dword [edi + 0x30], eax
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
mov byte [edi + 0x4c], al
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0050c860
mov dword [ebp - 0x30], eax
cmp esi, eax
je 0x50648e
cmp dword [esi + 0x14], 8
jb 0x506473
push dword [esi]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
mov eax, dword [ebp - 0x30]
add esp, 4
xor ecx, ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], cx
mov ecx, esi
push eax
call fcn.00410370
cmp dword [ebp - 0x18], 8
jb 0x5064a0
push dword [ebp - 0x2c]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov edx, esi
mov ecx, edi
call fcn.00497ff0
cmp dword [edi + 0xc], 0
jne 0x5064cb
mov ecx, edi
call fcn.004288a0
mov dword [edi + 0xc], 3
xorps xmm0, xmm0
movq qword [edi], xmm0
mov dword [edi + 8], 0
mov eax, edi
mov byte [edi + 0x4c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005600c0
mov esp, ebp
pop ebp
ret 4

Function at 0x5064f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x579863
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5e2320]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], edi
mov dword [edi + 0xc], 0
push 0x400
push ecx
lea ecx, [edi + 0x10]
mov byte [ebp - 4], 1
call fcn.0042b900
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov byte [ebp - 4], 2
lea ecx, [edi + 0x34]
mov eax, dword [edi + 0x10]
mov dword [edi + 0x30], eax
xor eax, eax
push 0xffffffffffffffff
mov dword [edi + 0x48], 7
mov dword [edi + 0x44], 0
push eax
mov word [edi + 0x34], ax
lea eax, [ebp + 8]
push eax
call fcn.0040ba20
mov byte [ebp - 4], 3
lea edx, [edi + 0x34]
mov ecx, edi
mov byte [edi + 0x4c], 0
call fcn.00497ff0
cmp dword [edi + 0xc], 0
jne 0x5065ae
mov ecx, edi
call fcn.004288a0
mov dword [edi + 0xc], 3
xorps xmm0, xmm0
movq qword [edi], xmm0
mov dword [edi + 8], 0
cmp dword [ebp + 0x1c], 8
mov byte [edi + 0x4c], 0
jb 0x5065c4
push dword [ebp + 8]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x18
Function at 0x507650
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x302c
call fcn.00560870
mov eax, dword [0x5e2320]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xorps xmm0, xmm0
mov dword [ebp - 0x300c], 0
lea eax, [ebp - 0x302c]
mov esi, edx
push eax
mov edi, ecx
movdqu xmmword [ebp - 0x302c], xmm0
movdqu xmmword [ebp - 0x301c], xmm0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x3018]
mov dword [edi], eax
mov dword [esi], eax
mov eax, dword [0x614248]
test al, 1
jne 0x5076d3
push str.GetLogicalProcessorInformation
or eax, 1
push 0x5aae3c
mov dword [0x614248], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov dword [0x61424c], esi
jmp 0x5076d9
mov esi, dword [0x61424c]
test esi, esi
je 0x507747
push 0x3000
lea eax, [ebp - 0x3004]
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0x3008], 0x3000
lea eax, [ebp - 0x3008]
push eax
lea eax, [ebp - 0x3004]
push eax
call esi
test eax, eax
je 0x507747
mov eax, 0xaaaaaaab
xor esi, esi
mul dword [ebp - 0x3008]
shr edx, 4
test edx, edx
je 0x507747
lea ecx, [ebp - 0x3000]
jmp 0x507730
mov eax, dword [ecx]
sub eax, 0
je 0x50773a
dec eax
jmp 0x50773b
inc esi
add ecx, 0x18
dec edx
jne 0x507730
test esi, esi
je 0x507747
mov dword [edi], esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.005600c0
mov esp, ebp
pop ebp
ret
Function at 0x50b9e0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57a2b6
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x5e2320]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x238], 0
push 0x206
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor eax, eax
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x21c]
cmp word [ebp - 0x21c], 0
je 0x50ba89
jmp 0x50ba80
add eax, 2
cmp word [eax], 0
jne 0x50ba80
push eax
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x234]
call fcn.00425d10
push str.ChangZhi2
lea edx, [ebp - 0x234]
mov dword [ebp - 4], 1
mov ecx, 0x614330
call fcn.00425f20
add esp, 4
cmp dword [ebp - 0x220], 8
jb 0x50bad3
push dword [ebp - 0x234]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, 0x614330
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005600c0
mov esp, ebp
pop ebp
ret 4

Function at 0x50bba0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57a31b
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x5e2320]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x224], 0
push 0x206
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
mov dword [ebp - 0x220], 0x61434c
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 5
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor eax, eax
mov dword [0x614360], 7
mov dword [0x61435c], 0
mov word [0x61434c], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x21c]
cmp word [ebp - 0x21c], 0
je 0x50bc4a
add eax, 2
cmp word [eax], 0
jne 0x50bc41
push eax
lea eax, [ebp - 0x21c]
mov ecx, 0x61434c
push eax
call fcn.00425d10
mov eax, 0x61434c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005600c0
mov esp, ebp
pop ebp
ret 4