joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43d730
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x1634
call fcn.0049ebb0
mov eax, dword [0x4c03a0]
xor eax, esp
mov dword [esp + 0x1630], eax
push esi
mov esi, dword [esp + 0x163c]
push edi
mov edi, dword [esp + 0x1644]
push 0x100
push 0x4b1914
lea eax, [esp + 0x14]
push eax
push 0x4b1914
push esi
push 0x80000000
call fcn.00456450
cmp byte [esp + 0xc], 0
je 0x43d792
lea eax, [esp + 0xc]
mov edx, edi
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x43d788
push esi
lea edx, [esp + 0x110]
push str._sDefaultIcon
push edx
call fcn.0049e635
add esp, 0xc
push 0x800
push 0x4b1914
lea eax, [esp + 0x240]
push eax
push 0x4b1914
lea ecx, [esp + 0x11c]
push ecx
push 0x80000000
call fcn.00456450
test al, al
jne 0x43d88e
push esi
lea edx, [esp + 0x110]
push str._s_shellopencommand
push edx
call fcn.0049e635
add esp, 0xc
push 0x400
push 0x4b1914
lea eax, [esp + 0xa40]
push eax
push 0x4b1914
lea ecx, [esp + 0x11c]
push ecx
push 0x80000000
call fcn.00456450
test al, al
jne 0x43d823
xor eax, eax
jmp 0x43d944
cmp byte [esp + 0xa38], 0x22
lea ecx, [esp + 0xa39]
je 0x43d83b
lea ecx, [esp + 0xa38]
lea edx, [esp + 0x238]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x43d842
lea edx, [esp + 0x238]
push 0x22
push edx
call fcn.0049e290
add esp, 8
test eax, eax
je 0x43d865
mov byte [eax], 0
lea eax, [esp + 0x238]
push 0x4b3514
push eax
call fcn.004a1950
add esp, 8
test eax, eax
je 0x43d881
mov byte [eax], 0
lea ecx, [esp + 0x238]
push ecx
call fcn.004650d0
mov ecx, 0x4b3514
lea eax, [esp + 0x238]
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x43d8c0
test dl, dl
je 0x43d8bc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x43d8c0
add eax, 2
add ecx, 2
test dl, dl
jne 0x43d8a0
xor eax, eax
jmp 0x43d8c5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x43d81c
push 0x800
lea edx, [esp + 0xe3c]
push edx
lea eax, [esp + 0x240]
push eax
xor edi, edi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea ecx, [esp + 0xe38]
push 0x2c
push ecx
call fcn.0049e350
mov esi, eax
add esp, 8
test esi, esi
je 0x43d913
lea edx, [esi + 1]
push edx
call fcn.004a0876
add esp, 4
mov edi, eax
mov byte [esi], 0
lea eax, [esp + 0xe38]
push eax
mov dword [esp + 0xc], 0
call fcn.004454f0
push 1
lea ecx, [esp + 0xc]
push ecx
push 0
push edi
lea edx, [esp + 0xe48]
push edx
call dword [sym.imp.SHELL32.dll_ExtractIconExA]
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x1638]
pop edi
pop esi
xor ecx, esp
call fcn.0049e626
add esp, 0x1634
ret 8
Function at 0x43def0
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 0x43df6d
test esi, esi
jne 0x43df6d
test edi, edi
jne 0x43df6d
test eax, eax
jne 0x43df6d
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 0x43df80
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x58c
mov eax, dword [0x4c03a0]
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.0047e340
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.0045be10
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.0049e626
add esp, 0x58c
ret
Function at 0x440b50
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x50
mov eax, dword [0x4c03a0]
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.00456940
test eax, eax
setne al
lea ecx, [esp + 8]
mov byte [esi + 0xd24], al
mov edx, dword [0x4dc210]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [0x4c93a4]
mov ecx, dword [0x4dc210]
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.00456940
neg eax
sbb eax, eax
and eax, 0xfffffffe
add eax, 3
push eax
mov ecx, esi
call fcn.0043f3a0
push 1
push str.FullRow
push str.FileList
mov edi, 0x400
call fcn.00456940
test eax, eax
je 0x440c07
mov edi, 0x420
push 0
push str.ShowGrid
push str.FileList
call fcn.00456940
test eax, eax
je 0x440c1f
or edi, 1
push 0
push str.SingleClick
push str.FileList
call fcn.00456940
test eax, eax
je 0x440c60
push 0
push str.Underline
push str.FileList
or edi, 0x48
call fcn.00456940
cmp eax, 1
jne 0x440c55
or edi, 0x800
jmp 0x440c60
cmp eax, 2
jne 0x440c60
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.0043eab0
push 0x3c
push 0
lea eax, [esp + 0x24]
push eax
push str.Font
push str.FileList
call fcn.00456970
cmp byte [esp + 0x38], 0
je 0x440d58
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 0x440d36
push 1
push eax
mov eax, dword [esi]
push 0x30
push eax
call ebx
push 0
push str.FontColor
push str.FileList
call fcn.00456940
test eax, eax
je 0x440d58
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.0043ebc0
mov ecx, esi
call fcn.0043f250
mov ecx, dword [esi]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [0x4dbca8], 1
pop ebx
je 0x440d94
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, esi
call fcn.0043f430
mov ecx, dword [esp + 0x54]
pop edi
pop esi
xor ecx, esp
call fcn.0049e626
add esp, 0x50
ret
Function at 0x440db0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x804
mov eax, dword [0x4c03a0]
xor eax, esp
mov dword [esp + 0x800], eax
push esi
mov esi, ecx
mov byte [esi + 0xc1e], 0
cmp dword [0x4dbca4], 0
push edi
je 0x440eaa
lea eax, [esp + 0x408]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [esp + 0x408]
push ecx
call fcn.0044df30
mov edi, eax
cmp edi, 0xffffffff
je 0x440e56
call fcn.0047e400
mov edx, 1
mov ecx, edi
shl edx, cl
test edx, eax
jne 0x440e56
push 0
lea eax, [esp + 0xc]
push eax
mov ecx, 0x4e0c60
call fcn.00413520
lea ecx, [esp + 8]
push ecx
call fcn.0044e030
lea edx, [esp + 8]
push edx
call fcn.004acbe8
add esp, 4
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.0049e626
add esp, 0x804
ret
mov eax, dword [0x4dbcf4]
test eax, eax
je 0x440e66
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, esi
call fcn.0043f2f0
mov ecx, esi
mov dword [0x4dbca4], 0
call fcn.0043ebc0
mov ecx, esi
call fcn.0043f430
mov ecx, 0x4dc218
mov byte [0x4dc244], 0
call fcn.00464fc0
mov ecx, 0x4dff10
call fcn.0046b9b0
mov ecx, 0x4dff10
call fcn.0046b3f0
mov ecx, dword [esp + 0x808]
pop edi
pop esi
xor ecx, esp
mov al, 1
call fcn.0049e626
add esp, 0x804
ret
Function at 0x4429f0
Capabilities:
Copy file

Disassembly:
mov eax, 0x1404
call fcn.0049ebb0
mov eax, dword [0x4c03a0]
xor eax, esp
mov dword [esp + 0x1400], eax
push esi
push 0
lea eax, [esp + 0x808]
mov esi, ecx
push eax
mov ecx, 0x4e0c60
call fcn.00413520
push 6
push str.rarkey
lea ecx, [esp + 0x80c]
push ecx
call fcn.0044daf0
push eax
call fcn.004650a0
test eax, eax
jne 0x442b9e
push eax
push str.rarreg.key
mov ecx, esi
call fcn.00440ed0
test eax, eax
jne 0x442a67
push eax
push str.rarreg.txt
mov ecx, esi
call fcn.00440ed0
test eax, eax
je 0x442b9e
lea edx, [esp + 0xc04]
push edx
lea eax, [esp + 0x408]
push eax
call fcn.00483100
test al, al
je 0x442b9e
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.0044daf0
mov ecx, dword [str.rarreg.key]
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileA]
mov dword [eax], ecx
mov edx, dword [0x4b36c0]
mov dword [eax + 4], edx
mov cx, word [0x4b36c4]
mov word [eax + 8], cx
mov dl, byte [0x4b36c6]
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 0x442b3e
lea edx, [esp + 4]
push edx
call fcn.0044e170
lea eax, [esp + 4]
push eax
call fcn.0044df70
lea eax, [esp + 4]
dec eax
lea esp, [esp]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x442b00
mov ecx, dword [str.rarreg.key]
mov edx, dword [0x4b36c0]
mov dword [eax], ecx
mov cx, word [0x4b36c4]
mov dword [eax + 4], edx
mov dl, byte [0x4b36c6]
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.004a1a8d
mov eax, dword [0x4dc210]
add esp, 4
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 1
call fcn.0041b5c0
mov ecx, 0x4dff38
mov byte [0x4c8d98], al
call fcn.004428f0
cmp byte [0x4c8d98], 0
je 0x442b9e
push 0x30
push 0x368
call fcn.0045be10
push eax
push 0x367
call fcn.0045be10
mov ecx, dword [0x4dc210]
push eax
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x1404]
pop esi
xor ecx, esp
call fcn.0049e626
add esp, 0x1404
ret
Function at 0x4430d0
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1e04
call fcn.0049ebb0
mov eax, dword [0x4c03a0]
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.0042fda0
lea ecx, [esp + 0x160c]
push ecx
push edi
call fcn.0042fe30
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 0x443120
push 0x400
lea edx, [esp + 0x410]
push edx
call fcn.0047e340
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 0x443160
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x414]
push ecx
call fcn.004650a0
test eax, eax
je 0x4431b4
lea edx, [esp + 0xc]
push 0x5c
push edx
call fcn.0049e350
add esp, 8
test eax, eax
je 0x4431b4
lea ecx, [esp + 0xc]
cmp eax, ecx
jbe 0x4431b4
mov cl, byte [eax - 1]
cmp cl, 0x3a
je 0x4431b4
cmp cl, 0x5c
je 0x4431b4
lea edx, [esp + 0xc]
push edx
mov byte [eax], 0
call fcn.004acbe8
add esp, 4
push 1
push edi
push esi
mov ecx, ebx
call fcn.00442ec0
cmp eax, 0xffffffff
jne 0x4431dd
push 1
lea eax, [esp + 0x1610]
push eax
lea ecx, [esp + 0x814]
push ecx
mov ecx, ebx
call fcn.00442ec0
cmp eax, 1
je 0x44325e
cmp eax, 2
je 0x44324a
cmp eax, 0xffffffff
jne 0x44320a
push esi
push 0x1f5
call fcn.0045be10
push eax
lea edx, [esp + 0xc14]
push edx
call fcn.0049e635
add esp, 0xc
jmp 0x44322b
push 0x1fc
call fcn.0045be10
push eax
push esi
lea eax, [esp + 0xc14]
push str._s_n_s
push eax
call fcn.0049e635
add esp, 0x10
push 0x10
push 0x66
call fcn.0045be10
mov edx, dword [0x4dc210]
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.004acbe8
add esp, 4
xor al, al
jmp 0x443260
mov al, 1
mov ecx, dword [esp + 0x1e0c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0049e626
add esp, 0x1e04
ret 8
Function at 0x444e50
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x9c
mov eax, dword [0x4c03a0]
xor eax, esp
mov dword [esp + 0x98], eax
cmp dword [0x4bf120], 0
push esi
mov esi, dword [esp + 0xac]
push edi
jne 0x444ea5
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 [0x4ed18c], cl
mov byte [0x4ed18d], 0
mov dword [0x4bf120], 0x4ed18c
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xa8]
lea edx, [esp + 8]
push edx
push eax
push ecx
call fcn.004653f0
mov edi, dword [esp + 0xb4]
push edi
push esi
push 0x4bf110
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.0049e626
add esp, 0x9c
ret 0x10

Function at 0x445250
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword [esp + 4]
push esi
test eax, eax
je 0x44535a
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x445260
sub eax, edx
mov esi, eax
je 0x44535a
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x445281
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 0x4452cb
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4452cb
mov ecx, dword [esp + 0x14]
push esi
push ecx
push eax
call fcn.0049ec60
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 0x445309
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
test edi, edi
je 0x445309
mov edx, dword [esp + 0x14]
push esi
push edx
push edi
call fcn.0049ec60
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.0043cdb0
test eax, eax
je 0x445351
lea eax, [esi + esi]
push eax
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x445351
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x445351
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 0x446220
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xb4
mov eax, dword [0x4c03a0]
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 0x446383
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 0x4462e0
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 0x446310
add dword [esp + 0x10], 0x780
sub ebp, 1
jne 0x4462d4
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 0x446270
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 0x4463cd
cmp eax, edx
ja 0x4463cd
xor eax, eax
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.0049e626
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.0049e626
add esp, 0xb4
ret 8
Function at 0x448ed0
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 0x446960
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 0x448f58
push str.CreateThread_failed
mov ecx, 0x4c93ac
call fcn.004283b0
mov ecx, 0x4c93ac
call fcn.00428050
push 2
mov ecx, 0x4c93ac
call fcn.00428590
push 1
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
mov dword [esi], ebx
mov dword [esp + 0x1c], ebp
call fcn.00446ab0
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x44a4d0
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.0041a010
mov ecx, dword [ebp + 0x20]
cmp ecx, 0x400000
jae 0x44a583
mov edx, dword [ebp + 0x14a0]
cmp edx, ecx
jae 0x44a554
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 0x44a540
jmp 0x44a583
sub edx, ecx
xor eax, eax
mov esi, edx
test ecx, ecx
jbe 0x44a572
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 0x44a560
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 0x44a5f9
mov esi, dword [ebp + 0x24]
and eax, esi
xor edx, edx
mov dword [ebp + 0x14a0], eax
cmp eax, ebx
je 0x44a622
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 0x44a5b4
jmp 0x44a622
and eax, dword [ebp + 0x24]
mov dword [ebp + 0x14a0], eax
cmp eax, ebx
je 0x44a622
push eax
mov ecx, ebp
call fcn.00447a60
mov eax, dword [ebp + 0x14a0]
inc eax
and eax, dword [ebp + 0x24]
mov dword [ebp + 0x14a0], eax
cmp eax, ebx
jne 0x44a606
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.0049ec60
add esp, 0xc
mov ecx, esi
call fcn.0046e8e0
lea ecx, [ebp + 0xda8]
call fcn.0044ccc0
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 0x44e0a0
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 0x44e127
mov edx, dword [esp + 4]
push esi
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x44e127
cmp byte [esi], 0
je 0x44e127
push esi
call fcn.0044df70
mov eax, esi
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x44e0e7
mov ecx, dword [0x4b2e3c]
mov dword [eax], ecx
mov dx, word [0x4b2e40]
mov word [eax + 4], dx
mov cl, byte [0x4b2e42]
push 0
push esi
mov byte [eax + 6], cl
call fcn.0042fc80
test al, al
jne 0x44e153
push 0
push 0
push 0
push esi
call fcn.00430520
test eax, eax
je 0x44e153
push 0x400
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push esi
call fcn.0044daf0
lea edx, [esi + 2]
cmp eax, edx
jb 0x44e150
cmp byte [esi + 1], 0x3a
jne 0x44e14f
add esi, 4
cmp eax, esi
jb 0x44e150
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 0x44e170
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 0x44e1c7
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 0x44e1d8
push 0
push esi
call fcn.0042fc80
test al, al
jne 0x44e1de
push esi
call fcn.0044e0a0
pop esi
add esp, 8
ret 4