joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c96d0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x4c96db
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x4c97de
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x6a92dc]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x6a92dc]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x6a92dc]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x6a92dc]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x6a92dc]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x6a92dc]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x6a92dc]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x6a92dc]
xor eax, edx
inc ecx
dec edi
jne 0x4c96f6
pop edi
test esi, esi
je 0x4c9800
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x6a92dc]
xor eax, edx
inc ecx
dec esi
jne 0x4c97e2
pop esi
pop ebx
not eax
ret

Function at 0x4d16e0
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6a9d50
push 0x50dd84
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
push dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
rdtsc
mov esi, eax
mov edi, edx
call ebx
rdtsc
pop ebx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0xffffffff
xor esi, esi
mov edi, dword [ebp - 0x20]
push 1
push esi
push esi
mov eax, dword [ebp - 0x28]
push eax
call fcn.0050b500
sub eax, esi
sbb edx, edi
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
sbb edx, esi
mov ecx, dword [ebp - 0x24]
add eax, ecx
adc edx, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4d24c0
Capabilities:
Get storage device properties

Disassembly:
mov eax, 0x2820
call fcn.0050bde0
mov eax, dword [esp + 0x2824]
push ebx
push esi
push edi
push eax
lea ecx, [esp + 0x20]
push str..PhysicalDrive_d
push ecx
call fcn.0050d1af
add esp, 0xc
lea edx, [esp + 0x1c]
push 0
push 0
push 3
push 0
push 3
push 0
push edx
call dword [0x54f33c]
mov esi, eax
cmp esi, 0xffffffff
je 0x4d266d
xor eax, eax
mov ecx, 0x9c4
mov dword [esp + 0x10], eax
lea edi, [esp + 0x11c]
mov dword [esp + 0x14], eax
mov ebx, dword [0x54f340]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
push eax
push ecx
lea edx, [esp + 0x124]
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
push 0x2710
push edx
lea eax, [esp + 0x20]
push 0xc
push eax
push 0x2d1400
push esi
mov dword [esp + 0x2c], 0
call ebx
test eax, eax
je 0x4d266d
mov ecx, dword [esp + 0x283c]
mov edx, dword [esp + 0x128]
push ecx
push 0
lea eax, [esp + 0x124]
push edx
push eax
call fcn.004d2680
mov ecx, dword [esp + 0x2848]
mov edx, dword [esp + 0x13c]
push ecx
push 0
lea eax, [esp + 0x134]
push edx
push eax
call fcn.004d2680
mov ecx, dword [esp + 0x2860]
mov edx, dword [esp + 0x150]
push ecx
push 0
lea eax, [esp + 0x144]
push edx
push eax
call fcn.004d2680
mov ecx, dword [esp + 0x2864]
mov edx, dword [esp + 0x164]
push ecx
push 1
lea eax, [esp + 0x154]
push edx
push eax
call fcn.004d2680
mov ecx, dword [esp + 0x2884]
add esp, 0x40
xor eax, eax
lea edi, [esp + 0x11c]
mov dword [ecx], 1
mov ecx, 0x9c4
lea edx, [esp + 0xc]
push eax
rep stosd dword es:[edi], eax
push edx
lea eax, [esp + 0x124]
push 0x2710
push eax
push 0
push 0
push 0x700a0
push esi
call ebx
test eax, eax
je 0x4d266d
mov edi, dword [esp + 0x124]
mov edx, dword [esp + 0x2848]
mov eax, dword [esp + 0x284c]
xor ecx, ecx
cmp edi, 0xc
push esi
setne cl
inc ecx
mov dword [edx], ecx
mov ecx, dword [esp + 0x138]
mov edx, dword [esp + 0x13c]
mov dword [eax], ecx
mov dword [eax + 4], edx
call dword [0x54f424]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x2820
ret
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x2820
ret
Function at 0x4d4470
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x54c110
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.004d4020
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.004d40a0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.004d40a0
lea ecx, [esi + 0xc]
call fcn.0053be40
lea ecx, [esi + 0x10]
call fcn.0053be40
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.004d5630
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.004d5630
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.004d5630
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0053beb5
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0053beb5
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4e7e10
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x54d3b0
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [esp + 0x30]
mov esi, ecx
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4e7fb7
mov ecx, dword [0x7ae958]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], ecx
mov ecx, dword [eax - 8]
mov bl, 1
test ecx, ecx
mov byte [esp + 0x28], bl
jle 0x4e7f0c
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push edi
push ecx
mov ecx, esi
call fcn.004e6b30
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.0053bfa2
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.0053beb5
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x7a5db0
call fcn.0053bf23
lea edx, [esp + 0x14]
push 0x3d
push edx
lea eax, [esp + 0x24]
push edi
push eax
mov ecx, esi
call fcn.004e6ef0
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 3
call fcn.0053bfa2
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call fcn.0053beb5
lea ecx, [esp + 0xc]
call fcn.0053c37d
mov ecx, dword [esp + 0xc]
push 0x7a67ec
push ecx
call fcn.0050b534
add esp, 8
test eax, eax
je 0x4e7f34
mov edx, dword [edi]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx - 8]
cmp ecx, eax
jl 0x4e7e6d
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call fcn.0053beb5
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.0053beb5
jmp 0x4e7fbb
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.004e7bb0
test eax, eax
push 0
je 0x4e7f9f
lea ecx, [esp + 0x34]
push 0x64
push ecx
mov ecx, esi
call fcn.004e6250
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x4e7f85
cmp eax, 0x64
jg 0x4e7f73
mov edx, dword [esp + 0x38]
push eax
push 0x64
push edx
call dword [0x54f410]
mov esi, eax
jmp 0x4e7f10
push 0x64
push eax
mov eax, dword [esp + 0x40]
push eax
call dword [0x54f410]
mov esi, eax
jmp 0x4e7f10
cmp eax, 0x64
jge 0x4e7f0c
mov ecx, dword [esp + 0x34]
push 0x64
push eax
push ecx
call dword [0x54f410]
mov esi, eax
jmp 0x4e7f10
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, esi
call fcn.004e6250
mov esi, eax
jmp 0x4e7f10
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
cmp esi, eax
jl 0x4e7fc5
mov eax, esi
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 0x10
Function at 0x4f1fd0
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x7a73ec]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x4f1fe3
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x4f2024
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x7a7494]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x4f2056
mov bl, byte [esp + ecx + 0x4c]
jmp 0x4f205a
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x4f204b
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x4f2078
mov bl, byte [esp + ecx + 0x4c]
jmp 0x4f207c
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x4f206d
xor ecx, ecx
mov eax, 0x7a73fc
xor ebx, ebx
mov bl, byte [ecx + 0x7a74a4]
cmp byte [esp + ebx + 0x14], 0
je 0x4f20a7
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x7a74bc]
cmp byte [esp + ebx + 0x14], 0
je 0x4f20be
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x4f208e
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x4f2017
lea edx, [esp + 0x84]
push edx
call fcn.004f2100
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x4f65c0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x80f57c]
xor edx, edx
cmp eax, edx
jne 0x4f65e6
xor eax, eax
mov byte [eax + 0x80f47c], al
inc eax
cmp eax, 0x100
jl 0x4f65ce
mov dword [0x80f57c], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x80f47c
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4f6677
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x4f664a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x4f6618
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4f66f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x4f6743
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x4f672a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4fd0c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x54d7fe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.004fd9e0
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x6ab274
call fcn.0053bbf6
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x4fd153
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0053bbf6
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x4fd14c
push 0
mov ecx, eax
call fcn.004f41f0
mov dword [esi + 0xc], eax
jmp 0x4fd155
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x4fd155
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x51df74
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x18]
imul eax, edi
add eax, edx
cmp edx, eax
mov dword [ebp - 0x14], eax
jae 0x51e095
mov eax, dword [ebp + 0x10]
lea eax, [edx + eax*4]
push ebx
push esi
mov dword [ebp + 0x14], eax
mov esi, 0xffc03fc0
mov eax, 0xff00ff
cmp edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
jae 0x51e079
mov ebx, dword [ebp + 0x14]
sub ebx, edx
dec ebx
shr ebx, 3
lea ecx, [edx + 4]
inc ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ebx
mov edx, dword [ecx + edi]
mov edi, dword [edi + ecx - 4]
mov dword [ebp - 8], edi
shr edi, 2
and edi, esi
mov dword [ebp + 0x10], edx
mov edx, dword [ecx]
mov ecx, dword [ecx - 4]
mov ebx, ecx
shr ebx, 2
and ebx, esi
add ebx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ebx, edi
mov edi, edx
shr edi, 2
and edi, esi
lea ebx, [ebx + edi - 0x7fff80]
mov edi, dword [ebp - 8]
and edi, eax
mov esi, ecx
and esi, eax
add esi, edi
mov edi, dword [ebp + 0x10]
and edi, eax
add esi, edi
mov edi, edx
and edi, eax
lea esi, [esi + edi + 0x20002]
mov edi, dword [ebp - 8]
shr ecx, 2
shr esi, 2
xor ebx, esi
shr edi, 2
mov esi, 0x3fc03fc0
and ecx, esi
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x18]
shr edx, 2
and edx, esi
lea ecx, [ecx + edx + 0x800080]
and ebx, eax
xor ebx, ecx
mov ecx, dword [ebp - 4]
add dword [ebp - 4], 4
mov dword [ecx], ebx
mov ecx, dword [ebp - 0xc]
add ecx, 8
dec dword [ebp - 0x10]
mov dword [ebp - 0xc], ecx
mov esi, 0xffc03fc0
jne 0x51dfcb
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
add dword [ebp + 8], ecx
lea ecx, [edi + edi]
add dword [ebp + 0x14], ecx
add edx, ecx
cmp edx, dword [ebp - 0x14]
mov dword [ebp + 0xc], edx
jb 0x51dfa9
pop esi
pop ebx
xor eax, eax
pop edi
leave
ret 0x18

Function at 0x899d99
Capabilities:
Encrypt data using rc4 prga

Disassembly:
pushfd
pop dword [esp + 8]
pushfd
mov byte [esp + 8], 0x5e
mov word [esp], cx
jmp 0x899c05
push dword [esp + 0xc]
pop dword [ebp]
pushal
pushfd
push ebp
lea esp, [esp + 0x38]
jmp 0x8999ee
mov byte [esp], 0xd7
push dword [esp + 4]
jmp 0x898e31
Function at 0x10001110
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1000ae30
push 0x10001cd0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x1000c03c]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
xor eax, eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov esi, dword [ebp + 0x10]
push esi
lea eax, [ebp - 0x38]
push eax
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
cmp dword [ebp - 0x24], 0x40
je 0x10001188
lea ecx, [ebp - 0x1c]
push ecx
push 0x40
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
mov edx, dword [ebp + 0xc]
push edx
push edi
call fcn.10001ee0
add esp, 0xc
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x100011bd
push ebx
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x100011bd
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x100011e0
Capabilities:
Enumerate processes
Print debug messages

Disassembly:
sub esp, 0x12c
mov eax, dword [0x1000c03c]
xor eax, esp
mov dword [esp + 0x128], eax
push ebp
push esi
push edi
mov edi, dword [esp + 0x13c]
xor ebp, ebp
push ebp
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
test esi, esi
jbe 0x100012a4
push 0x128
lea eax, [esp + 0x10]
push ebp
push eax
call fcn.10001e60
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
push esi
mov dword [esp + 0x14], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x1000127f
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpA]
push edi
lea edx, [esp + 0x38]
push edx
call ebx
test eax, eax
je 0x10001279
lea eax, [esp + 0x10]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x10001243
mov eax, ebp
pop ebx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.10002245
add esp, 0x12c
ret
mov eax, dword [esp + 0x18]
jmp 0x10001260
push 0x100091c8
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.10002245
add esp, 0x12c
ret
push 0x100091b4
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [esp + 0x134]
pop edi
pop esi
pop ebp
xor ecx, esp
xor eax, eax
call fcn.10002245
add esp, 0x12c
ret
Function at 0x10001550
Capabilities:
Enumerate process modules
Print debug messages

Disassembly:
push ebp
lea ebp, [esp - 0x430]
sub esp, 0x430
push 0xfffffffffffffffe
push 0x1000ae70
push 0x10001cd0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x1000c03c]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x42c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, dword [ebp + 0x438]
mov eax, dword [ebp + 0x440]
mov dword [ebp - 0x24], eax
xor ebx, ebx
mov ecx, dword [ebp + 0x43c]
push ecx
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], ebx
push 0x224
push ebx
lea edx, [ebp]
push edx
call fcn.10001e60
add esp, 0xc
mov dword [ebp], 0x224
lea eax, [ebp]
push eax
push esi
call sub.KERNEL32.dll_Module32First
test eax, eax
je 0x1000169b
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea esp, [esp]
lea ecx, [ebp + 0x120]
push ecx
lea edx, [ebp + 0x224]
push edx
call esi
lea eax, [ebp + 0x120]
push eax
lea ecx, [ebp + 0x328]
push ecx
call esi
lea edx, [ebp + 0x224]
push edx
call dword [sym.imp.SHLWAPI.dll_PathStripPathA]
push edi
lea eax, [ebp + 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x10001670
lea ecx, [ebp + 0x328]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
mov edi, dword [ebp - 0x24]
test edi, edi
jbe 0x10001669
lea edx, [ebp + 0x328]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp dword [ebp + 0x444], eax
jbe 0x10001669
lea eax, [ebp + 0x328]
push eax
push edi
call esi
mov ebx, 1
jmp 0x1000169d
push 0x10009274
jmp 0x10001695
lea ecx, [ebp]
push ecx
mov edx, dword [ebp - 0x20]
push edx
call sub.KERNEL32.dll_Module32Next
test eax, eax
jne 0x100015f0
jmp 0x100016a0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], 0xfffffffe
mov eax, ebx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x42c]
xor ecx, ebp
call fcn.10002245
add ebp, 0x430
mov esp, ebp
pop ebp
ret
Function at 0x10001770
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x10c
mov eax, dword [0x1000c03c]
xor eax, esp
mov dword [esp + 0x108], eax
push ebx
mov ebx, dword [esp + 0x114]
push esi
push 0x100092f8
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov esi, eax
test esi, esi
jbe 0x10001887
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10001887
lea eax, [esp + 8]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push str.WithYou.exe
call fcn.100011e0
add esp, 4
cmp eax, dword [esp + 8]
jne 0x10001879
push 0x104
lea ecx, [esp + 0x10]
push ecx
push eax
push str.WithYou.exe
call fcn.10001550
add esp, 0x10
test eax, eax
je 0x1000186b
push edi
lea edi, [esp + 0x10]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x100017f8
mov dx, word [0x100092e8]
lea eax, [esp + 0x10]
mov word [edi], dx
dec eax
pop edi
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x10001810
mov ecx, dword [str.Main.dll]
mov edx, dword [0x100092e0]
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [eax], ecx
mov cl, byte [0x100092e4]
mov dword [eax + 4], edx
lea edx, [esp + 0xc]
push edx
mov byte [eax + 8], cl
call esi
push str.main.dll
call esi
lea eax, [esp + 0xc]
push eax
push ebx
call fcn.100012d0
add esp, 8
pop esi
pop ebx
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.10002245
add esp, 0x10c
ret
push 0x10
push 0x10009210
push 0x100092b8
jmp 0x10001893
push 0x10
push 0x10009210
push 0x100092a0
jmp 0x10001893
push 0x10
push 0x10009210
push 0x10009288
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x110]
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.10002245
add esp, 0x10c
ret

Function at 0x10002245
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1000c03c]
jne 0x1000224f
repz ret
jmp fcn.10002e2c
Function at 0x10006cc5
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.10002fa4
and dword [ebp - 4], 0
cmp dword [0x1000d6bc], 0
mov ebx, eax
jne 0x10006d76
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10006e27
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1000a338
push edi
call esi
test eax, eax
je 0x10006e27
push eax
call fcn.10002f32
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1000d6bc], eax
call esi
push eax
call fcn.10002f32
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1000d6c0], eax
call esi
push eax
call fcn.10002f32
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1000d6c4], eax
call esi
push eax
call fcn.10002f32
pop ecx
mov dword [0x1000d6cc], eax
test eax, eax
je 0x10006d76
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10002f32
pop ecx
mov dword [0x1000d6c8], eax
mov eax, dword [0x1000d6c8]
cmp eax, ebx
je 0x10006dce
cmp dword [0x1000d6cc], ebx
je 0x10006dce
push eax
call fcn.10002fad
push dword [0x1000d6cc]
mov esi, eax
call fcn.10002fad
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10006dce
test edi, edi
je 0x10006dce
call esi
test eax, eax
je 0x10006dc5
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10006dc5
test byte [ebp - 0xc], 1
jne 0x10006dce
or dword [ebp + 0x10], 0x200000
jmp 0x10006e07
mov eax, dword [0x1000d6c0]
cmp eax, ebx
je 0x10006e07
push eax
call fcn.10002fad
pop ecx
test eax, eax
je 0x10006e07
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10006e07
mov eax, dword [0x1000d6c4]
cmp eax, ebx
je 0x10006e07
push eax
call fcn.10002fad
pop ecx
test eax, eax
je 0x10006e07
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1000d6bc]
call fcn.10002fad
pop ecx
test eax, eax
je 0x10006e27
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10006e29
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret