joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ab70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x40abc8
cmp byte [esi + ebx - 1], 0xa
je 0x40ab9c
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x416ea0], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret
Function at 0x40b610
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
lea eax, [ebp - 0x14]
sub esp, 0x28
mov dword [ebp - 0xc], 4
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], str.SoftwareMicrosoftWindows_NTCurrentVersion
mov dword [esp], reloc.uxtheme.dll_Ordinal_2
call dword [sym.imp.advapi32.dll_RegOpenKeyExW]
sub esp, 0x14
test eax, eax
je 0x40b660
mov ebx, dword [ebp - 4]
xor eax, eax
leave
ret
lea eax, [ebp - 0xc]
mov dword [esp + 8], 0
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x10]
mov dword [esp + 0x10], eax
lea eax, [ebp - 8]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x14]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
sub esp, 0x18
test eax, eax
jne 0x40b69a
cmp dword [ebp - 8], 4
je 0x40b6a1
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 4]
sub esp, 4
leave
ret
Function at 0x40bd10
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x868
mov dword [ebp - 0x854], eax
test byte [0x415030], 8
jne 0x40beb0
mov eax, dword [ebp - 0x854]
mov dword [esp + 4], 0x4b0
lea esi, [ebp - 0x80c]
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetDlgItem]
sub esp, 8
mov edi, eax
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
sub esp, 4
mov dword [esp + 0xc], 0x400
mov dword [esp + 8], esi
mov dword [esp + 4], 0x1f51
mov dword [esp], eax
call dword [sym.imp.user32.dll_LoadStringW]
xor ecx, ecx
mov edx, esi
mov eax, edi
sub esp, 0x10
call sym._add_listview_item
lea eax, [ebp - 0x850]
mov dword [esp + 4], 0x41731a
mov dword [esp + 8], eax
mov eax, dword [0x415a44]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegOpenKeyW]
sub esp, 0xc
mov ebx, eax
test eax, eax
je 0x40be3d
mov eax, dword [ebp - 0x854]
call sym._init_comboboxes
lea eax, [ebp - 0x848]
mov dword [esp], edi
mov dword [ebp - 0x844], 0
mov dword [ebp - 0x840], 0
mov dword [ebp - 0x848], 8
mov dword [ebp - 0x83c], 3
mov dword [ebp - 0x838], 3
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x104c
call dword [sym.imp.user32.dll_SendMessageW]
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], esi
inc ebx
call dword [sym.imp.ucrtbase.dll__wcsdup]
mov edx, esi
mov ecx, eax
mov eax, edi
call sym._add_listview_item
lea eax, [ebp - 0x84c]
mov dword [esp + 0x1c], 0
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x850]
mov dword [ebp - 0x84c], 0x400
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegEnumKeyExW]
sub esp, 0x20
test eax, eax
je 0x40be28
mov eax, dword [ebp - 0x850]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
jmp 0x40bdb9
mov dword [esp + 0xc], 0x417316
mov dword [esp + 8], str.init_appsheet
mov dword [esp + 4], 0x415030
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x40bd2f

Function at 0x40c2e0
Capabilities:
Check if process is running under wine

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
sub esp, 0x14
mov dword [esp + 8], 0x415a44
mov dword [esp + 4], str.SoftwareWine
mov dword [esp], Ordinal_2
call dword [sym.imp.advapi32.dll_RegCreateKeyW]
sub esp, 0xc
test eax, eax
jne 0x40c318
mov eax, ebx
mov ebx, dword [ebp - 4]
leave
ret
mov ebx, 1
test byte [0x4150b0], 2
je 0x40c30d
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.RegOpenKey_failed_on_wine_config_key___ld__n
mov dword [esp + 8], str.initialize
mov dword [esp + 4], 0x4150b0
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_8
mov eax, ebx
mov ebx, dword [ebp - 4]
leave
ret
Function at 0x40d080
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, eax
push esi
push ebx
lea ebx, [ebp - 0x214]
sub esp, 0x668
mov dword [esp + 4], 0x7f02
mov dword [esp], 0
call dword [sym.imp.user32.dll_LoadCursorW]
sub esp, 8
mov dword [esp], eax
mov eax, dword [sym.imp.user32.dll_SetCursor]
mov dword [ebp - 0x660], eax
call eax
mov dword [ebp - 0x65c], eax
mov eax, dword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
sub esp, 4
mov dword [esp + 8], 0x104
mov dword [esp + 4], ebx
mov dword [esp], str.WINEBUILDDIR
mov dword [ebp - 0x658], eax
call eax
sub esp, 0xc
test eax, eax
jne 0x40d260
xor eax, eax
jmp 0x40d121
xor ecx, ecx
mov edx, ebx
mov eax, edi
call sym._load_library_list_from_dir
mov dword [esp + 4], 0x423420
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_wcscat]
mov eax, edi
xor ecx, ecx
mov edx, ebx
call sym._load_library_list_from_dir
mov eax, esi
mov dword [esp + 0xc], eax
lea esi, [eax + 1]
lea eax, [ebp - 0x654]
mov dword [esp + 8], str.WINEDLLDIR_u
mov dword [esp + 4], 0x20
mov dword [esp], eax
call sym._swprintf_1
lea eax, [ebp - 0x654]
mov dword [esp + 4], ebx
mov dword [esp], eax
mov eax, dword [ebp - 0x658]
mov dword [esp + 8], 0x104
call eax
sub esp, 0xc
test eax, eax
jne 0x40d0f8
lea eax, [ebp - 0x614]
mov dword [esp], edi
mov ebx, 1
lea esi, [ebp - 0x414]
mov dword [esp + 0x10], eax
mov eax, dword [sym.imp.user32.dll_SendDlgItemMessageW]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x148
mov dword [esp + 4], 0x1f44
mov dword [ebp - 0x658], eax
call eax
sub esp, 0x14
lea esi, [esi]
mov dword [esp + 0x10], esi
mov eax, dword [ebp - 0x658]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x148
mov dword [esp + 4], 0x1f44
mov dword [esp], edi
call eax
sub esp, 0x14
test eax, eax
js 0x40d240
lea eax, [ebp - 0x614]
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcscmp]
test eax, eax
jne 0x40d220
mov dword [esp + 0x10], 0
mov eax, dword [ebp - 0x658]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x144
mov dword [esp + 4], 0x1f44
mov dword [esp], edi
call eax
sub esp, 0x14
jmp 0x40d1b0
lea eax, [ebp - 0x614]
mov dword [esp + 4], esi
inc ebx
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcscpy]
jmp 0x40d1b0
mov eax, dword [ebp - 0x65c]
mov dword [esp], eax
mov eax, dword [ebp - 0x660]
call eax
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_wcslen]
lea eax, [eax + eax + 0xc]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov dword [esp + 4], ebx
mov esi, eax
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcscpy]
mov dword [esp + 4], str.dlls
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_wcscat]
mov ecx, 1
mov edx, esi
mov eax, edi
call sym._load_library_list_from_dir
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_free]
jmp 0x40d0f0
Function at 0x40f6e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea esi, [ebp - 0x214]
push ebx
mov ebx, 0x4150e4
sub esp, 0x21c
mov edi, dword [sym.imp.shell32.dll_SHGetFolderPathW]
lea esi, [esi]
mov eax, dword [ebx - 4]
mov byte [ebx], 0
mov dword [esp + 0x10], esi
or ah, 0x40
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], 0
call edi
sub esp, 0x14
test eax, eax
js 0x40f745
mov dword [esp + 8], 0x104
mov dword [esp + 4], ebx
mov dword [esp], esi
call sym._query_shell_folder
add ebx, 0x108
cmp ebx, 0x41581c
jne 0x40f700
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x40f810
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x21c
mov eax, dword [0x416ec4]
test eax, eax
je 0x40f853
mov dword [esp + 8], 0
mov dword [esp + 4], sym._theme_dsa_destroy_callback_8
mov dword [esp], eax
call dword [sym.imp.comctl32.dll_DSA_DestroyCallback]
mov dword [0x416ec4], 0
mov dword [0x416ec8], 0
sub esp, 0xc
lea ebx, [ebp - 0x20c]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x38
mov dword [esp], 0
call dword [sym.imp.shell32.dll_SHGetFolderPathW]
sub esp, 0x14
test eax, eax
js 0x40f8fe
mov dword [esp + 4], 1
mov dword [esp], 0x18
call dword [sym.imp.comctl32.dll_DSA_Create]
mov edx, ebx
sub esp, 8
cmp word [ebp - 0x20c], 0
mov dword [0x416ec4], eax
je 0x40f8c1
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x40f8b8
xor eax, eax
mov ecx, 0x5c
jmp 0x40f8d7
movzx ecx, word [eax + str.Themes]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x40f8d0
mov dword [esp + 8], 0
mov dword [esp + 4], sym._myEnumThemeProc_24
mov dword [esp], ebx
call sym._EnumThemes_12
sub esp, 0xc
mov ebx, dword [ebp - 4]
leave
ret
Function at 0x410440
Capabilities:
Check if process is running under wine

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, edx
push ebx
mov ebx, eax
sub esp, 0x18
mov dword [ebp - 0x10], ecx
mov edi, dword [sym.imp.user32.dll_SendDlgItemMessageW]
mov dword [esp + 4], edx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x147
mov dword [esp], eax
call edi
sub esp, 0x14
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x150
mov dword [esp + 4], esi
mov dword [esp], ebx
call edi
lea edx, [eax - 1]
sub esp, 0x14
cmp edx, 0xfffffffd
jbe 0x4104d0
mov dword [esp + 0xc], 0
mov eax, dword [ebp - 0x10]
mov dword [esp + 4], str.SoftwareWineDrivers_
mov dword [esp], Ordinal_2
mov dword [esp + 8], eax
call sym._set_reg_key
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [eax]
mov dword [esp + 0xc], eax
jmp 0x4104aa
Function at 0x4149d0
Capabilities:
Accept command line arguments
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x58
call dword [sym.imp.kernel32.dll_GetCommandLineW]
mov ebx, eax
movzx eax, word [eax]
test ax, ax
je 0x414a5b
cmp ax, 9
je 0x414a48
cmp ax, 0x20
je 0x414a48
mov dword [ebp - 0x54], 0
xor edi, edi
nop
cmp ax, 0x5c
je 0x414ab0
cmp ax, 0x22
je 0x414ac0
mov dword [ebp - 0x54], 0
movzx eax, word [ebx + 2]
add ebx, 2
test ax, ax
je 0x414a5b
cmp ax, 9
sete cl
cmp ax, 0x20
mov esi, ecx
sete cl
mov edx, esi
or dl, cl
je 0x414a00
test edi, 1
jne 0x414a00
lea esi, [esi]
movzx eax, word [ebx + 2]
add ebx, 2
cmp ax, 9
je 0x414a48
cmp ax, 0x20
je 0x414a48
lea eax, [ebp - 0x50]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetStartupInfoW]
sub esp, 4
test byte [ebp - 0x24], 1
je 0x414ad8
movzx esi, word [ebp - 0x20]
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._wWinMain_16
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
inc dword [ebp - 0x54]
jmp 0x414a1b
and dword [ebp - 0x54], 1
jne 0x414a14
xor edi, 1
jmp 0x414a1b
mov eax, 1
mov esi, 1
mov word [ebp - 0x20], ax
jmp 0x414a74

Function at 0x414af0
Capabilities:
Get process heap flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sym.__configure_wide_argv
call sym.__initialize_wide_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___wargv
mov edi, dword [eax]
call sym.__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
inc eax
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._wmain
mov dword [esp], eax
call sym._exit
nop
nop
nop
nop
nop
Function at 0x5d4fda
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x5d5019
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x5d5019
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x5d5019
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x5d5019
cmp dword [ecx + 0x74], 0xe
jbe 0x5d5019
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x5dc2d8
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x5dc375
push ebx
push esi
call fcn.005dc2a1
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.005dc235
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x5dc322
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x5dc374
push edi
push eax
call fcn.005dac3b
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x5dc342
call fcn.005dac89
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x5dc373
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.005dc235
add esp, 0x20
test eax, eax
jne 0x5dc361
push edi
call fcn.005dac89
jmp 0x5dc369
push ebx
call fcn.005dac89
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x5dd584
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x62f830
push 0x62f828
push str.FlsAlloc
push 0x1f
call fcn.005dd443
mov esi, eax
add esp, 0x10
test esi, esi
je 0x5dd5b8
push dword [ebp + 8]
mov ecx, esi
call dword [0x5e313c]
call esi
jmp 0x5dd5be
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x5dd602
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x62f840
push 0x62f838
push str.FlsGetValue
push 0x21
call fcn.005dd443
mov esi, eax
add esp, 0x10
test esi, esi
je 0x5dd639
push dword [ebp + 8]
mov ecx, esi
call dword [0x5e313c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x5dd641
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x62f848
push 0x62f840
push str.FlsSetValue
push 0x22
call fcn.005dd443
mov esi, eax
add esp, 0x10
test esi, esi
je 0x5dd67b
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x5e313c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x5e2a40
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x5e2a6d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x5e2a6d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x40e74c
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 8]
push eax
mov dword [sym.TestQuickReturn.exe_gMozillaPoisonSize], eax
call fcn.0040b9af
pop ecx
mov ecx, dword [sym.TestQuickReturn.exe_gMozillaPoisonSize]
mov dword [sym.TestQuickReturn.exe_gMozillaPoisonBase], eax
test ecx, ecx
je 0x40e784
shr ecx, 1
dec ecx
add eax, ecx
mov dword [sym.TestQuickReturn.exe_gMozillaPoisonValue], eax
mov esp, ebp
pop ebp
ret

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 0x416878
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x424468]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00408c65
mov dword [ebp - 0x14], eax
cmp dword [0x82421c], esi
jne 0x41696b
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4168f8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x416a4b
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x416a4b
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x416a4b
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x82421c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x824220], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x824224], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x82422c], eax
test eax, eax
je 0x416968
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x824228], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x416990
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x416983
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4169a5
push 4
pop eax
jmp 0x416a4d
cmp dword [ebp - 0x14], esi
je 0x4169a5
push dword [0x82421c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x41698a
mov eax, dword [0x824228]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x416a03
cmp dword [0x82422c], edi
je 0x416a03
push eax
call ebx
push dword [0x82422c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x416a03
test eax, eax
je 0x416a03
call ecx
test eax, eax
je 0x4169f8
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4169f8
test byte [ebp - 8], 1
jne 0x416a03
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x416a33
mov eax, dword [0x824220]
cmp eax, edi
je 0x416a30
push eax
call ebx
test eax, eax
je 0x416a30
call eax
mov esi, eax
test esi, esi
je 0x416a30
mov eax, dword [0x824224]
cmp eax, edi
je 0x416a30
push eax
call ebx
test eax, eax
je 0x416a30
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x82421c]
call ebx
test eax, eax
je 0x416a4b
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x416a4d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406e2a
mov esp, ebp
pop ebp
ret
Function at 0x1e7a7500
Capabilities:
Compare security identifiers

Disassembly:
mov eax, dword [esp + 4]
cmp dword [eax + 4], 0x1e7ba2c0
je 0x1e7a751c
mov eax, dword [sym.imp.python27.dll__Py_NotImplementedStruct]
inc dword [eax]
mov eax, dword [sym.imp.python27.dll__Py_NotImplementedStruct]
ret 8
mov eax, dword [eax + 8]
mov ecx, dword [ecx + 8]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
mov ecx, dword [esp + 8]
cmp ecx, 2
jne 0x1e7a7541
test eax, eax
je 0x1e7a754a
mov eax, dword [sym.imp.python27.dll__Py_TrueStruct]
inc dword [eax]
ret 8
cmp ecx, 3
jne 0x1e7a7554
test eax, eax
je 0x1e7a7537
mov eax, dword [sym.imp.python27.dll__Py_ZeroStruct]
inc dword [eax]
ret 8
mov eax, dword [sym.imp.python27.dll__Py_NotImplementedStruct]
inc dword [eax]
ret 8

Function at 0x1e7a9d10
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sal byte [esi + eax - 1], cl
test dword [edi + edi*8 - 1], esi
dec dword [edi]
scasd eax, dword es:[edi]
lea esi, [edi + edi*8 - 1]
dec dword [ecx + 0x5d880c4d]
ror byte [eax + 0x45c6c15d], 0xc2
in al, dx
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.1e7a9a2b
dec esi
adc byte [ebp - 0x73], al
inc ebp
rcl byte [eax - 0x18], 0xc5
cld
invalid

Function at 0x1e7a9d90
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc eax
xchg ebp, eax
lea eax, [ebp - 0x18]
mov byte [ebp - 0x18], bl
push eax
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
invalid

Function at 0x1e7a9dd0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
idiv dword [edi - 0x39c18]
call dword [eax + 0x56]
push dword [ebp + 8]
call fcn.1e7a99f0
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
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
sahf
sub eax, 0x119f45c6

Function at 0x1e7a9e10
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sahf
sub eax, 0x119f45c6
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
invalid
inc ebp