joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403282
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
push esi
mov dword [ebp - 8], 0
push 0x69
push 0x40a2e0
mov eax, dword [ebp + 0xc]
push eax
call sub.comdlg32.dll_GetFileTitleW
movsx ecx, ax
test ecx, ecx
je 0x4032b4
mov eax, 1
jmp 0x403487
mov edx, dword [ebp + 0xc]
push edx
push 0x40a708
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
push 0x40a2e0
call dword [sym.imp.KERNEL32.dll_lstrlenW]
sub esi, eax
mov word [esi*2 + 0x40a708], 0
push 0x407b5c
push 0x40a2e0
call dword [sym.imp.MSVCRT.dll_wcstok]
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x403311
mov ecx, dword [ebp - 8]
push ecx
push 0x40a2e0
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x40a708
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x40a2e0
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x407b60
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x4086b0
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x403482
push 0x50
push 0x40ab00
push 0x43
push 0x32
call sub.LGG.dll_LGG_LoadString
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [eax + eax + 0xa0]
push ecx
lea edx, [ebp - 4]
push edx
call sub.TOOLS_W.dll_TO_NewMemory
mov eax, dword [ebp + 0xc]
push eax
push 0x40ab00
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0x37
push 0x40ace0
push 1
push 0x32
call sub.LGG.dll_LGG_LoadString
push 0x21
push 0x40ace0
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
push ecx
call sub.TOOLS_W.dll_TO_FreeMemory
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x21c], edx
cmp dword [ebp - 0x21c], 1
je 0x4033fc
cmp dword [ebp - 0x21c], 2
je 0x40347e
jmp 0x403482
push 0x40a708
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x4086dc
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x4086b0
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 1
jne 0x403476
push 0x40a708
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x4086dc
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0xc], 1
je 0x40342d
jmp 0x403482
xor eax, eax
jmp 0x403487
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x403ec1
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
push 0
push 0
push 0x229
mov eax, dword [0x40a9ec]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], ecx
push 0x20
lea edx, [ebp - 0x50]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_GetClassNameW]
call fcn.0040411a
test eax, eax
je 0x4040dc
lea ecx, [ebp - 0x50]
push ecx
push str.BRW_FileClass
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x403fc7
push 0x69
push 0x104
lea edx, [ebp - 0x124]
push edx
push 0x408ce0
push 0
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_GetWindowWord]
and eax, 0xffff
push eax
call sub.BRW.dll_BRW_GetFileManagerSelection
mov dword [ebp - 0x128], eax
cmp dword [ebp - 0x128], 0xfffffc10
jne 0x403fa3
push 0x37
push 0x40adc0
push 0x35
push 0x32
call sub.LGG.dll_LGG_LoadString
push 0x37
push 0x40ace0
push 0x32
push 0x32
call sub.LGG.dll_LGG_LoadString
push 0
push 0x40ace0
push 0x40adc0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
jmp 0x404114
push 0x407cb0
push 0x408ce0
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea edx, [ebp - 0x124]
push edx
push 0x408ce0
call dword [sym.imp.KERNEL32.dll_lstrcatW]
jmp 0x404000
lea eax, [ebp - 0x50]
push eax
push 0x407cb4
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x403fed
lea ecx, [ebp - 0x50]
push ecx
push 0x407cd8
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x404000
push 0x104
push 0x408ce0
mov edx, dword [ebp - 0xc]
push edx
call sub.BRW.dll_BRW_View2FileName
push 0x408ce0
call sub.BRW.dll_BRW_AR_IsInUse
test eax, eax
je 0x404049
push 0x28
push 0x40ad60
push 0x21
push 0x32
call sub.LGG.dll_LGG_LoadString
push 0x37
push 0x40ace0
push 1
push 0x32
call sub.LGG.dll_LGG_LoadString
push 0
push 0x40ace0
push 0x40ad60
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x4040da
push 0x28
push 0x40ad60
push 0x22
push 0x32
call sub.LGG.dll_LGG_LoadString
push 0x37
push 0x40ace0
push 1
push 0x32
call sub.LGG.dll_LGG_LoadString
push 0x408ce0
push 0x40ad60
push 0x4080c8
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 1
push 0x40ace0
push 0x4080c8
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x12c], edx
cmp dword [ebp - 0x12c], 1
je 0x4040ae
jmp 0x4040da
push 0x408ce0
mov eax, dword [0x40acc0]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_EnumChildWindows]
push 0x408ce0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [0x40706c]
push edx
call sub.BRW.dll_BRW_UpdateFileManager
jmp 0x404112
push 0x50
push 0x40ab00
push 0x23
push 0x32
call sub.LGG.dll_LGG_LoadString
push 0x37
push 0x40ace0
push 0x32
push 0x32
call sub.LGG.dll_LGG_LoadString
push 0
push 0x40ace0
push 0x40ab00
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x10006853
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x10006883
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.10006595
pop ds
loope 0x1000692a
push 0x50c0458d
call fcn.100065a5
push eax
push esi
push dword [ebp + 8]
call fcn.1000655a
add esp, 0x10
mov dword [ebp - 0x88], eax
test dword [eax - 1], edi
invalid
invalid
call fcn.10006595
xlatb
or eax, 0x458d3902
inc ebp
stc

Function at 0x10006950
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
xchg esp, eax
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl

Function at 0x10006960
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.100065a5
push eax
push esi
push dword [ebp + 8]
call fcn.1000655a
invalid
test dword [edi + edi*8 - 1], eax

Function at 0x10007480
Capabilities:
Contain obfuscated stackstrings

Disassembly:
stosb byte es:[edi], al
and byte [ebp - 0x654], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x653]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.10006573
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
daa
Function at 0x100081ff
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x795], 0x81
mov byte [ebp - 0x794], 0x9d
mov byte [ebp - 0x793], 0x8a
mov byte [ebp - 0x792], 0x9c
mov byte [ebp - 0x791], 0xc1
mov byte [ebp - 0x790], 0x8b
mov byte [ebp - 0x78f], 0x83
mov byte [ebp - 0x78e], 0x83
mov byte [ebp - 0x78d], 0xef
call fcn.10006595
cdq
cmp al, 0x3a
jae 0x100082b2
or al, 0x8d
test dword [eax + edi*8 - 1], esp
call dword [eax - 0x18]
push eax
jecxz 0x10008253
invalid
call [ecx + 0x50]
mov eax, dword [ebp - 0x550]
lea eax, [ebp + eax - 0x654]
push eax
call fcn.10006506
add esp, 0xc
lea eax, [ebp - 0x654]
mov dword [ebp - 0x3a0], eax
jmp 0x1000850d
invalid

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x38133e
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push edi
mov edi, dword [ebp + 0x14]
mov eax, 0x5a4d
cmp word [edi], ax
je 0x381358
xor eax, eax
jmp 0x38137d
mov eax, dword [edi + 0x3c]
cmp dword [edi + eax], 0x4550
jne 0x381354
push esi
lea eax, [ebp - 4]
push eax
push 1
push 1
push edi
call dword [0x3b11b0]
mov esi, eax
test esi, esi
jne 0x381396
xor eax, eax
pop esi
pop edi
leave
ret 0x10
push dword [ebp + 8]
add eax, edi
push eax
call 0x393112
pop ecx
pop ecx
test eax, eax
je 0x38139d
add esi, 0x14
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x381382
cmp dword [esi + 0xc], 0
je 0x38137a
mov esi, dword [esi + 0x10]
add esi, edi
mov eax, dword [esi]
test eax, eax
je 0x38137a
mov edi, dword [0x3b1020]
cmp eax, dword [ebp + 0xc]
jne 0x3813c8
lea eax, [ebp + 0x14]
push eax
push 0x40
push 4
push esi
call edi
test eax, eax
jne 0x3813d3
add esi, 4
mov eax, dword [esi]
test eax, eax
jne 0x3813b4
jmp 0x38137a
push dword [ebp + 0x10]
push esi
call fcn.0038128d
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x14]
push 4
push esi
call edi
push 4
push esi
call dword [0x3b101c]
push eax
call dword [0x3b1018]
xor eax, eax
inc eax
jmp 0x38137c
Function at 0x40276c
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
imul edx, dword [0x40f044], 0x8088405
inc edx
mov dword [0x40f044], edx
mul edx
mov eax, edx
ret

Function at 0x402888
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [section.DATA]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402920
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402900
xor eax, eax
push ebp
push 0x4028f9
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x40293c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402900
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [section.DATA]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [section.DATA], ax
mov esp, ebp
pop ebp
ret
Function at 0x40462c
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x4047e8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x40468d
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x404804
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4046ff
xor eax, eax
push ebp
push 0x4046f8
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
call fcn.00404484
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4046e1
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x404824
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4046ff
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpyA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x4047e0
cmp byte [ebp - 0xd], 0
jne 0x404741
cmp byte [ebp - 0x12], 0
je 0x4047e0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x40475a
dec ebx
cmp byte [ebx], 0x2e
je 0x404769
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x404759
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x4047e0
inc ebx
cmp byte [ebp - 0x12], 0
je 0x404796
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4047e0
cmp byte [ebp - 0xd], 0
je 0x4047e0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4047e0
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40704c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x407085
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004033ac
jmp 0x40708e
mov eax, ebx
mov edx, esi
call fcn.00403318
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x407098
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x4070b9
mov al, byte [esp]
jmp 0x4070bb
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40d574
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40d65e
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x40d641
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x40d60e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
call sub.shell32.dll_SHGetMalloc
call fcn.0040c8d0
lea eax, [ebp - 8]
push eax
push ebx
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.0040c8d0
lea eax, [ebp - 0x111]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
test eax, eax
je 0x40d5fc
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x111]
mov ecx, 0x105
call fcn.004034f4
jmp 0x40d604
mov eax, dword [ebp - 4]
call fcn.004032c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x40d620
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d648
cmp dword [ebp - 8], 0
je 0x40d640
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
ret
Function at 0x401abb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x45c090]
jne 0x401ac5
repz ret
jmp fcn.00402928

Function at 0x40b544
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00407895
and dword [ebp - 4], 0
cmp dword [0x45e2f8], 0
mov ebx, eax
jne 0x40b5f5
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40b6a6
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40b6a6
push eax
call fcn.00407823
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x45e2f8], eax
call esi
push eax
call fcn.00407823
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x45e2fc], eax
call esi
push eax
call fcn.00407823
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x45e300], eax
call esi
push eax
call fcn.00407823
pop ecx
mov dword [0x45e308], eax
test eax, eax
je 0x40b5f5
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00407823
pop ecx
mov dword [0x45e304], eax
mov eax, dword [0x45e304]
cmp eax, ebx
je 0x40b64d
cmp dword [0x45e308], ebx
je 0x40b64d
push eax
call fcn.0040789e
push dword [0x45e308]
mov esi, eax
call fcn.0040789e
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40b64d
test edi, edi
je 0x40b64d
call esi
test eax, eax
je 0x40b644
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40b644
test byte [ebp - 0xc], 1
jne 0x40b64d
or dword [ebp + 0x10], 0x200000
jmp 0x40b686
mov eax, dword [0x45e2fc]
cmp eax, ebx
je 0x40b686
push eax
call fcn.0040789e
pop ecx
test eax, eax
je 0x40b686
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40b686
mov eax, dword [0x45e300]
cmp eax, ebx
je 0x40b686
push eax
call fcn.0040789e
pop ecx
test eax, eax
je 0x40b686
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x45e2f8]
call fcn.0040789e
pop ecx
test eax, eax
je 0x40b6a6
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40b6a8
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40d84b
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x45c090]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
cmp dword [0x180402c], 0x930
jne 0x40d880
push str.subavijafusote
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectA]
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
cmp dword [0x180402c], 0x114e
mov eax, dword [ebp + 8]
mov dword [0x1803d48], eax
jne 0x40d8b7
push esi
lea eax, [ebp - 0x404]
push eax
push esi
call sub.KERNEL32.dll_VerLanguageNameA
lea eax, [ebp - 0x420]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00401abb
leave
ret
Function at 0x40d8d3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
xor esi, esi
cmp dword [ebp + 0xc], esi
jle 0x40d913
and dword [ebp - 4], 0
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
call fcn.0040d8c4
pop ecx
mov eax, dword [ebp - 8]
add eax, 0x46
mov dword [ebp - 4], eax
sub dword [ebp - 4], 0xa
sub dword [ebp - 4], 0x3c
mov eax, dword [ebp + 8]
mov cl, byte [ebp - 4]
add eax, esi
xor byte [eax], cl
inc esi
cmp esi, dword [ebp + 0xc]
jl 0x40d8e0
cmp dword [ebp + 0xc], 0x2d
pop esi
jne 0x40d92b
or dword [0x180403c], 0xffffffff
mov dword [0x1804038], 0xa62e7790
leave
ret
Function at 0xbf0890
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x617000]
push edi
or ebp, 0xffffffff
jmp 0xbf08b2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xbf08b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xbf08a8
mov eax, 1
add ebx, ebx
jne 0xbf08cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xbf08dc
jne 0xbf08fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xbf08fb
dec eax
add ebx, ebx
jne 0xbf08e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xbf08c0
add ebx, ebx
jne 0xbf08f7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xbf094d
xor ecx, ecx
sub eax, 3
jb 0xbf0913
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xbf0982
sar eax, 1
mov ebp, eax
jmp 0xbf091e
add ebx, ebx
jne 0xbf091e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xbf08ec
inc ecx
add ebx, ebx
jne 0xbf092c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xbf08ec
add ebx, ebx
jne 0xbf0939
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xbf092e
jne 0xbf094a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xbf092e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xbf096c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xbf095e
jmp 0xbf08ae
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xbf096c
add edi, ecx
jmp 0xbf08ae
pop esi
mov edi, esi
mov ecx, 0x15109
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xbf098a
cmp byte [edi], 0x38
jne 0xbf098a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0xbf098f
lea edi, [esi + 0x7eb000]
mov eax, dword [edi]
or eax, eax
je 0xbf09fe
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x83dd0c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x83dfa0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xbf09bc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x83dfa4]
or eax, eax
je 0xbf09f8
mov dword [ebx], eax
add ebx, 4
jmp 0xbf09d9
call dword [esi + 0x83dfb4]
mov ebp, dword [esi + 0x83dfa8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0xbf0a32
sub esp, 0xffffff80
jmp 0x6c9b08