joyce8/EMBER2024-capa huggingface dataset:
Function at 0x434ea8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
mov edi, ecx
xor bl, bl
call esi
mov dword [ebp - 4], eax
test bl, bl
jne 0x434ecc
xor ecx, ecx
lea eax, [edi + 8]
inc ecx
lock xadd dword [eax], ecx
mov ecx, dword [ebp + 8]
mov edx, edi
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x434f08
or ecx, 0xffffffff
cmp dword [ebp + 0xc], ecx
je 0x434ef2
call esi
sub eax, dword [ebp - 4]
cmp dword [ebp + 0xc], eax
jbe 0x434f0c
mov ecx, dword [ebp + 0xc]
sub ecx, eax
push dword [edi + 4]
push ecx
call fcn.00431927
dec eax
pop ecx
pop ecx
je 0x434f04
mov bl, 1
jmp 0x434ebe
xor bl, bl
jmp 0x434ebe
mov al, 1
jmp 0x434f0e
xor al, al
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x4357d5
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 2
mov esi, ecx
call edi
movzx ebx, ax
push 1
shl ebx, 0x10
call edi
movzx eax, ax
or eax, ebx
and eax, 0x10001
cmp eax, dword [esi + 8]
je 0x43581d
push 0xffffffffffffffe0
push 0
mov dword [esi + 8], eax
call fcn.0042ed2e
pop ecx
push eax
call dword [sym.imp.USER32.dll_GetClassLongW]
cmp eax, 0x8000
setne al
test al, al
jne 0x43582d
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [esi + 4]
setne al
test al, al
je 0x435836
pop edi
pop esi
pop ebx
jmp dword [sym.imp.USER32.dll_EndMenu]
pop edi
pop esi
pop ebx
ret

Function at 0x43583a
Capabilities:
Write clipboard data

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 4]
inc eax
push edi
inc eax
push eax
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
jne 0x43585b
xor al, al
jmp 0x4358a3
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
jne 0x43586f
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x435857
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x435887
add ecx, 2
push ecx
push dword [esi]
push eax
call fcn.0044de20
add esp, 0xc
jmp 0x43588c
xor ecx, ecx
mov word [eax], cx
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
setne al
pop edi
pop esi
ret

Function at 0x435f67
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
push esi
mov esi, ecx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebp, dword [esp + 0xc]
mov dword [esi + 4], eax
test ebp, ebp
je 0x435fbf
push eax
call fcn.0042e8f4
pop ecx
test al, al
jne 0x435fbf
push ebx
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 2
mov dword [esi], ebp
call edi
movzx ebx, ax
push 1
shl ebx, 0x10
call edi
movzx eax, ax
push 0x435eac
push 0x32
or eax, ebx
push esi
and eax, 0x10001
push ebp
mov dword [esi + 8], eax
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop ebx
jmp 0x435fc6
and dword [esi], 0
and dword [esi + 8], 0
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x4364c9
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
cmp dword [ebp + 0xc], 0
push ebx
lea eax, [ebp - 0x250]
push eax
je 0x4364f1
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov ebx, eax
test ebx, ebx
jne 0x43650a
jmp 0x43655a
push dword [ebp + 8]
call fcn.00438be4
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
or eax, 0xffffffff
cmp ebx, eax
je 0x43655a
push esi
mov esi, dword [ebp + 0x10]
push 0x2c
lea eax, [ebp - 0x250]
push eax
push esi
call fcn.0044de20
add esp, 0xc
push 0
push 0
push 0x30c
lea eax, [esi + 0x2c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x224]
push eax
push 0
push dword [0x472ff4]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
xor eax, eax
mov cl, byte [ebp + eax*2 - 0x1c]
mov byte [esi + eax + 0x338], cl
inc eax
cmp eax, 0xe
jl 0x436546
mov eax, ebx
pop esi
pop ebx
leave
ret 0xc

Function at 0x436d86
Capabilities:
Clear file content

Disassembly:
mov eax, 0x45d51f
call fcn.0044d930
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 0x18]
call fcn.0040197f
xor ebx, ebx
mov dword [ebp - 4], ebx
test dword [ebp + 0x14], 0x300
mov esi, dword [ebp + 0xc]
setne byte [ebp - 0xd]
cmp esi, ebx
jne 0x436dc0
test byte [ebp + 0x14], 4
mov byte [ebp + 0xc], bl
je 0x436dc4
mov byte [ebp + 0xc], 1
push ebx
lea ecx, [ebp - 0x18]
push ebx
cmp byte [ebp - 0xd], bl
je 0x436ddb
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00435aa2
jmp 0x436df0
xor eax, eax
cmp byte [ebp + 0xc], bl
setne al
lea eax, [eax + eax + 2]
push eax
push dword [ebp + 8]
call fcn.00435a85
test eax, eax
setne al
cmp al, bl
jne 0x436e18
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004019a9
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10
cmp esi, ebx
je 0x436e3f
cmp esi, 0xffffffff
jne 0x436e27
push 2
push ebx
push ebx
jmp 0x436e2a
push ebx
push ebx
push esi
push dword [ebp - 0x18]
call fcn.00432a4b
add esp, 0x10
cmp edx, ebx
jg 0x436e3f
jl 0x436df9
cmp eax, ebx
jb 0x436df9
mov eax, dword [edi + 4]
mov ecx, dword [ebp + 0x10]
cmp ecx, eax
jbe 0x436e4b
mov ecx, eax
cmp ecx, ebx
je 0x436e5e
push ecx
push dword [edi]
lea ecx, [ebp - 0x18]
call fcn.004353d9
test al, al
je 0x436df9
mov eax, dword [ebp + 0x14]
test al, 1
je 0x436e7b
push 2
push 0x45fe7c
lea ecx, [ebp - 0x18]
call fcn.004353d9
test al, al
je 0x436df9
mov eax, dword [ebp + 0x14]
test al, 2
je 0x436e90
cmp byte [ebp + 0xc], bl
je 0x436e90
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov eax, dword [ebp + 0x14]
cmp byte [ebp - 0xd], bl
je 0x436ebd
shr eax, 9
and al, 1
movzx eax, al
push eax
lea ecx, [ebp - 0x18]
call fcn.00435b20
test al, al
jne 0x436ebd
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004019a9
mov al, bl
jmp 0x436e07
mov bl, 1
jmp 0x436eaa
Function at 0x43742e
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x45d57b
call fcn.0044d930
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 0x14], ebx
test esi, esi
jne 0x43744b
mov esi, dword [ebx]
push esi
call fcn.0042fb30
mov edi, eax
test edi, edi
jne 0x437462
push eax
push eax
mov ecx, ebx
call fcn.0042b7ed
jmp 0x4374e0
mov eax, edi
cdq
sub eax, edx
sar eax, 1
push esi
lea ecx, [ebp - 0x10]
lea edi, [edi + eax + 0x32]
call fcn.00404792
and dword [ebp - 4], 0
push edi
lea ecx, [ebp + 8]
call fcn.0043252b
mov byte [ebp - 4], 1
mov ebx, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [edi + 1]
push eax
push dword [ebp + 8]
push dword [ebp - 0x10]
call ebx
mov esi, eax
dec esi
cmp esi, edi
jle 0x4374b4
push esi
lea ecx, [ebp + 8]
call fcn.0043ca1c
inc esi
push esi
push eax
push dword [ebp - 0x10]
call ebx
dec eax
mov esi, eax
mov ecx, dword [ebp - 0x14]
push esi
push dword [ebp + 8]
call fcn.0042a844
mov byte [ebp - 4], 0
push dword [ebp + 8]
call fcn.0043c8d4
and dword [ebp + 8], 0
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x10]
call fcn.0043c8d4
and dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x4374f1
Capabilities:
Get common file path

Disassembly:
mov eax, 0x45d58d
call fcn.0044d930
push ecx
push ebx
mov ebx, dword [ebp + 8]
movzx eax, byte [ebx]
cmp byte [eax + 0x473d60], 1
push edi
mov edi, ecx
jne 0x43753a
lea eax, [ebp - 0x10]
push eax
push ebx
call fcn.0043a910
mov ecx, dword [ebp - 0x10]
cmp byte [ecx], 0
jne 0x437536
cmp eax, 0xffff
ja 0x437536
push 0
push edi
push eax
call fcn.0043dda3
add esp, 0xc
jmp 0x43755e
xor al, al
jmp 0x43755e
push esi
xor esi, esi
push dword [esi*8 + 0x4638ec]
push ebx
call sym.qmmacro.exe_q_stricmp
pop ecx
pop ecx
test eax, eax
je 0x437556
inc esi
cmp esi, 0x34
jl 0x43753d
cmp esi, 0x34
jne 0x43756e
xor al, al
pop esi
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
mov esi, dword [esi*8 + 0x4638e8]
xor ebx, ebx
mov dword [ebp + 8], ebx
mov dword [ebp - 4], ebx
mov eax, pe_nt_image_headers32
cmp esi, eax
jge 0x4375c6
push 0x104
lea ecx, [ebp + 8]
call fcn.0043ca1c
push ebx
push esi
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x4375b7
xor bl, bl
or dword [ebp - 4], 0xffffffff
push dword [ebp + 8]
call fcn.0043c8d4
and dword [ebp + 8], 0
mov al, bl
jmp 0x43755d
push dword [ebp + 8]
mov ecx, edi
call fcn.00401027
jmp 0x4376a6
sub esi, eax
je 0x437693
dec esi
je 0x437685
dec esi
je 0x437650
dec esi
je 0x43763c
dec esi
je 0x4375f8
dec esi
jne 0x4376a6
push edi
push dword [0x473140]
call fcn.00432700
pop ecx
pop ecx
jmp 0x4376a6
mov ecx, 0x473108
call fcn.0042d0ed
cmp eax, 1
jne 0x43761e
cmp byte [0x4731c0], 0
je 0x437617
mov eax, str._temp_LowQM_portable
jmp 0x437631
mov eax, str._temp_LowQM
jmp 0x437631
cmp byte [0x4731c0], 0
mov eax, str._temp_QM_portable
jne 0x437631
mov eax, str._temp_QM
push ebx
push eax
mov ecx, edi
call fcn.004376b1
jmp 0x4376a6
push ebx
push str._windows_Media
mov ecx, edi
call fcn.004376b1
mov bl, 1
jmp 0x4375a3
mov esi, 0x104
push esi
lea ecx, [ebp + 8]
call fcn.0043ca1c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push dword [ebp + 8]
mov ecx, edi
call fcn.00401027
push 0x5c
mov ecx, edi
call fcn.00431c9c
push 1
push ebx
mov ecx, edi
call fcn.00437b2d
jmp 0x4376a6
mov eax, dword [0x473184]
dec eax
push eax
push 0x473180
jmp 0x43769f
mov eax, dword [0x473144]
dec eax
push eax
push 0x473140
mov ecx, edi
call fcn.0042c813
cmp dword [edi + 4], ebx
setne bl
jmp 0x4375a3
Function at 0x438646
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x45d619
call fcn.0044d930
sub esp, 0x24
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x18], esi
lea ecx, [ebp - 0x20]
call fcn.0040197f
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
xor eax, eax
lea edi, [ebp - 0x30]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov byte [ebp - 4], 1
test byte [ebp + 0x14], 2
jne 0x4386e4
cmp dword [ebp + 0xc], ebx
jne 0x4386e4
cmp dword [ebp + 0x10], 0xffffffff
jne 0x4386e4
mov ecx, dword [0x472f98]
mov eax, dword [ecx]
lea edx, [ebp + 8]
push edx
call dword [eax + 0x24]
cmp eax, ebx
je 0x4386e4
mov ecx, dword [0x472f98]
mov edx, dword [ecx]
push esi
push dword [ebp + 8]
push eax
call dword [edx + 0x2c]
test al, al
je 0x4387e8
mov esi, dword [esi + 4]
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x30]
call fcn.0042b5df
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004019a9
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 0x10
test byte [ebp + 0x14], 1
je 0x438705
push ebx
push ebx
push dword [ebp + 8]
lea ecx, [ebp - 0x30]
call fcn.00437951
test al, al
je 0x4387e8
mov eax, dword [ebp - 0x30]
mov dword [ebp + 8], eax
push ebx
push dword [ebp + 8]
lea ecx, [ebp - 0x20]
call fcn.00435a5f
test eax, eax
je 0x4387e8
push dword [ebp - 0x20]
call fcn.00432a26
pop ecx
mov edi, eax
mov esi, edx
mov ecx, dword [ebp + 0xc]
cmp ecx, ebx
je 0x438762
xor eax, eax
cmp eax, esi
ja 0x43875f
jb 0x438739
cmp ecx, edi
jae 0x43875f
sub edi, ecx
sbb esi, eax
push ebx
push eax
push ecx
push dword [ebp - 0x20]
call fcn.00432a4b
add esp, 0x10
cmp edx, ebx
jl 0x4387e8
jg 0x438762
cmp eax, ebx
jb 0x4387e8
jmp 0x438762
mov dword [ebp + 0x10], ebx
xor eax, eax
cmp eax, esi
jb 0x438772
ja 0x43876f
cmp dword [ebp + 0x10], edi
jb 0x438772
mov dword [ebp + 0x10], edi
cmp dword [ebp + 0x10], 0x80000000
jb 0x438785
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x4387e8
mov byte [ebp - 4], 2
push dword [ebp + 0x10]
mov esi, dword [ebp - 0x18]
mov ecx, esi
call fcn.0042b6da
mov dword [ebp - 4], 1
mov edi, dword [ebp + 0x10]
cmp edi, ebx
je 0x4387b9
push ebx
lea eax, [ebp - 0x14]
push eax
push edi
push dword [esi]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4387e8
cmp dword [ebp - 0x14], edi
je 0x4387c9
push ebx
push dword [ebp - 0x14]
mov ecx, esi
call fcn.0042b7ed
mov esi, dword [ebp - 0x14]
jmp 0x4386ba
mov ecx, dword [ebp - 0x18]
call fcn.0042b6e8
or esi, 0xffffffff
jmp 0x4386ba
Function at 0x4387f8
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x45d62e
call fcn.0044d930
sub esp, 0x40c
push ebx
push esi
lea eax, [ebp - 0x414]
push edi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x418], eax
and dword [ebp - 4], 0
test byte [ebp + 0xc], 1
mov ebx, dword [ebp + 8]
mov esi, 0x200
jne 0x43887a
mov edi, dword [sym.imp.USER32.dll_InternalGetWindowText]
jmp 0x43884d
lea ecx, [esi - 1]
cmp eax, ecx
jne 0x438942
add esi, esi
push esi
lea ecx, [ebp - 0x418]
call fcn.00438570
push esi
push dword [ebp - 0x418]
push ebx
call edi
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x438834
test byte [ebp + 0xc], 2
jne 0x438942
push ebx
call fcn.0042e696
pop ecx
test eax, 0x40000000
je 0x438942
push ebx
call fcn.0042e8f4
pop ecx
test al, al
je 0x4388bc
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [ebp - 0x10], eax
test eax, eax
jle 0x438917
lea esi, [eax + 1]
push 0x400
lea eax, [esi + esi]
push eax
lea ecx, [ebp - 0x418]
call fcn.00444b7c
push esi
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov dword [ebp - 0x10], eax
jmp 0x438917
push 0
lea eax, [ebp - 0x10]
push eax
mov edi, 0x3e8
push edi
push 0
push 0
push 0xe
push ebx
call fcn.0042e1ac
add esp, 0x1c
test eax, eax
jne 0x4388de
and dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
test eax, eax
jle 0x438917
lea esi, [eax + 1]
push 0x400
lea eax, [esi + esi]
push eax
lea ecx, [ebp - 0x418]
call fcn.00444b7c
push 0
lea ecx, [ebp - 0x10]
push ecx
push edi
push eax
push esi
push 0xd
push ebx
call fcn.0042e1ac
add esp, 0x1c
test eax, eax
jne 0x438917
and dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x438921
and dword [ebp - 0x10], 0
dec esi
cmp dword [ebp - 0x10], esi
jle 0x438942
mov ecx, dword [ebp - 0x418]
xor eax, eax
mov word [ecx + esi*2], ax
push dword [ebp - 0x418]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
push dword [ebp - 0x418]
mov ecx, esi
call fcn.0042a844
mov esi, dword [esi + 4]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x418]
call fcn.00437169
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8

Function at 0x4391cd
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 0xc]
mov eax, edi
and eax, 3
dec edi
mov dl, byte [eax + 0x463e74]
js 0x439201
push esi
mov eax, dword [esp + 0xc]
lea esi, [eax + edi]
mov al, byte [esi]
mov ecx, edi
and ecx, 3
mov cl, byte [ecx + 0x463e74]
add cl, al
xor al, dl
dec edi
mov byte [esi], al
mov dl, cl
jns 0x4391e1
pop esi
pop edi
ret
Function at 0x439901
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x10
push esi
mov esi, ecx
test eax, eax
je 0x439a4c
mov ecx, eax
and ecx, reloc.OLEAUT32.dll_VariantInit
jns 0x439924
dec ecx
or ecx, 0xfffffff8
inc ecx
jne 0x439a4c
and dword [ebp - 8], 0
and dword [ebp - 4], 0
cmp dword [ebp + 0x10], 1
push ebx
push edi
jne 0x4399a2
cmp eax, 8
mov ecx, dword [esi + 8]
mov dword [ebp - 0x10], ecx
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0xc], ecx
jl 0x439a46
shr eax, 3
mov dword [ebp + 0x10], eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call fcn.00439716
mov edi, dword [ebp - 8]
mov ebx, dword [ebp - 4]
pop ecx
pop ecx
lea eax, [ebp - 8]
push eax
mov ecx, esi
call fcn.00439623
mov eax, dword [ebp - 0x10]
xor dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
add dword [ebp + 8], 8
xor dword [ebp - 4], eax
push dword [ebp + 8]
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], ebx
call fcn.00439774
dec dword [ebp + 0x10]
pop ecx
pop ecx
jne 0x439955
jmp 0x439a46
cmp dword [ebp + 0x10], 2
jne 0x439a0e
cmp eax, 8
mov ecx, dword [esi + 8]
mov dword [ebp - 0x10], ecx
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0xc], ecx
jl 0x439a46
shr eax, 3
mov ebx, eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call fcn.00439716
pop ecx
pop ecx
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
call fcn.00439530
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
add dword [ebp + 8], 8
push dword [ebp + 8]
mov edx, eax
xor eax, dword [ebp - 0x10]
mov edi, ecx
xor ecx, dword [ebp - 0xc]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edi
call fcn.00439774
dec ebx
pop ecx
pop ecx
jne 0x4399c2
jmp 0x439a46
cmp eax, 8
jl 0x439a46
shr eax, 3
mov edi, eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call fcn.00439716
pop ecx
pop ecx
lea eax, [ebp - 8]
push eax
mov ecx, esi
call fcn.00439623
add dword [ebp + 8], 8
push dword [ebp + 8]
lea eax, [ebp - 8]
push eax
call fcn.00439774
dec edi
pop ecx
pop ecx
jne 0x439a18
pop edi
mov al, 1
pop ebx
jmp 0x439a56
push 0x463ed0
call fcn.0042de7b
pop esi
leave
ret 0xc
Function at 0x439bc4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
sub esp, 0x10
push esi
mov esi, ecx
test eax, eax
je 0x439d1b
mov ecx, eax
and ecx, reloc.OLEAUT32.dll_VariantInit
jns 0x439be7
dec ecx
or ecx, 0xfffffff8
inc ecx
jne 0x439d1b
and dword [ebp - 8], 0
and dword [ebp - 4], 0
cmp dword [ebp + 0x14], 1
push ebx
push edi
jne 0x439c69
cmp eax, 8
mov ecx, dword [esi + 8]
mov dword [ebp - 0x10], ecx
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0xc], ecx
jl 0x439d15
shr eax, 3
mov dword [ebp + 0x14], eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call fcn.00439716
mov edi, dword [ebp - 8]
mov ebx, dword [ebp - 4]
pop ecx
pop ecx
lea eax, [ebp - 8]
push eax
mov ecx, esi
call fcn.00439623
mov eax, dword [ebp - 0x10]
xor dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
add dword [ebp + 0xc], 8
xor dword [ebp - 4], eax
push dword [ebp + 0xc]
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], ebx
call fcn.00439774
add dword [ebp + 8], 8
dec dword [ebp + 0x14]
pop ecx
pop ecx
jne 0x439c18
jmp 0x439d15
cmp dword [ebp + 0x14], 2
jne 0x439cd9
cmp eax, 8
mov ecx, dword [esi + 8]
mov dword [ebp - 0x10], ecx
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0xc], ecx
jl 0x439d15
shr eax, 3
mov ebx, eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call fcn.00439716
pop ecx
pop ecx
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
call fcn.00439530
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
add dword [ebp + 0xc], 8
push dword [ebp + 0xc]
mov edx, eax
xor eax, dword [ebp - 0x10]
mov edi, ecx
xor ecx, dword [ebp - 0xc]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edi
call fcn.00439774
add dword [ebp + 8], 8
dec ebx
pop ecx
pop ecx
jne 0x439c89
jmp 0x439d15
cmp eax, 8
jl 0x439d15
shr eax, 3
mov edi, eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call fcn.00439716
pop ecx
pop ecx
lea eax, [ebp - 8]
push eax
mov ecx, esi
call fcn.00439623
add dword [ebp + 0xc], 8
push dword [ebp + 0xc]
lea eax, [ebp - 8]
push eax
call fcn.00439774
add dword [ebp + 8], 8
dec edi
pop ecx
pop ecx
jne 0x439ce3
pop edi
mov al, 1
pop ebx
jmp 0x439d25
push 0x463ed0
call fcn.0042de7b
pop esi
leave
ret 0x10
Function at 0x439f27
Capabilities:
Encrypt data using blowfish

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
sub esp, 0x44
cmp dword [ebp + 0xc], 1
push esi
mov esi, ecx
mov ecx, dword [eax]
mov dword [esi], ecx
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov ecx, dword [eax]
mov dword [esi + 8], ecx
mov eax, dword [eax + 4]
mov dword [esi + 0xc], eax
jge 0x439f5d
push str.Incorrect_key_length._Must_be_1_to_56.
call fcn.0042de7b
jmp 0x43a062
push 0x38
pop eax
cmp dword [ebp + 0xc], eax
jle 0x439f68
mov dword [ebp + 0xc], eax
push ebx
push edi
push dword [ebp + 0xc]
lea eax, [ebp - 0x44]
push dword [ebp + 8]
push eax
call fcn.0044de20
push 0x48
lea edi, [esi + 0x10]
push 0x464ef8
push edi
call fcn.0044de20
push 0x1000
lea eax, [esi + 0x58]
push 0x463ef8
push eax
call fcn.0044de20
add esp, 0x24
and dword [ebp + 0x10], 0
lea eax, [ebp - 0x44]
mov ecx, edi
mov dword [ebp - 8], 0x12
and dword [ebp - 4], 0
mov dword [ebp + 8], 4
mov edx, dword [ebp - 4]
movzx ebx, byte [eax]
dec dword [ebp + 8]
shl edx, 8
or edx, ebx
inc eax
inc dword [ebp + 0x10]
mov dword [ebp - 4], edx
mov edx, dword [ebp + 0x10]
cmp edx, dword [ebp + 0xc]
jne 0x439fde
and dword [ebp + 0x10], 0
lea eax, [ebp - 0x44]
cmp dword [ebp + 8], 0
jne 0x439fba
mov edx, dword [ebp - 4]
xor dword [ecx], edx
add ecx, 4
dec dword [ebp - 8]
jne 0x439faf
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
lea eax, [ebp - 0xc]
push eax
mov ecx, esi
call fcn.00439530
mov eax, dword [ebp - 0xc]
mov dword [edi], eax
mov eax, dword [ebp - 8]
add edi, 4
inc ebx
mov dword [edi], eax
inc ebx
add edi, 4
cmp ebx, 0x12
jb 0x439ff9
lea eax, [esi + 0x58]
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], 4
mov edi, dword [ebp + 0xc]
xor ebx, ebx
lea eax, [ebp - 0xc]
push eax
mov ecx, esi
call fcn.00439530
mov eax, dword [ebp - 0xc]
mov dword [edi], eax
mov eax, dword [ebp - 8]
add edi, 4
inc ebx
mov dword [edi], eax
inc ebx
add edi, 4
cmp ebx, 0x100
jl 0x43a02d
add dword [ebp + 0xc], 0x400
dec dword [ebp + 0x10]
jne 0x43a028
pop edi
mov al, 1
pop ebx
pop esi
leave
ret 0xc

Function at 0x43aac7
Capabilities:
Print debug messages

Disassembly:
mov eax, dword [esp + 8]
push esi
push edi
test eax, eax
je 0x43aae8
cmp byte [eax], 0
je 0x43aae8
push dword [esp + 0x14]
mov edi, dword [esp + 0x10]
push eax
push edi
call dword [sym.imp.USER32.dll_wvsprintfA]
jmp 0x43aaef
mov edi, dword [esp + 0xc]
mov byte [edi], 0
push edi
call fcn.00450da0
pop ecx
lea esi, [eax + edi]
push edi
mov byte [esi], 0xa
mov byte [esi + 1], 0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
mov byte [esi], 0
pop esi
ret
Function at 0x43dda3
Capabilities:
Get common file path

Disassembly:
mov eax, 0x45d798
call fcn.0044d930
push ecx
push esi
xor esi, esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], esi
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x43ddf2
push esi
push dword [ebp + 0x10]
push esi
push dword [ebp + 0xc]
push dword [ebp - 0x10]
call fcn.0043da3e
add esp, 0x14
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x10], esi
je 0x43ddee
push dword [ebp - 0x10]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov al, 1
jmp 0x43de0e
mov ecx, dword [ebp + 0xc]
call fcn.0042b5fc
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x10], esi
je 0x43de0c
push dword [ebp - 0x10]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
xor al, al
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret