joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003dd20
Capabilities:
Execute vbscript javascript or jscript in memory

Disassembly:
push 0xffffffffffffffff
push 0x100654f8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100862c4]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [esp + 0x34]
test esi, esi
jne 0x1003dd5b
mov esi, 0x80070057
jmp 0x1003defa
cmp dword [esp + 0x38], 0
je 0x1003dd51
cmp dword [ebx + 0x3c], esi
je 0x1003dd81
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x1003dd7e
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [ebx + 0x3c], esi
mov ecx, ebx
call fcn.1003db40
mov esi, eax
test esi, esi
jl 0x1003defa
lea edi, [ebx + 0x24]
push edi
push 0x1006e4a4
push 1
push 0
push 0x1006e2a8
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jl 0x1003defa
mov eax, dword [edi]
mov ecx, dword [eax]
mov edx, dword [ecx]
lea ebp, [ebx + 0x28]
push ebp
push 0x1006e4c4
push eax
call edx
mov esi, eax
test esi, esi
jl 0x1003defa
mov ecx, ebx
call fcn.1003ab60
mov eax, dword [edi]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push ebx
push eax
call edx
mov esi, eax
test esi, esi
jl 0x1003defa
mov eax, dword [edi]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x20]
push 2
push str.setTimer
push eax
call edx
mov esi, eax
test esi, esi
jl 0x1003defa
mov eax, dword [edi]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x20]
push 2
push str.killTimer
push eax
call edx
mov esi, eax
test esi, esi
jl 0x1003defa
mov eax, dword [edi]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x20]
push 6
push str.toolbar
push eax
call edx
mov esi, eax
test esi, esi
jl 0x1003defa
mov eax, dword [ebp]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push eax
call edx
mov esi, eax
test esi, esi
jl 0x1003defa
mov ecx, ebx
call fcn.1003a9a0
mov esi, eax
test esi, esi
jl 0x1003defa
mov eax, dword [esp + 0x38]
push eax
mov ecx, ebx
call fcn.1003c0c0
mov esi, eax
test esi, esi
jl 0x1003defa
mov edi, dword [edi]
mov ecx, dword [edi]
mov edx, dword [ecx + 0x14]
push 2
push edi
call edx
mov esi, eax
test esi, esi
jl 0x1003defa
lea eax, [esp + 0x14]
push eax
xor ebp, ebp
xor edi, edi
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea ecx, [esp + 0x14]
push ecx
sub esp, 0x10
mov eax, esp
mov dword [eax], ebp
mov dword [eax + 4], edi
mov dword [eax + 8], edi
push str.__CTPOnToolbarInit
mov ecx, ebx
mov dword [esp + 0x44], edi
mov dword [eax + 0xc], edi
call fcn.1003ae20
mov esi, eax
test esi, esi
jge 0x1003decc
lea edx, [esp + 0x14]
push edx
jmp 0x1003def4
lea eax, [esp + 0x14]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ebp
mov dword [eax + 4], edi
mov dword [eax + 8], edi
push str.OnToolbarInit
mov ecx, ebx
mov dword [eax + 0xc], edi
call fcn.1003ae20
lea ecx, [esp + 0x14]
mov esi, eax
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 8
Function at 0x1003f280
Capabilities:
Get file size
Read file on windows

Disassembly:
push ecx
push ebx
push esi
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1003f2ac
pop esi
mov eax, 0x3ee
pop ebx
pop ecx
ret
push edi
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x1003f2c4
mov ebx, 0x3ee
jmp 0x1003f2ef
lea ecx, [edi + 1]
push ecx
call fcn.1004aa4a
mov edx, dword [esp + 0x18]
add esp, 4
push 0
lea ecx, [esp + 0x10]
push ecx
push edi
push eax
push esi
mov dword [edx], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1003f2ef
mov ebx, 0x1e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
mov eax, ebx
jne 0x1003f302
mov edx, dword [esp + 0x18]
mov dword [edx], edi
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x1003fb50
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x10065746
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x100862c4]
xor eax, esp
mov dword [esp + 0x13c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100862c4]
xor eax, esp
push eax
lea eax, [esp + 0x154]
mov dword fs:[0], eax
mov edi, dword [esp + 0x164]
mov esi, ecx
xor ebx, ebx
lea eax, [esi + 8]
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], eax
mov byte [esp + 0x24], bl
call fcn.1000223f
mov edx, dword [esi]
mov edx, dword [edx + 8]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
mov dword [esp + 0x164], ebx
call edx
mov esi, eax
cmp esi, ebx
jne 0x1003fcae
mov eax, dword [str.0ACFE224713A92B4]
push eax
push 0x20
lea ecx, [esp + 0x138]
mov ebx, 1
add dword [esp + 0x20], ebx
push ecx
call fcn.10006713
lea edx, [esp + 0x130]
push edx
lea ecx, [esp + 0x30]
call fcn.100483c0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push eax
push ecx
lea ecx, [esp + 0x34]
mov byte [esp + 0x164], bl
call fcn.100482c0
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push edi
mov dword [esp + 0x38], 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1003fc52
mov esi, 0x3ee
jmp 0x1003fc90
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea edx, [esp + 0x2c]
push edx
push 4
push 0x10085ff8
push esi
call edi
test eax, eax
je 0x1003fc7d
push 0
lea eax, [esp + 0x2c]
push eax
push ebp
push ebx
push esi
call edi
test eax, eax
jne 0x1003fc85
mov dword [esp + 0x1c], 0x1d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
push ecx
call fcn.1004ace2
add esp, 4
lea ecx, [esp + 0x2c]
mov byte [esp + 0x15c], 0
call fcn.10034100
cmp byte [esp + 0x24], 0
je 0x1003fcc0
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
mov ecx, dword [esp + 0x154]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x13c]
xor ecx, esp
call fcn.1004ada8
add esp, 0x14c
ret 4
Function at 0x10040010
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
movzx edi, ax
mov eax, dword [esp + 0x20]
push edi
push ebp
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceExA]
mov esi, eax
test esi, esi
jne 0x1003ffa9
and edi, 0x3ff
push edi
mov edi, dword [esp + 0x24]
push ebp
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceExA]
mov esi, eax
test esi, esi
jne 0x1003ffa9
push 0x409
push ebp
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceExA]
mov esi, eax
test esi, esi
jne 0x1003ffa9
pop edi
pop esi
pop ebp
mov eax, 0x490
pop ebx
pop ecx
ret 0xc
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x1003ffc5
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test esi, esi
jne 0x1003ffe0
pop edi
pop esi
pop ebp
mov eax, 0xd
pop ebx
pop ecx
ret 0xc
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x1003ffd3
mov ecx, dword [esp + 0x10]
push 1
add esi, 0xfffffffc
push esi
add eax, 4
push eax
call fcn.1003f980
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
movzx edx, word [esp + 8]
mov dword [esp + 8], edx
jmp 0x1003ff40
Function at 0x10042ba0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x10]
push ebp
push esi
push edi
push ebx
mov edi, ecx
mov dword [esp + 0x14], 0
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea esi, [eax + 1]
push esi
call fcn.1004aa4a
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x10042bdd
pop edi
pop esi
pop ebp
mov eax, 8
pop ebx
add esp, 8
ret 8
push esi
push ebp
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x10042c8f
mov edx, dword [str._tag_]
mov eax, edx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10042c00
sub eax, esi
mov ebx, eax
push ebx
push edx
push ebp
call fcn.1004fb78
add esp, 0xc
test eax, eax
jne 0x10042c8b
push eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
push 0
add ebx, ebp
push ebx
mov ecx, edi
call fcn.10042840
cmp eax, 0x7a
jne 0x10042c8b
mov eax, dword [esp + 0x14]
push eax
mov dword [esp + 0x18], eax
call fcn.1004aa4a
mov esi, eax
add esp, 4
test esi, esi
jne 0x10042c58
mov dword [esp + 0x10], 8
jmp 0x10042cbc
lea ecx, [esp + 0x14]
push ecx
push esi
push ebx
mov ecx, edi
call fcn.10042990
mov edx, dword [esp + 0x1c]
push esi
push edx
call dword [sym.imp.USER32.dll_SetWindowTextA]
push esi
mov ebx, eax
call fcn.1004ace2
add esp, 4
test ebx, ebx
jne 0x10042c8b
mov dword [esp + 0x10], 0x1d
jmp 0x10042cbc
mov ebx, dword [esp + 0x1c]
cmp dword [esp + 0x20], 0
je 0x10042cbc
push 5
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetWindow]
call ebx
mov esi, eax
test esi, esi
je 0x10042cbc
push 1
push esi
mov ecx, edi
call fcn.10042ba0
push 2
push esi
call ebx
mov esi, eax
test esi, esi
jne 0x10042ca7
push ebp
call fcn.1004ace2
mov eax, dword [esp + 0x14]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
Function at 0x10042d50
Capabilities:
Check os version

Disassembly:
sub esp, 0x98
mov eax, dword [0x100862c4]
xor eax, esp
mov dword [esp + 0x94], eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersion]
push edi
call esi
movzx edi, al
call esi
call esi
cmp eax, 0x80000000
jb 0x10042d9d
cmp edi, 4
jae 0x10042d9d
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.1004ada8
add esp, 0x98
ret
lea eax, [esp + 8]
push eax
mov dword [esp + 0xc], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esp + 0xc]
sub eax, 3
je 0x10042ed5
sub eax, 1
mov ecx, dword [esp + 0x10]
je 0x10042de4
sub eax, 1
je 0x10042dfa
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.1004ada8
add esp, 0x98
ret
test ecx, ecx
je 0x10042e73
cmp ecx, 0xa
je 0x10042e81
cmp ecx, 0x5a
je 0x10042e57
mov eax, ecx
sub eax, 0
je 0x10042e3b
sub eax, 1
je 0x10042e1f
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.1004ada8
add esp, 0x98
ret
pop edi
mov eax, 8
pop esi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.1004ada8
add esp, 0x98
ret
pop edi
mov eax, 7
pop esi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.1004ada8
add esp, 0x98
ret
pop edi
mov eax, 5
pop esi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.1004ada8
add esp, 0x98
ret
mov eax, dword [esp + 0x18]
sub eax, 1
je 0x10042eb9
sub eax, 1
je 0x10042e9d
pop edi
mov eax, 4
pop esi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.1004ada8
add esp, 0x98
ret
pop edi
mov eax, 6
pop esi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.1004ada8
add esp, 0x98
ret
pop edi
mov eax, 3
pop esi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.1004ada8
add esp, 0x98
ret
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
xor ecx, esp
mov eax, 2
call fcn.1004ada8
add esp, 0x98
ret

Function at 0x10042f80
Capabilities:
Get file version info

Disassembly:
sub esp, 0x114
mov eax, dword [0x100862c4]
xor eax, esp
mov dword [esp + 0x110], eax
push ebp
push esi
mov esi, dword [esp + 0x120]
test esi, esi
push edi
mov ebp, ecx
jne 0x10042fa9
mov esi, 0x10087a80
push ebx
lea eax, [esp + 0x14]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov ebx, eax
push ebx
call fcn.1004aa4a
add esp, 4
push esi
push 0x104
lea ecx, [esp + 0x24]
push ecx
mov edi, eax
call fcn.10006713
push edi
push ebx
push 0
lea edx, [esp + 0x28]
push edx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
pop ebx
jne 0x10042ff8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
call fcn.1004ace2
add esp, 4
xor al, al
jmp 0x1004302b
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x10]
push ecx
push 0x1006c10c
push edi
call sub.VERSION.dll_VerQueryValueA
mov eax, dword [esp + 0xc]
mov edx, dword [eax + 0x14]
mov eax, dword [eax + 0x10]
push edx
push eax
mov ecx, ebp
call fcn.10042f00
push edi
call fcn.1004ace2
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.1004ada8
add esp, 0x114
ret 4
Function at 0x10043e20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 0x10]
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x20]
mov esi, ecx
lea ecx, [esp + 0x14]
push ecx
push 0
push edx
push 0
push 0
push 0
push eax
push ebp
mov dword [esp + 0x34], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, eax
test edi, edi
jne 0x10043e7b
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
je 0x10043e73
push ecx
call ebx
mov dword [esi], 0
mov ecx, dword [esp + 0x10]
mov edi, eax
mov dword [esi], ecx
push ebp
call ebx
test edi, edi
jne 0x10043eaf
lea edx, [esp + 0x20]
push edx
mov edx, dword [esi]
lea eax, [esi + 0x8cc]
push eax
lea ecx, [esp + 0x20]
push ecx
push edi
push edi
push edx
mov dword [esp + 0x38], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 1
mov ecx, esi
call fcn.10043dc0
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc

Function at 0x10043ec0
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
push edx
mov edx, dword [esp + 0xc]
push eax
mov eax, dword [ecx]
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 0x10

Function at 0x10043ef0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push ebx
push esi
push edi
mov esi, ecx
push 1
mov dword [esi + 0x10cc], 0
call fcn.10043dc0
cmp byte [esi + 0x10d8], 0
je 0x10043f81
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
lea edi, [esi + 4]
lea esp, [esp]
mov eax, dword [esp + 0x14]
push eax
push edi
call fcn.1004ebd4
add esp, 8
test eax, eax
je 0x10043f8a
mov ecx, dword [esi + 0x10cc]
lea eax, [esi + 0x10d4]
push eax
mov dword [eax], 0x800
lea eax, [esi + 0xcc]
push eax
lea eax, [esi + 0x10d0]
push eax
push 0
lea eax, [esp + 0x1c]
push eax
lea edx, [ecx + 1]
push edi
mov dword [esi + 0x10cc], edx
mov edx, dword [esi]
push ecx
push edx
mov dword [esp + 0x2c], 0xc8
call ebx
test eax, eax
sete cl
test cl, cl
mov byte [esi + 0x10d8], cl
jne 0x10043f20
pop edi
pop esi
xor al, al
pop ebx
pop ecx
ret 4
pop edi
pop esi
mov al, 1
pop ebx
pop ecx
ret 4
Function at 0x10044100
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x100862c4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x10], 0
push ebx
push esi
push edi
jne 0x1004411f
lea eax, [ebp - 0x14]
mov dword [ebp + 0x10], eax
push 0x44
lea ecx, [ebp - 0x58]
push 0
push ecx
call fcn.1004b500
mov ebx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
add esp, 0xc
test ebx, ebx
mov dword [ebp - 0x2c], edx
je 0x10044150
mov ecx, 0x104
mov eax, ebx
cmp byte [eax], 0
je 0x10044169
add eax, 1
sub ecx, 1
jne 0x10044143
mov eax, 0xa0
lea esp, [ebp - 0x64]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1004ada8
mov esp, ebp
pop ebp
ret
test ecx, ecx
je 0x10044150
mov eax, 0x104
sub eax, ecx
lea esi, [eax + 1]
mov eax, esi
call fcn.1004c100
cmp esi, 0x7fffffff
mov edi, esp
ja 0x10044190
push ebx
push esi
push edi
call fcn.10006713
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x58]
push ecx
push 0
push 0
push 0x20
push 0
push 0
push 0
push edi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x100441cb
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea esp, [ebp - 0x64]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1004ada8
mov esp, ebp
pop ebp
ret
xor eax, eax
lea esp, [ebp - 0x64]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1004ada8
mov esp, ebp
pop ebp
ret

Function at 0x10044400
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 4], 0
je 0x1004443a
mov eax, dword [esi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [esi + 4]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esi + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
lea ecx, [esi + 8]
push ecx
push 0
push esi
push 0x10044250
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
pop esi
ret
Function at 0x10044c20
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x1009a3f4], 0
jne 0x10044cdf
xor eax, eax
nop
mov ecx, eax
and cl, 1
neg cl
mov edx, eax
sbb ecx, ecx
shr edx, 1
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr ecx, 1
xor ecx, edx
mov edx, ecx
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr ecx, 1
xor ecx, edx
mov edx, ecx
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr ecx, 1
xor ecx, edx
mov edx, ecx
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr ecx, 1
xor ecx, edx
mov edx, ecx
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr ecx, 1
xor ecx, edx
mov edx, ecx
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr ecx, 1
xor ecx, edx
mov edx, ecx
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr ecx, 1
xor edx, ecx
mov dword [eax*4 + 0x1009a3f0], edx
add eax, 1
cmp eax, 0x100
jl 0x10044c30
mov ecx, dword [esp + 0xc]
test ecx, ecx
mov eax, dword [esp + 4]
not eax
jbe 0x10044d12
push esi
mov esi, dword [esp + 0xc]
movzx edx, byte [esi]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x1009a3f0]
sub ecx, 1
add esi, 1
test ecx, ecx
ja 0x10044cf2
pop esi
not eax
ret

Function at 0x10044e20
Capabilities:
Get common file path
Get disk information

Disassembly:
sub esp, 0x220
mov eax, dword [0x100862c4]
xor eax, esp
mov dword [esp + 0x21c], eax
push esi
push edi
mov edi, dword [esp + 0x22c]
push 0x105
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
mov esi, dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
je 0x10044e87
push 0
push 0
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x18]
push eax
push 0x104
lea ecx, [esp + 0x134]
push ecx
lea edx, [esp + 0x30]
push edx
mov byte [esp + 0x37], 0
call esi
test eax, eax
jne 0x10044eaf
push 0
push 0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
push 0x104
lea eax, [esp + 0x134]
push eax
push 0
call esi
test eax, eax
je 0x10044ee8
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x230]
push ecx
push 0x100684d0
push edx
push edi
call fcn.100011f2
add esp, 0x10
neg eax
sbb eax, eax
pop edi
and eax, 0x7a
pop esi
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.1004ada8
add esp, 0x220
ret
mov ecx, dword [esp + 0x224]
pop edi
pop esi
xor ecx, esp
mov eax, 0x1f
call fcn.1004ada8
add esp, 0x220
ret
Function at 0x10046900
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
push edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x1004691e
pop edi
mov eax, 0x80070002
pop esi
ret 4
push edi
mov ecx, esi
call fcn.10046430
pop edi
pop esi
ret 4

Function at 0x10046930
Capabilities:
Parse url

Disassembly:
sub esp, 0x3c
push esi
push edi
push 0x38
lea eax, [esp + 0x10]
push 0
push eax
mov edi, ecx
mov dword [esp + 0x14], 0x3c
call fcn.1004b500
mov esi, dword [esp + 0x54]
mov eax, esi
add esp, 0xc
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10046970
lea ecx, [esp + 8]
push ecx
push 0
sub eax, edx
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
je 0x100469b3
cmp dword [esp + 0xc], 0
je 0x100469b3
cmp dword [esp + 0x10], 0
je 0x100469b3
cmp dword [esp + 0x14], 1
jl 0x100469b3
push esi
mov ecx, edi
call fcn.10046430
pop edi
pop esi
add esp, 0x3c
ret 4
pop edi
mov eax, 0x80070057
pop esi
add esp, 0x3c
ret 4
Function at 0x10047d60
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10066060
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x100862c4]
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
call dword [0x10086284]
mov ebx, eax
mov eax, dword [0x1009a864]
mov edx, dword [eax + 0xc]
mov ecx, 0x1009a864
call edx
add eax, 0x10
mov dword [ebp - 0x18], eax
mov eax, dword [0x1009a864]
mov edx, dword [eax + 0xc]
mov ecx, 0x1009a864
mov dword [ebp - 4], 0
call edx
add eax, 0x10
mov dword [ebp - 0x14], eax
mov edi, dword [ebp + 8]
test edi, edi
mov byte [ebp - 4], 1
jne 0x10047dd3
xor eax, eax
jmp 0x10047dfd
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
cmp eax, 0x3fffffff
jle 0x10047de8
xor eax, eax
jmp 0x10047dfd
lea esi, [eax + eax]
mov eax, esi
call fcn.1004c100
mov eax, esp
push ebx
push esi
push edi
push eax
call fcn.10009d6d
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x1c]
push ecx
push eax
call fcn.100475b0
mov ebx, dword [ebp - 0x14]
mov esi, eax
add esp, 0x10
test esi, esi
jl 0x10047ebe
push 0x10067dc0
push ebx
call fcn.1004baea
add esp, 8
test eax, eax
setne al
test al, al
je 0x10047e9e
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
push 0x20006
push edx
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
call fcn.10006590
test eax, eax
je 0x10047e74
jle 0x10047e62
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10047ebe
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10047ebe
mov edi, dword [ebp - 0x14]
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
je 0x10047e91
jle 0x10047e8f
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
test edi, edi
je 0x10047ebe
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10047ebe
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
je 0x10047ebe
jle 0x10047ebc
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10047ede
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10047f04
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
lea esp, [ebp - 0x2c]
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.1004ada8
mov esp, ebp
pop ebp
ret