joyce8/EMBER2024-capa huggingface dataset:
Function at 0x454558
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4fd580]
cmp dword [eax + 0x30], 0
je 0x454602
cmp dword [ebx + 0x94], 0
jne 0x4545fc
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4544e8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4545fc
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x4545c2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4545fc
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00417690
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4545d1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45531c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x455351
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404808
jmp 0x45535e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040476c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4566c0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45672e
mov eax, esi
call fcn.00441098
test al, al
je 0x45672e
mov eax, dword [ebx + 0x84]
call fcn.00440d9c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45672e
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x456722
push 0
mov eax, dword [ebx + 0x84]
call fcn.00440d9c
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.004392e0
jmp 0x45672e
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004564fc
pop esi
pop ebx
ret
Function at 0x45a034
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x45a062
mov eax, ebx
call fcn.0045aae8
cmp dword [ebx + 0x40], 0
je 0x45a05b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x45a0d3
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x45a0c5
cmp dword [ebx + 8], 0
je 0x45a084
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x45a096
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x45a0c5
cmp dword [ebx + 8], 0
je 0x45a077
cmp eax, 3
je 0x45a0a9
dec eax
jne 0x45a077
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x45a077
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x45a077
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x45a0f1
cmp dword [ebx + 0x14], 0xcc
je 0x45a0f1
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0045a0fc
pop ebx
ret

Function at 0x46b3bc
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404bcc
mov eax, dword [ebp - 8]
call fcn.00404bcc
xor eax, eax
push ebp
push 0x46b480
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404bdc
mov edx, eax
lea eax, [ebp - 0x14]
call fcn.00404910
mov eax, dword [ebp - 0x14]
mov edx, 0x8000
call fcn.0040db60
test eax, eax
mov eax, dword [ebp - 4]
call fcn.00404bdc
push eax
call sub.kernel32.dll_GetModuleHandleA_2
mov dword [0x4fd5f8], eax
mov eax, dword [ebp - 8]
call fcn.00404bdc
push eax
mov eax, dword [0x4fd5f8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push eax
push 0x40
push 0x26259fc
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_VirtualProtect
lea edx, [ebp - 0x10]
mov eax, 0x407150
mov ecx, 4
call fcn.0046b3ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46b487
lea eax, [ebp - 0x14]
call fcn.00404718
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040473c
ret
Function at 0x46b490
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404bcc
mov eax, dword [ebp - 8]
call fcn.00404bcc
xor eax, eax
push ebp
push 0x46b554
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404bdc
push eax
call sub.kernel32.dll_LoadLibraryExA_1
test eax, eax
mov eax, dword [ebp - 4]
call fcn.00404bdc
push eax
call sub.kernel32.dll_GetModuleHandleA_2
mov dword [0x4fd5f8], eax
cmp dword [0x4fd5f8], 0
je 0x46b52e
mov eax, dword [ebp - 8]
call fcn.00404bdc
push eax
mov eax, dword [0x4fd5f8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4fd5fc], eax
push 0x4fd60c
push 0x40
push 0x26259fc
push 0x4fd5fc
call sub.kernel32.dll_VirtualProtect
mov edx, 0x4fd5fc
mov eax, sub.user32.dll_GetTopWindow
mov ecx, 4
call fcn.0046b3ac
mov eax, dword [0x4fd5f8]
push eax
call sub.kernel32.dll_FreeLibrary_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46b55b
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040473c
ret
Function at 0x401090
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4010a9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4010e4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x4010e0
lea ebx, [ebx]
cmp esi, eax
jae 0x4010e4
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4010d0
cmp esi, eax
jb 0x4010ea
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x403690
Capabilities:
Encode data using base64

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
lea ecx, [ebx + 2]
mov eax, 0x55555556
imul ecx
mov eax, dword [esp + 0x14]
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
add ecx, ecx
add ecx, ecx
cmp eax, ecx
jge 0x4036b6
xor eax, eax
pop ebx
ret
push esi
mov esi, dword [esp + 0x14]
push edi
push eax
push 0
push esi
call fcn.0042f0a0
add esp, 0xc
xor edi, edi
xor ecx, ecx
test ebx, ebx
jle 0x403795
push ebp
mov edx, dword [esp + 0x14]
mov al, byte [edx + edi]
lea ebp, [edi + 1]
movzx edx, al
mov ebx, edx
shr ebx, 2
cmp ebp, dword [esp + 0x18]
mov bl, byte [ebx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + esi], bl
jge 0x40377a
mov eax, dword [esp + 0x14]
movzx eax, byte [edi + eax + 1]
and edx, 3
mov ebx, eax
shl edx, 4
shr ebx, 4
or ebx, edx
mov dl, byte [ebx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + esi + 1], dl
lea edx, [ebp + 1]
mov ebp, dword [esp + 0x18]
and eax, 0xf
cmp edx, ebp
jge 0x403755
mov edx, dword [esp + 0x14]
movzx edx, byte [edi + edx + 2]
mov ebx, edx
add eax, eax
add eax, eax
shr ebx, 6
or ebx, eax
mov al, byte [ebx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
and edx, 0x3f
mov byte [ecx + esi + 2], al
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + esi + 3], dl
jmp 0x403765
mov al, byte [eax*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + esi + 2], al
mov byte [ecx + esi + 3], 0x3d
add edi, 3
add ecx, 4
cmp edi, ebp
jl 0x4036d5
pop ebp
pop edi
mov eax, esi
pop esi
pop ebx
ret
and eax, 3
shl eax, 4
mov dl, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov al, 0x3d
mov byte [ecx + esi + 1], dl
mov byte [ecx + esi + 2], al
mov byte [ecx + esi + 3], al
pop ebp
pop edi
mov eax, esi
pop esi
pop ebx
ret

Function at 0x407c00
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x110
mov eax, dword [0x46997c]
xor eax, esp
mov dword [esp + 0x10c], eax
mov ecx, dword [esp + 0x118]
mov eax, dword [esp + 0x114]
push esi
push edi
mov edi, dword [esp + 0x124]
lea edx, [esp + 8]
push edx
push 1
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x407c79
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
push esi
push edx
mov dword [esp + 0x1c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x114]
pop edi
pop esi
xor ecx, esp
call fcn.0042e1fe
add esp, 0x110
ret 0xc
Function at 0x408690
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x44b1f8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x46997c]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x84], 0
jne 0x4087bb
call fcn.0041ca91
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4086dd
push 0x80004005
call fcn.00401070
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x10], esi
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
mov dword [esp + 0x1c], 0
jge 0x40871b
push 0x104
lea ecx, [esp + 0x14]
call fcn.004013c0
mov esi, dword [esp + 0x10]
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test esi, esi
jne 0x40872f
xor eax, eax
jmp 0x408745
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x408734
sub eax, edx
js 0x4087ce
cmp eax, dword [esi - 8]
jg 0x4087ce
push 0xd
mov dword [esi - 0xc], eax
push str.winhlp32.exe
lea ecx, [esp + 0x18]
mov byte [eax + esi], 0
call fcn.00401970
mov edi, dword [esp + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x408790
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x408790
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [ebx + 0x84], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [edi - 0x10]
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4087bb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret
push 0x80070057
call fcn.00401070
int3
Function at 0x410ee0
Capabilities:
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x44c078
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x46997c]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
lea esi, [ecx + 4]
lea eax, [esp + 0x18]
push eax
mov ecx, esi
mov dword [esp + 0x14], 0
call fcn.00402800
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
or ecx, 0xffffffff
cmp eax, ecx
mov dword [esp + 0x10], ecx
jne 0x410f5e
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x410f49
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 4
test al, 0x10
mov eax, dword [esp + 0x18]
jne 0x410f30
add eax, 0xfffffff0
lea edx, [eax + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x410f7f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 4

Function at 0x410fa0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x44c0d2
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x46997c]
xor eax, esp
mov dword [esp + 0x10c], eax
push ebp
push esi
push edi
mov eax, dword [0x46997c]
xor eax, esp
push eax
lea eax, [esp + 0x120]
mov dword fs:[0], eax
mov esi, dword [esp + 0x130]
mov edi, ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], 0
push 0x4506d9
mov ecx, esi
mov dword [esp + 0x12c], 2
call fcn.00402110
mov edi, dword [edi + 4]
mov ebp, dword [esp + 0x138]
push edi
mov edi, dword [esp + 0x138]
push 0x104
lea eax, [esp + 0x20]
push eax
push 0x4506d9
push ebp
push edi
mov dword [esp + 0x28], 1
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x18]
lea ecx, [eax + 1]
mov edi, edi
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x411040
sub eax, ecx
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.00401780
lea eax, [edi - 0x10]
mov byte [esp + 0x128], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41107c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x128], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4110a0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x120]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.0042e1fe
add esp, 0x11c
ret 0xc

Function at 0x411130
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
xor edx, edx
shl esi, 4
lea eax, [ecx + 5]
lea esi, [esi + ecx + 0x44]
movzx ecx, byte [esi + edx - 4]
xor byte [eax - 1], cl
movzx ecx, byte [esi + edx]
xor byte [eax], cl
movzx ecx, byte [esi + edx + 4]
xor byte [eax + 1], cl
movzx ecx, byte [esi + edx + 8]
xor byte [eax + 2], cl
add edx, 1
add eax, 4
cmp edx, 4
jl 0x411141
pop esi
ret 4
Function at 0x4115b0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x1c
mov eax, dword [0x46997c]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor eax, eax
lea ecx, [esi + 5]
lea esp, [esp]
movzx edx, byte [ecx - 1]
mov byte [esp + eax*4 + 0x18], dl
movzx edx, byte [ecx]
mov byte [esp + eax*4 + 0x19], dl
movzx edx, byte [ecx + 1]
mov byte [esp + eax*4 + 0x1a], dl
movzx edx, byte [ecx + 2]
mov byte [esp + eax*4 + 0x1b], dl
add eax, 1
add ecx, 4
cmp eax, 4
jl 0x4115d0
lea ebp, [esp + 0x20]
lea edi, [esi + 8]
mov dword [esp + 0x14], 4
lea esp, [esp]
movzx ebx, byte [ebp + 4]
push ebx
mov ecx, esi
call fcn.004113f0
mov dl, byte [ebp - 8]
mov byte [esp + 0x10], al
movzx eax, byte [ebp]
push eax
call fcn.004113f0
push edx
mov byte [esp + 0x17], al
call fcn.00411400
mov byte [esp + 0x11], al
movzx eax, byte [ebp - 4]
push eax
call fcn.00411420
movzx ecx, byte [esp + 0x11]
xor cl, al
xor cl, byte [esp + 0x10]
movzx eax, byte [ebp - 8]
xor cl, byte [esp + 0x13]
push eax
mov byte [edi - 4], cl
mov ecx, esi
call fcn.004113f0
mov byte [esp + 0x11], al
movzx eax, byte [ebp]
push eax
call fcn.00411420
movzx edx, byte [ebp - 4]
push edx
mov byte [esp + 0x16], al
call fcn.00411400
movzx ecx, byte [esp + 0x12]
xor cl, al
xor cl, byte [esp + 0x11]
push edx
xor cl, byte [esp + 0x14]
mov byte [edi], cl
mov ecx, esi
call fcn.004113f0
mov byte [esp + 0x10], al
movzx eax, byte [ebp]
push eax
call fcn.00411400
push ebx
mov byte [esp + 0x16], al
call fcn.00411420
movzx ecx, byte [esp + 0x12]
xor cl, al
xor cl, byte [esp + 0x10]
movzx eax, byte [ebp - 8]
xor cl, byte [esp + 0x11]
push eax
mov byte [edi + 4], cl
mov ecx, esi
call fcn.00411420
push ebx
mov dl, al
call fcn.00411400
xor dl, al
xor dl, byte [esp + 0x10]
add edi, 1
xor dl, byte [esp + 0x13]
add ebp, 1
sub dword [esp + 0x14], 1
mov byte [edi + 7], dl
jne 0x411610
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0042e1fe
add esp, 0x1c
ret
Function at 0x411720
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x1c
mov eax, dword [0x46997c]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor eax, eax
lea ecx, [esi + 5]
lea esp, [esp]
movzx edx, byte [ecx - 1]
mov byte [esp + eax*4 + 0x18], dl
movzx edx, byte [ecx]
mov byte [esp + eax*4 + 0x19], dl
movzx edx, byte [ecx + 1]
mov byte [esp + eax*4 + 0x1a], dl
movzx edx, byte [ecx + 2]
mov byte [esp + eax*4 + 0x1b], dl
add eax, 1
add ecx, 4
cmp eax, 4
jl 0x411730
lea ebp, [esp + 0x1c]
lea edi, [esi + 8]
mov dword [esp + 0x14], 4
lea esp, [esp]
movzx eax, byte [ebp]
mov bl, byte [ebp + 4]
push eax
mov ecx, esi
call fcn.00411450
mov byte [esp + 0x13], al
movzx eax, byte [ebp - 4]
push eax
call fcn.004114b0
movzx ecx, byte [esp + 0x13]
xor cl, al
mov byte [esp + 0x13], cl
push ebx
mov ecx, esi
call fcn.00411480
movzx ecx, byte [esp + 0x13]
xor cl, al
movzx eax, byte [ebp + 8]
mov byte [esp + 0x13], cl
push eax
mov ecx, esi
call fcn.00411430
movzx ecx, byte [esp + 0x13]
xor cl, al
movzx eax, byte [ebp]
mov byte [edi - 4], cl
push eax
mov ecx, esi
call fcn.004114b0
mov byte [esp + 0x13], al
movzx eax, byte [ebp - 4]
push eax
call fcn.00411430
movzx ecx, byte [esp + 0x13]
xor cl, al
mov byte [esp + 0x13], cl
push ebx
mov ecx, esi
call fcn.00411450
movzx ecx, byte [esp + 0x13]
xor cl, al
movzx eax, byte [ebp + 8]
mov byte [esp + 0x13], cl
push eax
mov ecx, esi
call fcn.00411480
movzx ecx, byte [esp + 0x13]
xor cl, al
movzx eax, byte [ebp]
mov byte [edi], cl
push eax
mov ecx, esi
call fcn.00411430
mov byte [esp + 0x13], al
movzx eax, byte [ebp - 4]
push eax
call fcn.00411480
movzx ecx, byte [esp + 0x13]
xor cl, al
mov byte [esp + 0x13], cl
push ebx
mov ecx, esi
call fcn.004114b0
movzx ecx, byte [esp + 0x13]
xor cl, al
movzx eax, byte [ebp + 8]
mov byte [esp + 0x13], cl
push eax
mov ecx, esi
call fcn.00411450
movzx ecx, byte [esp + 0x13]
xor cl, al
movzx eax, byte [ebp]
mov byte [edi + 4], cl
push eax
mov ecx, esi
call fcn.00411480
mov byte [esp + 0x13], al
movzx eax, byte [ebp - 4]
push eax
call fcn.00411450
movzx ecx, byte [esp + 0x13]
xor cl, al
mov byte [esp + 0x13], cl
push ebx
mov ecx, esi
call fcn.00411430
movzx ecx, byte [esp + 0x13]
xor cl, al
movzx eax, byte [ebp + 8]
mov byte [esp + 0x13], cl
push eax
mov ecx, esi
call fcn.004114b0
movzx ecx, byte [esp + 0x13]
xor cl, al
mov byte [edi + 8], cl
add edi, 1
add ebp, 1
sub dword [esp + 0x14], 1
jne 0x411770
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0042e1fe
add esp, 0x1c
ret
Function at 0x413520
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, ecx
push 0x40
lea eax, [esi + 4]
push 0
push eax
mov dword [esi], vtable.CMD5Checksum.0
call fcn.0042f0a0
add esp, 0xc
mov dword [esi + 0x48], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x4c], 0x67452301
mov dword [esi + 0x50], 0xefcdab89
mov dword [esi + 0x54], 0x98badcfe
mov dword [esi + 0x58], 0x10325476
mov eax, esi
pop esi
ret

Function at 0x418b50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44cfb8
mov eax, dword fs:[0]
push eax
mov eax, dword [0x46997c]
xor eax, esp
push eax
lea eax, [esp + 4]
mov dword fs:[0], eax
lea eax, [esp + 0x14]
add ecx, 0x30
push eax
mov dword [esp + 0x10], 0
call fcn.00402800
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0xc], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418bad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret 4
Function at 0x4193f0
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 0x21c
mov eax, dword [0x46997c]
xor eax, esp
mov dword [esp + 0x218], eax
mov eax, dword [esp + 0x228]
mov ecx, dword [esp + 0x230]
push ebx
mov ebx, dword [esp + 0x228]
push ebp
mov ebp, dword [esp + 0x234]
push esi
mov esi, dword [esp + 0x22c]
lea edx, [esp + 0xc]
push edx
push 0x458fb8
push 1
push 0
push 0x458fc8
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ecx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x41954a
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
push edi
lea edx, [esp + 0x14]
push edx
push 0x458fd8
push eax
mov eax, dword [ecx]
call eax
mov edi, eax
test edi, edi
jl 0x41953b
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
push esi
push eax
call edx
mov edi, eax
test edi, edi
jge 0x419491
push 0xffffffffffffffff
push 0x10
push 0x16
call fcn.004242be
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x24]
push ebx
push eax
call edx
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x2c]
push ebp
push eax
call edx
mov edx, dword [esp + 0x244]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push edx
push esi
push eax
mov eax, dword [ecx + 0x44]
call eax
test edi, edi
mov esi, dword [sym.imp.USER32.dll_MessageBoxA]
jge 0x4194eb
push 0x10
push 0x450844
push 0x454008
push 0
call esi
mov edx, dword [esp + 0x1c]
push 0x104
lea ecx, [esp + 0x24]
push ecx
push 0xffffffffffffffff
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push 1
lea edx, [esp + 0x24]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
mov edi, eax
test edi, edi
jge 0x41952f
push 0x10
push 0x450844
push 0x453fd4
push 0
call esi
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, edi
pop edi
mov ecx, dword [esp + 0x224]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0042e1fe
add esp, 0x21c
ret

Function at 0x4196c0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xa04
mov eax, dword [0x46997c]
xor eax, esp
mov dword [esp + 0xa00], eax
mov eax, dword [esp + 0xa08]
push esi
mov esi, dword [esp + 0xa10]
lea edx, [esp + 4]
push edx
lea edx, [esp + 0x10]
push edx
lea edx, [esp + 0x10]
push edx
push 0
push eax
mov eax, dword [ecx + 4]
push eax
mov dword [esp + 0x1c], 0xc8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x419747
lea eax, [esp + 0xc]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x419712
sub eax, edx
push eax
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.00401780
mov eax, 1
pop esi
mov ecx, dword [esp + 0xa00]
xor ecx, esp
call fcn.0042e1fe
add esp, 0xa04
ret 8
mov ecx, dword [esp + 0xa04]
pop esi
xor ecx, esp
xor eax, eax
call fcn.0042e1fe
add esp, 0xa04
ret 8