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

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov esi, edx
mov edi, eax
xor eax, eax
push ebp
push 0x4f39c1
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
mov dl, 1
mov eax, dword [0x41c6b4]
call fcn.00403ae0
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
mov edx, 0x4f39dc
call fcn.004049f8
lea eax, [ebp - 0xc]
call fcn.00404960
push ebp
mov eax, dword [edi + 0xc]
call fcn.004f3820
pop ecx
push ebp
mov eax, dword [edi + 0x10]
call fcn.004f3820
pop ecx
push ebp
mov eax, dword [edi + 0x14]
call fcn.004f3820
pop ecx
push ebp
mov eax, dword [edi + 0x18]
call fcn.004f3820
pop ecx
push ebp
mov eax, dword [edi + 0x1c]
call fcn.004f3820
pop ecx
push ebp
mov eax, dword [edi + 0x20]
call fcn.004f3820
pop ecx
push ebp
mov eax, dword [edi + 0x24]
call fcn.004f3820
pop ecx
push ebp
mov eax, dword [edi + 0x28]
call fcn.004f3820
pop ecx
push ebp
mov eax, dword [edi + 0x2c]
call fcn.004f3820
pop ecx
push ebp
mov eax, dword [edi + 0x30]
call fcn.004f3820
pop ecx
push ebp
mov eax, dword [edi + 0x34]
call fcn.004f3820
pop ecx
push ebp
xor eax, eax
call fcn.004f3820
pop ecx
push ebp
xor eax, eax
call fcn.004f3820
pop ecx
push ebp
xor eax, eax
call fcn.004f3820
pop ecx
push ebp
xor eax, eax
call fcn.004f3820
pop ecx
mov edx, dword [ebp - 8]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, dword [ebp - 0xc]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 4]
call fcn.00403b10
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f39c8
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404984
ret
Function at 0x4f5430
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404e20
xor eax, eax
push ebp
push 0x4f55de
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
add eax, 0x3c
mov edx, dword [ebp - 8]
call fcn.004049b4
mov byte [ebp - 9], 1
mov eax, dword [ebp - 4]
call fcn.004f41fc
mov dl, 1
mov eax, dword [0x41c6b4]
call fcn.00403ae0
mov dword [ebp - 0x14], eax
mov dl, 1
mov eax, dword [0x41c9f8]
call fcn.00403ae0
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x4f5593
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x18]
call fcn.00421be8
push 0
push 0
mov eax, dword [ebp - 0x18]
call fcn.004213d4
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 8]
call fcn.0040a40c
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.004092bc
mov eax, dword [ebp - 0x1c]
mov edx, 0x4f55f8
call fcn.00404d7c
je 0x4f5518
call fcn.004f3714
mov ebx, eax
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx]
mov esi, eax
dec esi
test esi, esi
jl 0x4f5518
inc esi
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x10]
xor byte [eax + edx], bl
call fcn.004f36f8
mov ebx, eax
inc dword [ebp - 0x10]
dec esi
jne 0x4f54ff
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x6c]
xor eax, eax
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.004f5670
jmp 0x4f557c
lea ecx, [ebp - 0x24]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x24]
mov eax, 0x4f5608
call fcn.00404f74
dec eax
jne 0x4f5579
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
mov dl, 1
mov eax, dword [0x4f317c]
call fcn.0041f2e4
mov esi, eax
lea ecx, [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov eax, esi
call fcn.004f3d78
jmp 0x4f557c
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, dword [ebp - 0x10]
jg 0x4f5538
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4f55a1
mov eax, dword [ebp - 0x14]
call fcn.00403b10
mov eax, dword [ebp - 0x18]
call fcn.00403b10
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.004f4380
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f55e5
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00404984
lea eax, [ebp - 8]
call fcn.00404960
ret
Function at 0x4f5670
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 7
push 0
push 0
dec ecx
jne 0x4f5679
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x4f586d
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
lea edx, [ebp - 0x10]
xor eax, eax
call fcn.004f560c
pop ecx
mov edx, dword [ebp - 0x10]
lea eax, [edi + 0xc]
call fcn.004049b4
push ebp
lea edx, [ebp - 0x14]
mov eax, 1
call fcn.004f560c
pop ecx
mov edx, dword [ebp - 0x14]
lea eax, [edi + 0x10]
call fcn.004049b4
push ebp
lea edx, [ebp - 0x18]
mov eax, 2
call fcn.004f560c
pop ecx
mov edx, dword [ebp - 0x18]
lea eax, [edi + 0x18]
call fcn.004049b4
push ebp
lea edx, [ebp - 0x1c]
mov eax, 3
call fcn.004f560c
pop ecx
mov eax, dword [ebp - 0x1c]
mov edx, 0x4f5884
call fcn.00404d7c
sete al
mov byte [edi + 0x1c], al
push ebp
lea edx, [ebp - 0x20]
mov eax, 4
call fcn.004f560c
pop ecx
mov edx, dword [ebp - 0x20]
lea eax, [edi + 0x24]
call fcn.004049b4
push ebp
lea edx, [ebp - 0x24]
mov eax, 5
call fcn.004f560c
pop ecx
mov edx, dword [ebp - 0x24]
lea eax, [edi + 0x2c]
call fcn.004049b4
push ebp
lea edx, [ebp - 0x28]
mov eax, 6
call fcn.004f560c
pop ecx
mov edx, dword [ebp - 0x28]
lea eax, [edi + 0x38]
call fcn.004049b4
push ebp
lea edx, [ebp - 0x2c]
mov eax, 7
call fcn.004f560c
pop ecx
mov edx, dword [ebp - 0x2c]
lea eax, [edi + 0x34]
call fcn.004049b4
push ebp
lea edx, [ebp - 0x30]
mov eax, 8
call fcn.004f560c
pop ecx
mov edx, dword [ebp - 0x30]
lea eax, [edi + 0x30]
call fcn.004049b4
push ebp
lea edx, [ebp - 0x34]
mov eax, 9
call fcn.004f560c
pop ecx
mov edx, dword [ebp - 0x34]
lea eax, [edi + 0x28]
call fcn.004049b4
lea eax, [edi + 0x14]
call fcn.00404960
lea eax, [edi + 0x20]
call fcn.00404960
xor esi, esi
xor ebx, ebx
push ebp
lea edx, [ebp - 0x38]
lea eax, [esi + 0xa]
call fcn.004f560c
pop ecx
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 0xc]
call fcn.004049f8
mov eax, dword [ebp - 0xc]
mov edx, 0x4f5890
call fcn.00404d7c
jne 0x4f57e5
mov bl, 1
jmp 0x4f581b
test bl, bl
je 0x4f5803
push dword [edi + 0x20]
push dword [ebp - 0xc]
push 0x4f58a8
lea eax, [edi + 0x20]
mov edx, 3
call fcn.00404cf0
jmp 0x4f581b
push dword [edi + 0x14]
push dword [ebp - 0xc]
push 0x4f58a8
lea eax, [edi + 0x14]
mov edx, 3
call fcn.00404cf0
inc esi
lea eax, [esi + 9]
mov edx, dword [ebp - 8]
cmp eax, dword [edx]
je 0x4f57ba
lea edx, [ebp - 0x3c]
mov eax, dword [edi + 0x14]
call fcn.00409504
mov edx, dword [ebp - 0x3c]
lea eax, [edi + 0x14]
call fcn.004049b4
lea edx, [ebp - 0x40]
mov eax, dword [edi + 0x20]
call fcn.00409504
mov edx, dword [ebp - 0x40]
lea eax, [edi + 0x20]
call fcn.004049b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f5874
lea eax, [ebp - 0x40]
mov edx, 0xe
call fcn.00404984
ret
Function at 0x4f5ad0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404e20
xor eax, eax
push ebp
push 0x4f5c8a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x4f5b0d
lea eax, [ebp - 4]
mov edx, dword [ebx + 0x3c]
call fcn.004049f8
mov byte [ebp - 5], 1
mov dl, 1
mov eax, dword [0x41c6b4]
call fcn.00403ae0
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0040a40c
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.004092bc
mov eax, dword [ebp - 0x14]
mov edx, 0x4f5ca4
call fcn.00404d7c
jne 0x4f5ba4
mov eax, ebx
call fcn.004f452c
mov edi, eax
dec edi
test edi, edi
jl 0x4f5b6b
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.004f4538
mov edx, dword [ebp - 0xc]
call fcn.004f3a68
inc esi
dec edi
jne 0x4f5b56
xor eax, eax
push ebp
push 0x4f5b91
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x74]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4f5c5f
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.004f5920
mov eax, ebx
call fcn.004f452c
mov edi, eax
dec edi
test edi, edi
jl 0x4f5bd4
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.004f4538
mov edx, dword [ebp - 0xc]
call fcn.004f38b4
inc esi
dec edi
jne 0x4f5bbf
mov dl, 1
mov eax, dword [0x41c9f8]
call fcn.00403ae0
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4f5c49
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x78]
push 0
push 0
mov eax, dword [ebp - 0x10]
call fcn.004213d4
call fcn.004f3714
mov ebx, eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx]
mov edi, eax
dec edi
test edi, edi
jl 0x4f5c34
inc edi
xor esi, esi
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
xor byte [eax + esi], bl
call fcn.004f36f8
mov ebx, eax
inc esi
dec edi
jne 0x4f5c20
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
call fcn.00421b14
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4f5c57
mov eax, dword [ebp - 0x10]
call fcn.00403b10
mov eax, dword [ebp - 0xc]
call fcn.00403b10
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f5c91
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00404984
lea eax, [ebp - 4]
call fcn.00404960
ret
Function at 0x4fc230
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe80
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x180], ebx
mov dword [ebp - 0x17c], ebx
mov dword [ebp - 0x178], ebx
mov dword [ebp - 0x174], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
mov edi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x4fc408
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.0040a40c
mov eax, dword [esi + 0x440]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x4fc3dc
mov dl, 1
mov eax, dword [0x429f94]
call fcn.00431c58
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4fc3d5
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
push 0x4110
push 0x160
lea eax, [ebp - 0x170]
push eax
push 0
lea eax, [ebp - 0x174]
mov ecx, dword [ebp - 0xc]
mov edx, 0x4fc424
call fcn.00404c7c
mov eax, dword [ebp - 0x174]
call fcn.00404e30
push eax
call sub.shell32.dll_SHGetFileInfoA
mov edx, dword [ebp - 0x170]
mov eax, dword [ebp - 8]
call fcn.00432028
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
call fcn.00477bfc
push 0x4511
push 0x160
lea eax, [ebp - 0x170]
push eax
push 0
lea eax, [ebp - 0x178]
mov ecx, dword [ebp - 0xc]
mov edx, 0x4fc424
call fcn.00404c7c
mov eax, dword [ebp - 0x178]
call fcn.00404e30
push eax
call sub.shell32.dll_SHGetFileInfoA
mov edx, dword [ebp - 0x170]
mov eax, dword [ebp - 8]
call fcn.00432028
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00477bfc
mov eax, edi
lea edx, [ebp - 0x60]
mov ecx, 0x50
call fcn.00404be0
cmp dword [edi], 0
jne 0x4fc391
lea edx, [ebp - 0x17c]
mov eax, dword [ebp - 0xc]
call fcn.0040926c
mov edx, dword [ebp - 0x17c]
mov eax, edi
mov ecx, 0x4fc430
call fcn.00404c7c
push dword [ebp - 0xc]
push 0x4fc440
push dword [edi]
lea eax, [ebp - 0x180]
mov edx, 3
call fcn.00404cf0
mov edx, dword [ebp - 0x180]
mov eax, dword [esi + 0x440]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fc3dc
mov eax, dword [ebp - 8]
call fcn.00403b10
ret
mov ebx, dword [ebp - 0x10]
add ebx, 3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fc40f
lea eax, [ebp - 0x180]
mov edx, 4
call fcn.00404984
lea eax, [ebp - 0xc]
call fcn.00404960
ret
Function at 0x10015b7
Capabilities:
Terminate process

Disassembly:
push 0x5c
push 0x1001a38
call fcn.01001764
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x20], ebx
mov edi, 0x1002370
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x1001372
cmp eax, esi
jne 0x1001365
xor esi, esi
inc esi
mov dword [ebp - 0x20], esi
jmp 0x1001375
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100134c
xor esi, esi
inc esi
mov eax, dword [0x100236c]
cmp eax, esi
jne 0x1001388
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x10013b7
mov eax, dword [0x100236c]
test eax, eax
jne 0x10013b1
mov dword [0x100236c], esi
push 0x10010bc
push 0x10010b0
call fcn.010012ae
pop ecx
pop ecx
test eax, eax
je 0x10013b7
jmp 0x10014db
mov dword [0x1002034], esi
mov eax, dword [0x100236c]
cmp eax, esi
jne 0x10013db
push 0x10010ac
push 0x10010a4
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x100236c], 2
cmp dword [ebp - 0x20], ebx
jne 0x10013e8
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x1002374], ebx
je 0x1001409
push 0x1002374
call fcn.010016d9
pop ecx
test eax, eax
je 0x1001409
push ebx
push 2
push ebx
call dword [0x1002374]
mov eax, dword [sym.imp.msvcrt.dll__wcmdln]
cmp dword [eax], ebx
je 0x10014db
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
movzx ecx, word [eax]
cmp cx, 0x20
ja 0x1001473
cmp cx, bx
je 0x100142e
cmp dword [ebp - 0x1c], ebx
jne 0x1001473
movzx ecx, word [eax]
cmp cx, bx
je 0x1001443
cmp cx, 0x20
ja 0x1001443
inc eax
inc eax
mov dword [ebp - 0x24], eax
jmp 0x100142e
test byte [ebp - 0x40], 1
je 0x100144f
movzx ecx, word [ebp - 0x3c]
jmp 0x1001452
push 0xa
pop ecx
push ecx
push eax
push ebx
push 0x1000000
call main
mov dword [0x1002030], eax
cmp dword [0x1002024], ebx
jne 0x10014b8
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp cx, 0x22
jne 0x1001484
xor ecx, ecx
cmp dword [ebp - 0x1c], ebx
sete cl
mov dword [ebp - 0x1c], ecx
inc eax
inc eax
jmp 0x1001418
cmp dword [0x1002034], ebx
jne 0x10014c6
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x1002030]
jmp 0x10014e7
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.010017a9
ret
call fcn.010018b1
jmp 0x100130f
Function at 0x401000
Capabilities:
Create process on windows
Create process suspended
Get comspec environment variable
Query environment variable
Resume thread
Self delete
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x47c
mov eax, dword [0x41f3c4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x103
lea eax, [ebp - 0x10f]
push 0
push eax
mov byte [ebp - 0x110], 0
call fcn.00412870
push 0x207
lea ecx, [ebp - 0x41f]
push 0
push ecx
mov byte [ebp - 0x420], 0
call fcn.00412870
push 0x103
lea edx, [ebp - 0x217]
push 0
push edx
mov byte [ebp - 0x218], 0
call fcn.00412870
add esp, 0x24
push 0x104
lea eax, [ebp - 0x110]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x401191
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push str.COMSPEC
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x401191
push 0x104
lea edx, [ebp - 0x110]
push edx
mov eax, edx
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test eax, eax
je 0x401191
push 0x44
lea ecx, [ebp - 0x478]
push 0
push ecx
call fcn.00412870
xor eax, eax
mov dword [ebp - 0x430], eax
mov dword [ebp - 0x42c], eax
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x424], eax
lea eax, [ebp - 0x110]
push eax
xor edx, edx
lea ecx, [ebp - 0x218]
push ecx
mov word [ebp - 0x448], dx
lea edx, [ebp - 0x420]
push str._s__c_del__s
push edx
mov dword [ebp - 0x478], 0x44
mov dword [ebp - 0x44c], 1
call fcn.0040a4db
add esp, 0x1c
lea eax, [ebp - 0x430]
push eax
lea ecx, [ebp - 0x478]
push ecx
push 0
push 0
push 4
push 0
push 0
push 0
lea edx, [ebp - 0x420]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x401191
push 0x80
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push eax
call esi
push 0x80
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ecx, dword [ebp - 0x430]
push 0x40
push ecx
call esi
mov edx, dword [ebp - 0x42c]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0040a4cc
mov esp, ebp
pop ebp
ret
Function at 0x4011a0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x41f3c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [0x42191c]
xor ebx, ebx
push 0x3ff
lea ecx, [ebp - 0x403]
push ebx
push ecx
mov dword [ebp - 0x410], eax
xor esi, esi
mov byte [ebp - 0x404], bl
call fcn.00412870
add esp, 0xc
push edi
push ebx
push 0x410
mov dword [ebp - 0x408], ebx
mov dword [ebp - 0x40c], ebx
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
cmp edi, ebx
jne 0x401216
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040a4cc
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x40c]
push edx
push 4
lea eax, [ebp - 0x408]
push eax
push edi
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x4012a6
mov edx, dword [ebp - 0x408]
push 0x104
lea ecx, [ebp - 0x404]
push ecx
push edx
push edi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExA]
test eax, eax
je 0x4012a6
lea eax, [ebp - 0x404]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x401258
sub eax, edx
dec eax
cmp eax, ebx
jle 0x40127c
cmp byte [ebp + eax - 0x404], 0x5c
je 0x40127c
mov byte [ebp + eax - 0x404], bl
dec eax
cmp eax, ebx
jg 0x401266
lea eax, [ebp - 0x404]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x401285
mov ecx, dword [ebp - 0x410]
sub eax, edx
push eax
lea eax, [ebp - 0x404]
push eax
call fcn.00403b60
mov esi, 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040a4cc
mov esp, ebp
pop ebp
ret

Function at 0x4012c0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x41f3c4]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
push eax
push 0x28
mov dword [ebp - 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
cmp dword [ebp - 0x18], 0
je 0x40132f
lea ecx, [ebp - 0x10]
push ecx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov eax, dword [ebp - 0x18]
push 0
push 0
push 0x10
lea edx, [ebp - 0x14]
push edx
push 0
push eax
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040a4cc
mov esp, ebp
pop ebp
ret
Function at 0x401340
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b4
mov eax, dword [0x41f3c4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40137b
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040a4cc
mov esp, ebp
pop ebp
ret
push 0x7f
lea eax, [ebp - 0x87]
push ebx
push eax
mov byte [ebp - 0x88], bl
call fcn.00412870
push 0x124
lea ecx, [ebp - 0x1ac]
push ebx
push ecx
call fcn.00412870
add esp, 0x18
lea edx, [ebp - 0x1b0]
push edx
push esi
mov dword [ebp - 0x1b0], 0x128
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x401450
mov edi, dword [sym.imp.KERNEL32.dll_Process32Next]
xor eax, eax
lea ecx, [ecx]
mov cl, byte [ebp + eax - 0x18c]
mov byte [ebp + eax - 0x88], cl
inc eax
test cl, cl
jne 0x4013d0
lea eax, [ebp - 0x88]
push eax
call fcn.004193a4
add esp, 4
lea ecx, [ebp - 0x88]
mov eax, str.qq.exe
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x401420
test dl, dl
je 0x40141c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x401420
add eax, 2
add ecx, 2
test dl, dl
jne 0x401400
xor eax, eax
jmp 0x401425
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40144a
lea ecx, [ebp - 0x1b0]
push ecx
push esi
call edi
test eax, eax
jne 0x4013cb
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040a4cc
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 0x1a8]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0040a4cc
mov esp, ebp
pop ebp
ret

Function at 0x4017e0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4195a8
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x41f3c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x10
mov eax, str.AppFramework.dll
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0
call fcn.00402900
cmp dword [ebp + 0x1c], 0x10
mov eax, dword [ebp + 8]
jae 0x40182e
lea eax, [ebp + 8]
lea ecx, [ebp - 0x114]
push ecx
push 0x104
push 0
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
lea edx, [ebp - 0x11c]
push edx
lea eax, [ebp - 0x118]
push eax
push 0x41c7e0
lea ecx, [ebp - 0x114]
push ecx
call dword [sym.imp.VERSION.dll_VerQueryValueA]
mov eax, dword [ebp - 0x118]
test eax, eax
jne 0x401883
cmp dword [ebp + 0x1c], 0x10
jb 0x40187f
mov edx, dword [ebp + 8]
push edx
call fcn.0040a55f
add esp, 4
xor eax, eax
jmp 0x40189a
cmp dword [ebp + 0x1c], 0x10
mov esi, dword [eax + 0x10]
jb 0x401898
mov eax, dword [ebp + 8]
push eax
call fcn.0040a55f
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040a4cc
mov esp, ebp
pop ebp
ret