joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4140ac
Capabilities:
Query environment variable

Disassembly:
push ebp
lea ebp, [esp - 0x10004]
mov eax, 0x10004
call fcn.0041c030
push 0xffffffffffffffff
push 0x42692b
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x4310cc]
xor eax, ebp
mov dword [ebp + 0x10000], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0x1000c]
and dword [ebp - 0x18], 0
mov dword [ebp - 0x28], ebx
xor edi, edi
mov esi, 0x4277b4
inc edi
push esi
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], edi
mov byte [ebp - 0xd], 0
call fcn.00409a48
push esi
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.00409a48
and dword [ebp - 0x14], 0
cmp dword [ebp + 0x10014], 0
mov dword [ebp - 0x18], edi
jle 0x41425f
push edi
push dword [ebp - 0x14]
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp + 0x10010]
call fcn.00409ab5
push 0x427d38
push eax
mov byte [ebp - 4], 3
call fcn.00409bce
push dword [ebp - 0x34]
mov byte [ebp - 0xe], al
mov byte [ebp - 4], 2
call fcn.0041beb5
cmp byte [ebp - 0xe], 0
pop ecx
je 0x4141ce
cmp byte [ebp - 0xd], 0
sete al
mov byte [ebp - 0xd], al
test al, al
jne 0x41424d
push 0x7fff
lea eax, [ebp]
push eax
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea eax, [ebp]
push eax
push ebx
lea eax, [ebp - 0x70]
push eax
call fcn.0040d303
push eax
mov ecx, ebx
mov byte [ebp - 4], 4
call fcn.00409a7e
push dword [ebp - 0x70]
mov byte [ebp - 4], 2
call fcn.0041beb5
pop ecx
push esi
lea ecx, [ebp - 0x24]
call fcn.0040a8c9
push esi
lea eax, [ebp]
push 0x7fff
push eax
call fcn.0041bb66
add esp, 0xc
jmp 0x41424d
cmp byte [ebp - 0xd], 0
push edi
push dword [ebp - 0x14]
lea ecx, [ebp + 0x10010]
je 0x414213
lea eax, [ebp - 0x64]
push eax
call fcn.00409ab5
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x4c]
push eax
mov byte [ebp - 4], 5
call fcn.0040a92d
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 6
call fcn.00409a7e
push dword [ebp - 0x4c]
call fcn.0041beb5
push dword [ebp - 0x64]
jmp 0x414242
lea eax, [ebp - 0x58]
push eax
call fcn.00409ab5
push eax
push ebx
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 4], 7
call fcn.0040a92d
push eax
mov ecx, ebx
mov byte [ebp - 4], 8
call fcn.00409a7e
push dword [ebp - 0x40]
call fcn.0041beb5
push dword [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.0041beb5
pop ecx
pop ecx
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0x10014]
jl 0x41412e
push dword [ebp - 0x24]
call fcn.0041beb5
push dword [ebp + 0x10010]
call fcn.0041beb5
pop ecx
pop ecx
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x10000]
xor ecx, ebp
call fcn.004192b3
add ebp, 0x10004
leave
ret 0x10
Function at 0x41496a
Capabilities:
Enumerate processes

Disassembly:
push ebp
lea ebp, [esp - 0xd8]
sub esp, 0x158
mov eax, dword [0x4310cc]
xor eax, ebp
mov dword [ebp + 0xd4], eax
push ebx
push esi
mov esi, dword [ebp + 0xe0]
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
push 0x124
mov ebx, eax
lea eax, [ebp - 0x50]
push 0
push eax
call fcn.0041b1d0
add esp, 0xc
lea eax, [ebp - 0x54]
push eax
push ebx
mov dword [ebp - 0x54], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x4149ce
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
call fcn.0041c2fb
mov eax, dword [esi + 0x14]
push esi
push dword [eax]
lea ecx, [ebp - 0x70]
call fcn.00413ced
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x58], eax
jmp 0x414a3a
lea ecx, [ebp - 0x5c]
call fcn.00413c72
push dword [eax]
call fcn.004139da
cmp eax, dword [ebp - 0x3c]
jne 0x414a32
push dword [ebp - 0x4c]
push 0
push 0x100410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push esi
push dword [esi + 0x14]
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x68], eax
call fcn.00413ced
lea eax, [ebp - 0x68]
push eax
push dword [ebp - 0x74]
lea eax, [ebp - 0x80]
push dword [ebp - 0x78]
mov ecx, esi
push eax
call fcn.00414932
lea ecx, [ebp - 0x5c]
call fcn.00413a1a
push esi
push dword [esi + 0x14]
lea ecx, [ebp - 0x64]
call fcn.00413ced
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x5c]
call fcn.004139f3
test al, al
je 0x4149ea
lea eax, [ebp - 0x54]
push eax
push ebx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x4149ce
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 0xd4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004192b3
add ebp, 0xd8
leave
ret 4
Function at 0x4172bf
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xa0
mov eax, dword [0x4310cc]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, 0x9c
push esi
lea eax, [ebp - 0x28]
push 0
push eax
call fcn.0041b1d0
add esp, 0xc
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push eax
call esi
test eax, eax
jne 0x417311
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x28], 0x94
call esi
test eax, eax
je 0x4173d8
call fcn.00417282
cmp dword [ebp - 0x18], 2
jne 0x4173af
cmp dword [ebp - 0x24], 6
jne 0x417369
cmp dword [ebp - 0x20], 0
jne 0x41734b
cmp byte [ebp + 0x72], 1
jne 0x417344
mov ecx, 0x100
neg eax
sbb eax, eax
and eax, ecx
add eax, ecx
jmp 0x4173da
mov ecx, 0x400
jmp 0x417337
cmp dword [ebp - 0x20], 1
jne 0x4173d8
cmp byte [ebp + 0x72], 1
jne 0x417362
mov ecx, 0x1000
jmp 0x417337
mov ecx, 0x4000
jmp 0x417337
cmp dword [ebp - 0x24], 5
jne 0x4173d8
cmp dword [ebp - 0x20], 2
jne 0x417393
cmp byte [ebp + 0x72], 1
jne 0x417384
test eax, eax
je 0x41738f
push 0x20
pop eax
jmp 0x4173da
test eax, eax
je 0x41738f
mov eax, 0x80
jmp 0x4173da
push 0x40
jmp 0x417381
cmp dword [ebp - 0x20], 1
jne 0x4173a5
neg eax
sbb eax, eax
and eax, 0x10
add eax, 0x10
jmp 0x4173da
cmp dword [ebp - 0x20], 0
jne 0x4173d8
push 8
jmp 0x417381
cmp dword [ebp - 0x18], 1
jne 0x4173d8
push 4
pop eax
cmp dword [ebp - 0x24], eax
jne 0x4173d8
cmp dword [ebp - 0x20], 0
jne 0x4173c8
xor eax, eax
inc eax
jmp 0x4173da
cmp dword [ebp - 0x20], 0xa
jne 0x4173d2
push 2
jmp 0x417381
cmp dword [ebp - 0x20], 0x5a
je 0x4173da
xor eax, eax
mov ecx, dword [ebp + 0x74]
xor ecx, ebp
pop esi
call fcn.004192b3
add ebp, 0x78
leave
ret

Function at 0x4192b3
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4310cc]
jne 0x4192bd
repz ret
jmp fcn.0041d160
Function at 0x42204b
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.0041cc26
and dword [ebp - 4], 0
cmp dword [0x433058], 0
mov ebx, eax
jne 0x4220fc
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4221ad
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4221ad
push eax
call fcn.0041cbb4
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x433058], eax
call esi
push eax
call fcn.0041cbb4
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x43305c], eax
call esi
push eax
call fcn.0041cbb4
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x433060], eax
call esi
push eax
call fcn.0041cbb4
pop ecx
mov dword [0x433068], eax
test eax, eax
je 0x4220fc
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041cbb4
pop ecx
mov dword [0x433064], eax
mov eax, dword [0x433064]
cmp eax, ebx
je 0x422154
cmp dword [0x433068], ebx
je 0x422154
push eax
call fcn.0041cc2f
push dword [0x433068]
mov esi, eax
call fcn.0041cc2f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x422154
test edi, edi
je 0x422154
call esi
test eax, eax
je 0x42214b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x42214b
test byte [ebp - 0xc], 1
jne 0x422154
or dword [ebp + 0x10], 0x200000
jmp 0x42218d
mov eax, dword [0x43305c]
cmp eax, ebx
je 0x42218d
push eax
call fcn.0041cc2f
pop ecx
test eax, eax
je 0x42218d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x42218d
mov eax, dword [0x433060]
cmp eax, ebx
je 0x42218d
push eax
call fcn.0041cc2f
pop ecx
test eax, eax
je 0x42218d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x433058]
call fcn.0041cc2f
pop ecx
test eax, eax
je 0x4221ad
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4221af
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10001430
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
lea eax, [ebp - 4]
push eax
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
push eax
mov dword [ebp - 4], eax
call fcn.10005008
mov ecx, dword [ebp - 4]
add esp, 4
mov esi, eax
push esi
push ecx
push ebx
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x10001486
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 8]
push eax
push 0x100112ac
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x10001486
mov ecx, dword [ebp - 8]
movzx ebx, word [ecx + 0xa]
push esi
call fcn.10004ffd
add esp, 4
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10001b40
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x10014018]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push esi
mov dword [ebp - 0x210], 0
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [ebp - 0x20c]
push str.AutoCAD_2004
push ecx
call fcn.100056bc
add esp, 8
test eax, eax
je 0x10001baf
lea edx, [ebp - 0x210]
push edx
push 0x10001d90
push esi
call dword [sym.imp.USER32.dll_EnumChildWindows]
mov eax, dword [ebp - 0x210]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10004fee
mov esp, ebp
pop ebp
ret
push ebx
push edi
push 0x208
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClassNameW]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push str.Afx:400000:8:10008
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
push str.Afx:400000:8:10008
lea edx, [ebp - 0x20c]
xor ecx, ecx
push edx
mov word [ebp + eax*2 - 0x20c], cx
call edi
test eax, eax
je 0x10001c49
push str.Afx:400000:8
call ebx
push str.Afx:400000:8
lea edx, [ebp - 0x20c]
xor ecx, ecx
push edx
mov word [ebp + eax*2 - 0x20c], cx
call edi
test eax, eax
jne 0x10001c24
lea eax, [ebp - 0x210]
push eax
push 0x10001c60
jmp 0x10001c42
push str.Afx:00400000
lea ecx, [ebp - 0x20c]
push ecx
call edi
test eax, eax
jne 0x10001c49
lea edx, [ebp - 0x210]
push edx
push 0x10001d90
push esi
call dword [sym.imp.USER32.dll_EnumChildWindows]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x210]
pop edi
xor ecx, ebp
pop ebx
call fcn.10004fee
mov esp, ebp
pop ebp
ret
Function at 0x100026a0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x10014018]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push edi
mov dword [ebp - 0x210], 0
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [ebp - 0x20c]
push str.ACD_FotoCanvas
push ecx
call fcn.100056bc
add esp, 8
test eax, eax
je 0x100026f8
mov eax, edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10004fee
mov esp, ebp
pop ebp
ret
push ebx
push esi
push 0x208
lea edx, [ebp - 0x20c]
push edx
push edi
call dword [sym.imp.USER32.dll_GetClassNameW]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push str.Afx:400000:8:10008
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
push str.Afx:400000:8:10008
lea edx, [ebp - 0x20c]
xor ecx, ecx
push edx
mov word [ebp + eax*2 - 0x20c], cx
call esi
test eax, eax
je 0x100027da
push str.Afx:400000:8
call ebx
push str.Afx:400000:8
lea edx, [ebp - 0x20c]
xor ecx, ecx
push edx
mov word [ebp + eax*2 - 0x20c], cx
call esi
test eax, eax
je 0x100027c7
push str.ACDViewer
lea eax, [ebp - 0x20c]
push eax
call esi
test eax, eax
je 0x100027c7
push str.Afx:400000:0
lea ecx, [ebp - 0x20c]
push ecx
call esi
test eax, eax
je 0x100027b9
push str.Afx:00400000
lea edx, [ebp - 0x20c]
push edx
call esi
test eax, eax
je 0x100027b9
push str.32770
lea eax, [ebp - 0x20c]
push eax
call esi
test eax, eax
jne 0x100027da
lea ecx, [ebp - 0x210]
push ecx
push 0x10002920
jmp 0x100027d3
lea edx, [ebp - 0x210]
push edx
push 0x100027f0
jmp 0x100027d3
lea eax, [ebp - 0x210]
push eax
push 0x10002890
push edi
call dword [sym.imp.USER32.dll_EnumChildWindows]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x210]
pop esi
xor ecx, ebp
pop ebx
call fcn.10004fee
mov esp, ebp
pop ebp
ret
Function at 0x10003330
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2ac
mov eax, dword [0x10014018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, dword [sym.imp.USER32.dll_GetClassNameW]
push 0xa0
lea eax, [ebp - 0xa4]
push eax
push esi
call edi
push str.Afx:400000:b:
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpW]
push str.Afx:400000:b:
lea edx, [ebp - 0xa4]
xor ecx, ecx
push edx
mov word [ebp + eax*2 - 0xa4], cx
call ebx
test eax, eax
jne 0x10003442
push 0xe900
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x10003442
push 0xa0
lea ecx, [ebp - 0xa4]
push ecx
push eax
call edi
test eax, eax
je 0x10003442
push str.AfxFrameOrView42
lea edx, [ebp - 0xa4]
push edx
call ebx
test eax, eax
jne 0x10003442
push 0x104
lea eax, [ebp - 0x2ac]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [ebp - 0x2ac]
push ecx
call dword [sym.imp.USER32.dll_CharUpperW]
lea edx, [ebp - 0x2ac]
push str.POWERLOGIC
push edx
call fcn.100056bc
add esp, 8
test eax, eax
jne 0x10003430
lea eax, [ebp - 0x2ac]
push str.POWERPCB
push eax
call fcn.100056bc
add esp, 8
test eax, eax
jne 0x10003430
lea ecx, [ebp - 0x2ac]
push str.BLAZEROUTER
push ecx
call fcn.100056bc
add esp, 8
test eax, eax
je 0x10003442
pop edi
mov eax, esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10004fee
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.10004fee
mov esp, ebp
pop ebp
ret

Function at 0x10003460
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x10014018]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x208
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClassNameW]
push str.TWebForm
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x100034d7
push 0x104
lea edx, [ebp - 0x20c]
push edx
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x20c]
push str.AiPICT
push eax
call fcn.100056bc
add esp, 8
test eax, eax
je 0x100034d7
mov eax, esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10004fee
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.10004fee
mov esp, ebp
pop ebp
ret
Function at 0x100034f0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x10014018]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x208
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClassNameW]
push str.Afx:400000:b:
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push str.Afx:400000:b:
lea edx, [ebp - 0x20c]
xor ecx, ecx
push edx
mov word [ebp + eax*2 - 0x20c], cx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x1000357c
push 0x104
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [ebp - 0x20c]
push str.PhotoEnhancer
push ecx
call fcn.100056bc
add esp, 8
test eax, eax
je 0x1000357c
mov eax, esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10004fee
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.10004fee
mov esp, ebp
pop ebp
ret

Function at 0x10004120
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d0
mov eax, dword [0x10014018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
push 0x208
lea eax, [ebp - 0x2b0]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [ebp - 0x2b0]
push ecx
call dword [sym.imp.USER32.dll_CharUpperW]
mov edi, dword [sym.imp.USER32.dll_GetClassNameW]
push 0xa0
lea edx, [ebp - 0xa8]
push edx
push esi
call edi
push str.Afx:400000:0
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpW]
push str.Afx:400000:0
lea edx, [ebp - 0xa8]
xor ecx, ecx
push edx
mov word [ebp + eax*2 - 0xa8], cx
call ebx
test eax, eax
jne 0x10004290
lea eax, [ebp - 0x2b0]
push str.CADSEE
push eax
call fcn.100056bc
add esp, 8
test eax, eax
je 0x10004290
push 0xe900
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x2c4], eax
test eax, eax
je 0x1000425d
push 0xa0
lea ecx, [ebp - 0xa8]
push ecx
push eax
call edi
test eax, eax
je 0x1000425d
push str.AfxWnd42s
lea edx, [ebp - 0xa8]
push edx
call ebx
test eax, eax
jne 0x1000425d
mov eax, dword [ebp - 0x2c4]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1000425d
mov edx, dword [ebp - 0x2c4]
lea ecx, [ebp - 0x2c0]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x2cc]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [ebp - 0x2c8]
mov edx, dword [ebp - 0x2cc]
push ecx
push edx
lea eax, [ebp - 0x2c0]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x10004290
mov eax, dword [ebp - 0x2c4]
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10004fee
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x2c4]
push ecx
push 0x100042b0
push esi
mov dword [ebp - 0x2c4], 0
call dword [sym.imp.USER32.dll_EnumChildWindows]
mov eax, dword [ebp - 0x2c4]
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10004fee
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.10004fee
mov esp, ebp
pop ebp
ret

Function at 0x10004fee
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10014018]
jne 0x10004ff8
repz ret
jmp fcn.10005999
Function at 0x10008e9b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10014018]
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.10006a8f
and dword [ebp - 0x14], 0
cmp dword [0x10015c30], 0
mov dword [ebp - 0x18], eax
jne 0x10008f4e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x10008ff6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x10008ff6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x10015c30], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x10015c34], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x10015c38], eax
call edi
push eax
call esi
mov dword [0x10015c40], eax
test eax, eax
je 0x10008f4e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x10015c3c], eax
mov eax, dword [0x10015c3c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x10008fa7
cmp dword [0x10015c40], ecx
je 0x10008fa7
push eax
call esi
push dword [0x10015c40]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x10008fa7
test ebx, ebx
je 0x10008fa7
call edi
test eax, eax
je 0x10008f9e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x10008f9e
test byte [ebp - 8], 1
jne 0x10008fa7
or dword [ebp + 0x10], 0x200000
jmp 0x10008fda
mov eax, dword [0x10015c34]
cmp eax, dword [ebp - 0x18]
je 0x10008fda
push eax
call esi
test eax, eax
je 0x10008fda
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10008fda
mov eax, dword [0x10015c38]
cmp eax, dword [ebp - 0x18]
je 0x10008fda
push eax
call esi
test eax, eax
je 0x10008fda
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x10015c30]
call esi
test eax, eax
je 0x10008ff6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x10008ff8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10004fee
leave
ret

Function at 0x10009181
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x100091bc
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x100091a3
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x100091b4
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x100091be
inc edi
add eax, 0x28
cmp edi, esi
jb 0x10009199
xor eax, eax
pop edi
pop esi
ret
Function at 0x10009443
Capabilities:
Contain obfuscated stackstrings

Disassembly:
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.10009141
add eax, 0x8d737ed3
inc ebp
rcl byte [eax - 0x18], 0xc5
cld
invalid

Function at 0x10009823
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x10009818
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x10009836
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
add byte [eax], al
add byte [eax], al
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x10009894
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x1000987b
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x10009884
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x1000988e
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x10009870
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x100097fa
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x100098e1
dec eax
je 0x100098d8
sub eax, 3
je 0x100098cf
mov dword [ebp - 4], 0x40
jmp 0x100098fe
mov dword [ebp - 4], 4
jmp 0x100098e4
mov dword [ebp - 4], 0x20
jmp 0x100098e4
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x10009930
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x100098b0
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.10009141
cmp dword [edi + edx*2 + 0x6a1475ff], esp
add dword [esi - 1], edx
xlatb
mov eax, esi
jmp 0x1000993c
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret