joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002c0e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10083620
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push esi
push edi
mov esi, ecx
call fcn.10029c20
mov ebx, eax
test ebx, ebx
mov dword [esp + 0xc], ebx
jne 0x1002c139
mov eax, dword [esp + 0x68]
xor ecx, ecx
mov ebx, eax
xor edx, edx
xor esi, esi
xor edi, edi
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
add esp, 0x58
ret 0xc
push ebp
mov ecx, ebx
call fcn.10026fd0
mov ebp, dword [esp + 0x70]
mov edi, eax
add edi, ebp
mov ecx, ebx
mov dword [esp + 0x28], edi
call fcn.10026fc0
mov edx, dword [esp + 0x74]
mov ecx, esi
add eax, edx
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push eax
call fcn.1002b790
mov ebp, dword [eax]
lea edx, [esp + 0x38]
push edx
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0x1c]
push eax
mov dword [esp + 0x24], ecx
call dword [0x100863d8]
push 0
lea ecx, [esp + 0x4c]
call fcn.1007d45e
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x58]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
mov dword [esp + 0x70], 0
call fcn.100417a0
add esp, 0xc
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x18]
call fcn.10029640
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x38]
push 2
push edx
push eax
mov byte [esp + 0x70], 1
call dword [0x100860f4]
mov ecx, ebx
call fcn.10026f40
mov ebx, eax
mov eax, edi
cmp eax, ebx
jge 0x1002c204
push edi
mov ecx, esi
call fcn.10029750
push eax
push ebp
mov ecx, esi
call fcn.10029910
cmp eax, dword [esp + 0x40]
jg 0x1002c200
inc edi
mov ebp, eax
cmp edi, ebx
jl 0x1002c1de
mov eax, ebx
jmp 0x1002c20a
cmp edi, ebx
jl 0x1002c208
mov eax, ebx
jmp 0x1002c20a
mov eax, edi
lea ecx, [eax - 1]
mov eax, dword [esp + 0x28]
cmp eax, ecx
jle 0x1002c21b
mov dword [esp + 0x30], eax
jmp 0x1002c226
cmp edi, ebx
jl 0x1002c221
mov edi, ebx
dec edi
mov dword [esp + 0x30], edi
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
call fcn.10026f00
mov ebp, eax
mov eax, dword [esp + 0x2c]
cmp eax, ebp
mov edi, eax
jge 0x1002c26d
push edi
mov ecx, esi
call fcn.10029670
push eax
push ebx
mov ecx, esi
call fcn.10029a40
cmp eax, dword [esp + 0x44]
jg 0x1002c265
inc edi
mov ebx, eax
cmp edi, ebp
jl 0x1002c23f
mov eax, dword [esp + 0x2c]
mov ecx, ebp
jmp 0x1002c277
cmp edi, ebp
jl 0x1002c271
mov eax, dword [esp + 0x2c]
mov ecx, ebp
jmp 0x1002c277
mov eax, dword [esp + 0x2c]
mov ecx, edi
dec ecx
cmp eax, ecx
jle 0x1002c280
mov ecx, eax
jmp 0x1002c289
cmp edi, ebp
jl 0x1002c286
mov edi, ebp
lea ecx, [edi - 1]
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x28]
mov edx, esi
mov dword [edx], edi
mov dword [edx + 4], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [esp + 0x14]
call fcn.10029660
lea ecx, [esp + 0x48]
mov dword [esp + 0x64], 0xffffffff
call fcn.1007d4d0
mov ecx, dword [esp + 0x5c]
pop ebp
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret 0xc
Function at 0x10032200
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10083ad8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x10032239
inc eax
mov dword [esi + 0x10], eax
jmp 0x1003234c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x1003224d
mov eax, 0xffffffc7
jmp 0x1003234e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x1003225e
cmp dword [esi + 8], eax
jne 0x1003224d
cmp dword [esi + 8], eax
jne 0x10032277
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x10032277
mov eax, 0xffffffc7
jmp 0x1003234e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x1003228b
push eax
mov ecx, ebx
call fcn.10031a30
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.100076a0
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x100322bc
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.100076c0
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.100311a0
test eax, eax
mov dword [esp + 0x38], eax
je 0x100322ef
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x10975fe0
call fcn.100078a0
mov eax, dword [esp + 0x38]
jmp 0x1003234e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.10032060
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x10032333
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.10032080
mov esi, eax
test esi, esi
jne 0x10032363
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.10032060
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x10032305
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x10975fe0
call fcn.100078a0
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x10975fe0
call fcn.100078a0
mov eax, esi
jmp 0x1003234e
Function at 0x10041e40
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x100843c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [0x100863d8]
push 0
lea ecx, [esp + 0x20]
call fcn.1007d45e
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.100417a0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.1007d38c
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.10079c67
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.10079c67
push 1
push 0
push 0
mov ecx, esi
call fcn.10079c0f
push 1
push 0
push 1
mov ecx, esi
call fcn.10079c0f
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.1007d4d0
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x10041fc0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x100843e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.1007d45e
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.100417a0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.1007d38c
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [0x100863d8]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x10042084
cmp dword [esp + 0x40], 1
jne 0x10042082
cmp ecx, eax
jge 0x10042084
mov eax, ecx
cmp eax, 0xc8
jge 0x10042090
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.10041e40
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [0x100863dc]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.1007d4d0
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x10042890
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x10084493
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.1007809f
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], 0x10977a70
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], 0x109779b8
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [0x100860bc]
push eax
mov ecx, edi
call fcn.1007d706
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.1007ec22
test eax, eax
je 0x100429ac
mov ecx, dword [esp + 0x3c]
call fcn.1007d733
mov ecx, dword [esi + 0x1c]
mov ebp, dword [0x100863b8]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x10042970
push edi
mov ecx, esi
call fcn.1007ad81
mov ecx, esi
call fcn.10042b50
cmp dword [esp + 0x38], 1
jne 0x100429a5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.1007aebc
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28

Function at 0x10044bc0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x10044bf3
push esi
call fcn.10052e40
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x10044bec
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x10044c79
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x10044c62
mov eax, dword [esi + 8]
test eax, eax
je 0x10044c17
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x10044c5e
cmp eax, 2
je 0x10044c62
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x10044c0a
cmp eax, 3
je 0x10044c3d
cmp eax, 1
jne 0x10044c0a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x10044c0a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x10044c0a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.10044ca0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x10044c88
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.10044ca0
add esp, 4
pop esi
ret
Function at 0x48c4a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x5a000]
push edi
or ebp, 0xffffffff
jmp 0x48c4c2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x48c4c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48c4b8
mov eax, 1
add ebx, ebx
jne 0x48c4db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x48c4ec
jne 0x48c4fc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48c4fc
dec eax
add ebx, ebx
jne 0x48c4f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x48c4d0
xor ecx, ecx
sub eax, 3
jb 0x48c514
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x48c586
sar eax, 1
mov ebp, eax
jmp 0x48c51f
add ebx, ebx
jne 0x48c51f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x48c52c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x48c550
inc ecx
add ebx, ebx
jne 0x48c53c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x48c531
jne 0x48c54d
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x48c531
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x48c570
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x48c561
jmp 0x48c4be
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x48c570
add edi, ecx
jmp 0x48c4be
pop esi
mov edi, esi
mov ecx, 0x568
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x48c58e
cmp byte [edi], 0xa
jne 0x48c58e
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x48c593
lea edi, [esi + 0x8a000]
mov eax, dword [edi]
or eax, eax
je 0x48c60b
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8c848]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8c8e8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x48c5c0
mov ecx, edi
jns 0x48c5ef
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 + 0x8c8ec]
or eax, eax
je 0x48c605
mov dword [ebx], eax
add ebx, 4
jmp 0x48c5dd
call dword [esi + 0x8c8f0]
popal
jmp 0x40a117
Function at 0x6a8d50
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp + 8]
mov dword [ebp - 4], eax
xor eax, eax
mov ecx, dword [ebp - 4]
sub eax, dword [ecx + 0x34]
neg eax
sub dword [ebp + 0xc], eax
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cx, word [eax + 0x14]
add ecx, dword [ebp - 4]
add ecx, 0x18
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], 0
jmp 0x6a8d99
inc dword [ebp - 0x10]
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cx, word [eax + 6]
cmp ecx, dword [ebp - 0x10]
jle 0x6a8dfb
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
cmp dword [eax + 0xc], ecx
ja 0x6a8df2
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
mov ecx, dword [ebp - 8]
add eax, dword [ecx + 0xc]
cmp eax, dword [ebp + 0xc]
jbe 0x6a8df2
mov eax, dword [ebp - 8]
test byte [eax + 0x24], 0x20
je 0x6a8deb
mov eax, 1
jmp 0x6a8e02
xor eax, eax
jmp 0x6a8e02
add dword [ebp - 8], 0x28
jmp 0x6a8d96
xor eax, eax
jmp 0x6a8e02
pop edi
pop esi
pop ebx
leave
ret
Function at 0x6a9562
Capabilities:
Set global application hook
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
push ebx
push esi
push edi
cmp dword [0x6ad954], 0
jne 0x6a9831
mov dword [0x6ad954], 1
dec word [0x6ad964]
inc dword [0x6ade14]
cmp dword [0x6ade14], 5
jbe 0x6a96eb
mov dword [0x6af0a4], 0xffffffff
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
push 0x6addf0
call fcn.006ac544
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [0x6af0a4], eax
cmp dword [0x6af0a4], 0xffffffff
je 0x6a95ed
mov dword [0x6ade10], 1
jmp 0x6a9670
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
push 0x6adde0
call fcn.006ac544
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [0x6af0a4], eax
cmp dword [0x6af0a4], 0xffffffff
je 0x6a9631
mov dword [0x6ade10], 1
jmp 0x6a9670
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
push 0x6ade00
call fcn.006ac544
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [0x6af0a4], eax
cmp dword [0x6af0a4], 0xffffffff
je 0x6a9670
mov dword [0x6ade10], 1
cmp dword [0x6af0a4], 0xffffffff
je 0x6a9689
mov eax, dword [0x6af0a4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x6adde0
call fcn.006ac5a2
add esp, 4
push 0x6addf0
call fcn.006ac5a2
add esp, 4
push 0x6ade00
call fcn.006ac5a2
add esp, 4
jmp 0x6a96b5
mov eax, dword [0x6ade10]
mov dword [0x6ade18], eax
cmp dword [0x6ade10], 0
je 0x6a96e1
cmp dword [0x6ade18], 0
je 0x6a96e1
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov dword [0x6ade14], 0
call fcn.006ab526
test eax, eax
jne 0x6a9770
call fcn.006abfb9
test eax, eax
jne 0x6a9770
push 0xc8
lea eax, [ebp - 0xc8]
push eax
push 0x6ad288
call fcn.006ab23f
add esp, 0xc
push 0
call dword [sym.imp.USER32.dll_MessageBeep]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
push 0x6ac346
push 3
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x6ad978], eax
push 0x2000
push 0x6ad180
lea eax, [ebp - 0xc8]
push eax
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [0x6ad978]
push eax
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
jmp 0x6a96f8
call fcn.006ab526
test eax, eax
je 0x6a979a
xor eax, eax
mov ax, word [0x6ad964]
test eax, eax
jne 0x6a980e
call fcn.006ab571
test eax, eax
jne 0x6a980e
push 0xc8
lea eax, [ebp - 0xc8]
push eax
push 0x6ad288
call fcn.006ab23f
add esp, 0xc
push 0
call dword [sym.imp.USER32.dll_MessageBeep]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
push 0x6ac346
push 3
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x6ad978], eax
push 0x2000
push 0x6ad180
lea eax, [ebp - 0xc8]
push eax
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [0x6ad978]
push eax
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov word [0x6ad964], 0
jmp 0x6a9770
xor eax, eax
mov ax, word [0x6ad964]
test eax, eax
jne 0x6a9827
mov word [0x6ad964], 0xa
mov dword [0x6ad954], 0
jmp 0x6a9836
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x6ab0a4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 0
push 0x40
push 0x3000
push 0x61
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0xc], eax
push 0x40
push 0x3000
push 0x61
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x6ab0f7
cmp dword [ebp - 0xc], 0
jne 0x6ab101
mov eax, 1
jmp 0x6ab23a
push 0x61
push 0xc3
mov eax, dword [ebp - 0xc]
push eax
call fcn.006a88b5
add esp, 0xc
push 0x61
push 0xc3
mov eax, dword [ebp - 4]
push eax
call fcn.006a88b5
add esp, 0xc
push 0x80
mov eax, dword [0x6ad960]
push eax
push 2
call fcn.006ac8b0
push eax
push 0x60
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0xc]
push eax
call fcn.006a8ae2
mov eax, dword [ebp - 4]
push eax
mov eax, 0x6aae34
sub eax, 0x6aa712
push eax
push 0x6aa712
call fcn.006a8d14
add esp, 0xc
push 0x60
mov eax, dword [ebp - 4]
push eax
call fcn.006ac4c3
add esp, 8
mov dword [ebp - 8], eax
mov eax, 0x6aae34
sub eax, 0x6aa712
mov ecx, dword [ebp - 8]
cmp dword [eax + 0x6aa712], ecx
je 0x6ab199
mov eax, 1
jmp 0x6ab23a
mov eax, dword [0x6ad9d8]
push eax
push 0x400
mov eax, dword [0x6ad960]
push eax
mov eax, dword [0x6ad090]
push eax
push 0x6ad080
mov eax, dword [0x6ad90c]
push eax
call int.006aa822
test byte [0x6ad049], 4
je 0x6ab211
mov eax, dword [0x6ad9d8]
push eax
mov eax, dword [0x6ad960]
add eax, 8
push eax
mov eax, dword [0x6ad094]
push eax
push 0x6ad088
push 0x6ad080
mov eax, dword [0x6ad90c]
push eax
call fcn.006aacf9
add esp, 0x18
test eax, eax
je 0x6ab211
mov eax, 1
jmp 0x6ab23a
push 0x8000
push 0
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
push 0x8000
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x6ab23a
pop edi
pop esi
pop ebx
leave
ret
Function at 0x6ac708
Capabilities:
Allocate or change rwx memory
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x6ad908]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
xor ecx, ecx
mov cx, word [eax + 6]
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
shl eax, 2
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [0x6ade3c], eax
mov eax, dword [ebp - 0x34]
xor ecx, ecx
mov cx, word [eax + 0x14]
add ecx, dword [ebp - 0x34]
add ecx, 0x18
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x34]
xor ecx, ecx
mov cx, word [eax + 6]
cmp ecx, dword [ebp - 0xc]
jbe 0x6ac7fc
push 0x1000
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xc]
add eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
cmp dword [ebp - 0x1c], 0x10
jb 0x6ac7c7
mov eax, dword [ebp - 0xc]
shl eax, 2
add eax, dword [0x6ade3c]
push eax
push 0x40
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xc]
add eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 4], eax
jmp 0x6ac7f0
mov eax, dword [ebp - 0xc]
shl eax, 2
add eax, dword [0x6ade3c]
push eax
push 4
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xc]
add eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 4], eax
inc dword [ebp - 0xc]
add dword [ebp - 0x14], 0x28
jmp 0x6ac764
xor eax, eax
jmp 0x6ac803
pop edi
pop esi
pop ebx
leave
ret

Function at 0x6ac808
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x6ad908]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
xor ecx, ecx
mov cx, word [eax + 0x14]
add ecx, dword [ebp - 0x18]
add ecx, 0x18
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x18]
xor ecx, ecx
mov cx, word [eax + 6]
cmp ecx, dword [ebp - 0xc]
jbe 0x6ac88a
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [0x6ade3c]
mov eax, dword [ecx + eax*4]
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xc]
add eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
inc dword [ebp - 0xc]
add dword [ebp - 0x14], 0x28
jmp 0x6ac844
mov eax, dword [0x6ade3c]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
jmp 0x6ac89d
pop edi
pop esi
pop ebx
leave
ret