joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c520
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42755d
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x434040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 0xc]
mov eax, dword [ebx + 0x30]
push 0
push 0
push 3
push edi
push 1
call eax
mov esi, eax
mov ecx, 2
mul ecx
mov ecx, 0xffffffff
cmovb eax, ecx
push eax
call fcn.0040f15a
add esp, 4
mov dword [ebp - 0x10], eax
push esi
push eax
push 3
push edi
mov dword [ebp - 4], 0
mov ecx, dword [ebx + 0x30]
push 1
call ecx
mov ebx, dword [ebp + 8]
xor eax, eax
mov edi, dword [ebp - 0x10]
mov esi, edi
mov dword [ebx], eax
mov dword [ebx + 4], eax
lea ecx, [esi + 2]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], eax
lea esp, [esp]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x40c5b0
sub esi, ecx
sar esi, 1
cmp esi, 0x7ffffffe
ja 0x40c6a2
cmp esi, 7
ja 0x40c5f2
mov dword [ebx + 0x10], esi
add esi, esi
push esi
push edi
push ebx
mov dword [ebx + 0x14], 7
call fcn.00410960
add esp, 0xc
xor eax, eax
mov word [esi + ebx], ax
jmp 0x40c67e
mov edi, esi
or edi, 7
cmp edi, 0x7ffffffe
jbe 0x40c637
mov eax, 0x7fffffff
mov edi, 0x7ffffffe
add eax, eax
cmp eax, 0x1000
jb 0x40c651
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x40c69d
push ecx
call fcn.0040f117
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x40c6a7
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x40c65a
mov eax, 0xa
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
cmp eax, 0x7fffffff
ja 0x40c69d
add eax, eax
jne 0x40c60b
jmp 0x40c65a
push eax
call fcn.0040f117
add esp, 4
mov dword [ebx + 0x10], esi
add esi, esi
mov dword [ebx + 0x14], edi
mov edi, dword [ebp - 0x10]
push esi
push edi
push eax
mov dword [ebp + 0xc], eax
mov dword [ebx], eax
call fcn.00410960
mov eax, dword [ebp + 0xc]
add esp, 0xc
xor ecx, ecx
mov word [esi + eax], cx
push edi
call fcn.0040f112
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.00401115
call fcn.0040118c
call fcn.00417f31
int3
Function at 0x40d0e0
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x434040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
push esi
push edi
test ecx, ecx
je 0x40d1f1
push eax
push 0x80
push 3
push eax
push 1
push 0x80000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x40d1f1
push 0x8000
mov dword [ebp - 0x60], 0x67452301
mov dword [ebp - 0x5c], 0xefcdab89
mov dword [ebp - 0x58], 0x98badcfe
mov dword [ebp - 0x54], 0x10325476
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
call fcn.0040f15a
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
add esp, 4
mov edi, eax
mov dword [ebp - 0x8c], 0
lea eax, [ebp - 0x8c]
push 0
push eax
push 0x8000
push edi
push esi
call ebx
test eax, eax
je 0x40d1e6
jmp 0x40d1a0
mov eax, dword [ebp - 0x8c]
test eax, eax
je 0x40d246
lea edx, [ebp - 0x98]
mov dword [ebp - 0x98], edi
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x94], eax
call fcn.0040d9d0
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
lea eax, [ebp - 0x8c]
push eax
push 0x8000
push edi
push esi
call ebx
test eax, eax
jne 0x40d1a0
push 1
push edi
call fcn.0040f14c
add esp, 8
xor bl, bl
mov esi, dword [ebp - 0x90]
test esi, esi
je 0x40d2a4
lea edx, [ebp - 0x70]
lea ecx, [ebp - 0x88]
call fcn.0040dc50
push eax
mov ecx, esi
call fcn.00409180
mov ecx, dword [ebp - 0x74]
cmp ecx, 0xf
jbe 0x40d2a4
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40d29a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d2b7
jmp 0x40d29a
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [ebp - 0x60]
lea ecx, [ebp - 0x70]
call fcn.0040db10
lea ecx, [ebp - 0x70]
mov edx, 0x42ff70
mov esi, 0xc
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x40d288
add ecx, 4
add edx, 4
sub esi, 4
jae 0x40d265
push 1
push edi
xor bl, bl
call fcn.0040f14c
add esp, 8
jmp 0x40d1f3
push 1
push edi
mov bl, 1
call fcn.0040f14c
add esp, 8
jmp 0x40d1f3
push ecx
push edx
call fcn.0040f14c
add esp, 8
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040f104
mov esp, ebp
pop ebp
ret
call fcn.00417f31
int3

Function at 0x40d2c0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ecx + 4]
xor edx, edx
push ebx
push esi
push edi
mov ebx, dword [eax + 0x3c]
add ebx, eax
mov dword [ebp - 4], eax
xor edi, edi
movzx ecx, word [ebx + 6]
cmp edx, ecx
jae 0x40d319
movzx esi, word [ebx + 0x14]
add esi, 0x18
add esi, edi
add esi, ebx
je 0x40d319
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp - 4]
add ecx, eax
neg eax
sbb eax, eax
and eax, ecx
cmp eax, dword [ebp + 8]
ja 0x40d308
mov ecx, dword [esi + 8]
add ecx, eax
cmp ecx, dword [ebp + 8]
ja 0x40d30e
inc edx
add edi, 0x28
jmp 0x40d2d6
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40ff54
Capabilities:
Parse pe header

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

Function at 0x41fd2d
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x434040]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x41fd78
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0041fec6
test al, al
jne 0x41fd72
sub edx, 2
cmp edx, edi
jne 0x41fd58
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x41fd9a
lea eax, [edi + 2]
cmp edx, eax
je 0x41fd9a
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0041fc79
add esp, 0x10
jmp 0x41fe92
push esi
lea ecx, [ebp - 0x255]
call fcn.0041fec6
sub edx, edi
xor ecx, ecx
sar edx, 1
inc edx
test al, al
lea eax, [ebp - 0x254]
cmovne ecx, edx
xor ebx, ebx
push ebx
push ebx
push ebx
push eax
push ebx
push edi
mov dword [ebp - 0x260], ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41fddb
push dword [ebp - 0x25c]
jmp 0x41fd8a
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x41fe18
cmp word [ebp - 0x226], 0
je 0x41fe39
cmp word [ebp - 0x226], ax
jne 0x41fe18
cmp word [ebp - 0x224], 0
je 0x41fe39
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0041fc79
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x41fe85
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x41fdf2
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x41fe6d
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x41fe92
push 0x41faa9
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.004238f0
add esp, 0x10
jmp 0x41fe62
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040f104
leave
ret
Function at 0x422a60
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0041cd8a
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x422acf
cmp esi, dword [ebp - 4]
je 0x422aca
cmp dword [ebp + 0xc], 0
je 0x422aca
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x422aa7
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.004225b5
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x422ad1
xor eax, eax
inc eax
jmp 0x422ad1
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x422b3c
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x434040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.0041cd8a
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.0041cd8a
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x422bb3
cmp word [ecx], dx
je 0x422bb3
mov eax, dword [0x42c564]
push edi
dec eax
push eax
push 0x42c450
call fcn.00422ad5
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x422c26
cmp word [eax], dx
je 0x422c26
mov eax, dword [edi]
test eax, eax
je 0x422bd7
cmp word [eax], dx
je 0x422bd7
lea eax, [ebp - 0x10]
push eax
call fcn.004224bb
jmp 0x422be0
lea eax, [ebp - 0x10]
push eax
call fcn.00422556
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x422c50
mov eax, dword [0x42c44c]
push dword [ebp - 0x14]
dec eax
push eax
push 0x42c140
call fcn.00422ad5
add esp, 0xc
test al, al
je 0x422c50
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x422c1b
cmp word [eax], di
je 0x422c1b
lea eax, [ebp - 0x10]
push eax
call fcn.004224bb
pop ecx
jmp 0x422c52
lea eax, [ebp - 0x10]
push eax
call fcn.00422556
jmp 0x422c18
mov eax, dword [edi]
test eax, eax
je 0x422c3d
cmp word [eax], dx
je 0x422c3d
lea eax, [ebp - 0x10]
push eax
call fcn.00422470
pop ecx
jmp 0x422c50
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x422d1b
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.0042295a
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x422d1b
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x422d1b
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x422d1b
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x422ca8
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.0041d8c3
test ebx, ebx
je 0x422d16
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.0041d8c3
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x422d1b
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x422d1b
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.004187d3
add esp, 0x10
xor eax, eax
inc eax
jmp 0x422d1d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040f104
leave
ret
Function at 0x4265e0
Capabilities:
Parse pe header

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

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

Disassembly:
pushal
nop
nop
nop
call 0x43300c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x40170c
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff3c
push dword [ebp + 8]
push 0
push 1
call fcn.004b8c2a
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x401887
call fcn.004b8aec
cmp eax, 5
je 0x40173f
xor eax, eax
jmp 0x4018be
mov dword [ebp - 0xa4], 0x94
lea edx, [ebp - 0xa4]
push edx
call fcn.004b8b82
cmp dword [ebp - 0x94], 2
je 0x40176c
push 5
call fcn.004b8c90
xor eax, eax
jmp 0x4018be
mov dword [ebp - 0xc], 0x10
lea edx, [ebp - 0x10]
push edx
push 0
push 0x28
call fcn.004b8ab0
push eax
call fcn.004b899a
test eax, eax
jne 0x4017b9
call fcn.004b8aec
cmp eax, 0x3f0
je 0x40179d
xor eax, eax
jmp 0x4018be
lea edx, [ebp - 0x10]
push edx
push 0x28
call fcn.004b8aa4
push eax
call fcn.004b8988
test eax, eax
jne 0x4017b9
xor eax, eax
jmp 0x4018be
mov dword [ebp - 0xb4], 1
mov dword [ebp - 0xa8], 2
lea edx, [ebp - 0xb0]
push edx
push str.SeDebugPrivilege
push 0
call fcn.004b8982
lea ecx, [ebp - 0xc]
push ecx
lea eax, [ebp - 0xc4]
push eax
push 0x10
lea edx, [ebp - 0xb4]
push edx
push 0
push dword [ebp - 0x10]
call fcn.004b8958
test eax, eax
jne 0x401821
call fcn.004b8aec
mov dword [ebp - 8], eax
push dword [ebp - 0x10]
call fcn.004b89f0
push dword [ebp - 8]
call fcn.004b8c90
xor eax, eax
jmp 0x4018be
call fcn.004b8aec
cmp eax, 0x514
jne 0x401840
push dword [ebp - 0x10]
call fcn.004b89f0
push 5
call fcn.004b8c90
xor eax, eax
jmp 0x4018be
push dword [ebp + 8]
push 0
push 1
call fcn.004b8c2a
mov dword [ebp - 4], eax
call fcn.004b8aec
mov dword [ebp - 8], eax
push 0
push 0
push 0x10
lea edx, [ebp - 0xc4]
push edx
push 0
push dword [ebp - 0x10]
call fcn.004b8958
push dword [ebp - 0x10]
call fcn.004b89f0
cmp dword [ebp - 4], 0
jne 0x401887
push 0
call fcn.004b8c90
xor eax, eax
jmp 0x4018be
push 0xffffffffffffffff
push dword [ebp - 4]
call fcn.004b8cb4
test eax, eax
jne 0x4018b1
call fcn.004b8aec
mov dword [ebp - 8], eax
push dword [ebp - 4]
call fcn.004b89f0
push dword [ebp - 8]
call fcn.004b8c90
xor eax, eax
jmp 0x4018be
push dword [ebp - 4]
call fcn.004b89f0
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x4106e8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
mov eax, 0x5cb04c
call fcn.00496be4
mov dword [ebp - 0xc], 1
lea edx, [ebp + 0xc]
lea eax, [ebp + 0xc]
call fcn.004a4524
inc dword [ebp - 0xc]
mov word [ebp - 0x18], 8
mov word [ebp - 0x18], 0x14
lea edx, [ebp + 0xc]
lea eax, [ebp - 4]
call fcn.004a4524
inc dword [ebp - 0xc]
mov word [ebp - 0x18], 8
mov byte [ebp - 0x29], 1
lea eax, [ebp - 4]
call fcn.00403ab8
mov dword [ebp - 0x30], eax
xor edx, edx
mov dword [ebp - 0x34], edx
mov ecx, dword [ebp - 0x34]
cmp ecx, dword [ebp - 0x30]
jge 0x410765
lea eax, [ebp - 4]
call fcn.00401b28
mov edx, dword [ebp - 0x34]
mov cl, byte [ebp - 0x29]
xor byte [eax + edx], cl
inc dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x30]
jl 0x410749
mov word [ebp - 0x18], 0x20
lea edx, [ebp - 4]
mov eax, dword [ebp + 8]
call fcn.004a46c0
mov eax, dword [ebp + 8]
mov word [ebp - 0x18], 0x2c
push eax
dec dword [ebp - 0xc]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004a4690
dec dword [ebp - 0xc]
lea eax, [ebp + 0xc]
mov edx, 2
call fcn.004a4690
pop eax
mov word [ebp - 0x18], 0x20
inc dword [ebp - 0xc]
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
mov esp, ebp
pop ebp
ret

Function at 0x4107b8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
mov eax, 0x5cb0d0
call fcn.00496be4
mov dword [ebp - 0xc], 1
lea edx, [ebp + 0xc]
lea eax, [ebp + 0xc]
call fcn.004a4524
inc dword [ebp - 0xc]
mov word [ebp - 0x18], 8
mov word [ebp - 0x18], 0x14
lea edx, [ebp + 0xc]
lea eax, [ebp - 4]
call fcn.004a4524
inc dword [ebp - 0xc]
mov word [ebp - 0x18], 8
mov byte [ebp - 0x29], 0x15
lea eax, [ebp - 4]
call fcn.00403ab8
mov dword [ebp - 0x30], eax
xor edx, edx
mov dword [ebp - 0x34], edx
mov ecx, dword [ebp - 0x34]
cmp ecx, dword [ebp - 0x30]
jge 0x410835
lea eax, [ebp - 4]
call fcn.00401b28
mov edx, dword [ebp - 0x34]
mov cl, byte [ebp - 0x29]
xor byte [eax + edx], cl
inc dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x30]
jl 0x410819
mov word [ebp - 0x18], 0x20
lea edx, [ebp - 4]
mov eax, dword [ebp + 8]
call fcn.004a46c0
mov eax, dword [ebp + 8]
mov word [ebp - 0x18], 0x2c
push eax
dec dword [ebp - 0xc]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004a4690
dec dword [ebp - 0xc]
lea eax, [ebp + 0xc]
mov edx, 2
call fcn.004a4690
pop eax
mov word [ebp - 0x18], 0x20
inc dword [ebp - 0xc]
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
mov esp, ebp
pop ebp
ret

Function at 0x45ad58
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x45ad5e
ret
Function at 0x4a68f8
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x4a6926
mov eax, ebx
call fcn.004a739c
cmp dword [ebx + 0x3c], 0
je 0x4a691f
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x4a6997
mov edx, dword [ebx + 0x1a6]
cmp dword [edx + 0x10], 0
je 0x4a6989
cmp dword [ebx + 8], 0
je 0x4a6948
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1a6]
call dword [edx]
test eax, eax
jne 0x4a695a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4a6989
cmp dword [ebx + 8], 0
je 0x4a693b
cmp eax, 3
je 0x4a696d
dec eax
jne 0x4a693b
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 0x4a693b
mov edx, dword [ebx + 0x132]
add dword [eax + 8], edx
jmp 0x4a693b
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x4a69b5
cmp dword [ebx + 0x10], 0xcc
je 0x4a69b5
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004a69c0
pop ebx
ret
Function at 0x431001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
call 0x43100c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403e6a
sub eax, 0x403e10
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x431030
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43101e
popal
nop
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x4010c0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov ebx, ecx
mov ecx, dword [ebp + 8]
push edi
mov dword [ebp - 0xc], ebx
call fcn.00401252
push dword [ebx]
call fcn.00401097
test al, al
je 0x4010e8
xor al, al
jmp 0x4011a1
push dword [ebx]
call fcn.00401097
xor edi, edi
test al, al
jne 0x401108
push edi
push edi
push 0xe
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 8], eax
test eax, eax
jne 0x401110
mov eax, 0x7fff
mov dword [ebp - 8], eax
lea esi, [eax + 1]
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00405a6a
pop ecx
mov ebx, eax
mov eax, dword [ebp - 0xc]
push ebx
push esi
push 0xd
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jle 0x401198
push ebx
call fcn.004059a0
pop ecx
cmp eax, dword [ebp - 8]
jne 0x40118f
test eax, eax
je 0x401161
mov cl, byte [edi + ebx]
cmp cl, 0x20
jl 0x40118f
cmp cl, 0x7e
jg 0x40118f
inc edi
cmp edi, eax
jb 0x40114f
push ebx
lea ecx, [ebp - 0x1c]
call fcn.00401293
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push eax
call fcn.00401020
mov esi, dword [ebp - 0x10]
dec dword [esi]
jne 0x401198
push dword [ebp - 0x1c]
call fcn.00405ae0
push esi
call fcn.00405ae0
pop ecx
pop ecx
jmp 0x401198
mov ecx, dword [ebp + 8]
push ebx
call fcn.004013ab
push ebx
call fcn.00405ae0
pop ecx
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x401bc3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
lea eax, [ebp - 8]
xor ebx, ebx
push eax
push 0x20019
push ebx
push str.SoftwareAutoIt_v3AU3Info
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x401d53
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 4]
push 4
pop edi
push eax
push 0x41a060
push ebx
push ebx
push str.WinX
push dword [ebp - 8]
mov dword [ebp - 4], edi
call esi
lea eax, [ebp - 4]
mov dword [ebp - 4], edi
push eax
push 0x41a064
push ebx
push ebx
push str.WinY
push dword [ebp - 8]
call esi
push str.user32.dll
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
test edi, edi
je 0x401c72
push str.MonitorFromPoint
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x401c6b
push ebx
push dword [0x41a064]
push dword [0x41a060]
call eax
test eax, eax
jne 0x401c6b
mov dword [0x41a060], ebx
mov dword [0x41a064], ebx
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 4]
push eax
push 0x41a068
push ebx
push ebx
push str.WinW
push dword [ebp - 8]
call esi
push 4
pop edi
lea eax, [ebp - 4]
mov dword [ebp - 4], edi
push eax
push 0x41a06c
push ebx
push ebx
push str.WinH
push dword [ebp - 8]
call esi
lea eax, [ebp - 4]
mov dword [ebp - 4], edi
push eax
push 0x41a050
push ebx
push ebx
push str.CoordMode
push dword [ebp - 8]
call esi
lea eax, [ebp - 4]
mov dword [ebp - 4], edi
push eax
push 0x41a070
push ebx
push ebx
push str.ControlFindMode
push dword [ebp - 8]
call esi
lea eax, [ebp - 4]
mov dword [ebp - 4], edi
push eax
push 0x41a054
push ebx
push ebx
push str.HighlightControls
push dword [ebp - 8]
call esi
lea eax, [ebp - 4]
mov dword [ebp - 4], edi
push eax
push 0x41a05c
push ebx
push ebx
push str.Magnify
push dword [ebp - 8]
call esi
lea eax, [ebp - 4]
mov dword [ebp - 4], edi
push eax
push 0x41a058
push ebx
push ebx
push str.AlwaysOnTop
push dword [ebp - 8]
call esi
lea eax, [ebp - 4]
mov dword [ebp - 4], edi
push eax
push 0x41a074
push ebx
push ebx
push str.HighlightColor
push dword [ebp - 8]
call esi
lea eax, [ebp - 4]
mov dword [ebp - 4], edi
push eax
push 0x41a078
push ebx
push ebx
push str.LastTab
push dword [ebp - 8]
call esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret