joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408cf0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x488
mov eax, dword [0x4d84d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0x488], 0
mov dword [ebp - 0x44], 0x40
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov byte [ebp - 0x444], 0
push 0x3ff
push 0
lea eax, [ebp - 0x443]
push eax
call fcn.00490e10
add esp, 0xc
push 0
push 0x400
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.004920e0
push 0
push 0x400
push edx
push eax
call fcn.004920e0
push edx
push eax
push 0x4b6fd4
push 0x400
lea edx, [ebp - 0x444]
push edx
call fcn.0049206d
add esp, 0x14
lea eax, [ebp - 0x444]
push eax
mov ecx, dword [ebp + 8]
call fcn.00402c00
mov ecx, dword [ebp - 0x488]
or ecx, 1
mov dword [ebp - 0x488], ecx
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004909b2
mov esp, ebp
pop ebp
ret

Function at 0x40aed0
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b1bc8
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push esi
push edi
mov eax, dword [0x4d84d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jge 0x40af1b
cmp dword [ebp - 0x14], 0x80010106
jne 0x40afd1
push 0
push 0
push 0
push 3
push 4
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
add eax, 0x10
push eax
push 0x4cde9c
push 1
push 0
push 0x4cdf6c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
add eax, 0xc
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x4b7194
lea ecx, [ebp - 0x58]
call fcn.0040ac70
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x60], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x60]
call fcn.0040ae10
push eax
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x10]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x10]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 0xc]
call ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.0040add0
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
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 0x415920
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b2708
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x4d84d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x40], 0
je 0x415965
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x45]
test ecx, ecx
jne 0x415971
mov al, 1
jmp 0x415b35
mov dword [ebp - 0x18], 8
call fcn.004182a0
push eax
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x94], eax
call fcn.004182a0
mov dword [ebp - 0x90], eax
lea ecx, [ebp - 0x94]
push ecx
lea edx, [ebp - 0x90]
push edx
call fcn.00418330
add esp, 8
movzx eax, al
test eax, eax
je 0x4159c0
xor al, al
jmp 0x415b35
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.00409a70
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x8c]
push ecx
lea ecx, [ebp - 0x34]
call fcn.00409f80
mov ecx, eax
call fcn.0041fb70
mov esi, eax
lea ecx, [ebp - 0x34]
call fcn.00407860
add esi, eax
push esi
lea edx, [ebp - 0x88]
push edx
lea ecx, [ebp - 0x34]
call fcn.00409f80
mov ecx, eax
call fcn.0041fb70
push eax
mov eax, dword [ebp - 0x14]
add eax, 0x48
push eax
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x40]
call fcn.0041e120
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0
je 0x415a4d
cmp dword [ebp - 0x98], 1
je 0x415a54
cmp dword [ebp - 0x98], 3
je 0x415af1
jmp 0x415b09
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x45], 0
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x34]
call fcn.00409f80
mov ecx, eax
call fcn.0041fb70
mov ecx, dword [ebp - 0x1c]
sub ecx, eax
mov dword [ebp - 0x38], ecx
je 0x415aba
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x50]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 1
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x34]
call fcn.00409f80
mov ecx, eax
call fcn.0041fb70
push eax
call fcn.004939d5
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x415aba
mov byte [ebp - 0x7c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004048f0
mov al, byte [ebp - 0x7c]
jmp 0x415b35
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x45]
test ecx, ecx
jne 0x415add
mov byte [ebp - 0x7b], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004048f0
mov al, byte [ebp - 0x7b]
jmp 0x415b35
cmp dword [ebp - 0x38], 0
jne 0x415aef
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.00409280
jmp 0x415b21
mov byte [ebp - 0x7a], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004048f0
mov al, byte [ebp - 0x7a]
jmp 0x415b35
mov byte [ebp - 0x79], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004048f0
mov al, byte [ebp - 0x79]
jmp 0x415b35
jmp 0x4159d3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004909b2
mov esp, ebp
pop ebp
ret
Function at 0x4200d0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b2d8b
mov eax, dword fs:[0]
push eax
sub esp, 0x5bc
mov eax, dword [0x4d84d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
cmp dword [ebp + 8], 0
jne 0x42010e
xor al, al
jmp 0x420330
mov byte [ebp - 0x114], 0
push 0xff
push 0
lea eax, [ebp - 0x113]
push eax
call fcn.00490e10
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x114]
push ecx
call fcn.0041ec80
add esp, 8
mov dword [ebp - 0x118], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x5bc], eax
mov ecx, dword [ebp - 0x5bc]
add ecx, 1
mov dword [ebp - 0x5c0], ecx
mov edx, dword [ebp - 0x5bc]
mov al, byte [edx]
mov byte [ebp - 0x5c1], al
add dword [ebp - 0x5bc], 1
cmp byte [ebp - 0x5c1], 0
jne 0x420160
mov ecx, dword [ebp - 0x5bc]
sub ecx, dword [ebp - 0x5c0]
mov dword [ebp - 0x5c8], ecx
mov edx, dword [ebp - 0x5c8]
mov dword [ebp - 0x11c], edx
push 4
lea ecx, [ebp - 0x120]
call fcn.00424830
lea ecx, [ebp - 0x120]
call fcn.0041f060
mov dword [ebp - 4], 0
mov byte [ebp - 0x320], 0
push 0x1ff
push 0
lea eax, [ebp - 0x31f]
push eax
call fcn.00490e10
add esp, 0xc
mov eax, dword [ebp - 0x11c]
movsx ecx, byte [ebp + eax - 0x115]
cmp ecx, 0x5c
je 0x4201f9
mov eax, dword [ebp - 0x11c]
mov byte [ebp + eax - 0x114], 0x5c
mov eax, dword [ebp - 0x118]
movsx ecx, byte [ebp + eax - 0x114]
test ecx, ecx
je 0x420311
mov eax, dword [ebp - 0x118]
movsx ecx, byte [ebp + eax - 0x114]
cmp ecx, 0x3a
jne 0x420233
mov eax, dword [ebp - 0x118]
add eax, 2
mov dword [ebp - 0x118], eax
jmp 0x4201f9
mov eax, dword [ebp - 0x118]
movsx ecx, byte [ebp + eax - 0x114]
cmp ecx, 0x5c
jne 0x4202fd
mov eax, dword [ebp - 0x118]
push eax
lea ecx, [ebp - 0x114]
push ecx
lea edx, [ebp - 0x320]
push edx
call fcn.004915c0
add esp, 0xc
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x5b8], eax
cmp dword [ebp - 0x5b8], 0x200
jae 0x420281
jmp 0x420286
call fcn.00495a4b
mov ecx, dword [ebp - 0x5b8]
mov byte [ebp + ecx - 0x320], 0
lea eax, [ebp - 0x320]
push eax
lea ecx, [ebp - 0x120]
call fcn.0041f780
lea eax, [ebp - 0x570]
push eax
lea ecx, [ebp - 0x120]
call fcn.00404b30
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x4202fd
push 0
lea ecx, [ebp - 0x120]
call fcn.00404b30
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4202fd
mov byte [ebp - 0x5b2], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x120]
call fcn.0041f5f0
mov al, byte [ebp - 0x5b2]
jmp 0x420330
mov eax, dword [ebp - 0x118]
add eax, 1
mov dword [ebp - 0x118], eax
jmp 0x4201f9
mov byte [ebp - 0x5b1], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x120]
call fcn.0041f5f0
mov al, byte [ebp - 0x5b1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004909b2
mov esp, ebp
pop ebp
ret 4
Function at 0x4234e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x423507
xor eax, eax
jmp 0x423587
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x42351e
xor eax, eax
jmp 0x423587
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
and eax, 0xf
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jbe 0x42356a
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jae 0x42356a
mov eax, dword [ebp - 4]
movzx ecx, word [eax]
mov edx, dword [ebp - 4]
lea eax, [edx + ecx*2 + 2]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
sub eax, 1
mov dword [ebp - 0x14], eax
jmp 0x423541
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jb 0x423576
xor eax, eax
jmp 0x423587
mov eax, dword [ebp - 4]
movzx ecx, word [eax]
test ecx, ecx
jne 0x423584
xor eax, eax
jmp 0x423587
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x425c60
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b3280
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x4d84d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0
xor eax, eax
mov word [ebp - 0x18], ax
xor eax, eax
mov word [ebp - 0x16], ax
push 0
lea ecx, [ebp + 8]
call fcn.0041fb40
mov ecx, 2
imul edx, ecx, 0
mov ax, word [eax]
mov word [ebp + edx - 0x18], ax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x30]
call fcn.00404750
mov byte [ebp - 4], 1
push 0x4b797c
lea ecx, [ebp - 0x30]
call fcn.00402c70
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], 0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x38]
push edx
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x30]
call fcn.00403a30
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
je 0x425db2
mov eax, dword [ebp - 0x34]
imul eax, dword [ebp - 0x38]
mov dword [ebp - 0x9c], eax
cvtsi2sd xmm0, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0x9c]
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x4b8730]
divsd xmm0, qword [0x4b8708]
movsd qword [ebp - 0x48], xmm0
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x9c], eax
cvtsi2sd xmm0, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0x9c]
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x4b8730]
mulsd xmm0, qword [ebp - 0x48]
movsd qword [ebp - 0x50], xmm0
movsd xmm0, qword [ebp - 0x50]
call fcn.0049645f
mov dword [ebp - 0x98], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00402c50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402c50
mov eax, dword [ebp - 0x98]
jmp 0x425ddd
mov dword [ebp - 0x94], 0xffffffff
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00402c50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402c50
mov eax, dword [ebp - 0x94]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004909b2
mov esp, ebp
pop ebp
ret 0x18
Function at 0x429d60
Capabilities:
Create process on windows
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
add ecx, 0x974
call fcn.00432e6a
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 1
mov ecx, dword [ebp - 4]
add ecx, 0x8f0
call fcn.00432e6a
push eax
push 0
mov ecx, dword [ebp - 4]
add ecx, 0x974
call fcn.00432e6a
push eax
push 0x4b7e38
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42b600
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp + 8]
mov dword [edx + ecx], 0x67452301
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + eax], 0xefcdab89
mov eax, 4
shl eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + eax], 0x98badcfe
mov eax, 4
imul ecx, eax, 3
mov edx, dword [ebp + 8]
mov dword [edx + ecx], 0x10325476
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp + 8]
mov dword [edx + ecx + 0x10], 0
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + eax + 0x10], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42cf50
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x4d84d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
mov edx, dword [eax + 0x108]
cmp edx, dword [ecx + 0x27c]
jne 0x42cfb4
mov eax, dword [ebp - 8]
add eax, 0x29c
push eax
lea ecx, [ebp - 0x20]
call fcn.004046a0
push 1
push 0
push 0
lea ecx, [ebp - 0x20]
call fcn.00403a30
push eax
push 0x4b7e38
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x20]
call fcn.00402c50
jmp 0x42d105
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
mov edx, dword [eax + 0x108]
cmp edx, dword [ecx + 0x278]
jne 0x42cfff
movzx eax, byte [0x4daf10]
test eax, eax
je 0x42cfe6
push 6
call fcn.0040c580
add esp, 4
push 0
call fcn.0049303a
jmp 0x42cffa
push 5
call fcn.0040c580
add esp, 4
push 1
mov ecx, dword [ebp - 8]
call fcn.004354fa
jmp 0x42d105
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
mov edx, dword [eax + 0x108]
cmp edx, dword [ecx + 0x274]
jne 0x42d022
push 1
mov ecx, dword [ebp - 8]
call fcn.004354fa
jmp 0x42d105
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
mov edx, dword [eax + 0x108]
cmp edx, dword [ecx + 0x280]
je 0x42d04a
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
mov edx, dword [eax + 0x108]
cmp edx, dword [ecx + 0x284]
jne 0x42d056
push 0
call fcn.0049303a
jmp 0x42d105
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
mov edx, dword [eax + 0x108]
cmp edx, dword [ecx + 0x288]
jne 0x42d079
push 1
mov ecx, dword [ebp - 8]
call fcn.004354fa
jmp 0x42d105
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
mov edx, dword [eax + 0x108]
cmp edx, dword [ecx + 0x290]
jne 0x42d0a3
push 5
call fcn.0040c580
add esp, 4
push 1
mov ecx, dword [ebp - 8]
call fcn.004354fa
jmp 0x42d105
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
mov edx, dword [eax + 0x108]
cmp edx, dword [ecx + 0x28c]
jne 0x42d0ca
push 6
call fcn.0040c680
add esp, 4
push 0
call fcn.0049303a
jmp 0x42d105
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
mov edx, dword [eax + 0x108]
cmp edx, dword [ecx + 0x294]
jne 0x42d0e7
push 0
call fcn.0049303a
jmp 0x42d105
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
mov edx, dword [eax + 0x108]
cmp edx, dword [ecx + 0x298]
jne 0x42d105
push 1
mov ecx, dword [ebp - 8]
call fcn.004354fa
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004909b2
mov esp, ebp
pop ebp
ret 4
Function at 0x42d120
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b39cb
mov eax, dword fs:[0]
push eax
sub esp, 0x1ac
mov eax, dword [0x4d84d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [0x4d800c]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0xfffffffffffffff0
mov ecx, dword [ebp - 0x14]
call fcn.004353ef
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
and eax, 0xff3fffff
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
or eax, 0x4000000
or eax, 0x2000000
push eax
push 0xfffffffffffffff0
mov ecx, dword [ebp - 0x14]
call fcn.004353ef
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x14
call fcn.00432eb6
push 0x148
lea ecx, [ebp - 0x160]
call fcn.00424830
lea ecx, [ebp - 0x160]
call fcn.0043867d
mov dword [ebp - 4], 0
mov dword [ebp - 0x164], 0
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx eax, ax
cmp eax, 0x804
jne 0x42d239
push 0
mov eax, dword [ebp - 0x14]
add eax, 0x14
push eax
push 0
push 0x4b799c
push ecx
mov ecx, esp
mov dword [ebp - 0x1b4], esp
push 0x9c
call fcn.0041f590
lea ecx, [ebp - 0x160]
call fcn.00439062
mov dword [ebp - 0x164], eax
push str.http:__forum.droid4x.cn_
mov ecx, dword [ebp - 0x14]
add ecx, 0x29c
call fcn.00404a50
jmp 0x42d280
push 0
mov eax, dword [ebp - 0x14]
add eax, 0x14
push eax
push 0
push 0x4b799c
push ecx
mov ecx, esp
mov dword [ebp - 0x1b0], esp
push 0xa7
call fcn.0041f590
lea ecx, [ebp - 0x160]
call fcn.00439062
mov dword [ebp - 0x164], eax
push str.http:__forum.droid4x.com_
mov ecx, dword [ebp - 0x14]
add ecx, 0x29c
call fcn.00404a50
cmp dword [ebp - 0x164], 0
jne 0x42d2c1
push 0
push 0x4b7a68
push str.main.xml
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov dword [ebp - 0x1ac], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x160]
call fcn.0041f670
mov eax, dword [ebp - 0x1ac]
jmp 0x42d32d
mov eax, dword [ebp - 0x164]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x14
call fcn.00432a08
cmp dword [ebp - 0x14], 0
je 0x42d2e7
mov eax, dword [ebp - 0x14]
add eax, 0x10
mov dword [ebp - 0x1b8], eax
jmp 0x42d2f1
mov dword [ebp - 0x1b8], 0
mov ecx, dword [ebp - 0x1b8]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x14
call fcn.0043293f
mov ecx, dword [ebp - 0x14]
call fcn.0042e5f0
mov dword [ebp - 0x1a8], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x160]
call fcn.0041f670
mov eax, dword [ebp - 0x1a8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004909b2
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4307c0
Capabilities:
Get common file path
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc80
mov eax, dword [0x4d84d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
push eax
call fcn.00434e62
add esp, 4
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jge 0x4307fa
xor eax, eax
jmp 0x430917
mov byte [ebp - 0x10c], 0
push 0x103
push 0
lea eax, [ebp - 0x10b]
push eax
call fcn.00490e10
add esp, 0xc
push 0
push 0x1a
lea eax, [ebp - 0x10c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x4308a2
mov byte [ebp - 0x210], 0
push 0x103
push 0
lea eax, [ebp - 0x20f]
push eax
call fcn.00490e10
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
push str._sdroid4xinstaller.log
lea ecx, [ebp - 0x210]
push ecx
call fcn.0041ec50
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x4b8c94
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call fcn.00493df3
mov ecx, 0x20
shl ecx, 0
add eax, ecx
push eax
push 0x4b8c98
lea edx, [ebp - 0x210]
push edx
call fcn.00496b16
add esp, 0xc
push 0xa2c
lea ecx, [ebp - 0xc3c]
call fcn.00424830
lea ecx, [ebp - 0xc3c]
call fcn.0041f280
push 0
push 0x190
push 0x12c
push 0
push 0
push 0
push 0x10ca0000
push 0x4b6a90
push 0
lea ecx, [ebp - 0xc3c]
call fcn.00435520
lea ecx, [ebp - 0xc3c]
call fcn.004353f3
call fcn.00434376
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [ebp - 0xc80], 0
lea ecx, [ebp - 0xc3c]
call fcn.0041f690
mov eax, dword [ebp - 0xc80]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004909b2
mov esp, ebp
pop ebp
ret 0x10

Function at 0x433041
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
push 0x11
call edi
push 8
pop ecx
test ax, ax
push 2
cmovs esi, ecx
call edi
test ax, ax
jns 0x433064
or esi, 1
push 1
call edi
test ax, ax
jns 0x433070
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x43307c
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x433088
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x4343d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea ecx, [esi + 0xd0]
call fcn.004353ef
mov edi, dword [ebp + 8]
test eax, eax
jle 0x434426
push ebx
lea ecx, [esi + 0xd0]
mov byte [ebp + 0xb], 0
call fcn.0043160f
lea ecx, [ebp + 0xb]
push ecx
push dword [ebp + 0x10]
mov edx, dword [eax]
mov ecx, eax
push dword [ebp + 0xc]
push edi
call dword [edx]
cmp byte [ebp + 0xb], 0
jne 0x434481
lea ecx, [esi + 0xd0]
inc ebx
call fcn.004353ef
cmp ebx, eax
jl 0x4343ef
sub edi, 0x100
je 0x4344db
sub edi, 4
je 0x434485
dec edi
dec edi
jne 0x4344d0
push dword [ebp + 0xc]
xor eax, eax
mov dword [ebp + 8], eax
call fcn.00491f32
pop ecx
mov ecx, dword [esi + 0x50]
lea edx, [ebp + 8]
push reloc.WS2_32.dll_ioctlsocket
mov word [ebp + 8], ax
push edx
mov eax, dword [ecx]
push 0x43530d
call dword [eax + 0xf4]
mov esi, eax
test esi, esi
je 0x4344d0
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xe8]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
mov al, 1
jmp 0x4344d2
cmp dword [esi + 0x54], 0
je 0x4344d0
xor eax, eax
lea edi, [ebp - 0x1c]
push 7
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
mov word [ebp - 0xc], ax
mov eax, dword [esi + 0x64]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x68]
mov dword [ebp - 0x20], 6
mov dword [ebp - 0x10], eax
call fcn.00433041
mov word [ebp - 0xa], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x54]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x100]
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x4344d0
mov ecx, dword [esi + 0x54]
test ecx, ecx
je 0x434528
mov eax, dword [ecx]
call dword [eax + 0xc0]
test al, al
je 0x434528
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
call dword [eax + 0xcc]
test al, al
je 0x434528
mov ecx, dword [esi + 0x54]
push str.RichEditUI
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.0049981b
pop ecx
pop ecx
test eax, eax
je 0x434528
mov ecx, dword [esi + 0x54]
call fcn.004411c0
test al, al
jne 0x4344d0
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, esi
setns al
movzx eax, al
push eax
call fcn.00434e95
jmp 0x434481