joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43c790
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file

Disassembly:
mov eax, 0x1028
call fcn.004a4490
mov eax, dword [0x4ca3b0]
xor eax, esp
mov dword [esp + 0x1024], eax
mov ecx, dword [esp + 0x1030]
mov eax, dword [esp + 0x102c]
push 0x400
lea edx, [esp + 0x24]
push edx
push ecx
push eax
call fcn.00451460
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x43c7f0
xor al, al
mov ecx, dword [esp + 0x1024]
xor ecx, esp
call fcn.004a3c63
add esp, 0x1028
ret 8
push 0x400
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x828]
push edx
call fcn.0046a270
lea eax, [esp + 0x820]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43c811
sub eax, edx
sar eax, 1
xor ecx, ecx
mov word [esp + eax*2 + 0x822], cx
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0x10], eax
mov dword [esp], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov word [esp + 0x1c], ax
lea ecx, [esp]
mov edx, 0x14
lea eax, [esp + 0x820]
push ecx
mov dword [esp + 8], 3
mov word [esp + 0x14], dx
mov dword [esp + 0xc], eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ecx, dword [esp + 0x1024]
neg eax
sbb eax, eax
xor ecx, esp
inc eax
call fcn.004a3c63
add esp, 0x1028
ret 8
Function at 0x43eb00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b5550
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4ca3b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 0
lea esi, [ebx + 0xa8]
push 1
mov ecx, esi
call fcn.0043ea30
mov eax, dword [ebx + 0xb4]
lea ecx, [eax*8]
sub ecx, eax
mov edx, dword [esi]
lea esi, [edx + ecx*8]
mov dword [ebp - 0x18], esi
mov edi, dword [ebp + 8]
push edi
mov ecx, ebx
call fcn.0046a8b0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [edi + 0x82c]
mov dword [esi + 4], eax
mov ecx, dword [edi + 0x800]
mov dword [esi + 8], ecx
mov edx, dword [edi + 0x804]
mov dword [esi + 0xc], edx
mov eax, dword [edi + 0x808]
mov dword [esi + 0x10], eax
mov ecx, dword [edi + 0x80c]
mov dword [esi + 0x14], ecx
mov edx, dword [edi + 0x810]
mov dword [esi + 0x18], edx
mov eax, dword [edi + 0x814]
mov dword [esi + 0x1c], eax
mov ecx, dword [edi + 0x818]
mov dword [esi + 0x20], ecx
mov edx, dword [edi + 0x81c]
mov dword [esi + 0x24], edx
mov eax, dword [edi + 0x820]
mov dword [esi + 0x28], eax
mov ecx, dword [edi + 0x824]
mov dword [esi + 0x2c], ecx
mov edx, dword [edi + 0x828]
mov dword [esi + 0x30], edx
mov eax, dword [ebx + 0xb4]
lea ecx, [eax + 1]
mov dword [ebx + 0xb4], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x43f910
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x14
push ebx
push esi
push edi
lea eax, [esp + 0xc]
push eax
mov esi, ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [esi]
lea ecx, [esp + 0xc]
push ecx
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [esi]
lea eax, [esp + 0xc]
push eax
push 0
push 0x1012
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call ebx
movzx esi, ax
shr esi, 0xf
push 0x12
and esi, 1
call ebx
movzx edi, ax
shr edi, 0xf
push 0x11
and edi, 1
call ebx
shr eax, 0xf
and eax, 1
test byte [esp + 0x14], 1
jne 0x43f98d
test esi, esi
jne 0x43f98d
test edi, edi
jne 0x43f98d
test eax, eax
jne 0x43f98d
pop edi
lea eax, [esi + 1]
pop esi
pop ebx
add esp, 0x14
ret
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x14
ret

Function at 0x43f9a0
Capabilities:
Get file system object information

Disassembly:
sub esp, 0xae0
mov eax, dword [0x4ca3b0]
xor eax, esp
mov dword [esp + 0xadc], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
mov esi, ecx
mov eax, dword [esi]
push 0x1004
push eax
call edi
push 0x400
lea ecx, [esp + 0x2ec]
push ecx
mov ebx, eax
call fcn.00484000
push 0x4001
push 0x2b4
lea edx, [esp + 0x3c]
push edx
push 0
lea eax, [esp + 0x2f8]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov ecx, dword [esp + 0x38]
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], eax
push 0x3d4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x10], 3
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
call fcn.00460a30
lea edx, [esp + 0xc]
push edx
push 0
mov dword [esp + 0x28], eax
mov eax, dword [esi]
push 0x104d
push eax
call edi
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov edx, dword [esi]
push 0
push ebx
push 0x1076
push edx
mov byte [esi + 0x18], 1
call edi
mov ecx, dword [esp + 0xae8]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004a3c63
add esp, 0xae0
ret
Function at 0x442310
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x70
mov eax, dword [0x4ca3b0]
xor eax, esp
mov dword [esp + 0x6c], eax
push esi
push edi
push 1
push str.ColorAttr
push str.FileList
mov esi, ecx
call fcn.0045b230
test eax, eax
setne al
lea ecx, [esp + 8]
mov byte [esi + 0x920], al
mov edx, dword [0x4e8cd4]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [0x4d56ac]
mov ecx, dword [0x4e8cd4]
push 0
push eax
push 0xb
push ecx
push 0
push 0
push 0
push 0
push 0x44a00249
push 0x4b8d34
push 0x4b8f00
push 0x300
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 1
push str.Detailed
push str.FileList
mov dword [esi], eax
call fcn.0045b230
neg eax
sbb eax, eax
and eax, 0xfffffffe
add eax, 3
push eax
mov ecx, esi
call fcn.004405d0
push 1
push str.FullRow
push str.FileList
mov edi, 0x400
call fcn.0045b230
test eax, eax
je 0x4423c7
mov edi, 0x420
push 0
push str.ShowGrid
push str.FileList
call fcn.0045b230
test eax, eax
je 0x4423df
or edi, 1
push 0
push str.SingleClick
push str.FileList
call fcn.0045b230
test eax, eax
je 0x442420
push 0
push str.Underline
push str.FileList
or edi, 0x48
call fcn.0045b230
cmp eax, 1
jne 0x442415
or edi, 0x800
jmp 0x442420
cmp eax, 2
jne 0x442420
or edi, 0x1000
mov edx, dword [esi]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0x1036
push edx
call edi
push 0
push 2
push 0x21
push 0xd
push 0xd
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
mov ecx, esi
mov dword [esi + 8], eax
call fcn.0043fcc0
push 0x5c
push 0
lea eax, [esp + 0x20]
push eax
push str.Font
push str.FileList
call fcn.0045b250
cmp word [esp + 0x34], 0
je 0x4424f5
movzx edx, byte [esp + 0x33]
movzx eax, byte [esp + 0x32]
lea ecx, [esp + 0x34]
push ecx
movzx ecx, byte [esp + 0x35]
push edx
movzx edx, byte [esp + 0x38]
push eax
movzx eax, byte [esp + 0x3b]
push ecx
movzx ecx, byte [esp + 0x3e]
push edx
movzx edx, byte [esp + 0x41]
push eax
movzx eax, byte [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x44]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreateFontW]
test eax, eax
je 0x4424d3
push 1
push eax
mov eax, dword [esi]
push 0x30
push eax
call edi
push 0
push str.FontColor
push str.FileList
call fcn.0045b230
test eax, eax
je 0x4424f5
mov ecx, dword [esi]
push eax
push 0
push 0x1024
push ecx
call edi
mov ecx, esi
call fcn.0043fdd0
mov ecx, esi
call fcn.00440460
mov edx, dword [esi]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [0x4e83a4], 1
je 0x442520
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, esi
call fcn.00440660
mov ecx, dword [esp + 0x74]
pop edi
pop esi
xor ecx, esp
call fcn.004a3c63
add esp, 0x70
ret
Function at 0x443fe0
Capabilities:
Copy file

Disassembly:
mov eax, 0x1804
call fcn.004a4490
mov eax, dword [0x4ca3b0]
xor eax, esp
mov dword [esp + 0x1800], eax
push esi
push 0x400
lea eax, [esp + 0x1008]
mov esi, ecx
push eax
mov ecx, 0x4eeda0
call fcn.00412f80
push 6
push str.rarkey
lea ecx, [esp + 0x100c]
push ecx
call fcn.004515b0
push eax
call fcn.00472c70
test eax, eax
jne 0x4441cb
push str.rarreg.key
mov ecx, esi
call fcn.00442660
test al, al
jne 0x444058
push str.rarreg.txt
mov ecx, esi
call fcn.00442660
test al, al
je 0x4441cb
lea edx, [esp + 0x804]
push edx
call fcn.00489300
test al, al
je 0x4441cb
push 0x400
lea eax, [esp + 8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 4]
push ecx
mov esi, str.rarreg.key
call fcn.004515b0
mov edi, edi
movzx ecx, word [esi]
mov word [eax], cx
add esi, 2
add eax, 2
test cx, cx
jne 0x444090
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x80c]
push eax
call esi
test eax, eax
jne 0x444134
lea ecx, [esp + 4]
push ecx
call fcn.00451da0
lea edx, [esp + 4]
push edx
call fcn.00451050
lea eax, [esp + 4]
add eax, 0xfffffffe
jmp 0x4440e0
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x4440e0
mov ecx, dword [str.rarreg.key]
mov edx, dword [0x4bb864]
mov dword [eax], ecx
mov ecx, dword [0x4bb868]
mov dword [eax + 4], edx
mov edx, dword [0x4bb86c]
mov dword [eax + 8], ecx
mov ecx, dword [0x4bb870]
mov dword [eax + 0xc], edx
mov dx, word [0x4bb874]
mov dword [eax + 0x10], ecx
mov word [eax + 0x14], dx
push 0
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x80c]
push ecx
call esi
lea edx, [esp + 0x804]
push edx
call fcn.004317c0
mov eax, dword [0x4e8cd4]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 1
lea ecx, [esp + 8]
push ecx
push 0
call fcn.0041bdf0
mov ecx, 0x4ee478
mov byte [0x4d50a0], al
call fcn.00443ef0
cmp byte [0x4d50a0], 0
je 0x4441ae
push 0x30
push 0x368
call fcn.00460a30
push eax
push 0x367
call fcn.00460a30
mov edx, dword [0x4e8cd4]
push eax
push edx
call dword [sym.imp.USER32.dll_MessageBoxW]
pop esi
mov ecx, dword [esp + 0x1800]
xor ecx, esp
call fcn.004a3c63
add esp, 0x1804
ret
lea eax, [esp + 4]
push eax
call fcn.004317c0
push 0x366
call fcn.00460a30
push eax
call fcn.004926f0
add esp, 4
mov ecx, dword [esp + 0x1804]
pop esi
xor ecx, esp
call fcn.004a3c63
add esp, 0x1804
ret
Function at 0x446170
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x130
mov eax, dword [0x4ca3b0]
xor eax, esp
mov dword [esp + 0x12c], eax
cmp dword [0x4c9128], 0
push esi
mov esi, dword [esp + 0x140]
push edi
jne 0x4461c9
push 0x64
lea eax, [esp + 0x70]
push eax
push 0xf
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov cx, word [esp + 0x6c]
xor edx, edx
mov word [0x4ff324], cx
mov word [0x4ff326], dx
mov dword [0x4c9128], 0x4ff324
mov ecx, dword [esp + 0x140]
mov edx, dword [esp + 0x13c]
lea eax, [esp + 8]
push eax
push ecx
push edx
call fcn.0046a300
mov edi, dword [esp + 0x148]
push edi
push esi
push 0x4c9118
lea ecx, [esp + 0x14]
xor eax, eax
push ecx
push eax
push 0x400
mov word [esi], ax
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
mov ecx, dword [esp + 0x134]
xor edx, edx
mov word [esi + edi*2 - 2], dx
pop edi
pop esi
xor ecx, esp
call fcn.004a3c63
add esp, 0x130
ret 0x10

Function at 0x446300
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword [esp + 4]
push ebx
test eax, eax
je 0x446418
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x446310
sub eax, edx
sar eax, 1
mov ebx, eax
je 0x446418
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x446337
pop ebx
ret 4
push ebp
push esi
push edi
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea ebp, [ebx + ebx + 2]
push ebp
push 0x2002
call edi
mov esi, eax
test esi, esi
je 0x446382
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x446382
mov edx, dword [esp + 0x14]
lea ecx, [ebx + 1]
push ecx
push eax
push edx
call fcn.00472810
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
push ebp
push 0x2002
call edi
mov edi, eax
test edi, edi
je 0x4463c2
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
test esi, esi
je 0x4463c2
mov eax, dword [esp + 0x14]
inc ebx
push ebx
push esi
push eax
call fcn.00472810
push esi
push esi
call dword [sym.imp.USER32.dll_CharToOemA]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 7
call dword [sym.imp.USER32.dll_SetClipboardData]
push ebp
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x44640f
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x44640f
mov ecx, dword [esp + 0x14]
mov edx, eax
sub edx, ecx
jmp 0x4463f0
movzx eax, word [ecx]
mov word [edx + ecx], ax
add ecx, 2
test ax, ax
jne 0x4463f0
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 4
Function at 0x4473c0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xb4
mov eax, dword [0x4ca3b0]
xor eax, esp
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0xb8]
push ebx
mov ebx, dword [esp + 0xc0]
push ebp
xor edx, edx
push esi
add ebx, 0xffffff88
push edi
add eax, 2
lea edi, [esp + 0x20]
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], edi
mov edi, edi
cmp edx, ebx
jge 0x447523
lea eax, [esp + 0x48]
sub eax, 2
lea ecx, [eax + 3]
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x48]
sub ecx, eax
add ecx, 0xfffffffd
mov dword [esp + 0x3c], ecx
mov ecx, eax
neg ecx
lea esi, [esp + ecx + 0x48]
mov dword [esp + 0x44], esi
lea esi, [esp + ecx + 0x49]
mov dword [esp + 0x30], esi
lea esi, [esp + 0x48]
sub esi, eax
lea eax, [esp + ecx + 0x4a]
mov ecx, dword [esp + 0x14]
sub ebx, edx
mov dword [esp + 0x40], eax
dec ebx
mov eax, 0x88888889
mul ebx
dec esi
mov ebp, edx
shr ebp, 0xa
mov dword [esp + 0x2c], esi
mov esi, dword [edi]
mov dword [esp + 0x10], ecx
inc ebp
mov eax, dword [esp + 0x10]
xor edi, edi
lea ebx, [ebx]
movzx edx, byte [eax - 2]
mov cl, byte [eax - 1]
sub dl, cl
mov byte [esp + edi + 0x48], dl
movzx edx, byte [eax]
sub dl, cl
mov byte [esp + edi + 0x49], cl
mov byte [esp + edi + 0x4a], dl
add edi, 3
add eax, 3
cmp edi, 0x78
jl 0x447480
mov ecx, dword [esp + 0x34]
mov edi, 0x27
mov edi, edi
mov eax, dword [esp + 0x40]
movzx edx, byte [eax + ecx]
mov eax, dword [esp + 0x2c]
sub dl, byte [eax + ecx]
add ecx, 3
movsx eax, dl
cdq
mov ebx, eax
xor ebx, edx
sub ebx, edx
mov edx, dword [esp + 0x44]
mov al, byte [edx + ecx - 3]
mov edx, dword [esp + 0x3c]
sub al, byte [edx + ecx - 3]
movsx eax, al
cdq
xor eax, edx
sub eax, edx
add ebx, eax
mov eax, dword [esp + 0x30]
movzx edx, byte [eax + ecx - 3]
sub dl, byte [ecx - 3]
movsx eax, dl
cdq
xor eax, edx
sub eax, edx
add eax, esi
sub edi, 1
lea esi, [eax + ebx]
jne 0x4474b0
add dword [esp + 0x10], 0x780
sub ebp, 1
jne 0x447474
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x38]
mov edx, dword [esp + 0x18]
mov dword [edi], esi
inc dword [esp + 0x14]
inc edx
add edi, 4
cmp edx, 2
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edi
jle 0x447410
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
cmp eax, ecx
ja 0x44756d
cmp eax, edx
ja 0x44756d
xor eax, eax
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.004a3c63
add esp, 0xb4
ret 8
cmp edx, ecx
mov ecx, dword [esp + 0xb0]
sbb eax, eax
neg eax
xor ecx, esp
inc eax
call fcn.004a3c63
add esp, 0xb4
ret 8
Function at 0x449b00
Capabilities:
Create thread

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventW]
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
push 0
push 0
mov esi, ebp
push 1
mov edi, ecx
shl esi, 5
push 0
add esi, edi
call ebx
push 0
push 0
push 1
push 0
mov dword [esi + 8], eax
call ebx
mov dword [esi + 0xc], eax
lea eax, [esp + 0x14]
push eax
push 0
push esi
push 0x447ac0
push 0x10000
push 0
mov dword [esi + 0x14], 0
mov byte [esi + 0x18], 0
mov byte [esi + 4], 1
mov dword [esi + 0x1c], ebp
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
test ebx, ebx
jne 0x449b88
push str.CreateThread_failed
mov ecx, 0x4d56b4
call fcn.00429140
mov ecx, 0x4d56b4
call fcn.00428cd0
push 2
mov ecx, 0x4d56b4
call fcn.004294a0
push 1
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
mov dword [esi], ebx
mov dword [esp + 0x1c], ebp
call fcn.00447b90
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x44b610
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
push ebx
push ebp
mov ebp, ecx
mov cl, byte [eax + 0xcc41]
mov byte [ebp + 0x14a5], cl
mov dl, byte [eax + 0xcc42]
mov byte [ebp + 0x14a4], dl
mov ecx, dword [eax + 0xca88]
push esi
mov dword [ebp + 0x14a0], ecx
mov edx, dword [eax + 0x4c00]
push edi
add eax, 0xca94
push eax
lea ecx, [ebp + 0x63c8]
mov dword [ebp + 0x60a8], edx
call fcn.0041a900
mov ecx, dword [ebp + 0x20]
cmp ecx, 0x400000
jae 0x44b6c3
mov edx, dword [ebp + 0x14a0]
cmp edx, ecx
jae 0x44b694
mov esi, 0x400000
mov eax, edx
sub esi, ecx
lea esp, [esp]
mov ecx, dword [ebp]
lea edx, [ecx + esi]
mov dl, byte [edx + eax]
mov byte [ecx + eax], dl
inc eax
cmp eax, dword [ebp + 0x20]
jb 0x44b680
jmp 0x44b6c3
sub edx, ecx
xor eax, eax
mov esi, edx
test ecx, ecx
jbe 0x44b6b2
mov edi, edi
mov ecx, dword [ebp]
lea edx, [ecx + esi]
mov dl, byte [edx + eax]
mov byte [ecx + eax], dl
inc eax
cmp eax, dword [ebp + 0x20]
jb 0x44b6a0
mov dword [ebp + 0x14a0], 0
mov byte [ebp + 0x14a5], 1
mov esi, dword [ebp]
mov edi, dword [ebp + 0x20]
add edi, esi
cmp dword [esp + 0x18], 0
mov ecx, 0x44
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov ebx, dword [ebp + 0x14a0]
lea eax, [ebx + 1]
jne 0x44b739
mov esi, dword [ebp + 0x24]
and eax, esi
xor edx, edx
mov dword [ebp + 0x14a0], eax
cmp eax, ebx
je 0x44b762
mov ecx, dword [ebp]
movzx ecx, byte [eax + ecx + 2]
shl edx, 5
xor ecx, edx
mov edx, dword [ebp + 0x10]
and ecx, 0x7fff
lea edi, [edx + ecx*4]
mov edx, dword [edi]
mov dword [edi], eax
mov eax, dword [ebp + 0x14a0]
and edx, esi
mov esi, dword [ebp + 0x14]
mov dword [esi + eax*4], edx
mov eax, dword [ebp + 0x14a0]
mov esi, dword [ebp + 0x24]
inc eax
and eax, esi
mov edx, ecx
mov dword [ebp + 0x14a0], eax
cmp eax, ebx
jne 0x44b6f4
jmp 0x44b762
and eax, dword [ebp + 0x24]
mov dword [ebp + 0x14a0], eax
cmp eax, ebx
je 0x44b762
push eax
mov ecx, ebp
call fcn.00448690
mov eax, dword [ebp + 0x14a0]
inc eax
and eax, dword [ebp + 0x24]
mov dword [ebp + 0x14a0], eax
cmp eax, ebx
jne 0x44b746
mov esi, dword [esp + 0x14]
push 0x4bf0
add esi, 0x10
lea ecx, [ebp + 0x14b4]
push esi
push ecx
mov byte [ebp + 0x60a4], 0
call fcn.004a4540
add esp, 0xc
mov ecx, esi
call fcn.004735c0
lea ecx, [ebp + 0xda8]
call fcn.0044dec0
pop edi
xor eax, eax
pop esi
mov dword [ebp + 0x974], eax
mov dword [ebp + 0x978], eax
mov byte [ebp + 0x97c], 1
pop ebp
pop ebx
ret 8
Function at 0x451b60
Capabilities:
Get common file path

Disassembly:
sub esp, 8
push esi
lea eax, [esp + 8]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
mov esi, dword [esp + 0x10]
lea ecx, [esp + 4]
push ecx
push 0x1a
push 0
mov byte [esi], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x451be7
mov edx, dword [esp + 4]
push esi
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x451be7
cmp byte [esi], 0
je 0x451be7
push esi
call fcn.00451a60
mov eax, esi
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x451ba7
mov ecx, dword [0x4bbc4c]
mov dword [eax], ecx
mov dx, word [0x4bbc50]
mov word [eax + 4], dx
mov cl, byte [0x4bbc52]
push 0
push esi
mov byte [eax + 6], cl
call fcn.00431510
test al, al
jne 0x451c13
push 0
push 0
push 0
push esi
call fcn.00431bd0
test eax, eax
je 0x451c13
push 0x400
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push esi
call fcn.00451530
lea edx, [esi + 2]
cmp eax, edx
jb 0x451c10
cmp byte [esi + 1], 0x3a
jne 0x451c0f
add esi, 4
cmp eax, esi
jb 0x451c10
dec eax
mov byte [eax], 0
mov eax, dword [esp + 8]
mov edx, dword [esp + 4]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
pop esi
add esp, 8
ret 4

Function at 0x451c30
Capabilities:
Get common file path

Disassembly:
sub esp, 8
push esi
lea eax, [esp + 8]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
mov esi, dword [esp + 0x10]
lea edx, [esp + 4]
push edx
xor ecx, ecx
push 0x1a
push ecx
mov word [esi], cx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x451ccd
mov eax, dword [esp + 4]
push esi
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x451ccd
cmp word [esi], 0
je 0x451ccd
push esi
call fcn.00451050
mov eax, esi
add eax, 0xfffffffe
jmp 0x451c80
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x451c80
mov ecx, dword [0x4ba758]
mov dword [eax], ecx
mov edx, dword [0x4ba75c]
mov dword [eax + 4], edx
mov ecx, dword [0x4ba760]
mov dword [eax + 8], ecx
mov dx, word [0x4ba764]
push esi
push 0
mov word [eax + 0xc], dx
call fcn.00431510
test al, al
jne 0x451cfe
push 0
push 0
push esi
push 0
call fcn.00431bd0
test eax, eax
je 0x451cfe
push 0x400
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
call fcn.004515b0
lea ecx, [esi + 4]
cmp eax, ecx
jb 0x451cf9
cmp word [esi + 2], 0x3a
jne 0x451cf6
add esi, 8
cmp eax, esi
jb 0x451cf9
sub eax, 2
xor edx, edx
mov word [eax], dx
mov eax, dword [esp + 8]
mov edx, dword [esp + 4]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
pop esi
add esp, 8
ret 4
Function at 0x451d20
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x10]
push eax
push 1
push 0
push 0x4bbc5c
push 0x80000001
mov byte [esi], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x451d77
lea ecx, [esp + 4]
push ecx
push esi
lea edx, [esp + 0x10]
push edx
push eax
mov eax, dword [esp + 0x20]
push 0x4bbc54
push eax
mov dword [esp + 0x1c], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [esi], 0
je 0x451d88
push 0
push esi
call fcn.00431510
test al, al
jne 0x451d8e
push esi
call fcn.00451b60
pop esi
add esp, 8
ret 4

Function at 0x451da0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push esi
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x10]
push ecx
push 1
xor eax, eax
push eax
push str.SoftwareWinRARPaths
push 0x80000001
mov word [esi], ax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x451df9
mov ecx, dword [esp + 0x10]
lea edx, [esp + 4]
push edx
push esi
lea eax, [esp + 0x10]
push eax
push 0
push str.AppData
push ecx
mov dword [esp + 0x1c], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp word [esi], 0
je 0x451e0b
push esi
push 0
call fcn.00431510
test al, al
jne 0x451e11
push esi
call fcn.00451c30
pop esi
add esp, 8
ret 4