joyce8/EMBER2024-capa huggingface dataset:
Function at 0x28baa5
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push dword [ebp + 0xc]
mov esi, edx
push dword [ebp + 8]
push esi
push ecx
call fcn.0028621e
add esp, 0x10
mov dword [ebp - 4], 0x700d
mov eax, dword [ebp - 4]
xor edx, edx
push 0x72
pop edi
div edi
mov dword [ebp - 4], eax
or dword [ebp - 4], 0xa80ec46e
xor dword [ebp - 4], 0xa80ec5f4
cmp esi, 0x40
jae 0x28bae8
xor eax, eax
jmp 0x28bb0d
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x28bae4
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x28bae4
movzx edx, word [eax + 0x18]
xor esi, esi
mov ecx, dword [ebp - 4]
cmp edx, ecx
cmovne eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x28bd6c
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
push dword [esp + 0x30]
push edx
push ecx
call fcn.0028621e
and dword [esp + 0x34], 0
lea edi, [edx + 4]
mov dword [esp + 0x30], 0x4b249a
mov dword [esp + 0x24], 0xa1c4
imul eax, dword [esp + 0x24], 0x61
mov dword [esp + 0x24], eax
xor dword [esp + 0x24], 0x3d4a5d
mov dword [esp + 0x1c], 0x4c53
shr dword [esp + 0x1c], 5
shl dword [esp + 0x1c], 9
or dword [esp + 0x1c], 0x4d949612
xor dword [esp + 0x1c], 0x4d94e734
mov dword [esp + 0x20], 0x7830
add dword [esp + 0x20], 0x5485
shl dword [esp + 0x20], 9
xor dword [esp + 0x20], 0x1997311
mov eax, dword [edx]
mov ebp, dword [edi]
add edi, 4
xor ebp, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ebp
lea esi, [ebp + 1]
mov eax, esi
mov ecx, esi
and eax, 0xfffffffc
add eax, 4
and cl, 3
cmovne esi, eax
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
add esp, 4
mov eax, dword [esp + 0x20]
lea edx, [esi + esi]
call fcn.00287d07
mov ebx, eax
mov dword [esp + 0x20], ebx
pop ecx
pop ecx
test ebx, ebx
je 0x28be93
shr esi, 2
xor eax, eax
mov edx, ebx
lea ecx, [edi + esi*4]
mov esi, ecx
sub esi, edi
add esi, 3
shr esi, 2
cmp edi, ecx
cmova esi, eax
test esi, esi
je 0x28be8d
mov ebx, dword [esp + 0x1c]
xor ebp, ebp
mov ecx, dword [edi]
lea edi, [edi + 4]
xor ecx, ebx
movzx eax, cl
mov word [edx], ax
mov eax, ecx
shr eax, 8
lea edx, [edx + 8]
movzx eax, al
mov word [edx - 6], ax
shr ecx, 0x10
movzx eax, cl
shr ecx, 8
inc ebp
mov word [edx - 4], ax
movzx eax, cl
mov word [edx - 2], ax
cmp ebp, esi
jb 0x28be50
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x20]
xor eax, eax
mov word [ebx + ebp*2], ax
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x1c
ret
Function at 0x28f2d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x18
push ebx
mov ebx, dword [esp + 0x24]
mov eax, ecx
push ebp
push esi
push edi
push dword [esp + 0x34]
mov dword [esp + 0x18], eax
push ebx
push dword [esp + 0x34]
push edx
push eax
call fcn.0028621e
mov dword [esp + 0x24], 0x8807
xor esi, esi
xor dword [esp + 0x24], 0xfe1edb5d
add esp, 0x14
xor dword [esp + 0x10], 0xfe1e7fa0
mov ebp, esi
mov dword [esp + 0x30], 0x6a5d
shl dword [esp + 0x30], 7
xor dword [esp + 0x30], 0x352715
mov eax, dword [ebx + 0x3c]
mov dword [esp + 0x24], eax
mov edi, dword [eax + ebx + 0x78]
add edi, ebx
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x20]
add eax, ebx
mov dword [esp + 0x20], eax
add ecx, ebx
mov eax, dword [edi + 0x24]
add eax, ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
cmp dword [edi + 0x18], esi
jbe 0x28f3a8
mov ecx, dword [ecx + ebp*4]
push dword [esp + 0x30]
mov edx, dword [esp + 0x14]
add ecx, ebx
call fcn.0029229f
xor eax, 0x69d5b12d
pop ecx
cmp eax, dword [esp + 0x14]
je 0x28f37c
mov ecx, dword [esp + 0x18]
inc ebp
cmp ebp, dword [edi + 0x18]
jb 0x28f352
jmp 0x28f3a8
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
movzx eax, word [eax + ebp*2]
mov esi, dword [esi + eax*4]
add esi, ebx
cmp esi, edi
jb 0x28f3a8
mov eax, dword [esp + 0x24]
mov eax, dword [eax + ebx + 0x7c]
add eax, edi
cmp esi, eax
jae 0x28f3a8
mov ecx, esi
call fcn.0028f100
mov esi, eax
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x28f6e3
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x20
push ebx
push esi
mov esi, dword [esp + 0x30]
push edi
push dword [esp + 0x38]
push esi
push dword [esp + 0x38]
push edx
push ecx
call fcn.0028621e
and dword [esp + 0x38], 0
lea edi, [esi + 4]
and dword [esp + 0x3c], 0
mov dword [esp + 0x30], 0xd93c3
mov dword [esp + 0x34], 0x13c82c
mov dword [esp + 0x24], 0xee50
add dword [esp + 0x24], 0xffff0ba5
xor dword [esp + 0x24], 0xffff8b7d
mov dword [esp + 0x20], 0x5bd0
shr dword [esp + 0x20], 1
xor dword [esp + 0x20], 0x2430
mov dword [esp + 0x48], 0xd644
imul eax, dword [esp + 0x48], 0x53
mov dword [esp + 0x48], eax
imul eax, dword [esp + 0x48], 0xb
mov dword [esp + 0x48], eax
shr dword [esp + 0x48], 1
xor dword [esp + 0x48], 0x17e62b4
mov ecx, dword [esi]
mov eax, dword [edi]
add edi, 4
xor eax, ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
lea esi, [eax + 1]
mov eax, esi
mov ecx, esi
and eax, 0xfffffffc
add eax, 4
and cl, 3
cmovne esi, eax
mov eax, dword [esp + 0x48]
mov eax, dword [esp + 0x20]
add esp, 0xc
mov eax, dword [esp + 0x18]
mov edx, esi
call fcn.00287d07
mov ebx, eax
mov dword [esp + 0x3c], ebx
pop ecx
pop ecx
test ebx, ebx
je 0x28f808
shr esi, 2
xor eax, eax
push ebp
xor ebp, ebp
mov edx, ebx
lea ecx, [edi + esi*4]
mov esi, ecx
sub esi, edi
add esi, 3
shr esi, 2
cmp edi, ecx
cmova esi, eax
test esi, esi
je 0x28f7ff
mov ebx, dword [esp + 0x18]
mov ecx, dword [edi]
lea edi, [edi + 4]
xor ecx, ebx
mov byte [edx], cl
mov eax, ecx
shr eax, 8
lea edx, [edx + 4]
shr ecx, 0x10
mov byte [edx - 3], al
mov byte [edx - 2], cl
shr ecx, 8
inc ebp
mov byte [edx - 1], cl
cmp ebp, esi
jb 0x28f7d6
mov ebx, dword [esp + 0x38]
mov eax, dword [esp + 0x1c]
pop ebp
mov byte [ebx + eax], 0
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x20
ret
Function at 0x29229f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push dword [ebp + 8]
mov ebx, ecx
push edx
push ebx
call fcn.0028621e
mov dword [ebp - 8], 0xac17
add esp, 0xc
mov eax, dword [ebp - 8]
xor edx, edx
push 0x65
pop ecx
div ecx
push 0x7c
mov dword [ebp - 8], eax
xor edx, edx
mov eax, dword [ebp - 8]
pop ecx
div ecx
mov dword [ebp - 8], eax
xor dword [ebp - 8], 3
mov dword [ebp - 4], 0xa6f3
xor dword [ebp - 4], 0xbd23bc8d
shr dword [ebp - 4], 2
shr dword [ebp - 4], 0xe
xor dword [ebp - 4], 0xbd25
mov dword [ebp - 4], 0xb556
add dword [ebp - 4], 0x35ee
or dword [ebp - 4], 0xa8ace9e5
shl dword [ebp - 4], 0xa
xor dword [ebp - 4], 0xb3af9410
cmp byte [ebx], 0
je 0x292384
push esi
push edi
mov edi, dword [ebp - 8]
mov dword [ebp - 4], 0xa6f3
xor dword [ebp - 4], 0xbd23bc8d
shr dword [ebp - 4], 2
shr dword [ebp - 4], 0xe
xor dword [ebp - 4], 0xbd25
mov cl, byte [ebp - 4]
mov esi, dword [ebp - 8]
mov dword [ebp - 4], 0xb556
add dword [ebp - 4], 0x35ee
or dword [ebp - 4], 0xa8ace9e5
shl dword [ebp - 4], 0xa
xor dword [ebp - 4], 0xb3af9410
shl esi, cl
mov cl, byte [ebp - 4]
mov edx, dword [ebp - 8]
movsx eax, byte [ebx]
mov dword [ebp - 8], eax
add dword [ebp - 8], esi
shl edx, cl
add dword [ebp - 8], edx
sub dword [ebp - 8], edi
inc ebx
cmp byte [ebx], 0
jne 0x29231d
pop edi
pop esi
mov eax, dword [ebp - 8]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x294482
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x24
push ebx
push ebp
mov ebp, dword [esp + 0x38]
push esi
push edi
push ebp
push dword [esp + 0x40]
push dword [esp + 0x40]
push edx
push ecx
call fcn.0028621e
mov dword [esp + 0x38], 0x616f8
xor esi, esi
mov dword [esp + 0x3c], 0x50675c
add esp, 0x14
mov dword [esp + 0x2c], 0x38b791
mov ebx, esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x10], 0x3470
shr dword [esp + 0x10], 0xd
xor dword [esp + 0x10], 0x5b4013f4
xor dword [esp + 0x10], 0x5b407481
mov dword [esp + 0x40], 0x9def
add dword [esp + 0x40], 0x2299
shr dword [esp + 0x40], 0xb
xor dword [esp + 0x40], 0x7aef
mov eax, dword [ebp + 0x3c]
mov dword [esp + 0x20], eax
mov edi, dword [eax + ebp + 0x78]
add edi, ebp
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x20]
add eax, ebp
mov dword [esp + 0x1c], eax
add ecx, ebp
mov eax, dword [edi + 0x24]
add eax, ebp
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
cmp dword [edi + 0x18], esi
jbe 0x294575
push dword [esp + 0x3c]
mov ecx, dword [ecx + ebx*4]
push dword [esp + 0x44]
mov edx, dword [esp + 0x18]
add ecx, ebp
call fcn.00281248
pop ecx
pop ecx
test eax, eax
je 0x29454f
mov ecx, dword [esp + 0x14]
inc ebx
cmp ebx, dword [edi + 0x18]
jb 0x294527
jmp 0x294575
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
movzx eax, word [eax + ebx*2]
mov esi, dword [esi + eax*4]
add esi, ebp
cmp esi, edi
jb 0x294575
mov ecx, dword [esp + 0x20]
xor eax, eax
mov ecx, dword [ecx + ebp + 0x7c]
add ecx, edi
cmp esi, ecx
cmovb esi, eax
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
Function at 0x405d50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41bdd8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x42b014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
mov eax, dword [ecx]
push 0
push 0
mov eax, dword [eax + 4]
mov dword [ecx + eax], vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ecx]
mov edx, dword [eax + 4]
lea eax, [edx - 0x18]
mov dword [edx + ecx - 4], eax
mov eax, dword [ecx]
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov ebx, dword [eax + 4]
add ebx, ecx
mov ecx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebx + 0x30], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0x201
mov dword [ebx + 0x18], 6
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
call fcn.00402110
push 8
call fcn.004082a3
add esp, 4
mov esi, eax
push 1
mov dword [ebp - 4], 2
call fcn.00407a54
mov dword [esi + 4], eax
add esp, 4
mov eax, dword [ebp + 8]
mov dword [ebx + 0x30], esi
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], 0
mov ebx, dword [esi + 4]
mov dword [ebp - 0x14], ebx
mov eax, dword [ebx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x41d160]
mov ecx, ebx
call esi
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 3
push eax
call fcn.00406ca0
mov edi, eax
add esp, 4
mov ecx, dword [edi]
push 0x20
mov esi, dword [ecx + 0x30]
mov ecx, esi
call dword [0x41d160]
mov ecx, edi
call esi
movzx eax, ax
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], eax
mov eax, dword [ebx]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x41d160]
mov ecx, ebx
call esi
mov edi, eax
test edi, edi
je 0x405e9e
mov ecx, dword [edi]
push 1
mov esi, dword [ecx]
mov ecx, esi
call dword [0x41d160]
mov ecx, edi
call esi
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
cmp dword [ecx + 0x38], 0
mov word [ecx + 0x40], ax
jne 0x405ebc
mov eax, dword [ecx + 0xc]
push 0
or eax, 4
push eax
call fcn.00402110
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x10]
mov eax, dword [eax + 4]
mov dword [edx + eax + 0x10], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [edx + 0x10]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + edx + 0xc], eax
mov eax, dword [edx]
mov eax, dword [eax + 4]
mov dword [edx + eax], vtable.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [edx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ecx + edx - 4], eax
mov eax, edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x415d13
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00415990
Function at 0x10004437
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10004476
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10004476
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10004476
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10004476
cmp dword [ecx + 0x74], 0xe
jbe 0x10004476
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x100070ff
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1000719c
push ebx
push esi
call fcn.100070c8
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1000705c
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10007149
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000719b
push edi
push eax
call fcn.100080ba
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x10007169
call fcn.10005ba4
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000719a
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1000705c
add esp, 0x20
test eax, eax
jne 0x10007188
push edi
call fcn.10005ba4
jmp 0x10007190
push ebx
call fcn.10005ba4
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x10007409
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1000e4e8
push 0x1000e4e0
push str.FlsAlloc
push 0x1f
call fcn.10007325
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000743d
push dword [ebp + 8]
mov ecx, esi
call dword [0x1000d10c]
call esi
jmp 0x10007443
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x10007487
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1000e4f8
push 0x1000e4f0
push str.FlsGetValue
push 0x21
call fcn.10007325
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100074be
push dword [ebp + 8]
mov ecx, esi
call dword [0x1000d10c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x100074c6
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1000e500
push 0x1000e4f8
push str.FlsSetValue
push 0x22
call fcn.10007325
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10007500
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1000d10c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x1000cb80
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1000cbad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1000cbad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x401627
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd2c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2d0], eax
push 0
push 2
lea eax, [ebp - 0x2d2]
push eax
push dword [ebp + 8]
push dword [0x403791]
call sub.kernel32.dll_ReadProcessMemory
push 0
push 2
push 0x403082
push dword [ebp + 8]
push dword [0x403791]
call sub.kernel32.dll_WriteProcessMemory
push 0x2cc
lea eax, [ebp - 0x2cc]
push eax
call fcn.0040113b
push dword [0x403795]
call sub.kernel32.dll_ResumeThread
push 0x64
call sub.kernel32.dll_Sleep
mov dword [ebp - 0x2cc], 0x10007
lea eax, [ebp - 0x2cc]
push eax
push dword [0x403795]
call sub.kernel32.dll_GetThreadContext
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x214]
jne 0x401696
push dword [0x403795]
call sub.kernel32.dll_SuspendThread
push 0
push 2
lea eax, [ebp - 0x2d2]
push eax
push dword [ebp - 0x2d0]
push dword [0x403791]
call sub.kernel32.dll_WriteProcessMemory
leave
ret 4

Function at 0x40174c
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
push 0x403791
push 0x4037a1
push 0
push 0
push 4
push 0
push 0
push 0
push dword [ebp + 8]
push dword [ebp + 8]
call sub.kernel32.dll_CreateProcessA
leave
ret 4

Function at 0x4017cc
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
cmp word [eax], 0x5a4d
jne 0x401810
mov di, word [eax + 0x3c]
add ax, di
cmp word [eax], 0x4550
jne 0x4017fc
push dword [ebp + 8]
call fcn.00401597
push str.Valid_PE_file_
call fcn.00401597
jmp 0x401822
push dword [ebp + 8]
call fcn.00401597
push str.Invalid_PE_file_
call fcn.00401597
jmp 0x401822
push dword [ebp + 8]
call fcn.00401597
push str.Invalid_PE_file_
call fcn.00401597
mov dword [0x40373c], eax
add ax, word [eax + 0x14]
add eax, 0x28
mov ecx, dword [eax]
mov dword [0x403740], ecx
add eax, 4
mov ecx, dword [eax]
add ecx, dword [0x403754]
mov dword [0x403744], ecx
mov eax, dword [0x40373c]
mov eax, dword [eax + 0x34]
mov dword [0x403748], eax
mov eax, dword [0x403744]
add eax, dword [0x403740]
mov dword [0x403758], eax
mov eax, dword [0x403754]
add eax, dword [0x403750]
mov dword [0x40375c], eax
mov eax, dword [0x40373c]
add eax, 6
mov cx, word [eax]
mov word [0x403770], cx
mov eax, dword [0x40373c]
add eax, 0x28
mov ecx, dword [eax]
mov dword [0x403772], ecx
mov eax, dword [0x40373c]
add eax, 0x38
mov ecx, dword [eax]
mov dword [0x403781], ecx
mov eax, dword [0x40373c]
add eax, 0x3c
mov ecx, dword [eax]
mov dword [0x403785], ecx
mov eax, dword [0x40373c]
add eax, 0x50
mov ecx, dword [eax]
mov dword [0x403789], ecx
pop ecx
leave
ret 8
Function at 0x401c44
Capabilities:
Hide graphical window

Disassembly:
push section..text
push 0
call sub.kernel32.dll_GetModuleHandleA
mov dword [0x40345c], eax
call sub.kernel32.dll_GetCommandLineA
mov dword [0x403460], eax
call sub.comctl32.dll_InitCommonControls
push 0xa
push dword [0x403460]
push 0
push dword [0x40345c]
call 0x401c44
push eax
call sub.kernel32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xffffffb4
mov dword [ebp - 0x30], 0x30
mov dword [ebp - 0x2c], 3
mov dword [ebp - 0x28], 0x401d14
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0x1e
push dword [ebp + 8]
pop dword [ebp - 0x1c]
push 0
call sub.gdi32.dll_GetStockObject
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0x403000
push 0x7f00
push 0
call sub.user32.dll_LoadIconA
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], eax
push 0x7f00
push 0
call sub.user32.dll_LoadCursorA
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x30]
push eax
call sub.user32.dll_RegisterClassExA
push 0
push 0x401d14
push 0
push 0x3e8
push dword [0x40345c]
call sub.user32.dll_CreateDialogParamA
push 1
push dword [0x403464]
call sub.user32.dll_ShowWindow
push dword [0x403464]
call sub.user32.dll_UpdateWindow
push 0
push 0
push 0
lea eax, [ebp - 0x4c]
push eax
call sub.user32.dll_GetMessageA
or eax, eax
je 0x401d0d
lea eax, [ebp - 0x4c]
push eax
call sub.user32.dll_TranslateMessage
lea eax, [ebp - 0x4c]
push eax
call sub.user32.dll_DispatchMessageA
jmp 0x401ce6
mov eax, dword [ebp - 0x44]
leave
ret 0x10
Function at 0x403bb0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x44104c]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x20]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x403bdb
xor eax, eax
jmp 0x403c56
lea ecx, [ebp - 0xc]
push ecx
push 0x43ca0c
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
jne 0x403bf4
xor eax, eax
jmp 0x403c56
mov dword [ebp - 0x1c], 1
mov edx, 0xc
imul eax, edx, 0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov dword [ebp + eax - 0x18], ecx
mov dword [ebp + eax - 0x14], edx
mov eax, 0xc
imul ecx, eax, 0
mov dword [ebp + ecx - 0x10], 2
push 0
push 0
push 0x10
lea edx, [ebp - 0x1c]
push edx
push 0
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x403c3f
xor eax, eax
jmp 0x403c56
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x403c51
xor eax, eax
jmp 0x403c56
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040edd0
mov esp, ebp
pop ebp
ret
Function at 0x403e10
Capabilities:
Enumerate process modules
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x364
mov eax, dword [0x44104c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x35c], 0
push 0x5c
mov eax, dword [ebp + 8]
push eax
call fcn.004010b0
add esp, 8
mov dword [ebp - 0x360], eax
mov ecx, dword [ebp - 0x360]
add ecx, 1
mov dword [ebp - 0x360], ecx
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x35c], eax
mov dword [ebp - 0x350], 0x128
lea edx, [ebp - 0x350]
push edx
mov eax, dword [ebp - 0x35c]
push eax
call dword [sym.imp.KERNEL32.dll_Process32First]
mov dword [ebp - 0x358], 0xffffffff
mov dword [ebp - 0x228], 0x224
mov dword [ebp - 0x358], 0xffffffff
mov byte [ebp - 0x351], 0
lea ecx, [ebp - 0x350]
push ecx
call fcn.00403b60
add esp, 4
movzx edx, al
test edx, edx
je 0x403f5c
mov eax, dword [ebp - 0x348]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x358], eax
lea ecx, [ebp - 0x228]
push ecx
mov edx, dword [ebp - 0x358]
push edx
call dword [sym.imp.KERNEL32.dll_Module32First]
mov dword [ebp - 0x364], eax
cmp dword [ebp - 0x364], 0
je 0x403f32
mov eax, dword [ebp - 0x360]
push eax
lea ecx, [ebp - 0x208]
push ecx
call fcn.00417256
add esp, 8
test eax, eax
jne 0x403f16
mov byte [ebp - 0x351], 1
lea edx, [ebp - 0x228]
push edx
mov eax, dword [ebp - 0x358]
push eax
call dword [sym.imp.KERNEL32.dll_Module32Next]
mov dword [ebp - 0x364], eax
jmp 0x403eec
movzx ecx, byte [ebp - 0x351]
test ecx, ecx
jne 0x403f4f
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x348]
push eax
call fcn.00403c70
mov ecx, dword [ebp - 0x358]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [ebp - 0x350]
push edx
mov eax, dword [ebp - 0x35c]
push eax
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x403e7e
mov ecx, dword [ebp - 0x35c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040edd0
mov esp, ebp
pop ebp
ret
Function at 0x403fa0
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x44104c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push eax
movzx ecx, word [ebp + 8]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x403fd1
xor eax, eax
jmp 0x40408a
mov edx, dword [ebp - 0xc]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
ja 0x403fed
xor eax, eax
jmp 0x40408a
mov eax, dword [ebp - 0xc]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x404009
xor eax, eax
jmp 0x40408a
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x404020
xor eax, eax
jmp 0x40408a
push 0
push 0x80
push 2
push 0
push 3
push 0xc0000000
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x404049
xor eax, eax
jmp 0x40408a
mov dword [ebp - 8], 0
push 0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x404077
cmp dword [ebp - 8], 0
ja 0x40407b
xor eax, eax
jmp 0x40408a
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040edd0
mov esp, ebp
pop ebp
ret