joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403b50
Capabilities:
Create a process with modified i/o handles and window
Create process on windows
Create process suspended
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea esi, [ebp - 0x84]
push ebx
sub esp, 0xcc
mov dword [esp], str.TEMP
call sub.msvcrt.dll_getenv
mov dword [ebp - 0x8c], esi
test eax, eax
je 0x403d83
mov dword [esp], eax
mov ebx, eax
call sub.msvcrt.dll_strlen
mov dword [ebp - 0x5c], eax
mov edi, eax
cmp eax, 0xf
ja 0x403d00
cmp eax, 1
jne 0x403ce8
movzx edx, byte [ebx]
mov byte [ebp - 0x84], dl
mov edx, esi
mov dword [ebp - 0x88], eax
lea ebx, [ebp - 0x6c]
lea ecx, [ebp - 0x74]
mov byte [edx + eax], 0
mov eax, dword [ebp - 0x8c]
mov edx, dword [ebp - 0x88]
mov dword [ebp - 0x74], ebx
mov dword [esp], eax
add edx, eax
mov dword [esp + 4], edx
call fcn.00401bb0
mov eax, 0x3fffffff
sub eax, dword [ebp - 0x70]
sub esp, 8
cmp eax, 0xb
jbe 0x403d77
mov dword [esp + 4], 0xc
lea ecx, [ebp - 0x74]
mov dword [esp], str.WixCore.exe
call fcn.004c3720
mov eax, dword [ebp - 0x74]
sub esp, 8
mov dword [esp], 0x5041f1
mov dword [esp + 4], eax
call fcn.00403680
xor eax, eax
lea edi, [ebp - 0x5c]
mov dword [ebp - 0x5c], 0x44
mov dword [ebp - 0x30], 0x101
mov dword [ebp - 0x58], 0
mov word [ebp - 0x2a], ax
mov dword [ebp - 0x28], 0
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
sub esp, 4
lea eax, [ebp - 0x9c]
mov dword [esp + 0x24], eax
mov eax, dword [ebp - 0x74]
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x8000000
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
sub esp, 0x28
test eax, eax
jne 0x403d50
mov eax, dword [ebp - 0x74]
cmp eax, ebx
je 0x403cbd
mov edi, dword [ebp - 0x6c]
mov dword [esp], eax
lea edx, [edi + 1]
mov dword [esp + 4], edx
call fcn.004f09f0
mov eax, dword [ebp - 0x8c]
cmp eax, esi
je 0x403cdc
mov esi, dword [ebp - 0x84]
mov dword [esp], eax
lea edx, [esi + 1]
mov dword [esp + 4], edx
call fcn.004f09f0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
test eax, eax
jne 0x403d8f
mov edx, esi
jmp 0x403ba8
lea eax, [ebp - 0x5c]
mov dword [esp + 4], 0
lea ecx, [ebp - 0x8c]
mov dword [esp], eax
call fcn.004c3880
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x8c], eax
sub esp, 8
mov dword [ebp - 0x84], edx
mov dword [esp + 8], edi
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x8c]
jmp 0x403ba8
mov eax, dword [ebp - 0x98]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp], eax
call edi
mov eax, dword [ebp - 0x9c]
sub esp, 4
mov dword [esp], eax
call edi
sub esp, 4
jmp 0x403ca4
mov dword [esp], 0x5041b0
call fcn.004f6c60
mov dword [esp], 0x504068
call fcn.004f6b70
mov eax, esi
jmp 0x403d2b
Function at 0x441370
Capabilities:
Contain obfuscated stackstrings
Print debug messages

Disassembly:
push edi
xor eax, eax
mov ecx, 0x10
sub esp, 0x88
lea edi, [esp + 0x40]
mov dword [esp + 0x15], 0x6f727245
mov dword [esp + 0x19], 0x6c632072
mov dword [esp + 0x1d], 0x696e6165
mov dword [esp + 0x21], 0x7520676e
mov dword [esp + 0x25], 0x70732070
mov dword [esp + 0x29], 0x6b5f6e69
mov dword [esp + 0x2d], 0x20737965
mov dword [esp + 0x31], 0x20726f66
mov dword [esp + 0x35], 0x65726874
mov dword [esp + 0x39], 0x206461
mov dword [esp + 0x3d], 0
mov dword [esp + 0x7c], 0
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea edx, [esp + 0x3c]
mov dword [esp + 8], 0xa
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll__ultoa]
cmp byte [esp + 0x3c], 0
je 0x44144b
mov eax, 0x27
lea edx, [esp + 0x15]
jmp 0x44141d
cmp eax, 0x6a
je 0x44143a
mov ecx, eax
add eax, 1
cmp byte [edx + eax], 0
jne 0x441418
cmp eax, 0x6a
je 0x44143a
add ecx, 2
mov byte [esp + eax + 0x15], 0xa
mov byte [esp + ecx + 0x15], 0
mov dword [esp], edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
sub esp, 4
call sub.msvcrt.dll_abort
mov ecx, 0x28
mov eax, 0x27
lea edx, [esp + 0x15]
jmp 0x441430

Function at 0x4417a0
Capabilities:
Allocate thread local storage

Disassembly:
push edi
mov eax, 0xf61d74
push esi
push ebx
sub esp, 0x10
call fcn.00441130
lea esi, [eax + 4]
mov ebx, eax
mov dword [esp], esi
call fcn.00440990
mov edi, dword [0xf61d74]
test edi, edi
jne 0x441808
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x501584], eax
cmp eax, 0xffffffff
je 0x4f7ac5
mov dword [0xf61d74], 1
mov dword [esp], esi
call fcn.00440ce0
test ebx, ebx
je 0x4417f8
mov eax, ebx
call fcn.00441460
add esp, 0x10
xor eax, eax
pop ebx
pop esi
pop edi
ret
cmp edi, 1
je 0x4417e5
mov dword [esp], 2
call dword [0x50155c]
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0xf61d74
mov dword [esp + 4], str._once__p_is__d_n
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
jmp 0x4417e5
Function at 0x441840
Capabilities:
Set thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
call fcn.00441550
mov edx, dword [entry3]
test edx, edx
je 0x441970
mov ebx, eax
test eax, eax
je 0x441970
mov dword [eax + 0x24], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebx + 0x3c], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [ebx + 0x1c], 0xffffffff
mov dword [ebx + 0x18], eax
sub esp, 0x10
lea eax, [ebx + 0x38]
mov dword [esp], eax
call fcn.00441030
cmp eax, 1
je 0x44197c
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebx + 0x38], 0xffffffff
mov dword [ebx + 0x64], 0
mov dword [ebx + 0x14], 0
call ebp
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov esi, eax
call ebp
lea edx, [ebx + 0x14]
mov dword [esp + 8], edi
mov dword [esp + 0x18], 2
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], edx
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
sub esp, 0x1c
test eax, eax
je fcn.004f7aca
mov eax, dword [ebx + 0x14]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov dword [ebx + 0x68], 0
mov dword [ebx + 0x6c], eax
movzx eax, byte [ebx + 0x20]
sub esp, 4
and eax, 0xffffffcf
or eax, 0x10
mov byte [ebx + 0x20], al
mov eax, dword [0x501584]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
test eax, eax
je 0x441981
add esp, 0x2c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
add esp, 0x2c
xor ebx, ebx
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
call fcn.00441370
jmp fcn.004f7aca

Function at 0x441990
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
sub esp, 0x1c
cmp dword [0xf61d74], 1
je 0x4419a1
call fcn.004417a0
mov eax, dword [0x501584]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
test eax, eax
je 0x4419c0
add esp, 0x1c
ret
add esp, 0x1c
jmp fcn.00441840
Function at 0x4421a0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
mov ebx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov eax, dword [ebx]
test edx, edx
je 0x4422d8
cmp eax, 1
je 0x4421f4
mov eax, ebx
call fcn.00441130
lea edi, [eax + 4]
mov esi, eax
mov dword [esp], edi
call fcn.00440990
mov ebp, dword [ebx]
test ebp, ebp
je 0x442200
cmp ebp, 1
jne 0x4422a8
mov dword [esp], edi
call fcn.00440ce0
test esi, esi
je 0x4421f4
mov eax, esi
call fcn.00441460
add esp, 0x2c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
cmp dword [0xf61d74], 1
mov dword [esp + 0x14], 0x441520
mov dword [esp + 0x18], esi
je 0x44221a
call fcn.004417a0
mov eax, dword [0x501584]
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [esp], eax
call ebp
sub esp, 4
test eax, eax
je 0x442318
mov eax, dword [eax + 0xc]
mov dword [esp + 0x1c], eax
lock or dword [esp], 0
cmp dword [0xf61d74], 1
je 0x44224f
call fcn.004417a0
mov eax, dword [0x501584]
mov dword [esp], eax
call ebp
sub esp, 4
test eax, eax
je 0x442300
lea edx, [esp + 0x14]
mov dword [eax + 0xc], edx
lock or dword [esp], 0
call dword [esp + 0x44]
cmp dword [0xf61d74], 1
je 0x442282
call fcn.004417a0
mov eax, dword [0x501584]
mov dword [esp], eax
call ebp
sub esp, 4
test eax, eax
je 0x4422e8
mov edx, dword [esp + 0x1c]
mov dword [eax + 0xc], edx
mov dword [ebx], 1
jmp 0x4421e1
mov dword [esp], 2
call dword [0x50155c]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], ebx
mov dword [esp + 4], str._once__p_is__d_n
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
jmp 0x4421e1
add esp, 0x2c
mov eax, 0x16
pop ebx
pop esi
pop edi
pop ebp
ret
call fcn.00441840
test eax, eax
jne 0x442293
jmp 0x4f7add
call fcn.00441840
test eax, eax
jne 0x442264
jmp 0x4f7aef
call fcn.00441840
test eax, eax
jne 0x442235
jmp 0x4f7ae8
mov eax, dword [esp + 0x1c]
mov dword [0], eax
ud2
mov eax, dword [pe_dos_header]
ud2
lea eax, [esp + 0x14]
mov dword [0], eax
ud2

Function at 0x442580
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [0xf61d74], 1
mov esi, eax
je 0x44259d
call fcn.004417a0
mov eax, dword [0x501584]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
test eax, eax
je 0x442600
lea ebp, [ebx + 0x38]
xor edi, edi
mov dword [esp], ebp
call fcn.00441040
mov eax, dword [esp + 0x30]
cmp dword [ebx + 0x28], eax
jbe 0x4425dd
mov eax, dword [ebx + 0x30]
mov edx, dword [esp + 0x30]
cmp byte [eax + edx], 0
je 0x4425dd
mov eax, dword [ebx + 0x2c]
mov edi, dword [eax + edx*4]
mov dword [esp], ebp
call fcn.00441090
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
call fcn.00441840
mov ebx, eax
jmp 0x4425b4
Function at 0x448810
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ecx, 0x1a
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x80]
mov esi, 0x5078d9
push ebx
sub esp, 0x9c
mov eax, dword [str.not_enough_space_for_format_expansion__Please_submit_full_bug_report_at_https:__gcc.gnu.org_bugs__:_n]
mov dword [ebp - 0x81], eax
mov eax, dword [0x50793d]
mov dword [ebp - 0x1c], eax
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp + 0xc]
sub edx, dword [ebp + 8]
lea eax, [edx + 0x84]
and eax, 0xfffffff0
call fcn.00431650
mov ecx, 0x1a
sub esp, eax
lea esi, [ebp - 0x81]
mov dword [ebp - 0x8c], edx
lea ebx, [esp + 0x1b]
and ebx, 0xfffffff0
mov edi, ebx
lea eax, [ebx + 0x68]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 8]
mov dword [esp + 8], edx
mov dword [esp], eax
mov dword [esp + 4], ecx
call sub.msvcrt.dll_memcpy
mov edx, dword [ebp - 0x8c]
mov byte [ebx + edx + 0x68], 0
mov dword [esp], ebx
call fcn.004f6b70
nop
nop
nop
nop
nop
nop
nop
push edi
push esi
push ebx
sub esp, 0x20
cmp byte [0x5030d4], 0
jne 0x448936
mov byte [0x5030d4], 1
call fcn.004f0c50
test eax, eax
je 0x448904
mov ebx, dword [eax + 4]
xor eax, eax
cmp byte [ebx], 0x2a
mov dword [esp + 8], 0
sete al
mov dword [esp + 4], 0
add ebx, eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0xc], eax
mov dword [esp], ebx
call fcn.004305d0
mov dword [esp], 2
mov esi, dword [fcn.0043f1d0]
mov edi, eax
call esi
mov dword [esp + 8], 0x30
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.terminate_called_after_throwing_an_instance_of_
call sub.msvcrt.dll_fwrite
mov edx, dword [esp + 0x1c]
mov dword [esp], 2
test edx, edx
je 0x4488f4
call esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.msvcrt.dll_fputs
mov dword [esp], 2
call esi
mov dword [esp + 8], 2
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], 0x50676d
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x4f5a34
jmp 0x4f5a2c
call esi
mov dword [esp], edi
mov dword [esp + 4], eax
call sub.msvcrt.dll_fputs
jmp 0x4488ba
mov dword [esp], 2
call dword [0x50155c]
mov dword [esp + 8], 0x2d
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.terminate_called_without_an_active_exception_n
call sub.msvcrt.dll_fwrite
jmp 0x4f5a27
mov dword [esp], 2
call dword [0x50155c]
mov dword [esp + 8], 0x1d
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.terminate_called_recursively_n
call sub.msvcrt.dll_fwrite
call sub.msvcrt.dll_abort
nop
nop
nop
nop
nop
nop
nop
nop
push ebx
mov ebx, ecx
sub esp, 0x18
mov dword [ecx], 0x50fb10
call fcn.004e94d0
mov dword [esp], ebx
mov dword [esp + 4], 4
call fcn.004f09f0
add esp, 0x18
pop ebx
ret

Function at 0x4db470
Capabilities:
Parse credit card information

Disassembly:
mov eax, dword [ecx + 0x98]
cmp dword [ecx + 0x94], eax
je 0x4db4a0
mov eax, dword [ecx + 0x7c]
test eax, eax
je 0x4db490
cmp eax, 2
je 0x4db498
cmp eax, 1
je 0x4db4b0
ret
jmp fcn.004db610
jmp fcn.004dc2f0
mov dword [ecx + 0x84], 0x1b
ret
jmp fcn.004dba10
Function at 0x4dc660
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
xor edx, edx
mov ebp, ecx
mov ecx, 0x12
push edi
mov edi, ebp
push esi
mov esi, 0x501020
sub esp, 0x10
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x28]
mov dword [ebp + 0x48], 0x8620030
mov dword [ebp + 0x4c], 0xa6e0c66
mov dword [ebp + 0x50], 0x9740d72
mov dword [ebp + 0x54], 0xb76
mov dword [ebp + 0x58], 0x2f2f2222
mov dword [ebp + 0x5c], 0x7615c5c
mov dword [ebp + 0x60], 0xc660862
mov dword [ebp + 0x64], 0xd720a6e
mov dword [ebp + 0x68], 0xb760974
mov word [ebp + 0x6c], dx
mov dword [ebp + 0x70], str._._____
mov dword [ebp + 0x74], str..__
mov dword [ebp + 0x78], str.._____
mov dword [ebp + 0x7c], 0
mov dword [ebp + 0x80], eax
test al, 0x10
je 0x4dc7c0
lea edx, [ebp + 0x48]
mov dword [ebp + 0x88], edx
mov edx, str._._____
mov eax, dword [esp + 0x20]
mov dword [ebp + 0x8c], edx
mov ecx, 0x502ae0
mov byte [ebp + 0x90], 0
mov dword [ebp + 0x94], eax
mov eax, dword [esp + 0x24]
mov dword [ebp + 0x98], eax
call fcn.00451360
mov edx, dword [esp + 0x2c]
mov edx, dword [edx]
mov ecx, dword [edx + 4]
cmp eax, dword [edx + 8]
jae 0x4dc813
mov eax, dword [ecx + eax*4]
test eax, eax
je 0x4dc813
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x50c4e4
mov dword [esp + 4], 0x50bc88
mov dword [esp], eax
call fcn.004f1130
test eax, eax
je 0x4dc81c
mov dword [ebp + 0x9c], eax
test byte [ebp + 0x80], 0x10
mov ecx, ebp
mov eax, 0x4dbf10
mov edx, 0x4dc4d0
lea esi, [ebp + 0xa8]
mov dword [ebp + 0xa4], 0
cmove eax, edx
mov dword [ebp + 0xa0], esi
mov byte [ebp + 0xa8], 0
mov dword [ebp + 0xbc], 0
mov dword [ebp + 0xb8], eax
call fcn.004db470
add esp, 0x10
pop esi
pop edi
pop ebp
ret 0x10
lea edx, [ebp + 0x58]
mov dword [ebp + 0x88], edx
mov edx, str..__
test al, 0x20
jne 0x4dc6f7
mov edx, str.._____
test al, 0x40
jne 0x4dc6f7
mov edx, str..___n
test ah, 1
jne 0x4dc6f7
mov ecx, eax
mov edx, str..______n
and ecx, 0x200
jne 0x4dc6f7
test al, 0x80
mov edx, str.._____
cmove edx, ecx
jmp 0x4dc6f7
call fcn.004f6b10
mov edi, eax
jmp 0x4dc821
call fcn.004f5750
mov edx, dword [ebp + 0xa0]
cmp esi, edx
je 0x4dc840
mov eax, dword [ebp + 0xa8]
mov dword [esp], edx
add eax, 1
mov dword [esp + 4], eax
call fcn.004f09f0
mov dword [esp], edi
call fcn.00433f10
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x4013d9
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 1
mov eax, str.SeDebugPrivilege
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 1
push dword [ebp + 8]
call fcn.0040141b
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40140d
push ebx
call fcn.0041edc9
add esp, 4
mov eax, dword [ebp - 8]
jmp 0x401415
mov esp, ebp
pop ebp
ret 8
Function at 0x40141b
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.0041edc3
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.0041edc3
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp + 8], 0
jne 0x4014b6
mov dword [ebp - 0x18], esp
mov eax, 0
call fcn.0041eddb
cmp dword [ebp - 0x18], esp
je 0x4014ae
push 6
call fcn.0041edcf
add esp, 4
mov dword [ebp - 4], eax
jmp 0x4014e5
mov dword [ebp - 0x18], esp
push dword [ebp + 8]
push 0
push 0x1f0fff
mov eax, 1
call fcn.0041eddb
cmp dword [ebp - 0x18], esp
je 0x4014e2
push 6
call fcn.0041edcf
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4014f9
mov eax, 0
jmp 0x40169c
push 0x80000301
push 0
push 0x20
push 0x80000301
push 0
push 8
push 2
mov ebx, 0x41f260
call fcn.0041edd5
add esp, 0x1c
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], esp
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x18]
push dword [ebp - 4]
mov eax, 2
call fcn.0041eddb
cmp dword [ebp - 0x1c], esp
je 0x40154f
push 6
call fcn.0041edcf
add esp, 4
test eax, eax
je 0x401672
cmp dword [ebp + 0x14], 0
jne 0x401592
mov dword [ebp - 0x18], esp
push dword [ebp - 0xc]
push str.SeDebugPrivilege
push 0
mov eax, 3
call fcn.0041eddb
cmp dword [ebp - 0x18], esp
je 0x40158d
push 6
call fcn.0041edcf
add esp, 4
jmp 0x4015be
mov dword [ebp - 0x18], esp
push dword [ebp - 0xc]
mov ebx, dword [ebp + 0x10]
push dword [ebx]
push 0
mov eax, 3
call fcn.0041eddb
cmp dword [ebp - 0x18], esp
je 0x4015be
push 6
call fcn.0041edcf
add esp, 4
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 0xc
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 2
mov dword [ebp - 0x18], esp
push 0
push 0
push 0x10
push dword [ebp - 0x10]
push 0
push dword [ebp - 8]
mov eax, 4
call fcn.0041eddb
cmp dword [ebp - 0x18], esp
je 0x40164d
push 6
call fcn.0041edcf
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esp
push dword [ebp - 8]
mov eax, 5
call fcn.0041eddb
cmp dword [ebp - 0x18], esp
je 0x401672
push 6
call fcn.0041edcf
add esp, 4
mov dword [ebp - 0x18], esp
push dword [ebp - 4]
mov eax, 5
call fcn.0041eddb
cmp dword [ebp - 0x18], esp
je 0x401694
push 6
call fcn.0041edcf
add esp, 4
mov eax, dword [ebp - 0x14]
jmp 0x40169c
push eax
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.0041edc9
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.0041edc9
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x415841
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 8], 0x4158f4
mov eax, dword [ebp + 8]
leave
sub esp, 0x60
pushfd
pushal
push dword [esp + 0x84]
push 0
push eax
fnsave dword [esp + 0x30]
wait
push dword fs:[0]
mov dword fs:[0], esp
mov eax, 1
jmp dword [esp + 0xc]
Function at 0x427d30
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b718b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004abf22
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x427db2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004a9e34
mov eax, dword [eax]
push 0xe0cc98
push eax
call fcn.0049bf14
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004ac1ad
test bl, bl
je 0x427db2
push 0xe0cc98
lea ecx, [esp + 0xc]
call fcn.004ac53d
push 0xe0cca4
lea ecx, [esp + 0xc]
call fcn.004ac53d
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x427dee
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004ac1ad
jmp 0x427eb9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x427e72
lea edx, [esp + 0x7c]
push 0xe0cca0
push edx
call fcn.0049bf14
add esp, 8
test eax, eax
je 0x427e72
lea eax, [esp + 0x7c]
push 0xe0cc9c
push eax
call fcn.0049bf14
add esp, 8
test eax, eax
je 0x427e72
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x427e02
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004ac1ad
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x4286c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x428722
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x428730
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b720b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0xe20a30]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x428868
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x428796
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004ac1ad
xor eax, eax
jmp 0x4288df
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004ac2ea
push esi
lea ecx, [esp + 0xc]
call fcn.004ac579
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0xe0ccd8
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x4288bd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.004286c0
test eax, eax
jne 0x4288bd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push SysReAllocString
mov ecx, edi
call fcn.004286c0
test eax, eax
jne 0x4288bd
lea eax, [esp + 0x14]
push 0xe0ccb4
push eax
call fcn.0049d060
mov esi, eax
add esp, 8
test esi, esi
jne 0x42889c
lea ecx, [esp + 0x14]
push 0xe0ccb0
push ecx
call fcn.0049cfe0
mov esi, eax
add esp, 8
test esi, esi
jne 0x42889c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x42889f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004ac29a
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4287ae
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004ac1ad
xor eax, eax
jmp 0x4288df
mov byte [esi], 0
push 0xe0ccac
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.004ac1ad
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4