joyce8/EMBER2024-capa huggingface dataset:
Function at 0x425c27
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x425c69
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.004047a8
mov eax, dword [ebp - 0x10]
call fcn.0042582c
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x425b52
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.00404c80
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00425fb8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x425c27
xor eax, eax
push ebp
push 0x425c20
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.004259d8
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.00425c98
test al, al
je 0x425bfe
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00404800
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x425bfe
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404be0
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x425bf8
mov eax, dword [ebp - 0x14]
call fcn.00404be0
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00404918
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.00425b00
dec ebx
cmp ebx, 0xffffffff
jne 0x425bb1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x425c27
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.004259d8
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.00404be0
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.004259c4
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x425c70
lea eax, [ebp - 0x3c]
call fcn.00404710
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00404734
ret

Function at 0x425c98
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.0040310c
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete al
mov edx, dword [0x4a48ac]
cmp byte [edx + 0xc], 0
je 0x425cfc
mov edx, dword [0x4a48a4]
cmp dword [edx], 2
jne 0x425cfc
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
ret
Function at 0x425ecc
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.00425840
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00404be0
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x425f2a
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4a45f4]
mov dl, 1
mov eax, dword [0x425738]
call fcn.0040ceb4
call fcn.004040a8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x425f34
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404be0
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x425f8c
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4a48bc]
mov dl, 1
mov eax, dword [0x425738]
call fcn.0040ceb4
call fcn.004040a8
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00425870
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4263a4
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, eax
call sub.kernel32.dll_GetTickCount_1
mov dword [0x4a2548], eax
mov byte [0x4a2534], 0
jmp 0x4263f9
cmp byte [0x4a5a0d], 2
je 0x4263d7
mov eax, dword [esi + 4]
call fcn.00404be0
push eax
call sub.kernel32.dll_OutputDebugStringA
jmp 0x4263df
mov eax, dword [esi + 4]
call fcn.00426270
mov eax, dword [ebx + 8]
mov esi, eax
mov eax, dword [eax + 0xc]
mov dword [ebx + 8], eax
lea eax, [esi + 4]
call fcn.00404710
mov eax, esi
call fcn.00403870
mov esi, dword [ebx + 8]
test esi, esi
jne 0x4263be
xor eax, eax
mov dword [ebx + 8], eax
xor eax, eax
mov dword [ebx + 0xc], eax
pop esi
pop ebx
pop ebp
ret
Function at 0x4302e8
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov byte [eax + 8], 0
mov eax, dword [ebp - 4]
add eax, 0x14
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], ebx
test ebx, ebx
jbe 0x43037c
xor eax, eax
push ebp
push 0x430366
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00430240
mov esi, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], esi
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.version.dll_GetFileVersionInfoA
cmp eax, 1
sbb eax, eax
inc eax
mov edx, dword [ebp - 4]
mov byte [edx + 8], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x43037c
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x430fe0
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 7
push 0
push 0
dec ecx
jne 0x430fe9
xchg dword [ebp - 4], ecx
push ebx
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4311c9
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 1
mov dl, 1
mov eax, dword [0x416998]
call fcn.00403840
mov dword [ebp - 0x14], eax
xor edx, edx
push ebp
push 0x431147
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0
mov ecx, dword [ebp - 0x14]
mov edx, 0x3f
mov eax, dword [ebp - 4]
call fcn.00430d9c
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x431131
inc eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x28]
push eax
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 4]
call fcn.00409808
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x1c]
pop ecx
call fcn.00404a2c
mov bl, 1
mov eax, dword [ebp - 0x1c]
call fcn.00404be0
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4310c6
test al, 0x10
je 0x4310c6
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x1c]
call fcn.0040dae0
lea eax, [ebp - 0x30]
mov edx, 0x4311e0
call fcn.004049e8
mov eax, dword [ebp - 0x30]
xor ecx, ecx
mov dl, 1
call fcn.00430fe0
mov ebx, eax
jmp 0x43111d
test bl, bl
je 0x43111d
cmp dword [ebp - 0xc], 0
je 0x4310f4
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 0x1c]
call fcn.004099e0
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x18]
call fcn.00408b60
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x54]
inc eax
jne 0x431125
push 0x80
mov eax, dword [ebp - 0x1c]
call fcn.00404be0
push eax
call sub.kernel32.dll_SetFileAttributesA
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
je 0x43111d
mov dl, 1
mov eax, dword [ebp - 0x1c]
call fcn.004307c0
mov ebx, eax
test bl, bl
jne 0x431125
mov byte [ebp - 0xd], 0
inc dword [ebp - 0x20]
dec dword [ebp - 0x24]
jne 0x43105c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43114e
lea eax, [ebp - 0x14]
call fcn.0040ea60
ret
Function at 0x43187c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x410], ebx
mov dword [ebp - 0x414], ebx
mov dword [ebp - 0x40c], ebx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov edi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x431a42
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
mov edx, dword [ebp + 0xc]
call fcn.00404764
xor eax, eax
push ebp
push 0x431a1a
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x40c]
mov eax, esi
call fcn.004314cc
mov edx, dword [ebp - 0x40c]
lea eax, [ebp - 0x110]
mov ecx, 0xff
call fcn.00409b7c
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x110]
push eax
push ebx
call sub.advapi32.dll_RegOpenKeyA
mov ebx, eax
test ebx, ebx
je 0x431913
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x431a24
lea eax, [ebp - 0x210]
mov ecx, 0xff
mov edx, dword [ebp - 4]
call fcn.00409b7c
xor eax, eax
push ebp
push 0x431a09
push dword fs:[eax]
mov dword fs:[eax], esp
lea esi, [ebp - 0x405]
mov dword [ebp - 8], 0x1f4
mov byte [esi], 0
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0x210]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
mov ebx, eax
test ebx, ebx
jne 0x431970
mov edx, edi
mov eax, esi
call fcn.00409cd4
jmp 0x4319b6
cmp ebx, 0xea
jne 0x4319b6
mov eax, dword [ebp - 8]
call fcn.00408b04
mov esi, eax
mov byte [esi], 0
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0x210]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
mov ebx, eax
test ebx, ebx
jne 0x4319af
mov edx, edi
mov eax, esi
call fcn.00409cd4
mov eax, esi
call fcn.00402794
test ebx, ebx
je 0x4319f2
cmp ebx, 2
je 0x4319f2
lea edx, [ebp - 0x414]
mov eax, ebx
call fcn.00408e74
mov ecx, dword [ebp - 0x414]
lea eax, [ebp - 0x410]
mov edx, 0x431a5c
call fcn.00404a2c
mov eax, dword [ebp - 0x410]
mov edx, 7
call fcn.00426b0c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x431a10
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x431a49
lea eax, [ebp - 0x414]
mov edx, 3
call fcn.00404734
ret
Function at 0x431a7c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc00
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x400], ebx
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov edi, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x431c4c
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x431c29
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 0x400]
mov eax, dword [ebp - 4]
call fcn.004314cc
mov edx, dword [ebp - 0x400]
lea eax, [ebp - 0x205]
call fcn.00409b58
cmp byte [ebp + 8], 0
je 0x431af1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x205]
push eax
push ebx
call sub.advapi32.dll_RegCreateKeyA
mov dword [ebp - 0xc], eax
jmp 0x431b05
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x205]
push eax
push ebx
call sub.advapi32.dll_RegOpenKeyA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x431b18
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x431c33
xor edx, edx
push ebp
push 0x431c18
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x431bfa
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, edi
call fcn.004049e0
mov ebx, eax
lea eax, [ebx + 1]
cmp eax, 0x1f4
jge 0x431b52
lea eax, [ebp - 0x205]
mov dword [ebp - 0x10], eax
jmp 0x431b5a
call fcn.00408b04
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x431bcb
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, edi
mov eax, dword [ebp - 0x10]
call fcn.00409b58
mov byte [ebp - 0x3fa], 0
lea eax, [ebp - 0x3fa]
mov edx, esi
call fcn.00409b58
test esi, esi
jne 0x431b8e
xor eax, eax
jmp 0x431b94
lea eax, [ebp - 0x3fa]
push ebx
mov edx, dword [ebp - 0x10]
push edx
push 1
push 0
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegSetValueExA
mov dword [ebp - 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x431bd2
lea eax, [ebp - 0x205]
cmp eax, dword [ebp - 0x10]
je 0x431bca
mov eax, dword [ebp - 0x10]
call fcn.00402794
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x431c53
lea eax, [ebp - 0x400]
call fcn.00404710
ret
Function at 0x431e4c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff9f8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x604], ebx
mov dword [ebp - 0x608], ebx
mov dword [ebp - 0x600], ebx
mov dword [ebp - 0x5fc], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov esi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x432067
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], esi
xor eax, eax
push ebp
push 0x43203f
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x5fc]
mov eax, edi
call fcn.004314cc
mov edx, dword [ebp - 0x5fc]
lea eax, [ebp - 0x20d]
call fcn.00409b58
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20d]
push eax
push ebx
call sub.advapi32.dll_RegOpenKeyA
mov ebx, eax
test ebx, ebx
je 0x431edd
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x432049
lea eax, [ebp - 0x402]
mov edx, dword [ebp - 4]
call fcn.00409b58
xor eax, eax
push ebp
push 0x43202e
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
lea eax, [ebp - 0x402]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
mov ebx, eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], eax
cmp dword [ebp - 0x18], 4
je 0x431fd4
cmp dword [ebp - 0x18], 3
je 0x431fd4
cmp dword [ebp - 0x18], 4
je 0x431fd4
cmp dword [ebp - 0x18], 5
je 0x431fd4
mov edx, 7
mov eax, 0x432084
call fcn.00426b0c
mov dword [ebp - 0xc], 0x1f4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x5f7]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
lea eax, [ebp - 0x402]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
mov ebx, eax
test ebx, ebx
jne 0x431fd4
mov edx, 7
mov eax, 0x4320c0
call fcn.00426b0c
lea eax, [ebp - 0x600]
lea edx, [ebp - 0x5f7]
mov ecx, 0x1f5
call fcn.00404990
mov eax, dword [ebp - 0x600]
mov edx, esi
call fcn.0040901c
mov dword [ebp - 8], eax
call fcn.00404154
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x432049
test ebx, ebx
je 0x431fdb
mov dword [ebp - 8], esi
test ebx, ebx
je 0x432017
cmp ebx, 2
je 0x432017
lea edx, [ebp - 0x608]
mov eax, ebx
call fcn.00408e74
mov ecx, dword [ebp - 0x608]
lea eax, [ebp - 0x604]
mov edx, 0x4320dc
call fcn.00404a2c
mov eax, dword [ebp - 0x604]
mov edx, 7
call fcn.00426b0c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x432035
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43206e
lea eax, [ebp - 0x608]
mov edx, 4
call fcn.00404734
ret
Function at 0x432cfc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
mov ebx, eax
lea eax, [ebp - 0x105]
push eax
push 0x105
call sub.kernel32.dll_GetTempPathA
mov eax, ebx
lea edx, [ebp - 0x105]
call fcn.00404918
cmp dword [ebx], 0
je 0x432d47
mov eax, dword [ebx]
call fcn.004049e0
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x5c
je 0x432d47
mov eax, ebx
mov edx, 0x432d54
call fcn.004049e8
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43723c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404bd0
xor eax, eax
push ebp
push 0x4372f8
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
xor esi, esi
push ebp
push 0x4372d0
push dword fs:[esi]
mov dword fs:[esi], esp
test bl, bl
je 0x437292
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00408c98
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 4]
call fcn.004047a8
mov ebx, 1
mov eax, dword [ebp - 4]
call fcn.004049e0
test eax, eax
jle 0x4372c3
mov edx, 1
imul ecx, ebx, 0x5517e877
mov ebx, ecx
mov ecx, dword [ebp - 4]
movzx ecx, byte [ecx + edx - 1]
xor ebx, dword [ecx*4 + 0x4a338c]
inc edx
dec eax
jne 0x4372a8
mov dword [ebp - 8], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4372da
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4372ff
lea eax, [ebp - 0xc]
call fcn.00404710
lea eax, [ebp - 4]
call fcn.00404710
ret
Function at 0x4374dc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbf8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov esi, dword [ebp + 8]
mov eax, esi
mov edx, dword [ebp + 0xc]
call fcn.00404764
xor edx, edx
push ebp
push 0x437604
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x110]
mov ecx, 0xff
mov edx, edi
call fcn.00409b7c
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x110]
push eax
push ebx
call sub.advapi32.dll_RegOpenKeyA
test eax, eax
je 0x43753e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x43760e
lea eax, [ebp - 0x210]
mov ecx, 0xff
mov edx, dword [ebp - 4]
call fcn.00409b7c
xor edx, edx
push ebp
push 0x4375f3
push dword fs:[edx]
mov dword fs:[edx], esp
lea ebx, [ebp - 0x405]
mov dword [ebp - 8], 0x1f4
mov byte [ebx], 0
lea eax, [ebp - 8]
push eax
push ebx
lea eax, [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0x210]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x437599
mov edx, esi
mov eax, ebx
call fcn.00409cd4
jmp 0x4375dc
cmp eax, 0xea
jne 0x4375dc
mov eax, dword [ebp - 8]
call fcn.00408b04
mov ebx, eax
mov byte [ebx], 0
lea eax, [ebp - 8]
push eax
push ebx
lea eax, [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0x210]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4375d5
mov edx, esi
mov eax, ebx
call fcn.00409cd4
mov eax, ebx
call fcn.00402794
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4375fa
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x43efcc
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x43efd2
ret

Function at 0x441414
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x441465
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x44144c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x44143c
jmp 0x441465
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x44144d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44dbd4
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44dd3d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x24
call fcn.0040310c
lea eax, [ebp - 0x28]
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp - 0x14]
mov dword [0x4a3b9c], eax
mov eax, dword [ebp - 0xc]
mov dword [0x4a3ba0], eax
mov eax, dword [ebp - 0x24]
mov dword [0x4a3ba4], eax
mov eax, dword [0x4a48a4]
cmp dword [eax], 2
sete byte [0x4a3b0c]
push 0x44dd48
call sub.kernel32.dll_GetModuleHandleA_2
lea edx, [ebp - 4]
call fcn.0044e33c
cmp byte [0x4a3b0c], 0
jne 0x44dc60
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.0044e370
test al, al
je 0x44dc60
mov eax, dword [ebp - 0x4c]
mov dword [0x4a64f8], eax
jmp 0x44dc67
xor eax, eax
mov dword [0x4a64f8], eax
call fcn.0044da6c
and eax, 0x7f
cmp eax, 0xb
ja case.0x44dc78.0
jmp dword [eax*4 + 0x44dc7f]
mov byte [0x4a3af8], 1
jmp case.0x44dc78.0
mov byte [0x4a3afc], 1
jmp case.0x44dc78.0
mov byte [0x4a3b00], 1
jmp case.0x44dc78.0
mov byte [0x4a3b04], 1
jmp case.0x44dc78.0
mov byte [0x4a3b08], 1
jmp case.0x44dc78.0
mov byte [0x4a3b10], 1
mov byte [0x4a3b14], 1
jmp case.0x44dc78.0
mov byte [0x4a3b10], 1
mov byte [0x4a3b18], 1
jmp case.0x44dc78.0
mov byte [0x4a3b10], 1
mov byte [0x4a3b1c], 1
jmp case.0x44dc78.0
mov byte [0x4a3b20], 1
jmp case.0x44dc78.0
mov byte [0x4a3b24], 1
jmp case.0x44dc78.0
mov byte [0x4a3b28], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44dd44
lea eax, [ebp - 4]
call fcn.00404710
ret
Function at 0x44dfd8
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
test dl, dl
je 0x44dfed
add esp, 0xfffffff0
call fcn.00403b7c
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov esi, dword [ebp + 8]
xor edx, edx
mov eax, ebx
call fcn.00403840
movzx edx, si
mov eax, dword [ebp - 8]
call fcn.0040930c
mov edi, eax
mov dword [ebx + 0x10], edi
cmp edi, 0xffffffff
jne 0x44e01b
call fcn.0040e4e4
and si, 0xf
cmp si, 2
jne 0x44e031
mov esi, 8
mov edi, 1
jmp 0x44e03b
mov esi, 2
mov edi, 4
push 0
push 0
push 0
push esi
push 0
mov eax, dword [ebx + 0x10]
push eax
call sub.kernel32.dll_CreateFileMappingA
mov dword [ebx + 0x14], eax
cmp dword [ebx + 0x14], 0
jne 0x44e074
mov eax, ebx
call fcn.0044df90
mov ecx, dword [0x4a4584]
mov dl, 1
mov eax, dword [0x44dec4]
call fcn.0044ca10
call fcn.004040a8
push 0
push 0
push 0
push edi
mov eax, dword [ebx + 0x14]
push eax
call sub.kernel32.dll_MapViewOfFile
mov esi, eax
test esi, esi
jne 0x44e0a8
mov eax, ebx
call fcn.0044df90
mov ecx, dword [0x4a47b4]
mov dl, 1
mov eax, dword [0x44df28]
call fcn.0044ca10
call fcn.004040a8
push 0
mov eax, dword [ebx + 0x10]
push eax
call sub.kernel32.dll_GetFileSize_1
cmp eax, 0xffffffff
jne 0x44e0dc
push esi
call sub.kernel32.dll_UnmapViewOfFile
mov eax, ebx
call fcn.0044df90
mov ecx, dword [0x4a46f8]
mov dl, 1
mov eax, dword [0x44df28]
call fcn.0044ca10
call fcn.004040a8
mov ecx, eax
mov edx, esi
mov eax, ebx
call fcn.0041ad5c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44e0fe
call fcn.00403bd4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4

Function at 0x44e370
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x44e417
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.00404be0
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jbe 0x44e401
lea eax, [ebp - 0x10]
mov edx, edi
call fcn.00404d6c
mov eax, dword [ebp - 0x10]
push eax
push edi
mov eax, dword [ebp - 0xc]
push eax
mov eax, esi
call fcn.00404be0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x44e401
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x44e428
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x44e401
cmp dword [ebp - 8], 0x34
jne 0x44e401
mov bl, 1
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov esi, eax
mov edi, edx
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e41e
lea eax, [ebp - 0x10]
call fcn.00404710
ret