joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43daf0
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_SendMessageA]
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 0x43db6d
test esi, esi
jne 0x43db6d
test edi, edi
jne 0x43db6d
test eax, eax
jne 0x43db6d
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 0x43db80
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x58c
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0x588], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
mov esi, ecx
mov eax, dword [esi]
push 0x1004
push eax
call edi
push 0x400
lea ecx, [esp + 0x198]
push ecx
mov ebx, eax
call fcn.0047de30
push 0x4001
push 0x160
lea edx, [esp + 0x3c]
push edx
push 0
lea eax, [esp + 0x1a4]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
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.0045b8f0
lea edx, [esp + 0xc]
push edx
push 0
mov dword [esp + 0x28], eax
mov eax, dword [esi]
push 0x1007
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 0x1017
push edx
mov byte [esi + 0x1c], 1
call edi
mov ecx, dword [esp + 0x594]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0049e0c6
add esp, 0x58c
ret
Function at 0x440750
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x50
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0x4c], eax
push esi
push edi
push 1
push str.ColorAttr
push str.FileList
mov esi, ecx
call fcn.00456400
test eax, eax
setne al
lea ecx, [esp + 8]
mov byte [esi + 0xd24], al
mov edx, dword [0x4dc1c8]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [0x4c935c]
mov ecx, dword [0x4dc1c8]
push 0
push eax
push 0xb
push ecx
push 0
push 0
push 0
push 0
push 0x44a00249
push 0x4b1914
push str.SysListView32
push 0x300
call dword [sym.imp.USER32.dll_CreateWindowExA]
push 1
push str.Detailed
push str.FileList
mov dword [esi], eax
call fcn.00456400
neg eax
sbb eax, eax
and eax, 0xfffffffe
add eax, 3
push eax
mov ecx, esi
call fcn.0043efa0
push 1
push str.FullRow
push str.FileList
mov edi, 0x400
call fcn.00456400
test eax, eax
je 0x440807
mov edi, 0x420
push 0
push str.ShowGrid
push str.FileList
call fcn.00456400
test eax, eax
je 0x44081f
or edi, 1
push 0
push str.SingleClick
push str.FileList
call fcn.00456400
test eax, eax
je 0x440860
push 0
push str.Underline
push str.FileList
or edi, 0x48
call fcn.00456400
cmp eax, 1
jne 0x440855
or edi, 0x800
jmp 0x440860
cmp eax, 2
jne 0x440860
or edi, 0x1000
mov edx, dword [esi]
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push edi
push 0
push 0x1036
push edx
call ebx
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x800
push 0x100
push 0x21
push 0x32
call edi
push eax
push 0x31
call edi
mov edi, dword [sym.imp.COMCTL32.dll_ImageList_Create]
push eax
call edi
push 0
push 2
push 0x21
push 0xd
push 0xd
mov dword [esi + 8], eax
call edi
mov ecx, esi
mov dword [esi + 0xc], eax
call fcn.0043e6b0
push 0x3c
push 0
lea eax, [esp + 0x24]
push eax
push str.Font
push str.FileList
call fcn.00456430
cmp byte [esp + 0x38], 0
je 0x440958
movzx edx, byte [esp + 0x37]
movzx eax, byte [esp + 0x36]
lea ecx, [esp + 0x38]
push ecx
movzx ecx, byte [esp + 0x39]
push edx
movzx edx, byte [esp + 0x3c]
push eax
movzx eax, byte [esp + 0x3f]
push ecx
movzx ecx, byte [esp + 0x42]
push edx
movzx edx, byte [esp + 0x45]
push eax
movzx eax, byte [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x48]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreateFontA]
test eax, eax
je 0x440936
push 1
push eax
mov eax, dword [esi]
push 0x30
push eax
call ebx
push 0
push str.FontColor
push str.FileList
call fcn.00456400
test eax, eax
je 0x440958
mov ecx, dword [esi]
push eax
push 0
push 0x1024
push ecx
call ebx
mov edx, dword [esi + 8]
mov eax, dword [esi]
push edx
push 1
push 0x1003
push eax
call ebx
mov ecx, esi
call fcn.0043e7c0
mov ecx, esi
call fcn.0043ee50
mov ecx, dword [esi]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [0x4dbc60], 1
pop ebx
je 0x440994
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, esi
call fcn.0043f030
mov ecx, dword [esp + 0x54]
pop edi
pop esi
xor ecx, esp
call fcn.0049e0c6
add esp, 0x50
ret
Function at 0x4409b0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x804
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0x800], eax
push esi
mov esi, ecx
mov byte [esi + 0xc1e], 0
cmp dword [0x4dbc5c], 0
push edi
je 0x440aaa
lea eax, [esp + 0x408]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [esp + 0x408]
push ecx
call fcn.0044d970
mov edi, eax
cmp edi, 0xffffffff
je 0x440a56
call fcn.0047def0
mov edx, 1
mov ecx, edi
shl edx, cl
test edx, eax
jne 0x440a56
push 0
lea eax, [esp + 0xc]
push eax
mov ecx, 0x4e0c18
call fcn.004134e0
lea ecx, [esp + 8]
push ecx
call fcn.0044da70
lea edx, [esp + 8]
push edx
call fcn.004ac688
add esp, 4
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.0049e0c6
add esp, 0x804
ret
mov eax, dword [0x4dbc64]
test eax, eax
je 0x440a66
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, esi
call fcn.0043eef0
mov ecx, esi
mov dword [0x4dbc5c], 0
call fcn.0043e7c0
mov ecx, esi
call fcn.0043f030
mov ecx, 0x4dc1d0
mov byte [0x4dc1fc], 0
call fcn.00464ab0
mov ecx, 0x4dfec8
call fcn.0046b4a0
mov ecx, 0x4dfec8
call fcn.0046aee0
mov ecx, dword [esp + 0x808]
pop edi
pop esi
xor ecx, esp
mov al, 1
call fcn.0049e0c6
add esp, 0x804
ret
Function at 0x442570
Capabilities:
Copy file

Disassembly:
mov eax, 0x1404
call fcn.0049e650
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0x1400], eax
push esi
push 0
lea eax, [esp + 0x808]
mov esi, ecx
push eax
mov ecx, 0x4e0c18
call fcn.004134e0
push 6
push str.rarkey
lea ecx, [esp + 0x80c]
push ecx
call fcn.0044d530
push eax
call fcn.00464b90
test eax, eax
jne 0x44271e
push eax
push str.rarreg.key
mov ecx, esi
call fcn.00440ad0
test eax, eax
jne 0x4425e7
push eax
push str.rarreg.txt
mov ecx, esi
call fcn.00440ad0
test eax, eax
je 0x44271e
lea edx, [esp + 0xc04]
push edx
lea eax, [esp + 0x408]
push eax
call fcn.00482bc0
test al, al
je 0x44271e
push 0x400
lea ecx, [esp + 8]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 4]
push edx
call fcn.0044d530
mov ecx, dword [str.rarreg.key]
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileA]
mov dword [eax], ecx
mov edx, dword [0x4b3628]
mov dword [eax + 4], edx
mov cx, word [0x4b362c]
mov word [eax + 8], cx
mov dl, byte [0x4b362e]
mov byte [eax + 0xa], dl
push 0
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x40c]
push ecx
call esi
test eax, eax
jne 0x4426be
lea edx, [esp + 4]
push edx
call fcn.0044dbb0
lea eax, [esp + 4]
push eax
call fcn.0044d9b0
lea eax, [esp + 4]
dec eax
lea esp, [esp]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x442680
mov ecx, dword [str.rarreg.key]
mov edx, dword [0x4b3628]
mov dword [eax], ecx
mov cx, word [0x4b362c]
mov dword [eax + 4], edx
mov dl, byte [0x4b362e]
mov word [eax + 8], cx
mov byte [eax + 0xa], dl
push 0
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x40c]
push ecx
call esi
lea edx, [esp + 0x404]
push edx
call fcn.004a147d
mov eax, dword [0x4dc1c8]
add esp, 4
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 1
call fcn.0041b520
mov ecx, 0x4dfef0
mov byte [0x4c8d50], al
call fcn.00442470
cmp byte [0x4c8d50], 0
je 0x44271e
push 0x30
push 0x368
call fcn.0045b8f0
push eax
push 0x367
call fcn.0045b8f0
mov ecx, dword [0x4dc1c8]
push eax
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x1404]
pop esi
xor ecx, esp
call fcn.0049e0c6
add esp, 0x1404
ret
Function at 0x442c50
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1e04
call fcn.0049e650
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0x1e00], eax
push ebx
push esi
mov esi, dword [esp + 0x1e10]
push edi
mov edi, dword [esp + 0x1e18]
lea eax, [esp + 0x80c]
push eax
push esi
mov ebx, ecx
call fcn.0042f9c0
lea ecx, [esp + 0x160c]
push ecx
push edi
call fcn.0042fa50
lea edx, [esp + 0xc]
mov eax, esi
sub edx, esi
nop
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x442ca0
push 0x400
lea edx, [esp + 0x410]
push edx
call fcn.0047de30
lea eax, [esp + 0x120c]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [esp + 0x40c]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x442ce0
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x414]
push ecx
call fcn.00464b90
test eax, eax
je 0x442d34
lea edx, [esp + 0xc]
push 0x5c
push edx
call fcn.0049ddf0
add esp, 8
test eax, eax
je 0x442d34
lea ecx, [esp + 0xc]
cmp eax, ecx
jbe 0x442d34
mov cl, byte [eax - 1]
cmp cl, 0x3a
je 0x442d34
cmp cl, 0x5c
je 0x442d34
lea edx, [esp + 0xc]
push edx
mov byte [eax], 0
call fcn.004ac688
add esp, 4
push 1
push edi
push esi
mov ecx, ebx
call fcn.00442a40
cmp eax, 0xffffffff
jne 0x442d5d
push 1
lea eax, [esp + 0x1610]
push eax
lea ecx, [esp + 0x814]
push ecx
mov ecx, ebx
call fcn.00442a40
cmp eax, 1
je 0x442dde
cmp eax, 2
je 0x442dca
cmp eax, 0xffffffff
jne 0x442d8a
push esi
push 0x1f5
call fcn.0045b8f0
push eax
lea edx, [esp + 0xc14]
push edx
call fcn.0049e0d5
add esp, 0xc
jmp 0x442dab
push 0x1fc
call fcn.0045b8f0
push eax
push esi
lea eax, [esp + 0xc14]
push str._s_n_s
push eax
call fcn.0049e0d5
add esp, 0x10
push 0x10
push 0x66
call fcn.0045b8f0
mov edx, dword [0x4dc1c8]
push eax
lea ecx, [esp + 0xc14]
push ecx
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
lea eax, [esp + 0x120c]
push eax
call fcn.004ac688
add esp, 4
xor al, al
jmp 0x442de0
mov al, 1
mov ecx, dword [esp + 0x1e0c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0049e0c6
add esp, 0x1e04
ret 8
Function at 0x444940
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x9c
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0x98], eax
cmp dword [0x4bf108], 0
push esi
mov esi, dword [esp + 0xac]
push edi
jne 0x444995
push 0x64
lea eax, [esp + 0x40]
push eax
push 0xf
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov cl, byte [esp + 0x3c]
mov byte [0x4ed144], cl
mov byte [0x4ed145], 0
mov dword [0x4bf108], 0x4ed144
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xa8]
lea edx, [esp + 8]
push edx
push eax
push ecx
call fcn.00464ee0
mov edi, dword [esp + 0xb4]
push edi
push esi
push 0x4bf0f8
lea edx, [esp + 0x14]
push edx
push 0
push 0x400
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
mov ecx, dword [esp + 0xa0]
mov byte [esi + edi - 1], 0
pop edi
pop esi
xor ecx, esp
call fcn.0049e0c6
add esp, 0x9c
ret 0x10

Function at 0x444d30
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword [esp + 4]
push esi
test eax, eax
je 0x444e3a
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x444d40
sub eax, edx
mov esi, eax
je 0x444e3a
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x444d61
pop esi
ret 4
push ebx
push ebp
push edi
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
inc esi
push esi
push 0x2002
call ebx
mov ebp, dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edi, eax
test edi, edi
je 0x444dab
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x444dab
mov ecx, dword [esp + 0x14]
push esi
push ecx
push eax
call fcn.0049e700
add esp, 0xc
push edi
call ebp
push edi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
push esi
push 0x2002
call ebx
mov ebx, eax
test ebx, ebx
je 0x444de9
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
test edi, edi
je 0x444de9
mov edx, dword [esp + 0x14]
push esi
push edx
push edi
call fcn.0049e700
add esp, 0xc
push edi
push edi
call dword [sym.imp.USER32.dll_CharToOemA]
push ebx
call ebp
push ebx
push 7
call dword [sym.imp.USER32.dll_SetClipboardData]
call fcn.0043c9b0
test eax, eax
je 0x444e31
lea eax, [esi + esi]
push eax
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x444e31
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x444e31
mov ecx, dword [esp + 0x14]
push esi
push eax
push 0xffffffffffffffff
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push edi
call ebp
push edi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
ret 4
Function at 0x445d00
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xb4
mov eax, dword [0x4c0390]
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 0x445e63
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 0x445dc0
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 0x445df0
add dword [esp + 0x10], 0x780
sub ebp, 1
jne 0x445db4
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 0x445d50
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 0x445ead
cmp eax, edx
ja 0x445ead
xor eax, eax
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.0049e0c6
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.0049e0c6
add esp, 0xb4
ret 8
Function at 0x448910
Capabilities:
Create thread

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventA]
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 0x4463b0
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 0x448998
push str.CreateThread_failed
mov ecx, 0x4c9364
call fcn.00427fd0
mov ecx, 0x4c9364
call fcn.00427c70
push 2
mov ecx, 0x4c9364
call fcn.004281b0
push 1
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
mov dword [esi], ebx
mov dword [esp + 0x1c], ebp
call fcn.00446500
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x449f10
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
push ebx
push ebp
mov ebp, ecx
mov cl, byte [eax + 0x5771]
mov byte [ebp + 0x14a5], cl
mov dl, byte [eax + 0x5772]
mov byte [ebp + 0x14a4], dl
mov ecx, dword [eax + 0x55b8]
push esi
mov dword [ebp + 0x14a0], ecx
mov edx, dword [eax + 0x4c00]
push edi
add eax, 0x55c4
push eax
lea ecx, [ebp + 0x63c8]
mov dword [ebp + 0x60a8], edx
call fcn.00419fa0
mov ecx, dword [ebp + 0x20]
cmp ecx, 0x400000
jae 0x449fc3
mov edx, dword [ebp + 0x14a0]
cmp edx, ecx
jae 0x449f94
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 0x449f80
jmp 0x449fc3
sub edx, ecx
xor eax, eax
mov esi, edx
test ecx, ecx
jbe 0x449fb2
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 0x449fa0
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 0x44a039
mov esi, dword [ebp + 0x24]
and eax, esi
xor edx, edx
mov dword [ebp + 0x14a0], eax
cmp eax, ebx
je 0x44a062
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 0x449ff4
jmp 0x44a062
and eax, dword [ebp + 0x24]
mov dword [ebp + 0x14a0], eax
cmp eax, ebx
je 0x44a062
push eax
mov ecx, ebp
call fcn.004474a0
mov eax, dword [ebp + 0x14a0]
inc eax
and eax, dword [ebp + 0x24]
mov dword [ebp + 0x14a0], eax
cmp eax, ebx
jne 0x44a046
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.0049e700
add esp, 0xc
mov ecx, esi
call fcn.0046e3e0
lea ecx, [ebp + 0xda8]
call fcn.0044c700
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 0x44dae0
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 0x44db67
mov edx, dword [esp + 4]
push esi
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x44db67
cmp byte [esi], 0
je 0x44db67
push esi
call fcn.0044d9b0
mov eax, esi
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x44db27
mov ecx, dword [0x4b2da4]
mov dword [eax], ecx
mov dx, word [0x4b2da8]
mov word [eax + 4], dx
mov cl, byte [0x4b2daa]
push 0
push esi
mov byte [eax + 6], cl
call fcn.0042f890
test al, al
jne 0x44db93
push 0
push 0
push 0
push esi
call fcn.00430130
test eax, eax
je 0x44db93
push 0x400
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push esi
call fcn.0044d530
lea edx, [esi + 2]
cmp eax, edx
jb 0x44db90
cmp byte [esi + 1], 0x3a
jne 0x44db8f
add esi, 4
cmp eax, esi
jb 0x44db90
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 0x44dbb0
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 str.SoftwareWinRARPaths
push 0x80000001
mov byte [esi], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x44dc07
lea ecx, [esp + 4]
push ecx
push esi
lea edx, [esp + 0x10]
push edx
push eax
mov eax, dword [esp + 0x20]
push str.AppData
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 0x44dc18
push 0
push esi
call fcn.0042f890
test al, al
jne 0x44dc1e
push esi
call fcn.0044dae0
pop esi
add esp, 8
ret 4
Function at 0x4514a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x224
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0x220], eax
mov eax, dword [ebp + 0x1c]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
lea ecx, [esp + 0xc0]
push ecx
mov dword [esp + 0x20], eax
call fcn.004353f0
mov eax, dword [ebp + 0xc]
lea edx, [esp + 0xc0]
push edx
push eax
push esi
call fcn.00435410
mov edx, dword [ebp + 0x14]
mov ecx, 0x28
lea esi, [esp + 0xc0]
lea edi, [esp + 0x160]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x160]
push ecx
push edx
push ebx
call fcn.00435490
mov eax, dword [ebp + 0x20]
lea ecx, [eax - 1]
mov eax, 0xcccccccd
mul ecx
shr edx, 4
add edx, 1
mov dword [esp + 0x18], edx
je 0x45169b
lea edx, [esp + 0x204]
mov dword [esp + 0x10], 0
mov ebx, 1
mov dword [esp + 0xc], edx
xor eax, eax
mov ecx, 0x28
lea esi, [esp + 0x160]
lea edi, [esp + 0x20]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x204], eax
mov dword [esp + 0x208], eax
mov dword [esp + 0x20c], eax
mov dword [esp + 0x210], eax
mov dword [esp + 0x214], eax
mov ecx, ebx
shr ecx, 0x10
mov eax, ebx
shr eax, 0x18
mov byte [esp + 0x219], cl
mov ecx, dword [ebp + 0x18]
mov edx, ebx
shr edx, 8
mov byte [esp + 0x218], al
mov byte [esp + 0x21a], dl
mov byte [esp + 0x21b], bl
mov eax, 4
test ecx, ecx
jbe 0x451660
mov dword [esp + 0x14], ecx
jmp 0x4515c0
lea ecx, [esp + 0x20]
push ecx
push eax
lea edx, [esp + 0x220]
push edx
call fcn.00435490
lea eax, [esp + 0x20]
push eax
push 0x14
lea ecx, [esp + 0x220]
push ecx
call fcn.00435530
xor eax, eax
lea esp, [esp]
movzx edx, byte [esp + eax + 0x218]
xor byte [esp + eax + 0x204], dl
movzx ecx, byte [esp + eax + 0x219]
movzx edx, byte [esp + eax + 0x21a]
xor byte [esp + eax + 0x205], cl
xor byte [esp + eax + 0x206], dl
movzx ecx, byte [esp + eax + 0x21b]
movzx edx, byte [esp + eax + 0x21c]
xor byte [esp + eax + 0x207], cl
xor byte [esp + eax + 0x208], dl
add eax, 5
cmp eax, 0x14
jb 0x4515f0
sub dword [esp + 0x14], 1
mov ecx, 0x28
lea esi, [esp + 0xc0]
lea edi, [esp + 0x20]
rep movsd dword es:[edi], dword [esi]
jne 0x4515c0
mov eax, dword [esp + 0x10]
xor ecx, ecx
cmp eax, dword [ebp + 0x20]
jae 0x451680
mov edx, dword [esp + 0xc]
mov dl, byte [edx + eax]
mov esi, dword [esp + 0x1c]
mov byte [eax + esi], dl
inc ecx
inc eax
cmp ecx, 0x14
jb 0x451666
mov eax, 0x14
add dword [esp + 0x10], eax
sub dword [esp + 0xc], eax
inc ebx
lea eax, [ebx - 1]
cmp eax, dword [esp + 0x18]
jb 0x451545
mov ecx, dword [esp + 0x22c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0049e0c6
mov esp, ebp
pop ebp
ret 0x1c