joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44f0c0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x49bd38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.004945bf
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0044ea60
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004944ed
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.00490db6
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.00490db6
push 1
push 0
push 0
mov ecx, esi
call fcn.00490d5e
push 1
push 0
push 1
mov ecx, esi
call fcn.00490d5e
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00494631
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x44f240
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x49bd58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.004945bf
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0044ea60
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.004944ed
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x44f304
cmp dword [esp + 0x40], 1
jne 0x44f302
cmp ecx, eax
jge 0x44f304
mov eax, ecx
cmp eax, 0xc8
jge 0x44f310
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0044f0c0
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00494631
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x44fa80
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x49bdc3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0048f1cf
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.00494867
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00495d83
test eax, eax
je 0x44fb9c
mov ecx, dword [esp + 0x3c]
call fcn.00494894
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x44fb60
push edi
mov ecx, esi
call fcn.00491f01
mov ecx, esi
call fcn.0044fd00
cmp dword [esp + 0x38], 1
jne 0x44fb95
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0049203c
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x4525c0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4525f3
push esi
call fcn.004556d0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4525ec
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x452679
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x452662
mov eax, dword [esi + 8]
test eax, eax
je 0x452617
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x45265e
cmp eax, 2
je 0x452662
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x45260a
cmp eax, 3
je 0x45263d
cmp eax, 1
jne 0x45260a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x45260a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x45260a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004526a0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x452688
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004526a0
add esp, 4
pop esi
ret
Function at 0x4638c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x13c]
push edi
test eax, eax
jle 0x46390c
mov eax, dword [ebx + 0x140]
test eax, eax
jle 0x46390c
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
lea edi, [ebx + 0x150]
mov eax, dword [edi]
test eax, eax
je 0x4638f6
push eax
call ebp
test ax, ax
jl 0x463904
inc esi
add edi, 4
cmp esi, 6
jb 0x4638e8
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
mov ecx, ebx
call fcn.004635c0
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x466270
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x4662d0
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x4662d0
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x4662d0
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x4662d0
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x4662e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x4684d0
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x468573
test eax, eax
jbe 0x468573
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x468573
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x46851e
xor esi, esi
jmp 0x468524
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x46854f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00413950
add esi, eax
push esi
mov ebx, esi
call fcn.00413950
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x468530
pop ebp
test edi, edi
pop edi
jne 0x468573
test ebx, ebx
je 0x468573
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.00472bf0
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc

Function at 0x4686b5
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4687cd
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4687cd
mov eax, dword [esi + 0x3c]
push eax
call fcn.0048f621
mov esi, eax
test esi, esi
je 0x4687cd
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x4687cd
mov ecx, esi
call fcn.00468620
cmp edi, eax
jge 0x4687cd
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x468753
mov dword [esp + 0x34], 1
jmp 0x4687ae
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x4687cd
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00466e70
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x46c0f0
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x10
lea eax, [esp]
push esi
mov esi, dword [esp + 0x18]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_GetWindowDC]
push eax
mov dword [esi + 4], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 1
push eax
mov dword [esi + 8], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x46c13a
push eax
mov eax, dword [esi + 8]
mov dword [esi + 0x18], 0
push eax
jmp 0x46c169
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
sub ecx, eax
mov eax, dword [esi + 4]
push ecx
mov ecx, dword [esp + 8]
mov dword [esi + 0x18], 1
sub edx, ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [esi + 8]
push eax
mov dword [esi + 0x10], eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0xc]
cmp eax, 1
jne 0x46c1ab
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [esp + 0x18]
sub eax, edx
mov edx, dword [esp + 0x14]
sub ecx, edx
mov edx, dword [esi + 8]
push eax
push ecx
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 8]
pop esi
add esp, 0x10
ret 4
Function at 0x48ffc4
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x48fffc
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0048e07b
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0048e053
jmp 0x490008
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4916be
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x491700
call fcn.004973ab
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x491700
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4916f7
xor eax, eax
jmp 0x491708
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0049170e
pop edi
pop esi
pop ebx
ret 4

Function at 0x4978db
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x497909
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x497927
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00497841
jmp 0x497927
mov eax, dword [esi + 0x14]
test eax, eax
je 0x497927
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00497841
test edi, edi
mov eax, edi
jne 0x497911
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x40100b
Capabilities:
Query or enumerate registry value

Disassembly:
call 0x40100b
push eax
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffef0
jmp 0x40109c
lea eax, [ebp - 0x104]
push eax
call fcn.004011ec
push 0x401019
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
jne 0x401165
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push 0x401038
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x4011a5
mov dword [ebp - 0x110], 0x103
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x401052
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x4011a5
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x40114a
mov word [ebx], 0x5c
push 0x401023
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x4011a5
mov dword [ebp - 0x108], eax
push 0x40102d
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x40119a
push 0x3e8
call eax
test eax, eax
je 0x40119a
call 0x40118a
add dword [esp], 0x1e76
call eax
push 0
call sub.KERNEL32.dll_ExitProcess
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
push 0x10
push 0x401096
push 0x401057
push 0
call sub.USER32.dll_MessageBoxA
mov eax, 0xffffffff
leave
ret
Function at 0x405df1
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov cx, word [ebp + 0x10]
mov word [eax + 0x32], cx
push ebx
push esi
mov ecx, 0x7fff
mov esi, ecx
mov word [eax + 0x24], cx
mov word [eax + 0x22], si
push edi
mov ecx, 0xffff8000
mov esi, ecx
mov word [eax + 0x28], cx
xor ecx, ecx
mov word [eax + 0x7e], cx
mov word [eax + 0x2a], cx
mov word [eax + 0x2e], cx
mov cx, word [ebp + 0xc]
mov word [eax + 0x20], cx
xor ecx, ecx
mov word [eax + 0x3a], cx
mov word [eax + 0x3c], cx
mov word [eax + 0x3e], cx
mov word [eax + 0x40], cx
mov word [eax + 0x26], si
push 9
pop ecx
mov ebx, 0x405ed8
xor edx, edx
mov esi, ebx
lea edi, [eax + 0x44]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0xffff
mov word [eax + 0x7c], cx
movzx ecx, word [ebp + 0x10]
imul ecx, ecx, 0x38
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0x10], edx
mov dword [eax + 0x18], edx
mov dword [eax + 0x14], edx
mov dword [eax + 0xc], edx
mov word [eax + 0x69], dx
mov byte [eax + 0x68], dl
mov dword [eax + 0x80], edx
mov byte [eax + 0x38], dl
mov dword [eax + 0x6c], edx
mov dword [eax + 0x70], edx
mov dword [eax + 0x74], edx
mov dword [eax + 0x78], edx
mov edx, dword [ebp + 8]
mov dword [eax + 0x1c], 3
mov dword [eax + 0x34], 2
mov edx, dword [edx + 8]
add ecx, edx
push 9
mov dword [eax + 0x84], ecx
xor edx, edx
mov word [ecx + 0x28], dx
pop ecx
mov esi, ebx
lea edi, [eax + 0x88]
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov byte [eax + 0xac], 1
pop ebx
pop ebp
ret 0xc
Function at 0x417b3d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [eax]
test ecx, ecx
je 0x417b7e
xor edx, edx
ja 0x430b29
cmp esi, 0xffffffff
ja 0x430b29
mov edx, dword [eax + 8]
cmp esi, edx
ja 0x417b82
push ebx
mov ebx, edx
sub ebx, esi
cmp edi, ebx
pop ebx
ja 0x417b82
cmp dword [eax + 4], edx
jb 0x417b82
push esi
push dword [ebp + 8]
add ecx, edi
push ecx
call fcn.00401f91
add esp, 0xc
pop ebp
ret 4
call dword [fcn.00401200]
call fcn.00433969
int3
Function at 0x44d3dc
Capabilities:
Get common file path

Disassembly:
push 0x218
mov eax, 0x488050
call fcn.00401726
xor ebx, ebx
lea eax, [ebp - 0x218]
push eax
push ebx
push ebx
push 0x1c
push ebx
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x220], ebx
call dword [fcn.00401290]
mov edi, eax
cmp edi, ebx
jl 0x44d44e
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x44d41a
sub eax, edx
sar eax, 1
lea ecx, [ebp - 0x218]
push ecx
mov edi, eax
call fcn.00402081
mov dword [esi], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x220], 1
mov eax, esi
call fcn.004013f7
ret
push edi
call fcn.00424fc2
push 0x48b5bc
lea eax, [ebp - 0x21c]
push eax
mov dword [ebp - 0x21c], edi
call fcn.0042508f
int3

Function at 0x44d6d8
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
cmp byte [edi], 0
jne 0x44d6e9
xor al, al
leave
ret
mov ecx, dword [edi + 0x20]
push ebx
push esi
lea eax, [edi + 0xc]
call fcn.00419a7d
mov esi, dword [edi + 0x30]
sub esi, dword [edi + 0x28]
lea eax, [edi + 0x28]
call fcn.0040275f
mov eax, dword [edi + 0x1c]
mov dword [ebp - 4], eax
mov eax, dword [edi + 0x2c]
sub eax, dword [edi + 0x28]
mov dword [ebp - 8], eax
mov eax, dword [edi + 0x28]
lea esi, [edi + 0xc]
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x10], eax
jb 0x44d729
mov eax, dword [esi]
mov dword [ebp - 0xc], eax
jmp 0x44d72c
mov dword [ebp - 0xc], esi
cmp byte [edi], 0
mov eax, dword [edi + 4]
jne 0x44d739
call fcn.0044d61a
lea ecx, [ebp - 8]
push ecx
push dword [ebp - 0x10]
lea ecx, [edi + 0x38]
push ecx
push 0
lea ecx, [ebp - 4]
push ecx
push dword [ebp - 0xc]
push dword [edi + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x44d7b0
cmp eax, 0x103
je 0x44d7ce
cmp eax, 0xea
jne 0x44d7d2
mov eax, dword [ebp - 4]
mov ecx, dword [edi + 0x1c]
mov dword [ebp - 0x10], eax
cmp ecx, eax
mov dword [ebp - 0xc], ecx
lea eax, [ebp - 0x10]
jb 0x44d77f
lea eax, [ebp - 0xc]
mov ecx, dword [eax]
mov eax, esi
call fcn.00419a7d
mov eax, dword [edi + 0x2c]
sub eax, dword [edi + 0x28]
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], eax
cmp eax, ecx
mov dword [ebp - 0x10], ecx
lea eax, [ebp - 0x10]
jb 0x44d7a1
lea eax, [ebp - 0xc]
mov esi, dword [eax]
lea eax, [edi + 0x28]
call fcn.0040275f
jmp 0x44d713
mov ecx, dword [ebp - 4]
mov eax, esi
call fcn.00419a7d
mov esi, dword [ebp - 8]
lea eax, [edi + 0x28]
call fcn.0040275f
inc dword [edi + 8]
mov al, 1
pop esi
pop ebx
leave
ret
xor al, al
jmp 0x44d7ca
test eax, eax
jle 0x44d7e0
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
push esi
call fcn.00424fc2
push 0x48b5bc
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x10], esi
call fcn.0042508f
int3
Function at 0x477d65
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [edi + 0x1b4]
cmp eax, 2
jbe 0x477e0e
cmp dword [edi + 0x1c8], 0
jne 0x477e0e
xor ecx, ecx
inc ecx
mov dword [ebp - 4], ecx
cmp eax, ecx
jbe 0x477e0e
push ebx
push esi
lea ebx, [edi + 0x1d4]
mov ecx, dword [ebp - 4]
xor eax, eax
inc eax
shl eax, cl
test dword [edi + 0x2dc], eax
je 0x477dfb
movzx esi, word [edi + 0x330]
movzx ecx, word [edi + 0x328]
shl esi, 0x10
add esi, dword [ebx + 8]
shl ecx, 0x10
mov eax, esi
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
jle 0x477dfb
movzx ecx, word [edi + 0x328]
imul ecx, ecx, 0x18000
cmp eax, ecx
jge 0x477dfb
movzx eax, word [edi + 0x328]
mov ecx, eax
imul eax, eax, 0xffff0000
shl ecx, 0xf
sub eax, ecx
dec eax
mov dword [ebx], eax
test esi, esi
jle 0x477dfb
neg eax
mov dword [ebx], eax
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
add ebx, 0x14
cmp eax, dword [edi + 0x1b4]
jb 0x477d99
pop esi
pop ebx
leave
ret