joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10014000
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10018998
push 0x100110c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffffd0
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
cmp dword [ebp + 8], 0
jne 0x1001403d
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
movzx edx, word [ecx]
cmp edx, 0x5a4d
je 0x10014073
push 0xc1
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x34]
jmp 0x100141d1
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
cmp dword [edx], 0x4550
je 0x100140ab
push 0xbf
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x38], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x38]
jmp 0x100141d1
mov eax, dword [ebp - 0x24]
movzx ecx, word [eax + 0x14]
test ecx, ecx
jne 0x100140d7
push 0xc0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x3c]
jmp 0x100141d1
mov edx, dword [ebp - 0x24]
movzx eax, word [edx + 0x14]
mov ecx, dword [ebp - 0x24]
lea edx, [ecx + eax + 0x18]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x28], 0
jmp 0x100140fa
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x24]
movzx edx, word [ecx + 6]
cmp dword [ebp - 0x28], edx
jae 0x100141ab
push str..detour
mov eax, dword [ebp - 0x28]
imul eax, eax, 0x28
mov ecx, dword [ebp - 0x20]
add ecx, eax
push ecx
call fcn.1001110e
add esp, 8
test eax, eax
jne 0x100141a6
mov edx, dword [ebp - 0x28]
imul edx, edx, 0x28
mov eax, dword [ebp - 0x20]
cmp dword [eax + edx + 0xc], 0
je 0x10014147
mov ecx, dword [ebp - 0x28]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0x20]
cmp dword [edx + ecx + 0x10], 0
jne 0x10014149
jmp 0x100141ab
mov eax, dword [ebp - 0x28]
imul eax, eax, 0x28
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
add edx, dword [ecx + eax + 0xc]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx], 0x30
jb 0x10014176
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 4], 0x727444
je 0x10014178
jmp 0x100141ab
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 8], 0
jne 0x1001418c
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx]
mov dword [ecx + 8], eax
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x40]
jmp 0x100141d1
jmp 0x100140f1
mov dword [ebp - 4], 0xffffffff
jmp 0x100141c4
push 0xc0
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10003d68
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.10003a7c
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 0x10003da5
invalid
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.10003ab7
add ah, 0x8f
jnp 0x10003d87
inc ebp
rcl byte [eax - 0x18], 0xc5
cld
invalid

Function at 0x10003eb5
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call fcn.10003a7c
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
and al, dh
inc ebp
movsd dword es:[edi], dword [esi]
xor eax, 0x41a645c6

Function at 0x10003fb5
Capabilities:
Inspect section memory permissions

Disassembly:
add esp, 0x10
mov dword [ebp - 0xc0], eax
Function at 0x10003fbe
Capabilities:
Inspect section memory permissions

Disassembly:
push 0x40
push 0x1000
push dword [ebp + 0xc]
push ebx
call dword [ebp - 0x88]
mov esi, eax
cmp esi, ebx
je 0x100042b0
push dword [ebp - 0xb4]
push dword [ebp + 0x10]
push esi
call fcn.10003a28
add esp, 0xc
cmp word [edi + 6], bx
mov dword [ebp + 0xc], ebx
jbe 0x10004027
movzx eax, word [ebp + 0xc]
mov ecx, dword [ebp - 0x44]
lea eax, [eax + eax*4]
push dword [ecx + eax*8 + 0x10]
lea eax, [ecx + eax*8]
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
add ecx, dword [ebp + 0x10]
add eax, esi
push ecx
push eax
call fcn.10003a28
add esp, 0xc
inc dword [ebp + 0xc]
mov ax, word [ebp + 0xc]
cmp ax, word [edi + 6]
jb 0x10003ff4
call fcn.10003ab7
push 0x8b491f3c
jle 0x1000406f
add edi, esi
mov dword [ebp - 0x88], edi
dec dword [ebx + 0x8087]
add byte [ebx], bh
ret
je 0x100042a6
add eax, esi
mov dword [ebp - 0x44], eax
cmp dword [eax + 4], ebx
jne 0x1000405c
cmp dword [eax + 0xc], ebx
je 0x100040ff
mov edi, dword [eax + 0xc]
add edi, esi
push edi
call dword [ebp - 0xc0]
mov dword [ebp + 0xc], eax
call fcn.10003ab7
cli
invalid
invalid
cmp eax, 0x3975b713
pop ebp
or al, 0x75
adc dl, byte [edi - 1]
xchg ebp, eax
dec eax
invalid
invalid
call fcn.10003ab7
add al, 0x9d
aad 0x31
mov eax, dword [edi + 0xa0]
cmp eax, ebx
je 0x1000416b
add eax, esi
cmp dword [eax], ebx
je 0x1000416b
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x10004166
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x10004150
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x10004158
cmp edx, ebx
jne 0x100042a6
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x10004127
add eax, dword [eax + 4]
jmp 0x10004114
mov dword [ebp + 0xc], ebx
jmp 0x10004176

Function at 0x10004191
Capabilities:
Inspect section memory permissions

Disassembly:
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
Function at 0x1000420a
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x1000418e
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x100041ac
movzx eax, ax
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 fcn.1000420a
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 0x100041f1
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x100041fa
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x10004204
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x100041e6
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x10004170
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 0x10004257
dec eax
je 0x1000424e
sub eax, 3
je 0x10004245
mov dword [ebp - 4], 0x40
jmp 0x10004274
mov dword [ebp - 4], 4
jmp 0x1000425a
mov dword [ebp - 4], 0x20
jmp 0x1000425a
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 0x100042a6
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x10004226
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.10003ab7
cmpsd dword [esi], dword es:[edi]
xor ch, bl
jg 0x1000429a
push dword [ebp + 0x14]
jne 0x100042b1
push 1
push esi
call edi
mov eax, esi
jmp 0x100042b2
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
rcr byte [edi + 0x5e], 0x5b
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10004f15
Capabilities:
Contain obfuscated stackstrings

Disassembly:
xor eax, dword [eax - 0x72b5b]
inc dword [eax]
and byte [ebp - 0x72b], 0
mov byte [ebp - 0x72a], 0xc2
and byte [ebp - 0x729], 0
mov byte [ebp - 0x728], 0x6b
mov byte [ebp - 0x727], 0x54
mov byte [ebp - 0x726], 0x4f
mov byte [ebp - 0x725], 0x49
mov byte [ebp - 0x724], 0x48
mov byte [ebp - 0x723], 0x5c
mov byte [ebp - 0x722], 0x51
mov byte [ebp - 0x721], 0x6d
mov byte [ebp - 0x720], 0x4f
mov byte [ebp - 0x71f], 0x52
mov byte [ebp - 0x71e], 0x49
mov byte [ebp - 0x71d], 0x58
mov byte [ebp - 0x71c], 0x5e
mov byte [ebp - 0x71b], 0x49
mov byte [ebp - 0x71a], 0x3d
call fcn.10003ab7
mov cs, word [ecx]
pop edx
popfd
lea eax, [ebp - 0x72c]
push eax
call fcn.10003ac7
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10003a7c
add esp, 0xc
mov dword [ebp - 0x6e4], eax
call fcn.10003ab7
jb 0x10004f5f
clc
invalid
sub eax, 0xe8858d24
clc
invalid

Function at 0x10007a71
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1000de58]
jne 0x10007a7b
repz ret
jmp fcn.10008c52
Function at 0x10007f45
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.10003fb5
and dword [ebp - 4], 0
cmp dword [0x1000effc], 0
mov ebx, eax
jne 0x10007ff6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x100080a7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x100080a7
push eax
call fcn.10003f43
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1000effc], eax
call esi
push eax
call fcn.10003f43
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1000f000], eax
call esi
push eax
call fcn.10003f43
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1000f004], eax
call esi
push eax
call fcn.10003f43
pop ecx
mov dword [0x1000f00c], eax
test eax, eax
je 0x10007ff6
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10003f43
pop ecx
mov dword [0x1000f008], eax
mov eax, dword [0x1000f008]
cmp eax, ebx
je 0x1000804e
cmp dword [0x1000f00c], ebx
je 0x1000804e
push eax
call fcn.10003fbe
push dword [0x1000f00c]
mov esi, eax
call fcn.10003fbe
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1000804e
test edi, edi
je 0x1000804e
call esi
test eax, eax
je 0x10008045
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10008045
test byte [ebp - 0xc], 1
jne 0x1000804e
or dword [ebp + 0x10], 0x200000
jmp 0x10008087
mov eax, dword [0x1000f000]
cmp eax, ebx
je 0x10008087
push eax
call fcn.10003fbe
pop ecx
test eax, eax
je 0x10008087
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10008087
mov eax, dword [0x1000f004]
cmp eax, ebx
je 0x10008087
push eax
call fcn.10003fbe
pop ecx
test eax, eax
je 0x10008087
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1000effc]
call fcn.10003fbe
pop ecx
test eax, eax
je 0x100080a7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x100080a9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4125d0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4125fd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4125fd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x405178
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00404e38
Function at 0x416030
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xe000]
push edi
jmp 0x41604a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x416051
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x416040
mov eax, 1
add ebx, ebx
jne 0x416063
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x416074
jne 0x416093
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x416093
dec eax
add ebx, ebx
jne 0x416080
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x416058
add ebx, ebx
jne 0x41608f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4160e5
xor ecx, ecx
sub eax, 3
jb 0x4160ab
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41611a
sar eax, 1
mov ebp, eax
jmp 0x4160b6
add ebx, ebx
jne 0x4160b6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x416084
inc ecx
add ebx, ebx
jne 0x4160c4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x416084
add ebx, ebx
jne 0x4160d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4160c6
jne 0x4160e2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4160c6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x416104
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4160f6
jmp 0x416046
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x416104
add edi, ecx
jmp 0x416046
pop esi
mov edi, esi
mov ecx, 0xa600
jmp 0x416156
mov al, byte [edi]
add edi, 1
cmp al, 0x80
jb 0x416137
cmp al, 0x8f
ja 0x416137
cmp byte [edi - 2], 0xf
je 0x41613d
sub al, 0xe8
cmp al, 1
ja 0x416160
cmp byte [edi], 1
jne 0x416160
mov eax, dword [edi]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
mov dword [edi], eax
add edi, 4
sub ecx, 4
mov al, byte [edi]
add edi, 1
loop 0x416137
sub ecx, 1
jg 0x416124
lea edi, [esi + 0x14000]
mov eax, dword [edi]
or eax, eax
je 0x4161b6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x16ff0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x170cc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41616b
mov ecx, edi
jns 0x41619a
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 + 0x170d0]
or eax, eax
je 0x4161b0
mov dword [ebx], eax
add ebx, 4
jmp 0x416188
call dword [esi + 0x170e0]
mov ebp, dword [esi + 0x170d4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x4161ea
sub esp, 0xffffff80
jmp 0x40b194
Function at 0xe1dc7c
Capabilities:
Encode data using xor

Disassembly:
jmp 0xe1dc86
pushal
call 0xe1dc8c
pop ebp
sub ebp, 0x10
sub ebp, 0xa1dc7c
jmp 0xe1dca2
mov eax, 0xa1dc7c
add eax, ebp
add eax, 0x4c
mov ecx, 0x5af
mov edx, 0x4d3623cc
xor byte [eax], dl
inc eax
dec ecx
jne 0xe1dcb9
jmp 0xe1dccc
inc edi
add dword [edi + 0x45], eax
invalid
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
pop edi
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x433072
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
mov esi, 0x52b218a8
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x433060
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4330d2
mov ebx, 0x4304d8
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x53e91552
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x4015dd
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x45507c]
jne 0x4015e7
repz ret
jmp fcn.00401f07

Function at 0x407a1c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x45507c]
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.004056e4
and dword [ebp - 0x14], 0
cmp dword [0x457e50], 0
mov dword [ebp - 0x18], eax
jne 0x407acf
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x407b77
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x407b77
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x457e50], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x457e54], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x457e58], eax
call edi
push eax
call esi
mov dword [0x457e60], eax
test eax, eax
je 0x407acf
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x457e5c], eax
mov eax, dword [0x457e5c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x407b28
cmp dword [0x457e60], ecx
je 0x407b28
push eax
call esi
push dword [0x457e60]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x407b28
test ebx, ebx
je 0x407b28
call edi
test eax, eax
je 0x407b1f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x407b1f
test byte [ebp - 8], 1
jne 0x407b28
or dword [ebp + 0x10], 0x200000
jmp 0x407b5b
mov eax, dword [0x457e54]
cmp eax, dword [ebp - 0x18]
je 0x407b5b
push eax
call esi
test eax, eax
je 0x407b5b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x407b5b
mov eax, dword [0x457e58]
cmp eax, dword [ebp - 0x18]
je 0x407b5b
push eax
call esi
test eax, eax
je 0x407b5b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x457e50]
call esi
test eax, eax
je 0x407b77
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x407b79
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004015dd
leave
ret
Function at 0x10002d20
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10020312
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x1003106c]
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 dword [ebp - 0x24c], ecx
xor esi, esi
mov byte [ebp - 0x241], 0
push esi
mov dword [ebp - 0x248], esi
push 2
mov dword [ebp - 0x240], 0x22c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea ecx, [ebp - 0x240]
mov dword [ebp - 0x250], eax
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x10002ef9
nop dword [eax]
nop word [eax + eax]
mov dword [ebp - 4], 0
lea eax, [ebp - 0x21c]
or esi, 1
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 0xf
lea edx, [eax + 2]
mov byte [ebp - 0x268], 0
mov dword [ebp - 0x248], esi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10002dd4
push 0
push 0
push 0
sub eax, edx
push 0
sar eax, 1
push eax
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, eax
lea eax, [ebx + 1]
push eax
call fcn.1000987f
lea ecx, [ebp - 0x21c]
add esp, 4
mov edi, eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10002e16
push 0
push 0
push ebx
push edi
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, edi
mov byte [edi + ebx], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10002e46
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x268]
call fcn.10006590
push 1
push edi
call fcn.10009871
mov edi, dword [ebp - 0x24c]
lea ecx, [ebp - 0x268]
add esp, 8
mov eax, edi
cmp dword [ebp - 0x254], 0x10
cmovae ecx, dword [ebp - 0x268]
cmp dword [edi + 0x14], 0x10
jb 0x10002e8b
mov eax, dword [edi]
push ecx
push eax
call fcn.1000f2ed
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x254]
test eax, eax
sete bl
and esi, 0xfffffffe
cmp edx, 0x10
jb 0x10002eda
mov ecx, dword [ebp - 0x268]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10002ed0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002f1f
push edx
push ecx
call fcn.10009871
add esp, 8
test bl, bl
jne 0x10002f1b
lea eax, [ebp - 0x240]
push eax
push dword [ebp - 0x250]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x10002da0
mov al, byte [ebp - 0x241]
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.1000959e
mov esp, ebp
pop ebp
ret
mov al, 1
jmp 0x10002eff
call fcn.1000e971
int3
Function at 0x100053a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x100053cb
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10005cc0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], eax
test eax, eax
je 0x100053ed
mov eax, dword [ebx + 0x30]
mov eax, dword [eax]
jmp 0x100053ef
xor eax, eax
cdq
mov dword [esp + 0xc], eax
mov ecx, edx
mov dword [esp + 0x10], ecx
test edi, edi
jl 0x10005473
jg 0x10005404
test esi, esi
je 0x10005473
test ecx, ecx
jl 0x1000544d
jg 0x1000540e
test eax, eax
je 0x1000544d
cmp edi, ecx
jg 0x10005422
jl 0x10005418
cmp esi, eax
jae 0x10005422
mov eax, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x1c]
call fcn.1000adb0
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [ebx + 0x30]
add edx, ecx
sub esi, ecx
sbb edi, dword [esp + 0x10]
sub dword [eax], ecx
mov eax, dword [ebx + 0x20]
add dword [eax], ecx
jmp 0x10005450
mov edx, dword [ebp + 8]
test edi, edi
jl 0x10005473
jg 0x1000545a
test esi, esi
je 0x10005473
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x10005473
push eax
push esi
push 1
push edx
call fcn.1000ee21
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc