joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d328
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41a35c]
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.00405145
mov dword [ebp - 0x14], eax
cmp dword [0x462c18], esi
jne 0x40d41b
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40d3a8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40d4fb
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40d4fb
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d4fb
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x462c18], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x462c1c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x462c20], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x462c28], eax
test eax, eax
je 0x40d418
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x462c24], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40d440
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40d433
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40d455
push 4
pop eax
jmp 0x40d4fd
cmp dword [ebp - 0x14], esi
je 0x40d455
push dword [0x462c18]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40d43a
mov eax, dword [0x462c24]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40d4b3
cmp dword [0x462c28], edi
je 0x40d4b3
push eax
call ebx
push dword [0x462c28]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40d4b3
test eax, eax
je 0x40d4b3
call ecx
test eax, eax
je 0x40d4a8
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 0x40d4a8
test byte [ebp - 8], 1
jne 0x40d4b3
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40d4e3
mov eax, dword [0x462c1c]
cmp eax, edi
je 0x40d4e0
push eax
call ebx
test eax, eax
je 0x40d4e0
call eax
mov esi, eax
test esi, esi
je 0x40d4e0
mov eax, dword [0x462c20]
cmp eax, edi
je 0x40d4e0
push eax
call ebx
test eax, eax
je 0x40d4e0
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x462c18]
call ebx
test eax, eax
je 0x40d4fb
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40d4fd
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404457
mov esp, ebp
pop ebp
ret
Function at 0x10001130
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x10001149
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10001184
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x10001180
lea ebx, [ebx]
cmp esi, eax
jae 0x10001184
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x10001170
cmp esi, eax
jb 0x1000118a
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x1002fc19
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1003fe70]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x14], 0
mov esi, 1
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], esi
call fcn.1000e09c
mov byte [esp + 0x30], 2
call fcn.1000d85c
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x10002424
push 0x80004005
call fcn.10001680
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebx], eax
mov ecx, dword [esp + 0x3c]
push ecx
mov dword [esp + 0x18], esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push 0
cmp eax, 0xffffffff
je 0x100024d0
mov edx, dword [esp + 0x40]
push 0
push edx
lea ecx, [esp + 0x24]
call fcn.1000e512
lea ecx, [esp + 0x18]
call fcn.1000df86
mov edi, eax
lea ebp, [edi + 1]
push ebp
call fcn.1001b143
push ebp
mov esi, eax
push 0
push esi
call fcn.1001c870
add esp, 0x10
test esi, esi
jne 0x1000249a
push esi
push 0x10035de8
push 0x10035df4
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
push esi
call fcn.1001b4ad
push edi
push esi
lea ecx, [esp + 0x20]
call fcn.1000dd8f
lea ecx, [esp + 0x18]
call fcn.1000e036
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100024b3
sub eax, edx
push eax
push esi
mov ecx, ebx
call fcn.10001360
push esi
call fcn.1001b60e
add esp, 4
jmp 0x100024dc
push 0x10035da8
mov ecx, ebx
call fcn.10001360
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 1
call fcn.1000e1a4
mov byte [esp + 0x30], 0
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000250f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 8
Function at 0x10005610
Capabilities:
Reference http user-agent string

Disassembly:
push 0xffffffffffffffff
push 0x1002fa70
mov eax, dword fs:[0]
push eax
mov eax, dword [0x1003fe70]
xor eax, esp
push eax
lea eax, [esp + 4]
mov dword fs:[0], eax
push 0xa
lea ecx, [esi + 0x428]
push str.User_Agent
call fcn.10001360
push 0x66
lea ecx, [esi + 0x42c]
push str.Mozilla_5.0__Windows_NT_6.1__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_75.0.3770.142_Safari_537.36
call fcn.10001360
push 0xf
lea ecx, [esi + 0x430]
push str.Accept_Language
call fcn.10001360
push 5
lea ecx, [esi + 0x434]
push str.zh_CN
call fcn.10001360
push 6
lea ecx, [esi + 0x438]
push str.Accept
call fcn.10001360
push 0x87
lea ecx, [esi + 0x43c]
push str.text_html_application_xhtmlxml_application_xml_q0.9_image_avif_image_webp_image_apng___q0.8_application_signed_exchange_vb3_q0.9
call fcn.10001360
push 0xa
lea ecx, [esi + 0x440]
push str.Connection
call fcn.10001360
push 0xa
lea ecx, [esi + 0x444]
push str.keep_alive
call fcn.10001360
mov dword [esi + 0x728], 4
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret
Function at 0x10006160
Capabilities:
Hash data with md5

Disassembly:
push 0xffffffffffffffff
push 0x1002f97c
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x1003fe70]
xor eax, esp
mov dword [esp + 0x74], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1003fe70]
xor eax, esp
push eax
lea eax, [esp + 0x8c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x9c]
xor ebx, ebx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], ebx
mov edi, 1
mov dword [esp + 0x94], edi
call fcn.1000d85c
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x100061cc
push 0x80004005
call fcn.10001680
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp], eax
mov dword [esp + 0x18], edi
call fcn.1000d85c
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x100061f9
push 0x80004005
call fcn.10001680
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x94], 2
mov edx, dword [esp + 0xa0]
mov ecx, dword [edx - 8]
mov esi, dword [edx - 0xc]
xor eax, eax
mov dword [esp + 0x79], eax
mov dword [esp + 0x7d], eax
mov dword [esp + 0x81], eax
mov word [esp + 0x85], ax
mov byte [esp + 0x87], al
mov eax, edi
sub eax, dword [edx - 4]
mov byte [esp + 0x78], bl
or ecx, eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], 0x67452301
mov dword [esp + 0x2c], 0xefcdab89
mov dword [esp + 0x30], 0x98badcfe
mov dword [esp + 0x34], 0x10325476
jge 0x10006287
push ebx
lea ecx, [esp + 0xa4]
call fcn.10001600
mov edx, dword [esp + 0xa0]
push edx
lea ecx, [esp + 0x24]
push ecx
mov eax, esi
call fcn.10006350
lea edx, [esp + 0x78]
push edx
lea ecx, [esp + 0x24]
call fcn.10006410
xor esi, esi
movzx eax, byte [esp + esi + 0x78]
push eax
lea ecx, [esp + 0x18]
push str._02x
push ecx
call fcn.10004640
mov edi, dword [esp + 0x20]
mov eax, dword [edi - 0xc]
add esp, 0xc
push eax
push edi
mov ecx, ebp
call fcn.10004380
inc esi
cmp esi, 0x10
jl 0x100062a4
lea eax, [edi - 0x10]
mov byte [esp + 0x94], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x100062f6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x94], bl
mov eax, dword [esp + 0xa0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10006320
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
mov ecx, dword [esp + 0x8c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.1001acf2
add esp, 0x84
ret 8
Function at 0x1000f795
Capabilities:
Create http request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi], vtable.CInternetSession.0
test eax, eax
jne 0x1000f7c0
call fcn.1000f057
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi + 8], eax
test eax, eax
jne 0x1000f7e3
push eax
push dword [esi + 4]
call fcn.1000f71b
push esi
push eax
mov ecx, 0x10041154
call fcn.1000f38f
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x1001002a
Capabilities:
Connect to http server

Disassembly:
push 4
mov eax, 0x1002ef1f
call fcn.1001c602
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 0x1c]
mov edi, dword [ebp + 8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.1000ffea
and dword [ebp - 4], 0
lea ecx, [esi + 0x18]
mov dword [esi], vtable.CHttpConnection.0
call fcn.100016a0
push dword [esi + 8]
mov edi, dword [edi + 8]
push 0
push 3
push dword [ebp + 0x18]
mov byte [ebp - 4], 1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [esi + 4], eax
test eax, eax
jne 0x10010090
push eax
push dword [esi + 8]
call fcn.1000f71b
push dword [esi + 0xc]
mov ecx, 0x10041154
push eax
call fcn.1000f38f
mov eax, esi
call fcn.1001c6da
ret 0x18

Function at 0x1001acf2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1003fe70]
jne 0x1001acfc
repz ret
jmp fcn.100205ec
Function at 0x1002ae4e
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.10020764
and dword [ebp - 4], 0
cmp dword [0x1004397c], 0
mov ebx, eax
jne 0x1002aeff
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1002afb0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10035604
push edi
call esi
test eax, eax
je 0x1002afb0
push eax
call fcn.100206f2
mov dword [esp], 0x100355f4
push edi
mov dword [0x1004397c], eax
call esi
push eax
call fcn.100206f2
mov dword [esp], 0x100355e0
push edi
mov dword [0x10043980], eax
call esi
push eax
call fcn.100206f2
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10043984], eax
call esi
push eax
call fcn.100206f2
pop ecx
mov dword [0x1004398c], eax
test eax, eax
je 0x1002aeff
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.100206f2
pop ecx
mov dword [0x10043988], eax
mov eax, dword [0x10043988]
cmp eax, ebx
je 0x1002af57
cmp dword [0x1004398c], ebx
je 0x1002af57
push eax
call fcn.1002076d
push dword [0x1004398c]
mov esi, eax
call fcn.1002076d
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1002af57
test edi, edi
je 0x1002af57
call esi
test eax, eax
je 0x1002af4e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1002af4e
test byte [ebp - 0xc], 1
jne 0x1002af57
or dword [ebp + 0x10], 0x200000
jmp 0x1002af90
mov eax, dword [0x10043980]
cmp eax, ebx
je 0x1002af90
push eax
call fcn.1002076d
pop ecx
test eax, eax
je 0x1002af90
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1002af90
mov eax, dword [0x10043984]
cmp eax, ebx
je 0x1002af90
push eax
call fcn.1002076d
pop ecx
test eax, eax
je 0x1002af90
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1004397c]
call fcn.1002076d
pop ecx
test eax, eax
je 0x1002afb0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1002afb2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x470cc0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x470cee
mov eax, ebx
call fcn.00471774
cmp dword [ebx + 0x40], 0
je 0x470ce7
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x470d5f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x470d51
cmp dword [ebx + 8], 0
je 0x470d10
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x470d22
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x470d51
cmp dword [ebx + 8], 0
je 0x470d03
cmp eax, 3
je 0x470d35
dec eax
jne 0x470d03
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x470d03
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x470d03
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x470d7d
cmp dword [ebx + 0x14], 0xcc
je 0x470d7d
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00470d88
pop ebx
ret

Function at 0x427432
Capabilities:
Encode data using xor

Disassembly:
pop ebp
clc
pushal
lea edi, [ebp + 0x42]
mov si, 0x256
cld
mov cl, byte [edi]
xor cl, 0x59
rol cl, 0xc4
xor cl, 0x18
mov byte [edi], cl
inc edi
dec si
jne 0x42743d
jmp 0x427495
fmul st(0)
fdivr dword [esi + 0x7d0c6bc0]
invalid
Function at 0x10001000
Capabilities:
Persist via run registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x418]
push eax
push 0xf003f
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10001103
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, dword [ebp - 0x418]
lea eax, [eax + eax + 2]
push eax
lea ecx, [ebp - 0x20c]
push ecx
push 1
push 0
push str.GFIRestart32.exe
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x100010f6
push 0x206
push eax
lea ecx, [ebp - 0x412]
push ecx
mov word [ebp - 0x414], ax
call fcn.100047c0
mov ecx, dword [ebp - 0x418]
add esp, 0xc
lea edx, [ebp - 0x41c]
push edx
lea eax, [ebp - 0x414]
push eax
push 0
push 0
push str.GFIRestart32.exe
push ecx
mov dword [ebp - 0x41c], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100010ed
mov edx, dword [ebp - 0x418]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000119c
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x418]
push eax
jmp 0x100010fd
mov ecx, dword [ebp - 0x418]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.1000119c
mov esp, ebp
pop ebp
ret

Function at 0x10001140
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
dec eax
jne 0x1000116f
cmp dword [0x1000add8], eax
jne 0x1000116f
push eax
push eax
push eax
push 0x10001120
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
mov dword [0x1000add8], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, 1
pop ebp
ret 0xc

Function at 0x1000119c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x100011a6
repz ret
jmp fcn.10001428
Function at 0x10004f8a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [section..data]
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.1000152e
and dword [ebp - 0x14], 0
cmp dword [0x1000adc4], 0
mov dword [ebp - 0x18], eax
jne 0x1000503d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x100050e5
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x100050e5
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x1000adc4], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x1000adc8], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x1000adcc], eax
call edi
push eax
call esi
mov dword [0x1000add4], eax
test eax, eax
je 0x1000503d
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x1000add0], eax
mov eax, dword [0x1000add0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x10005096
cmp dword [0x1000add4], ecx
je 0x10005096
push eax
call esi
push dword [0x1000add4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x10005096
test ebx, ebx
je 0x10005096
call edi
test eax, eax
je 0x1000508d
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x1000508d
test byte [ebp - 8], 1
jne 0x10005096
or dword [ebp + 0x10], 0x200000
jmp 0x100050c9
mov eax, dword [0x1000adc8]
cmp eax, dword [ebp - 0x18]
je 0x100050c9
push eax
call esi
test eax, eax
je 0x100050c9
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100050c9
mov eax, dword [0x1000adcc]
cmp eax, dword [ebp - 0x18]
je 0x100050c9
push eax
call esi
test eax, eax
je 0x100050c9
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x1000adc4]
call esi
test eax, eax
je 0x100050e5
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x100050e7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000119c
leave
ret
Function at 0x4012eb
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [0x40604c], 1
mov dword [0x406050], 1
mov dword [0x406054], 1
mov dword [ebp - 4], 0x400000
mov eax, dword [ebp - 4]
movzx eax, word [eax]
cmp ax, 0x5a4d
je 0x40132c
mov eax, 0
jmp 0x4013c6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp - 4]
add eax, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, 0x4550
je 0x40134f
mov eax, 0
jmp 0x4013c6
mov eax, dword [ebp - 8]
add eax, 0x18
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
movzx eax, ax
cmp eax, 0x10b
je 0x401371
cmp eax, 0x20b
je 0x401396
jmp 0x4013c1
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x5c]
cmp eax, 0xe
ja 0x401383
mov eax, 0
jmp 0x4013c6
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x4013c6
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x6c]
cmp eax, 0xe
ja 0x4013ae
mov eax, 0
jmp 0x4013c6
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x4013c6
mov eax, 0
leave
ret

Function at 0x402454
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, word [eax]
cmp ax, 0x5a4d
je 0x402473
mov eax, 0
jmp 0x4024b7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp - 4]
add eax, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, 0x4550
je 0x402496
mov eax, 0
jmp 0x4024b7
mov eax, dword [ebp - 8]
add eax, 0x18
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
cmp ax, 0x10b
je 0x4024b2
mov eax, 0
jmp 0x4024b7
mov eax, 1
leave
ret

Function at 0x4024b9
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp + 8]
add eax, edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 0x14]
movzx edx, ax
mov eax, dword [ebp - 0xc]
add eax, edx
add eax, 0x18
mov dword [ebp - 4], eax
jmp 0x402518
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
cmp dword [ebp + 0xc], eax
jb 0x402510
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
add eax, edx
cmp dword [ebp + 0xc], eax
jae 0x402510
mov eax, dword [ebp - 4]
jmp 0x40252c
add dword [ebp - 8], 1
add dword [ebp - 4], 0x28
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 6]
movzx eax, ax
cmp dword [ebp - 8], eax
jb 0x4024ed
mov eax, 0
leave
ret
Function at 0x402627
Capabilities:
Parse pe header

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