joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ed050
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5722a8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x61308c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, str.pcid.dll
lea ecx, [ebp - 0x58]
xor bl, bl
call fcn.0040e950
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
jb 0x4ed09b
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x4ed0c0
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00404be0
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
test edi, edi
je 0x4ed165
push str.PCIDGetIdentify
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4ed15e
lea ecx, [ebp - 0x40]
push ecx
call eax
mov dword [ebp - 0x30], 0x310030
xor eax, eax
mov dword [ebp - 0x2c], 0x330032
mov dword [ebp - 0x28], 0x350034
mov dword [ebp - 0x24], 0x370036
mov dword [ebp - 0x20], 0x390038
mov dword [ebp - 0x1c], 0x420041
mov dword [ebp - 0x18], 0x440043
mov dword [ebp - 0x14], 0x460045
nop dword [eax]
movzx edx, byte [ebp + eax - 0x40]
mov ecx, edx
shr edx, 4
and ecx, 0xf
movzx ecx, word [ebp + ecx*2 - 0x30]
mov word [esi + eax*4], cx
movzx ecx, word [ebp + edx*2 - 0x30]
mov word [esi + eax*4 + 2], cx
inc eax
cmp eax, 0x10
jl 0x4ed130
xor eax, eax
mov bl, 1
mov word [esi + 0x40], ax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005120a1
mov esp, ebp
pop ebp
ret
Function at 0x4edc80
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5724b8
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x61308c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esi + 0x328], 0
mov edi, dword [ebp + 8]
je 0x4eddba
mov ecx, dword [edi + 0x108]
mov eax, dword [ecx]
mov eax, dword [eax + 0x100]
call eax
test al, al
jne 0x4edcf3
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
lea ecx, [esi + 0x18]
setns al
movzx eax, al
push eax
call dword [sym.imp.DTLUI.dll_public:_bool___thiscall_DuiLib::CPaintManagerUI::SetNextTabControl_bool_]
jmp 0x4eddba
mov ecx, dword [edi + 0x108]
push 0xffffffffffffffff
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
lea ecx, [ebp - 0x94]
call dword [sym.imp.DTLUI.dll_public:_void___thiscall_DuiLib::CDuiString::constructor_wchar_t_const___int_]
mov dword [ebp - 4], 0
lea edx, [ebp - 0x118]
mov ecx, dword [edi + 0x108]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov ecx, dword [edi + 0x108]
mov esi, dword [sym.imp.DTLUI.dll_public:_int___thiscall_DuiLib::CControlUI::GetBorderStyle_void_const]
call esi
mov ecx, dword [edi + 0x108]
push 1
call dword [sym.imp.DTLUI.dll_public:_void___thiscall_DuiLib::CControlUI::SetBorderStyle_int_]
mov ecx, dword [edi + 0x108]
call esi
mov ecx, dword [edi + 0x108]
push 0xaaaaaa
call dword [sym.imp.DTLUI.dll_public:_void___thiscall_DuiLib::CControlUI::SetFocusBorderColor_unsigned_long_int_]
mov esi, dword [sym.imp.DTLUI.dll_public:_int___thiscall_DuiLib::CDuiString::CompareNoCase_wchar_t_const__const]
lea ecx, [ebp - 0x94]
push str.CheckBoxUI
call esi
test eax, eax
je 0x4edd8b
push str.CheckBoxUIEx
lea ecx, [ebp - 0x94]
call esi
test eax, eax
je 0x4edd8b
push 1
jmp 0x4edd8d
push 2
mov ecx, dword [edi + 0x108]
call dword [sym.imp.DTLUI.dll_public:_void___thiscall_DuiLib::CControlUI::SetBorderSize_int_]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x118]
mov esi, dword [sym.imp.DTLUI.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
call esi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005120a1
mov esp, ebp
pop ebp
ret 4
Function at 0x4ef390
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5728f0
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x61308c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x4ef3ca
xor esi, esi
jmp 0x4ef421
call dword [sym.imp.USER32.dll_EmptyClipboard]
push dword [ebp + 0x18]
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp + 8]
mov edx, eax
cmovae ecx, dword [ebp + 8]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
test al, al
jne 0x4ef3f1
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov esi, 1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x1c]
cmp eax, 0x10
jb 0x4ef43d
inc eax
lea ecx, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.00409490
mov dword [ebp + 0x1c], 0xf
mov eax, esi
mov dword [ebp + 0x18], 0
mov byte [ebp + 8], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x18
Function at 0x4efbd0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x572a9d
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x61308c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x32c]
push 0x208
mov dword [ebp - 0x24c], eax
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0052d340
add esp, 0xc
lea eax, [ebp - 0x230]
lea ecx, [ebp - 0x24c]
push eax
call fcn.0041f2e0
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
jb 0x4efc42
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x218]
push str._s.txt
push eax
call fcn.0042cba0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x4efc7c
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00404be0
xor eax, eax
mov dword [ebp - 0x21c], 7
push 0x58
push eax
mov word [ebp - 0x230], ax
lea eax, [ebp - 0x2a4]
push eax
mov dword [ebp - 0x220], 0
call fcn.0052d340
lea eax, [ebp - 0x218]
mov dword [ebp - 0x284], 0x104
push 0
push 0
mov edx, str.STR_DEV_DETAIL_SAVE
mov dword [ebp - 0x288], eax
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x298], str.Text_Files_.txt_
call fcn.0044b7f0
add esp, 0x14
mov dword [ebp - 4], 2
cmp dword [eax + 0x14], 8
jb 0x4efcee
mov eax, dword [eax]
mov dword [ebp - 0x274], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x4efd19
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00404be0
xor eax, eax
mov dword [ebp - 0x21c], 7
mov ecx, edi
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
mov dword [ebp - 0x270], 0x806
mov dword [ebp - 0x250], 1
mov dword [ebp - 0x2a4], 0x58
call dword [sym.imp.DTLUI.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::GetHWND_void_const]
mov dword [ebp - 0x2a0], eax
lea eax, [ebp - 0x2a4]
push eax
call dword [sym.imp.COMDLG32.dll_GetSaveFileNameW]
test eax, eax
je 0x4efe3e
lea eax, [ebp - 0x218]
push 0x5cf384
push eax
call fcn.0052e763
mov esi, eax
add esp, 8
test esi, esi
je 0x4efe3e
lea eax, [ebp - 0x248]
mov ecx, edi
push eax
call fcn.004ef470
mov dword [ebp - 4], 4
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x21c], 0xf
mov dword [ebp - 0x220], 0
mov byte [ebp - 0x230], 0
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 8
jb 0x4efde5
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x230]
call fcn.0040c430
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x248]
call fcn.00409540
cmp dword [ebp - 0x21c], 0x10
lea eax, [ebp - 0x230]
push esi
cmovae eax, dword [ebp - 0x230]
push 1
push dword [ebp - 0x220]
push eax
call fcn.0052edd8
push esi
call fcn.0052e84e
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.0040c3b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005120a1
mov esp, ebp
pop ebp
ret
Function at 0x4f2590
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x573119
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x61308c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.CWndManualUpdateClient.3.0
mov dword [esi + 0x10], vtable.CWndManualUpdateClient.2.0
mov dword [esi + 0x14], vtable.CWndManualUpdateClient.1.0
mov dword [esi + fcn.0040f140], vtable.CWndManualUpdateClient.0
mov dword [ebp - 4], 3
lea edi, [esi + 0x3a0]
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 3
mov eax, dword [edi + 0x14]
cmp eax, 8
jb 0x4f2601
inc eax
mov ecx, edi
push eax
push dword [edi]
call fcn.00404be0
mov dword [edi + 0x14], 7
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], 0
jb 0x4f2617
mov edi, dword [edi]
xor eax, eax
mov word [edi], ax
mov byte [ebp - 4], 2
lea edi, [esi + 0x388]
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 2
mov eax, dword [edi + 0x14]
cmp eax, 8
jb 0x4f2640
inc eax
mov ecx, edi
push eax
push dword [edi]
call fcn.00404be0
mov dword [edi + 0x14], 7
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], 0
jb 0x4f2656
mov edi, dword [edi]
xor eax, eax
mov word [edi], ax
mov byte [ebp - 4], 1
lea edi, [esi + 0x370]
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 1
mov eax, dword [edi + 0x14]
cmp eax, 8
jb 0x4f267f
inc eax
mov ecx, edi
push eax
push dword [edi]
call fcn.00404be0
mov dword [edi + 0x14], 7
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], 0
jb 0x4f2695
mov edi, dword [edi]
xor eax, eax
mov word [edi], ax
mov byte [ebp - 4], al
mov eax, dword [esi + 0x334]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + fcn.0040f140], vtable.base_thread.0
test eax, eax
je 0x4f26c4
push eax
call edi
mov dword [esi + 0x334], 0
mov eax, dword [esi + 0x338]
test eax, eax
je 0x4f26db
push eax
call edi
mov dword [esi + 0x338], 0
mov eax, dword [esi + 0x330]
test eax, eax
je 0x4f26ff
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
cmp eax, 1
jne 0x4f26ff
push dword [esi + 0x334]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov dword [ebp - 4], 0xffffffff
mov ecx, esi
call dword [sym.imp.DTLUI.dll_public_virtual:_void___thiscall_DuiLib::WindowImplBaseNew::destructor_void_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4f34d0
Capabilities:
Create process on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57336f
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x70
mov eax, dword [0x61308c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp byte [edi + 0x340], 0
je 0x4f3526
push 2
call dword [sym.imp.DTLUI.dll_public:_void___thiscall_DuiLib::CWindowWnd::Close_unsigned_int_]
jmp 0x4f36b3
cmp dword [ebx + 8], 6
jne 0x4f360f
cmp dword [edi + 0x384], 8
lea esi, [edi + 0x370]
jb 0x4f3546
mov ecx, dword [esi]
mov dword [ebp - 0x30], ecx
jmp 0x4f3549
mov dword [ebp - 0x30], esi
mov eax, dword [0x618d28]
test eax, eax
jne 0x4f3579
push 0x70
call fcn.005120b2
add esp, 4
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 0
mov ecx, eax
call fcn.00409ee0
mov dword [ebp - 4], 0xffffffff
mov dword [0x618d28], eax
push dword [ebp - 0x30]
push str.CWndManualUpdateClient_down_over__S__r_n
push 0x10f
push 0x5d0a58
push 8
push eax
call fcn.0040a3e0
push 0x44
lea eax, [ebp - 0x80]
push 0
push eax
call fcn.0052d340
add esp, 0x24
mov dword [ebp - 0x80], 0x44
cmp dword [esi + 0x14], 8
xorps xmm0, xmm0
movups xmmword [ebp - 0x24], xmm0
jb 0x4f35b9
mov esi, dword [esi]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x80]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4f35ea
push dword [ebp - 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x24]
call esi
call fcn.00415660
push 0
push 0
push 0x49d
push dword [eax]
call dword [sym.imp.USER32.dll_PostMessageW]
push 1
mov ecx, edi
call dword [sym.imp.DTLUI.dll_public:_void___thiscall_DuiLib::CWindowWnd::Close_unsigned_int_]
jmp 0x4f36b3
mov ecx, dword [edi + 0x34c]
mov esi, dword [sym.imp.DTLUI.dll_public:_bool___thiscall_DuiLib::CTabLayoutUI::SelectItem_int_]
push 0
call esi
push 0
push 0
mov edx, 0x5d0aac
mov dword [edi + 0x344], 2
lea ecx, [ebp - 0x2c]
call fcn.0044b7f0
add esp, 8
mov edx, eax
mov dword [ebp - 4], 1
cmp dword [edx + 0x14], 8
jb 0x4f364e
mov edx, dword [edx]
mov ecx, dword [edi + 0x358]
push edx
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00409540
mov ecx, dword [edi + 0x350]
push 1
call esi
push 0
push 0
mov edx, 0x5d0a9c
lea ecx, [ebp - 0x2c]
call fcn.0044b7f0
add esp, 8
mov edx, eax
mov dword [ebp - 4], 2
cmp dword [edx + 0x14], 8
jb 0x4f3698
mov edx, dword [edx]
mov ecx, dword [edi + 0x36c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00409540
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005120a1
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
Function at 0x4f58a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x573958
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x61308c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
lea edx, [ebp - 0xac]
push edx
mov ecx, dword [edi + 0x108]
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0
mov ecx, eax
push 0x5d16e0
call dword [sym.imp.DTLUI.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const]
push eax
call fcn.00533aae
add esp, 8
test eax, eax
sete bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xac]
call dword [sym.imp.DTLUI.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
test bl, bl
je 0x4f598a
push 0
xor edx, edx
mov ecx, 0x1925e
call fcn.00411230
add esp, 4
lea ecx, [ebp - 0x28]
call fcn.00446ad0
mov dword [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x4f5946
mov eax, dword [eax]
push 5
push 0
push 0
push eax
push 0x5d16d4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4f5976
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00404be0
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov ecx, dword [edi + 0x108]
lea edx, [ebp - 0xac]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 3
mov ecx, eax
push 0x5d16fc
call dword [sym.imp.DTLUI.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const]
push eax
call fcn.00533aae
add esp, 8
test eax, eax
sete bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xac]
call dword [sym.imp.DTLUI.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
test bl, bl
je 0x4f59eb
cmp dword [esi + 0x3f8], 8
lea ecx, [esi + 0x3e4]
jb 0x4f59e6
mov ecx, dword [ecx]
call fcn.00412530
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005120a1
mov esp, ebp
pop ebp
ret 4
Function at 0x515202
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x542945
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005427c4

Function at 0x549a35
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005496f5

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x42e072
nop
nop
nop
nop
nop
mov ebx, 0x407ef8
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x263833e0
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x42e060
nop
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
je 0x42e0d2
nop
nop
mov ebx, 0x42cd70
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x505a3429
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x42e0c0
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x10009761
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x1001f5e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
call fcn.1000a23f
test eax, eax
je 0x10009876
xor ebx, ebx
mov dword [ebp - 0x214], 0x104
push ebx
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [sym.imp.shlwapi.dll_PathCreateFromUrlW]
test eax, eax
js 0x10009876
push ebx
push 0x80
push 3
push ebx
inc ebx
lea eax, [ebp - 0x20c]
push ebx
push SysReAllocStringLen
push eax
call dword [sym.imp.kernel32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x10009876
push 0
lea eax, [ebp - 0x218]
push eax
push 4
lea eax, [ebp - 0x210]
push eax
push edi
call dword [sym.imp.kernel32.dll_ReadFile]
push edi
mov esi, eax
call dword [sym.imp.kernel32.dll_CloseHandle]
test esi, esi
je 0x10009876
cmp dword [ebp - 0x218], 4
jne 0x10009876
push 3
lea eax, [ebp - 0x210]
push 0x10017620
push eax
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
je 0x10009840
push 3
lea eax, [ebp - 0x210]
push 0x10017624
push eax
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
je 0x10009840
mov al, bl
jmp 0x10009878
xor eax, eax
push eax
push eax
push eax
movsx ax, byte [ebp - 0x20d]
movzx eax, ax
push eax
call fcn.10009989
mov ecx, dword [0x10020678]
add esp, 0x10
mov edi, eax
mov esi, edx
call fcn.10009989
cmp edx, esi
jb 0x10009872
ja 0x1000983c
cmp eax, edi
jae 0x1000983c
xor bl, bl
jmp 0x1000983c
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10013bb0
leave
ret 4
Function at 0x401626
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410004]
jne 0x401630
jmp fcn.00401ca3

Function at 0x404a83
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x404aaa
call fcn.00402db2
mov dword [eax], esi
call fcn.00402d9f
push 0x16
pop esi
mov dword [eax], esi
call fcn.00402d4d
mov eax, esi
jmp 0x404aff
test dword [ebp + 0xc], 0xfffffff9
jne 0x404a90
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x404ad7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00402dc5
pop ecx
call fcn.00402d9f
mov eax, dword [eax]
jmp 0x404aff
test al, 0x10
jne 0x404afd
test al, 1
je 0x404afd
test byte [ebp + 0xc], 2
je 0x404afd
call fcn.00402db2
mov dword [eax], 5
call fcn.00402d9f
mov dword [eax], 0xd
jmp 0x404ace
xor eax, eax
pop esi
pop ebp
ret
Function at 0x40871c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x410004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00405547
and dword [ebp - 0x14], 0
cmp dword [0x411b38], 0
mov dword [ebp - 0x18], eax
jne 0x4087cf
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x408877
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x408877
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x411b38], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x411b3c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x411b40], eax
call edi
push eax
call esi
mov dword [0x411b48], eax
test eax, eax
je 0x4087cf
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x411b44], eax
mov eax, dword [0x411b44]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x408828
cmp dword [0x411b48], ecx
je 0x408828
push eax
call esi
push dword [0x411b48]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x408828
test ebx, ebx
je 0x408828
call edi
test eax, eax
je 0x40881f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40881f
test byte [ebp - 8], 1
jne 0x408828
or dword [ebp + 0x10], 0x200000
jmp 0x40885b
mov eax, dword [0x411b3c]
cmp eax, dword [ebp - 0x18]
je 0x40885b
push eax
call esi
test eax, eax
je 0x40885b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40885b
mov eax, dword [0x411b40]
cmp eax, dword [ebp - 0x18]
je 0x40885b
push eax
call esi
test eax, eax
je 0x40885b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x411b38]
call esi
test eax, eax
je 0x408877
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x408879
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401626
leave
ret