joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42f0d0
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 0x42f21a
test edx, edx
jle 0x42f21a
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.0042e7d0
lea ecx, [ebp - 0x94]
call fcn.0042e8a0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x94]
call fcn.0042e970
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x42f178
mov eax, dword [esi]
jmp 0x42f17a
mov eax, esi
lea edx, [ebp - 0x28]
cmp edx, eax
jb 0x42f1c7
cmp ecx, 0x10
jb 0x42f18a
mov edx, dword [esi]
jmp 0x42f18c
mov edx, esi
mov eax, dword [esi + 0x10]
add eax, edx
lea edx, [ebp - 0x28]
cmp eax, edx
jbe 0x42f1c7
cmp ecx, 0x10
jb 0x42f1a1
mov ecx, dword [esi]
jmp 0x42f1a3
mov ecx, esi
push 0x20
lea eax, [ebp - 0x28]
sub eax, ecx
mov ecx, esi
push eax
push esi
call fcn.00427a60
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bdb6c
mov esp, ebp
pop ebp
ret
cmp ecx, 0x20
jae 0x42f1d8
push dword [esi + 0x10]
mov ecx, esi
push 0x20
call fcn.00427bb0
cmp dword [esi + 0x14], 0x10
jb 0x42f1e2
mov eax, dword [esi]
jmp 0x42f1e4
mov eax, esi
push 0x20
lea ecx, [ebp - 0x28]
push ecx
push eax
call fcn.004be32c
add esp, 0xc
mov dword [esi + 0x10], 0x20
cmp dword [esi + 0x14], 0x10
jb 0x42f202
mov esi, dword [esi]
mov byte [esi + 0x20], 0
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bdb6c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.004bdb6c
mov esp, ebp
pop ebp
ret
Function at 0x42ff10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c34c8
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 0x430041
cmp byte [esi + 0x45], 0
je 0x430041
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x42ff70
xor al, al
jmp 0x430043
sub esp, 8
lea ecx, [esp + 0x20]
call fcn.0042fdc0
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 0x42ffc8
dec eax
je 0x42ffcc
sub eax, 2
je 0x430027
xor bl, bl
jmp 0x430029
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 0x430004
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 0x42ffc4
cmp byte [esi + 0x45], 0
je 0x430027
test edi, edi
lea edi, [esi + 0x48]
jne 0x42ff87
push 0
push 8
lea ecx, [esp + 0x20]
call fcn.0042fe60
jmp 0x42ff84
mov bl, 1
cmp dword [esp + 0x2c], 0x10
jb 0x43003d
push dword [esp + 0x18]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov al, bl
jmp 0x430043
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.004bdb6c
mov esp, ebp
pop ebp
ret
Function at 0x4317e0
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c361c
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 0x431835
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 0x4318b5
cmp edi, 0x11
je 0x4318b5
cmp edi, 0x12
je 0x4318b5
mov edx, edi
lea ecx, [ebp - 0xa0]
call fcn.00431900
mov dword [ebp - 4], 0
mov ecx, eax
mov dword [ebp - 0x18], 1
call fcn.004732e0
test al, al
jne 0x4318b5
mov word [ebp - 0x10], di
jmp 0x4318bb
xor eax, eax
mov word [ebp - 0x10], ax
mov dword [ebp - 4], 0xffffffff
test byte [ebp - 0x18], 1
je 0x4318d3
lea ecx, [ebp - 0xa0]
call fcn.00472920
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 0x4324e0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c395b
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.0046c9b0
add esp, 4
push 0xd
push 0x4de498
lea ecx, [ebp - 0x828]
mov dword [ebp - 4], 0
call fcn.0041ba80
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push eax
call fcn.004be332
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 0x4de4ec
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 0x4325b4
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.004bdb6c
mov esp, ebp
pop ebp
ret

Function at 0x4325d0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c395b
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.0046c9b0
add esp, 4
push 0xd
push 0x4de498
lea ecx, [ebp - 0x828]
mov dword [ebp - 4], 0
call fcn.0041ba80
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push eax
call fcn.004be332
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 0x4de4ec
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 0x4326a4
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.004bdb6c
mov esp, ebp
pop ebp
ret
Function at 0x43eff0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c39f8
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.004096f0
lea eax, [esp + 0xc]
mov dword [esp + 0x30], 0
mov ecx, dword [esi + 0x38]
push eax
push 0xffffffffffffffff
call fcn.0043d590
cmp dword [esp + 0x20], 8
jb 0x43f06d
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 0x4419b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c39f8
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.004096f0
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 0x441a31
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 0x44a030
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 + 0x5155a0], ecx
inc eax
cmp eax, 0x100
jb 0x44a033
cmp eax, 0x800
jae 0x44a103
nop
mov edx, dword [eax*4 + 0x5151a0]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x5155a0]
mov dword [eax*4 + 0x5155a0], edx
inc eax
cmp eax, 0x800
jb 0x44a0e0
mov dword [0x51559c], 0x44bc00
mov dword [0x515598], 0x44bc00
mov dword [0x5175a0], 0x44bca0
call fcn.0044beb0
mov ecx, dword [0x515598]
test eax, eax
mov edx, 0x44bca0
cmove ecx, edx
mov dword [0x515598], ecx
pop ecx
ret
Function at 0x44eec0
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 0x44eee6
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 0x44ef0f
lea esp, [esp]
mov cl, byte [eax]
and cl, 0xfe
cmp cl, 0xe8
je 0x44ef0f
inc eax
cmp eax, edx
jb 0x44ef00
mov ecx, eax
sub ecx, edi
mov edi, eax
sub ecx, ebx
sub edi, ebx
cmp eax, edx
jae 0x44eff2
cmp ecx, 2
jbe 0x44efb2
xor esi, esi
movzx ebx, byte [eax + 4]
lea ecx, [ebx + 1]
test cl, 0xfe
jne 0x44efe4
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 0x44ef8c
and esi, 6
mov edx, ebx
shl esi, 2
mov ecx, esi
shr edx, cl
inc edx
test dl, 0xfe
jne 0x44ef87
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 0x44eef2
shr esi, cl
test esi, esi
je 0x44ef2c
cmp esi, 4
ja 0x44efd9
cmp esi, 3
je 0x44efd9
mov ecx, esi
shr ecx, 1
movzx ecx, byte [ecx + eax + 1]
inc ecx
test cl, 0xfe
jne 0x44ef2c
or esi, 8
shr esi, 1
inc edi
jmp 0x44eef2
mov ebx, dword [ebp - 4]
or esi, 8
shr esi, 1
inc edi
jmp 0x44eef2
cmp ecx, 2
jbe 0x44f007
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 0x44ff70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c5c78
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.00450260
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 0x453220
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c5e13
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.004576f0
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.004576b0
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.004576b0
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 + 0xa4], eax
mov dword [edi + 0xa8], 7
mov word [edi + 0x94], ax
mov dword [edi + 0xac], eax
mov dword [edi + 0xb0], 0xffffffff
mov dword [edi + 0xb4], eax
mov eax, edi
mov dword [edi + 0xb8], 2
mov dword [edi + 0xbc], 2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x453630
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
mov eax, 0x4e67c6a7
push edi
movzx edi, word [esi]
test di, di
je 0x45365f
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 0x453641
pop edi
and eax, 0x7fff
pop esi
ret

Function at 0x456730
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c22b8
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.00453780
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0
call fcn.004656c0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x40]
call fcn.004658f0
test al, al
jne 0x456788
xor esi, esi
jmp 0x4567bb
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xffffffff
call fcn.00462780
lea ecx, [ebp - 0x30]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
lea eax, [ebp - 0x34]
push eax
push 0x456610
call dword [sym.imp.USER32.dll_EnumWindows]
mov esi, dword [ebp - 0x34]
cmp dword [ebp - 0x18], 8
jb 0x4567cd
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.004bdb6c
mov esp, ebp
pop ebp
ret 4
Function at 0x459b10
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x302c
call fcn.004be300
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 [0x51532c]
test al, 1
jne 0x459b93
push str.GetLogicalProcessorInformation
or eax, 1
push str.kernel32.dll
mov dword [0x51532c], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov dword [0x515330], esi
jmp 0x459b99
mov esi, dword [0x515330]
test esi, esi
je 0x459c07
push 0x3000
lea eax, [ebp - 0x3004]
push 0
push eax
call fcn.004be332
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 0x459c07
mov eax, 0xaaaaaaab
xor esi, esi
mul dword [ebp - 0x3008]
shr edx, 4
test edx, edx
je 0x459c07
lea ecx, [ebp - 0x3000]
jmp 0x459bf0
mov eax, dword [ecx]
sub eax, 0
je 0x459bfa
dec eax
jmp 0x459bfb
inc esi
add ecx, 0x18
dec edx
jne 0x459bf0
test esi, esi
je 0x459c07
mov dword [edi], esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004bdb6c
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c75f6
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 fcn.004be332
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.004251c0
push 0x4dbb00
lea edx, [ebp - 0x234]
mov dword [ebp - 4], 1
mov ecx, 0x5154f4
call fcn.00425410
add esp, 4
cmp dword [ebp - 0x220], 8
jb 0x45bf81
push dword [ebp - 0x234]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, 0x5154f4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004bdb6c
mov esp, ebp
pop ebp
ret 4
Function at 0x45c050
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c765b
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], 0x515510
call fcn.004be332
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 [0x515524], 7
mov dword [0x515520], 0
mov word [0x515510], ax
mov dword [ebp - 4], eax
mov ecx, 0x515510
lea eax, [ebp - 0x21c]
push eax
call fcn.004251c0
mov eax, 0x515510
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004bdb6c
mov esp, ebp
pop ebp
ret 4
Function at 0x45ca20
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c7847
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 fcn.004be332
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.004251c0
push str.lddownloader_
lea edx, [ebp - 0x234]
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x24c]
call fcn.00425410
add esp, 4
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0045c620
cmp dword [ebp - 0x238], 8
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x45cb04
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 0x45cb35
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.004251c0
sub esp, 0x18
mov dword [ebp - 4], 4
mov ecx, esp
lea edx, [ebp - 0x234]
push str.lddownloaderlddownloader.log
call fcn.00425410
add esp, 4
mov ecx, edi
call fcn.0045c6c0
add esp, 0x18
cmp dword [ebp - 0x220], 8
jb 0x45cba8
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.004bdb6c
mov esp, ebp
pop ebp
ret 4

Function at 0x45dc10
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 0x45dc5e
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
jb 0x45dc3a
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 0x45f510
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 0x45f533
mov eax, dword [edi]
jmp 0x45f535
mov eax, edi
cmp dword [esi + 0x14], 8
jb 0x45f53d
mov ecx, dword [esi]
push 1
push 0
push eax
push ecx
push str.shell_filename____s___param____s___runas___d__show___d
push 0x8e
push str.common::shell
call fcn.00460c60
push pe_nt_image_headers32
lea eax, [ebp - 0x11c]
push 0
push eax
call fcn.004be332
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 0x45f59f
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [edi + 0x14], 8
jb 0x45f5a7
mov edi, dword [edi]
cmp dword [esi + 0x14], 8
jb 0x45f5af
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 0x45f5f7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.shellEx_failed____lastError___d
push 0x9b
push str.common::shell
call fcn.00460c60
add esp, 0x10
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bdb6c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
call fcn.004bdb6c
mov esp, ebp
pop ebp
ret