joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42fec0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x501320]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test ecx, ecx
je 0x43000a
test edx, edx
jle 0x43000a
push edx
xorps xmm0, xmm0
mov byte [ebp - 0x2c], 0
push ecx
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x94], 0x67452301
mov dword [ebp - 0x90], 0xefcdab89
mov dword [ebp - 0x8c], 0x98badcfe
mov dword [ebp - 0x88], 0x10325476
mov byte [ebp - 0x28], 0
movdqu xmmword [ebp - 0x27], xmm0
movdqu xmmword [ebp - 0x17], xmm0
call fcn.0042f5c0
lea ecx, [ebp - 0x94]
call fcn.0042f690
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x94]
call fcn.0042f760
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x42ff68
mov eax, dword [esi]
jmp 0x42ff6a
mov eax, esi
lea edx, [ebp - 0x28]
cmp edx, eax
jb 0x42ffb7
cmp ecx, 0x10
jb 0x42ff7a
mov edx, dword [esi]
jmp 0x42ff7c
mov edx, esi
mov eax, dword [esi + 0x10]
add eax, edx
lea edx, [ebp - 0x28]
cmp eax, edx
jbe 0x42ffb7
cmp ecx, 0x10
jb 0x42ff91
mov ecx, dword [esi]
jmp 0x42ff93
mov ecx, esi
push 0x20
lea eax, [ebp - 0x28]
sub eax, ecx
mov ecx, esi
push eax
push esi
call fcn.00428180
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bddec
mov esp, ebp
pop ebp
ret
cmp ecx, 0x20
jae 0x42ffc8
push dword [esi + 0x10]
mov ecx, esi
push 0x20
call fcn.004282d0
cmp dword [esi + 0x14], 0x10
jb 0x42ffd2
mov eax, dword [esi]
jmp 0x42ffd4
mov eax, esi
push 0x20
lea ecx, [ebp - 0x28]
push ecx
push eax
call sub.MSVCR120.dll_memcpy
add esp, 0xc
mov dword [esi + 0x10], 0x20
cmp dword [esi + 0x14], 0x10
jb 0x42fff2
mov esi, dword [esi]
mov byte [esi + 0x20], 0
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bddec
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.004bddec
mov esp, ebp
pop ebp
ret
Function at 0x430d00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c3808
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x501320]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x501320]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x40], 0
je 0x430e31
cmp byte [esi + 0x45], 0
je 0x430e31
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x430d60
xor al, al
jmp 0x430e33
sub esp, 8
lea ecx, [esp + 0x20]
call fcn.00430bb0
mov dword [esp + 0x40], 0
lea edi, [esi + 0x48]
mov ebx, dword [esp + 0x2c]
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x1c]
cmp ebx, 0x10
lea ecx, [esp + 0x1c]
cmovae ecx, dword [esp + 0x1c]
cmovae edx, dword [esp + 0x1c]
add eax, edx
push eax
push ecx
mov ecx, dword [esi + 0x40]
push edi
call dword [sym.imp.MSVCP120.dll_public:_int___thiscall_std::codecvt_char__char__int_::unshift_int___char___char___char___const]
sub eax, 0
je 0x430db8
dec eax
je 0x430dbc
sub eax, 2
je 0x430e17
xor bl, bl
jmp 0x430e19
mov byte [esi + 0x45], 0
mov ebx, dword [esp + 0x2c]
lea eax, [esp + 0x18]
mov ecx, dword [esp + 0x18]
cmp ebx, 0x10
mov edi, dword [esp + 0x14]
cmovae eax, ecx
sub edi, eax
je 0x430df4
push dword [esi + 0x50]
cmp ebx, 0x10
lea eax, [esp + 0x1c]
push edi
cmovae eax, ecx
push 1
push eax
call dword [sym.imp.MSVCR120.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x430db4
cmp byte [esi + 0x45], 0
je 0x430e17
test edi, edi
lea edi, [esi + 0x48]
jne 0x430d77
push 0
push 8
lea ecx, [esp + 0x20]
call fcn.00430c50
jmp 0x430d74
mov bl, 1
cmp dword [esp + 0x2c], 0x10
jb 0x430e2d
push dword [esp + 0x18]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov al, bl
jmp 0x430e33
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004bddec
mov esp, ebp
pop ebp
ret
Function at 0x432650
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c39ac
mov eax, dword fs:[0]
push eax
sub esp, 0x94
push ebx
push esi
push edi
mov eax, dword [0x501320]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
push 0
mov dword [ebp - 0x18], 0
mov ebx, dword [sym.imp.USER32.dll_MapVirtualKeyW]
sar esi, 0x10
push edi
and esi, 0xfff
call ebx
test eax, eax
jne 0x4326a5
push 1
push esi
call ebx
mov edi, eax
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
xorps xmm0, xmm0
push 0x10
movq qword [ebp - 0x14], xmm0
call esi
mov ebx, dword [ebp - 0x14]
xor ecx, ecx
test ax, ax
mov edx, 4
push 0x11
cmovs ecx, edx
or ebx, ecx
call esi
xor ecx, ecx
mov edx, 2
test ax, ax
push 0x12
cmovs ecx, edx
or ebx, ecx
call esi
xor ecx, ecx
test ax, ax
sets cl
or ebx, ecx
cmp edi, 0x10
je 0x432725
cmp edi, 0x11
je 0x432725
cmp edi, 0x12
je 0x432725
mov edx, edi
lea ecx, [ebp - 0xa0]
call fcn.00432760
mov dword [ebp - 4], 0
mov ecx, eax
mov dword [ebp - 0x18], 1
call fcn.00473550
test al, al
jne 0x432725
mov word [ebp - 0x10], di
jmp 0x43272b
xor eax, eax
mov word [ebp - 0x10], ax
mov dword [ebp - 4], 0xffffffff
test byte [ebp - 0x18], 1
je 0x432743
lea ecx, [ebp - 0xa0]
call fcn.00472b90
mov edx, dword [ebp - 0x10]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x433340
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c3ceb
mov eax, dword fs:[0]
push eax
sub esp, 0x81c
mov eax, dword [0x501320]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x828]
push eax
call fcn.0046c470
add esp, 4
push 0xd
push 0x4ded14
lea ecx, [ebp - 0x828]
mov dword [ebp - 4], 0
call fcn.0041c0a0
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x828]
cmp dword [ebp - 0x814], 8
cmovae eax, dword [ebp - 0x828]
push eax
push 0x400
lea eax, [ebp - 0x810]
push eax
push 0x4ded68
push str.overlapX
push str.setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.MSVCR120.dll__wtoi]
add esp, 4
mov esi, eax
cmp dword [ebp - 0x814], 8
jb 0x433414
push dword [ebp - 0x828]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bddec
mov esp, ebp
pop ebp
ret

Function at 0x433430
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c3ceb
mov eax, dword fs:[0]
push eax
sub esp, 0x81c
mov eax, dword [0x501320]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x828]
push eax
call fcn.0046c470
add esp, 4
push 0xd
push 0x4ded14
lea ecx, [ebp - 0x828]
mov dword [ebp - 4], 0
call fcn.0041c0a0
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x828]
cmp dword [ebp - 0x814], 8
cmovae eax, dword [ebp - 0x828]
push eax
push 0x400
lea eax, [ebp - 0x810]
push eax
push 0x4ded68
push str.overlapY
push str.setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.MSVCR120.dll__wtoi]
add esp, 4
mov esi, eax
cmp dword [ebp - 0x814], 8
jb 0x433504
push dword [ebp - 0x828]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bddec
mov esp, ebp
pop ebp
ret
Function at 0x43fb70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c3d88
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x501320]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [esp + 0x20], 7
push eax
push 0x4d58ec
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
call fcn.004098a0
lea eax, [esp + 0xc]
mov dword [esp + 0x30], 0
mov ecx, dword [esi + 0x38]
push eax
push 0xffffffffffffffff
call fcn.0043e070
cmp dword [esp + 0x20], 8
jb 0x43fbed
push dword [esp + 0xc]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x442530
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c3d88
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x501320]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [esp + 0x20], 7
push eax
push 0x4d58ec
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
call fcn.004098a0
mov dword [esp + 0x30], 0
lea edx, [esp + 0xc]
mov eax, dword [esi]
push edx
push 0xfffffffffffffffe
push 0xfffffffffffffffe
mov ecx, dword [eax + 0x44]
mov eax, dword [ecx]
call dword [eax + 8]
cmp dword [esp + 0x20], 8
jb 0x4425b1
push dword [esp + 0xc]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x44ad20
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 + 0x515840], ecx
inc eax
cmp eax, 0x100
jb 0x44ad23
cmp eax, 0x800
jae 0x44adf3
nop
mov edx, dword [eax*4 + 0x515440]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x515840]
mov dword [eax*4 + 0x515840], edx
inc eax
cmp eax, 0x800
jb 0x44add0
mov dword [0x51582c], 0x44c8f0
mov dword [0x515828], 0x44c8f0
mov dword [0x517840], 0x44c990
call fcn.0044cba0
mov ecx, dword [0x515828]
test eax, eax
mov edx, 0x44c990
cmove ecx, edx
mov dword [0x515828], ecx
pop ecx
ret
Function at 0x44fbb0
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 0x44fbd6
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 0x44fbff
lea esp, [esp]
mov cl, byte [eax]
and cl, 0xfe
cmp cl, 0xe8
je 0x44fbff
inc eax
cmp eax, edx
jb 0x44fbf0
mov ecx, eax
sub ecx, edi
mov edi, eax
sub ecx, ebx
sub edi, ebx
cmp eax, edx
jae 0x44fce2
cmp ecx, 2
jbe 0x44fca2
xor esi, esi
movzx ebx, byte [eax + 4]
lea ecx, [ebx + 1]
test cl, 0xfe
jne 0x44fcd4
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 0x44fc7c
and esi, 6
mov edx, ebx
shl esi, 2
mov ecx, esi
shr edx, cl
inc edx
test dl, 0xfe
jne 0x44fc77
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 0x44fbe2
shr esi, cl
test esi, esi
je 0x44fc1c
cmp esi, 4
ja 0x44fcc9
cmp esi, 3
je 0x44fcc9
mov ecx, esi
shr ecx, 1
movzx ecx, byte [ecx + eax + 1]
inc ecx
test cl, 0xfe
jne 0x44fc1c
or esi, 8
shr esi, 1
inc edi
jmp 0x44fbe2
mov ebx, dword [ebp - 4]
or esi, 8
shr esi, 1
inc edi
jmp 0x44fbe2
cmp ecx, 2
jbe 0x44fcf7
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 0x450c60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c6028
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x501320]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi + 0xc], 0
push 0x400
push ecx
lea ecx, [edi + 0x10]
mov dword [ebp - 4], 0
call fcn.00450f50
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov eax, dword [edi + 0x10]
mov dword [edi + 0x30], eax
xor eax, eax
mov dword [edi + 0x48], 7
mov dword [edi + 0x44], 0
mov word [edi + 0x34], ax
mov byte [edi + 0x4c], 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
Function at 0x453f20
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c61c3
mov eax, dword fs:[0]
push eax
push ecx
push edi
mov eax, dword [0x501320]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.004584f0
mov dword [edi], eax
push 0
mov dword [ebp - 4], 0
push 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
call fcn.004584b0
mov dword [edi + 8], eax
push 0
mov byte [ebp - 4], 1
push 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
call fcn.004584b0
mov dword [edi + 0x10], eax
lea eax, [edi + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [edi + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [edi + 0x5c], 7
xor eax, eax
mov dword [edi + 0x58], 0
mov word [edi + 0x48], ax
mov dword [edi + 0x70], eax
mov dword [edi + 0x74], 7
mov word [edi + 0x60], ax
mov dword [edi + 0x88], eax
mov dword [edi + 0x8c], 7
mov word [edi + 0x78], ax
mov dword [edi + 0xa0], eax
mov dword [edi + 0xa4], 7
mov word [edi + 0x90], ax
mov dword [edi + 0xbc], eax
mov dword [edi + 0xc0], 7
mov word [edi + 0xac], ax
mov dword [edi + 0xc4], eax
mov dword [edi + 0xc8], 0xffffffff
mov dword [edi + 0xcc], eax
mov eax, edi
mov dword [edi + 0xd0], 2
mov dword [edi + 0xd4], 2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x454380
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
mov eax, 0x4e67c6a7
push edi
movzx edi, word [esi]
test di, di
je 0x4543af
mov edx, eax
lea esi, [esi + 2]
mov ecx, eax
shl edx, 5
shr ecx, 2
add edx, ecx
movzx ecx, di
movzx edi, word [esi]
add edx, ecx
xor eax, edx
test di, di
jne 0x454391
pop edi
and eax, 0x7fff
pop esi
ret

Function at 0x457530
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c25e8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x501320]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push dword [ebp + 8]
lea eax, [ebp - 0x2c]
push eax
call fcn.004544d0
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0
call fcn.00466550
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x40]
call fcn.00466780
test al, al
jne 0x457588
xor esi, esi
jmp 0x4575bb
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xffffffff
call fcn.004638d0
lea ecx, [ebp - 0x30]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
lea eax, [ebp - 0x34]
push eax
push 0x457410
call dword [sym.imp.USER32.dll_EnumWindows]
mov esi, dword [ebp - 0x34]
cmp dword [ebp - 0x18], 8
jb 0x4575cd
push dword [ebp - 0x2c]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004bddec
mov esp, ebp
pop ebp
ret 4
Function at 0x45aa30
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x302c
call fcn.004be580
mov eax, dword [0x501320]
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 [0x5155bc]
test al, 1
jne 0x45aab3
push str.GetLogicalProcessorInformation
or eax, 1
push str.kernel32.dll
mov dword [0x5155bc], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov dword [0x5155c0], esi
jmp 0x45aab9
mov esi, dword [0x5155c0]
test esi, esi
je 0x45ab27
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 0x45ab27
mov eax, 0xaaaaaaab
xor esi, esi
mul dword [ebp - 0x3008]
shr edx, 4
test edx, edx
je 0x45ab27
lea ecx, [ebp - 0x3000]
jmp 0x45ab10
mov eax, dword [ecx]
sub eax, 0
je 0x45ab1a
dec eax
jmp 0x45ab1b
inc esi
add ecx, 0x18
dec edx
jne 0x45ab10
test esi, esi
je 0x45ab27
mov dword [edi], esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004bddec
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c79d6
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x501320]
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 ecx, [ebp - 0x234]
lea eax, [ebp - 0x21c]
push eax
call fcn.004258d0
push 0x4dc190
lea edx, [ebp - 0x234]
mov dword [ebp - 4], 1
mov ecx, 0x515784
call fcn.00425b20
add esp, 4
cmp dword [ebp - 0x220], 8
jb 0x45ce91
push dword [ebp - 0x234]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, 0x515784
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004bddec
mov esp, ebp
pop ebp
ret 4
Function at 0x45cf60
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c7a3b
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x501320]
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], 0x5157a0
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 [0x5157b4], 7
mov dword [0x5157b0], 0
mov word [0x5157a0], ax
mov dword [ebp - 4], eax
mov ecx, 0x5157a0
lea eax, [ebp - 0x21c]
push eax
call fcn.004258d0
mov eax, 0x5157a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004bddec
mov esp, ebp
pop ebp
ret 4
Function at 0x45d930
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c7c27
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x501320]
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, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
mov dword [ebp - 0x250], 0
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 ecx, [ebp - 0x234]
lea eax, [ebp - 0x21c]
push eax
call fcn.004258d0
push str.lddownloader_
lea edx, [ebp - 0x234]
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x24c]
call fcn.00425b20
add esp, 4
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0045d530
cmp dword [ebp - 0x238], 8
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x45da14
push dword [ebp - 0x24c]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x238], 7
cmp dword [ebp - 0x220], 8
mov dword [ebp - 0x23c], 0
mov word [ebp - 0x24c], ax
jb 0x45da45
push dword [ebp - 0x234]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 3
push eax
lea ecx, [ebp - 0x234]
call fcn.004258d0
sub esp, 0x18
mov dword [ebp - 4], 4
mov ecx, esp
lea edx, [ebp - 0x234]
push str.lddownloaderlddownloader.log
call fcn.00425b20
add esp, 4
mov ecx, edi
call fcn.0045d5d0
add esp, 0x18
cmp dword [ebp - 0x220], 8
jb 0x45dab8
push dword [ebp - 0x234]
call esi
add esp, 4
mov eax, edi
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.004bddec
mov esp, ebp
pop ebp
ret 4

Function at 0x45ec90
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
mov esi, ecx
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x45ecde
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
jb 0x45ecba
mov esi, dword [esi]
lea eax, [eax*2 + 2]
push eax
push esi
push 1
push 0
push str.leidian9
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x460650
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x501320]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, edx
mov esi, ecx
cmp dword [edi + 0x14], 8
jb 0x460673
mov eax, dword [edi]
jmp 0x460675
mov eax, edi
cmp dword [esi + 0x14], 8
jb 0x46067d
mov ecx, dword [esi]
push 1
push 0
push eax
push ecx
push str.shell_filename____s___param____s___runas___d__show___d
push 0x92
push str.common::shell
call fcn.00461db0
push pe_nt_image_headers32
lea eax, [ebp - 0x11c]
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0x28
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x4606df
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [edi + 0x14], 8
jb 0x4606e7
mov edi, dword [edi]
cmp dword [esi + 0x14], 8
jb 0x4606ef
mov esi, dword [esi]
push 5
push 0
push edi
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
pop esi
cmp eax, 0x20
jg 0x460737
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.shellEx_failed____lastError___d
push 0x9f
push str.common::shell
call fcn.00461db0
add esp, 0x10
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bddec
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
call fcn.004bddec
mov esp, ebp
pop ebp
ret