joyce8/EMBER2024-capa huggingface dataset:
Function at 0x441c9a
Capabilities:
Set environment variable

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

Function at 0x401a09
Capabilities:
Hide graphical window

Disassembly:
mov ecx, 0xfffffffe
jmp fcn.00401641

Function at 0x424040
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
sub esp, 0x350
push ebx
push ebp
push esi
mov esi, dword [esp + 0x360]
push edi
xor edi, edi
mov dword [esp + 0x14], ecx
push esi
mov dword [esp + 0x14], edi
call fcn.0040c9d0
add esp, 4
test eax, eax
je 0x42420e
mov ebx, dword [esp + 0x368]
test ebx, ebx
je 0x42420e
mov edi, dword [sym.imp.KERNEL32.DLL_lstrcpyA]
lea eax, [esp + 0x18]
push esi
push eax
call edi
lea ecx, [esp + 0x18]
push 0x104
push ecx
call fcn.0040ce70
mov ebp, dword [sym.imp.KERNEL32.DLL_lstrcatA]
add esp, 8
lea edx, [esp + 0x18]
push ebx
push edx
call ebp
lea eax, [esp + 0x220]
lea ecx, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x424137
call fcn.004246e0
lea edx, [esp + 0x11c]
push esi
push edx
call edi
lea eax, [esp + 0x11c]
push 0x104
push eax
call fcn.0040ce70
add esp, 8
lea ecx, [esp + 0x24c]
lea edx, [esp + 0x11c]
push ecx
push edx
call ebp
test byte [esp + 0x220], 0x10
jne 0x42411d
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x11c]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test eax, eax
jl 0x42411d
inc dword [esp + 0x10]
lea eax, [esp + 0x220]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_FindNextFileA]
test eax, eax
jne 0x4240c3
push ebx
call dword [sym.imp.KERNEL32.DLL_FindClose]
lea ecx, [esp + 0x18]
push esi
push ecx
call edi
lea edx, [esp + 0x18]
push 0x104
push edx
call fcn.0040ce70
add esp, 8
lea eax, [esp + 0x18]
push 0x42b1bc
push eax
call ebp
lea ecx, [esp + 0x220]
lea edx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4241fd
call fcn.004246e0
test byte [esp + 0x220], 0x10
je 0x4241e3
cmp byte [esp + 0x24c], 0x2e
je 0x4241e3
lea eax, [esp + 0x11c]
push esi
push eax
call edi
lea ecx, [esp + 0x11c]
push 0x104
push ecx
call fcn.0040ce70
add esp, 8
lea edx, [esp + 0x24c]
lea eax, [esp + 0x11c]
push edx
push eax
call ebp
mov ecx, dword [esp + 0x368]
lea edx, [esp + 0x11c]
push ecx
mov ecx, dword [esp + 0x18]
push edx
call fcn.00424040
add dword [esp + 0x10], eax
lea eax, [esp + 0x220]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_FindNextFileA]
test eax, eax
jne 0x42417b
push ebx
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x350
ret 8
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x350
ret 8
Function at 0x100138a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
leave
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.1001360e
add esp, dword [edi + 0x12]
out dx, eax
lea eax, [ebp - 0x58]
push eax
call fcn.1001361e
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.100135d3
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 0x100138fc
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.1001360e
invalid
Function at 0x404b14
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
and dword [esp + 4], 0
push ebx
push esi
push edi
pushal
xor eax, eax
dec eax
xor ebx, eax
mov dword [esp + 0x30], ebx
popal
push str.V3.5_n
call dword [sym.imp.MSVCR90.dll_printf]
cmp dword [0x4093a8], 0
pop ecx
jne 0x404b4d
call fcn.0040435c
cmp dword [0x4093a4], 0
jne 0x404b5b
call fcn.0040429c
call fcn.0040459d
mov esi, dword [ebp + 0xc]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x10]
push eax
push dword [esi]
call fcn.00404144
lea eax, [esp + 0x14]
push eax
call fcn.00403faf
mov dword [0x4093ac], eax
lea eax, [esp + 0x38]
push eax
call fcn.00403f65
push dword [esp + 0xc]
push dword [esi]
call fcn.00404033
push eax
mov dword [0x4093b0], eax
call dword [sym.imp.MSVCR90.dll__msize]
pop ecx
mov esi, eax
push esi
call fcn.00403fe4
mov eax, esi
imul eax, eax, 3
push eax
mov dword [esp + 0x10], eax
call dword [sym.imp.MSVCR90.dll_malloc]
pop ecx
mov edi, eax
push esi
lea eax, [esp + 0x10]
push eax
push edi
call fcn.0040327f
test edi, edi
je 0x404bf3
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x10]
push edi
call fcn.004043b2
lea eax, [esp + 0x38]
push eax
call dword [0x409398]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00404267
int3

Function at 0x401dc0
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 sub.ucrtbase.dll__configure_wide_argv
call sub.ucrtbase.dll__initialize_wide_environment
call 0x401e30
mov esi, dword [eax]
call sub.ucrtbase.dll___p___wargv
mov edi, dword [eax]
call sub.ucrtbase.dll__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
add eax, 1
mov dword [esp], eax
call sub.ucrtbase.dll__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.00401350
mov dword [esp], eax
call sub.ucrtbase.dll_exit
nop
nop
nop
jmp dword [sym.imp.ucrtbase.dll___p___argc]

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 0x4ca3f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7b000]
push edi
jmp 0x4ca40a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4ca411
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ca400
mov eax, 1
add ebx, ebx
jne 0x4ca423
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4ca418
jne 0x4ca434
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4ca418
xor ecx, ecx
sub eax, 3
jb 0x4ca448
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4ca4ba
mov ebp, eax
add ebx, ebx
jne 0x4ca453
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4ca460
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4ca484
inc ecx
add ebx, ebx
jne 0x4ca470
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4ca465
jne 0x4ca481
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4ca465
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4ca4a4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4ca495
jmp 0x4ca406
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4ca4a4
add edi, ecx
jmp 0x4ca406
pop esi
mov edi, esi
mov ecx, 0x287
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4ca4c2
cmp byte [edi], 2
jne 0x4ca4c2
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 0x4ca4c7
lea edi, [esi + 0xc8000]
mov eax, dword [edi]
or eax, eax
je 0x4ca53f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xe86c8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xe8780]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4ca4f4
mov ecx, edi
jns 0x4ca523
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xe8788]
or eax, eax
je 0x4ca539
mov dword [ebx], eax
add ebx, 4
jmp 0x4ca511
call dword [esi + 0xe8784]
mov ebp, dword [esi + 0xe878c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
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 0x4ca573
sub esp, 0xffffff80
jmp 0x4034c5

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 0x401cd5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43907c]
jne 0x401cdf
repz ret
jmp fcn.00402908

Function at 0x40837a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x43907c]
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.00405b1d
and dword [ebp - 0x14], 0
cmp dword [0x43be64], 0
mov dword [ebp - 0x18], eax
jne 0x40842d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4084d5
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4084d5
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x43be64], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x43be68], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x43be6c], eax
call edi
push eax
call esi
mov dword [0x43be74], eax
test eax, eax
je 0x40842d
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x43be70], eax
mov eax, dword [0x43be70]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x408486
cmp dword [0x43be74], ecx
je 0x408486
push eax
call esi
push dword [0x43be74]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x408486
test ebx, ebx
je 0x408486
call edi
test eax, eax
je 0x40847d
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40847d
test byte [ebp - 8], 1
jne 0x408486
or dword [ebp + 0x10], 0x200000
jmp 0x4084b9
mov eax, dword [0x43be68]
cmp eax, dword [ebp - 0x18]
je 0x4084b9
push eax
call esi
test eax, eax
je 0x4084b9
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4084b9
mov eax, dword [0x43be6c]
cmp eax, dword [ebp - 0x18]
je 0x4084b9
push eax
call esi
test eax, eax
je 0x4084b9
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x43be64]
call esi
test eax, eax
je 0x4084d5
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4084d7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401cd5
leave
ret
Function at 0x427ec0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x19000]
push edi
jmp 0x427eda
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x427ee1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x427ed0
mov eax, 1
add ebx, ebx
jne 0x427ef3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x427ee8
jne 0x427f04
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x427ee8
xor ecx, ecx
sub eax, 3
jb 0x427f18
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x427f8a
mov ebp, eax
add ebx, ebx
jne 0x427f23
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x427f30
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x427f54
inc ecx
add ebx, ebx
jne 0x427f40
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x427f35
jne 0x427f51
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x427f35
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x427f74
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x427f65
jmp 0x427ed6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x427f74
add edi, ecx
jmp 0x427ed6
pop esi
mov edi, esi
mov ecx, 0x926
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x427f92
cmp byte [edi], 0xe
jne 0x427f92
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 0x427f97
lea edi, [esi + 0x25000]
mov eax, dword [edi]
or eax, eax
je 0x42800f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x29994]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x29a48]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x427fc4
mov ecx, edi
jns 0x427ff3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x29a4c]
or eax, eax
je 0x428009
mov dword [ebx], eax
add ebx, 4
jmp 0x427fe1
call dword [esi + 0x29a5c]
mov ebp, dword [esi + 0x29a50]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x31f]
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 0x428043
sub esp, 0xffffff80
jmp section.UPX0

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 0x44a010
Capabilities:
Accept command line arguments

Disassembly:
push ecx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push 0
push 0
push 3
push 0
push 3
push 0x40000000
push str.CONOUT_
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
lea eax, [esp + 8]
push eax
push edi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
test eax, eax
mov dword [0x64f054], esi
je 0x44a05f
mov ecx, dword [0x64fd3c]
push 0x64fa58
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov eax, esi
pop edi
pop esi
pop ecx
ret

Function at 0x492777
Capabilities:
Check for vm using instruction vpcext

Disassembly:
and ecx, dword [edx + 0x6a300765]
out dx, eax
sub dword [ecx], ecx
or edi, ebx
and al, 0x1d
cmp al, 0xe9
invalid
invalid

Function at 0x49277f
Capabilities:
Check for vm using instruction vpcext

Disassembly:
and ecx, dword [edx + 0x6a300765]
out dx, eax
sub dword [ecx], ecx
or edi, ebx
and al, 0x1d
cmp al, 0xe9
invalid
invalid

Function at 0x492787
Capabilities:
Check for vm using instruction vpcext

Disassembly:
bound eax, qword [edx]
invalid
adc ecx, ecx
jge 0x49272b
dec ebx
inc edi
sub bl, byte [edx + edx + 0x44277083]
adc al, byte [ebx + 0x68442770]
test al, 0xa6
pop ecx
les ebx, [ebx + edi*8 - 0x49]
test al, 0x99
aam 0x47

Function at 0x492797
Capabilities:
Check for vm using instruction vpcext

Disassembly:
bound eax, qword [edx]
invalid
adc ecx, ecx
jge 0x49272b
dec ebx
inc edi
sub bl, byte [edx + edx + 0x44277083]
adc al, byte [ebx + 0x68442770]
test al, 0xa6
pop ecx
les ebx, [ebx + edi*8 - 0x49]
test al, 0x99
aam 0x47

Function at 0x4927f3
Capabilities:
Check for vm using instruction vpcext

Disassembly:
rol dword ss:[edi + 9], 1
xchg esi, eax
jns 0x492831
dec edi
invalid
Function at 0x41deb2
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.00416fce
and dword [ebp - 4], 0
cmp dword [0x430a1c], 0
mov ebx, eax
jne 0x41df63
push 0x426ddc
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x41e014
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x426dd0
push edi
call esi
test eax, eax
je 0x41e014
push eax
call fcn.00416f5c
mov dword [esp], 0x426dc0
push edi
mov dword [0x430a1c], eax
call esi
push eax
call fcn.00416f5c
mov dword [esp], 0x426dac
push edi
mov dword [0x430a20], eax
call esi
push eax
call fcn.00416f5c
mov dword [esp], 0x426d90
push edi
mov dword [0x430a24], eax
call esi
push eax
call fcn.00416f5c
pop ecx
mov dword [0x430a2c], eax
test eax, eax
je 0x41df63
push 0x426d78
push edi
call esi
push eax
call fcn.00416f5c
pop ecx
mov dword [0x430a28], eax
mov eax, dword [0x430a28]
cmp eax, ebx
je 0x41dfbb
cmp dword [0x430a2c], ebx
je 0x41dfbb
push eax
call fcn.00416fd7
push dword [0x430a2c]
mov esi, eax
call fcn.00416fd7
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x41dfbb
test edi, edi
je 0x41dfbb
call esi
test eax, eax
je 0x41dfb2
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x41dfb2
test byte [ebp - 0xc], 1
jne 0x41dfbb
or dword [ebp + 0x10], 0x200000
jmp 0x41dff4
mov eax, dword [0x430a20]
cmp eax, ebx
je 0x41dff4
push eax
call fcn.00416fd7
pop ecx
test eax, eax
je 0x41dff4
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x41dff4
mov eax, dword [0x430a24]
cmp eax, ebx
je 0x41dff4
push eax
call fcn.00416fd7
pop ecx
test eax, eax
je 0x41dff4
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x430a1c]
call fcn.00416fd7
pop ecx
test eax, eax
je 0x41e014
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x41e016
xor eax, eax
pop edi
pop esi
pop ebx
leave
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 0x401d99
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42907c]
jne 0x401da3
repz ret
jmp fcn.004026c7

Function at 0x4081dc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42907c]
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.00405ea4
and dword [ebp - 0x14], 0
cmp dword [0x42be50], 0
mov dword [ebp - 0x18], eax
jne 0x40828f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x408337
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x408337
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x42be50], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x42be54], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x42be58], eax
call edi
push eax
call esi
mov dword [0x42be60], eax
test eax, eax
je 0x40828f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x42be5c], eax
mov eax, dword [0x42be5c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4082e8
cmp dword [0x42be60], ecx
je 0x4082e8
push eax
call esi
push dword [0x42be60]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4082e8
test ebx, ebx
je 0x4082e8
call edi
test eax, eax
je 0x4082df
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4082df
test byte [ebp - 8], 1
jne 0x4082e8
or dword [ebp + 0x10], 0x200000
jmp 0x40831b
mov eax, dword [0x42be54]
cmp eax, dword [ebp - 0x18]
je 0x40831b
push eax
call esi
test eax, eax
je 0x40831b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40831b
mov eax, dword [0x42be58]
cmp eax, dword [ebp - 0x18]
je 0x40831b
push eax
call esi
test eax, eax
je 0x40831b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x42be50]
call esi
test eax, eax
je 0x408337
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x408339
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401d99
leave
ret
Function at 0x1000166a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1000e03c]
jne 0x10001674
repz ret
jmp fcn.10001d4f

Function at 0x10009585
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.10003ca8
and dword [ebp - 4], 0
cmp dword [0x1000faf4], 0
mov ebx, eax
jne 0x10009636
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x100096e7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x100096e7
push eax
call fcn.10003c36
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1000faf4], eax
call esi
push eax
call fcn.10003c36
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1000faf8], eax
call esi
push eax
call fcn.10003c36
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1000fafc], eax
call esi
push eax
call fcn.10003c36
pop ecx
mov dword [0x1000fb04], eax
test eax, eax
je 0x10009636
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10003c36
pop ecx
mov dword [0x1000fb00], eax
mov eax, dword [0x1000fb00]
cmp eax, ebx
je 0x1000968e
cmp dword [0x1000fb04], ebx
je 0x1000968e
push eax
call fcn.10003cb1
push dword [0x1000fb04]
mov esi, eax
call fcn.10003cb1
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1000968e
test edi, edi
je 0x1000968e
call esi
test eax, eax
je 0x10009685
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10009685
test byte [ebp - 0xc], 1
jne 0x1000968e
or dword [ebp + 0x10], 0x200000
jmp 0x100096c7
mov eax, dword [0x1000faf8]
cmp eax, ebx
je 0x100096c7
push eax
call fcn.10003cb1
pop ecx
test eax, eax
je 0x100096c7
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x100096c7
mov eax, dword [0x1000fafc]
cmp eax, ebx
je 0x100096c7
push eax
call fcn.10003cb1
pop ecx
test eax, eax
je 0x100096c7
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1000faf4]
call fcn.10003cb1
pop ecx
test eax, eax
je 0x100096e7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x100096e9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x403161
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x403161
lcall 0x5de5, 0x8b10c483
jmp loc.00791034