joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001ab0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
mov dword [ebp - 4], edx
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
call fcn.10001940
test eax, eax
jne 0x10001ae1
mov eax, 9
pop edi
mov esp, ebp
pop ebp
ret
cmp dword [edi], 0
je 0x10001b32
push esi
xor esi, esi
cmp dword [edi + 8], esi
jbe 0x10001b2a
push ebx
nop
mov eax, dword [edi]
push dword [eax + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x10001b23
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 8]
mov edx, dword [ebp - 4]
mov ecx, ebx
call fcn.100017b0
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [edi + 8]
jb 0x10001af0
pop ebx
pop esi
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x10001b40
Capabilities:
Resume thread

Disassembly:
push edi
mov edi, ecx
cmp dword [edi], 0
je 0x10001bb2
push esi
xor esi, esi
cmp dword [edi + 8], esi
jbe 0x10001b7b
push ebx
mov eax, dword [edi]
push dword [eax + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x10001b74
push ebx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [edi + 8]
jb 0x10001b51
pop ebx
push dword [edi]
push 0
push dword [0x10022810]
call dword [sym.imp.KERNEL32.dll_HeapSize]
pop esi
cmp eax, 0xffffffff
je 0x10001ba2
test eax, eax
je 0x10001ba2
mov ecx, dword [edi]
mov byte [ecx], 0
lea ecx, [ecx + 1]
sub eax, 1
jne 0x10001b97
push dword [edi]
push 0
push dword [0x10022810]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
ret
Function at 0x10001bc0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
imul esi, ecx, 0x2c
mov ebx, edx
mov dword [ebp - 4], 0
push edi
add esi, dword [0x10022ea0]
mov al, byte [esi + 0x14]
mov edi, dword [esi]
and al, 1
je 0x10001be7
sub edi, 5
movzx eax, al
lea ecx, [ebp - 4]
push ecx
push 0x40
lea eax, [eax*2 + 5]
push eax
push edi
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10001c12
pop edi
pop esi
mov eax, 0xa
pop ebx
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x10001c33
mov byte [edi], 0xe9
mov eax, dword [esi + 4]
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
test byte [esi + 0x14], 1
je 0x10001c54
mov eax, dword [esi]
mov word [eax], 0xf9eb
jmp 0x10001c54
mov eax, dword [esi + 0xc]
test byte [esi + 0x14], 1
mov dword [edi], eax
je 0x10001c4e
mov ax, word [esi + 0x10]
mov word [edi + 4], ax
mov al, byte [esi + 0x12]
mov byte [edi + 6], al
jmp 0x10001c54
mov al, byte [esi + 0x10]
mov byte [edi + 4], al
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 8]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push dword [ebp - 8]
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov cl, bl
shl bl, 2
add cl, cl
xor cl, byte [esi + 0x14]
and cl, 2
xor cl, byte [esi + 0x14]
xor bl, cl
and bl, 4
xor bl, cl
xor eax, eax
pop edi
mov byte [esi + 0x14], bl
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100020c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
call fcn.10001d70
cmp dword [0x10022810], ebx
je 0x1000224c
mov edx, dword [0x10022ea8]
xor esi, esi
test edx, edx
je 0x100020fe
mov ecx, dword [0x10022ea0]
mov eax, ecx
cmp edi, dword [eax]
je 0x10002108
inc esi
add eax, 0x2c
cmp esi, edx
jb 0x100020f2
mov ebx, 4
jmp 0x10002251
cmp esi, 0xffffffff
je 0x100020fe
imul edi, esi, 0x2c
mov dword [ebp - 0xc], edi
test byte [edi + ecx + 0x14], 2
je 0x100021e1
xor eax, eax
lea ecx, [ebp - 0x18]
push eax
mov edx, esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
call fcn.10001ab0
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x10002251
mov ebx, dword [0x10022ea0]
add ebx, edi
mov dword [ebp - 4], eax
mov al, byte [ebx + 0x14]
mov edi, dword [ebx]
and al, 1
je 0x10002158
sub edi, 5
movzx eax, al
lea ecx, [ebp - 4]
push ecx
push 0x40
lea eax, [eax*2 + 5]
push eax
push edi
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10002187
lea ecx, [ebp - 0x18]
lea ebx, [eax + 0xa]
call fcn.10001b40
jmp 0x10002251
mov eax, dword [ebx + 0xc]
test byte [ebx + 0x14], 1
mov dword [edi], eax
je 0x100021a2
mov ax, word [ebx + 0x10]
mov word [edi + 4], ax
mov al, byte [ebx + 0x12]
mov byte [edi + 6], al
jmp 0x100021a8
mov al, byte [ebx + 0x10]
mov byte [edi + 4], al
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 8]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push dword [ebp - 8]
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
and byte [ebx + 0x14], 0xf9
lea ecx, [ebp - 0x18]
xor ebx, ebx
call fcn.10001b40
mov ecx, dword [0x10022ea0]
mov edi, dword [ebp - 0xc]
mov ecx, dword [edi + ecx + 8]
call fcn.10001020
mov eax, dword [0x10022ea8]
lea edx, [eax - 1]
cmp esi, edx
jae 0x1000220d
mov ecx, dword [0x10022ea0]
imul eax, eax, 0x2c
lea esi, [ecx - 0x2c]
add esi, eax
add edi, ecx
mov ecx, 0xb
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x10022ea4]
shr eax, 1
mov dword [0x10022ea8], edx
cmp eax, 0x20
jb 0x10002251
cmp eax, edx
jb 0x10002251
imul eax, eax, 0x2c
push eax
push dword [0x10022ea0]
push 8
push dword [0x10022810]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
test eax, eax
je 0x10002251
shr dword [0x10022ea4], 1
mov dword [0x10022ea0], eax
jmp 0x10002251
mov ebx, 2
xor eax, eax
mov ecx, 0x1002280c
xchg dword [ecx], eax
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10002270
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov esi, ecx
call fcn.10001d70
cmp dword [0x10022810], 0
je 0x1000238d
test esi, esi
jne 0x100022a0
lea ecx, [esi + 1]
call fcn.10001ca0
mov esi, eax
jmp 0x10002392
mov ecx, dword [0x10022ea8]
xor edx, edx
test ecx, ecx
je 0x100022c0
mov ebx, dword [0x10022ea0]
mov eax, ebx
cmp esi, dword [eax]
je 0x100022ca
inc edx
add eax, 0x2c
cmp edx, ecx
jb 0x100022b4
mov esi, 4
jmp 0x10002392
cmp edx, 0xffffffff
je 0x100022c0
imul edi, edx, 0x2c
test byte [edi + ebx + 0x14], 2
jne 0x10002386
xor eax, eax
lea ecx, [ebp - 0x10]
push 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
call fcn.10001ab0
mov esi, eax
add esp, 4
test esi, esi
jne 0x10002392
add edi, dword [0x10022ea0]
mov dword [ebp - 4], eax
mov al, byte [edi + 0x14]
mov esi, dword [edi]
and al, 1
je 0x10002314
sub esi, 5
movzx eax, al
lea ebx, [eax*2 + 5]
lea eax, [ebp - 4]
push eax
push 0x40
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1000233d
lea ecx, [ebp - 0x10]
lea esi, [eax + 0xa]
call fcn.10001b40
jmp 0x10002392
mov byte [esi], 0xe9
mov eax, dword [edi + 4]
sub eax, esi
sub eax, 5
mov dword [esi + 1], eax
test byte [edi + 0x14], 1
je 0x10002358
mov eax, dword [edi]
mov word [eax], 0xf9eb
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
or byte [edi + 0x14], 6
lea ecx, [ebp - 0x10]
xor esi, esi
call fcn.10001b40
jmp 0x10002392
mov esi, 5
jmp 0x10002392
mov esi, 2
xor eax, eax
mov ecx, 0x1002280c
xchg dword [ecx], eax
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100026e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x10022a28
call edi
cmp byte [0x10022818], 0
jne 0x10002731
push 0x10022820
push 0x104
push 0x10022c68
call fcn.10008023
push str.LumaCEG_Plugin_x86.log
push 0x104
push 0x10022c68
call fcn.10008087
add esp, 0x18
mov byte [0x10022818], 1
push 0x10022a28
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.10002450
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], eax
push ecx
push 0
push dword [ebp + 8]
mov ecx, dword [eax]
push 0
push 0
push dword [eax + 4]
or ecx, 2
push ecx
call fcn.1000a384
mov esi, eax
add esp, 0x1c
test esi, esi
jns 0x1000276b
or esi, 0xffffffff
push esi
call fcn.100047bc
push esi
mov ebx, eax
push 0
push ebx
call fcn.10006060
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push 0
push dword [ebp + 8]
push 0xffffffffffffffff
push esi
push ebx
push dword [eax + 4]
push dword [eax]
call fcn.1000a340
add esp, 0x30
push 0x10022a28
call edi
push 0
push 0x40000000
push 4
push 0
push 2
push 0x40000000
push 0x10022c68
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x10002830
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edi, eax
test edi, edi
je 0x10002826
lea eax, [ebp - 0x18]
mov byte [ebx + esi - 1], 0xa
push eax
push 0
push esi
mov esi, dword [ebp - 4]
push ebx
push esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0xc], 0xffffffff
mov dword [ebp - 8], edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push edi
call esi
jmp 0x10002830
mov esi, dword [ebp - 4]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x10022a28
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push ebx
call fcn.1000445f
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000ae85
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1000aec4
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1000aec4
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1000aec4
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1000aec4
cmp dword [ecx + 0x74], 0xe
jbe 0x1000aec4
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1000f481
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 0x1000f51e
push ebx
push esi
call fcn.1000f44a
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.1000de17
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1000f4cb
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000f51d
push edi
push eax
call fcn.1000c691
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1000f4eb
call fcn.1000c657
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000f51c
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1000de17
add esp, 0x20
test eax, eax
jne 0x1000f50a
push edi
call fcn.1000c657
jmp 0x1000f512
push ebx
call fcn.1000c657
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 0x1000f71e
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001a5e8
push 0x1001a5e0
push str.FlsAlloc
push 0x1f
call fcn.1000f63a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000f752
push dword [ebp + 8]
mov ecx, esi
call dword [0x100181a4]
call esi
jmp 0x1000f758
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1000f79c
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001a5f8
push 0x1001a5f0
push str.FlsGetValue
push 0x21
call fcn.1000f63a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000f7d3
push dword [ebp + 8]
mov ecx, esi
call dword [0x100181a4]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1000f7db
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001a600
push 0x1001a5f8
push str.FlsSetValue
push 0x22
call fcn.1000f63a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000f815
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x100181a4]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10016d90
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10016dbd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10016dbd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x422004]
jne 0x40100a
repz ret
jmp fcn.00401424

Function at 0x406ecc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x422004]
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.00404a1c
and dword [ebp - 0x14], 0
cmp dword [0x424958], 0
mov dword [ebp - 0x18], eax
jne 0x406f7f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x407027
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x407027
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x424958], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x42495c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x424960], eax
call edi
push eax
call esi
mov dword [0x424968], eax
test eax, eax
je 0x406f7f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x424964], eax
mov eax, dword [0x424964]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x406fd8
cmp dword [0x424968], ecx
je 0x406fd8
push eax
call esi
push dword [0x424968]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x406fd8
test ebx, ebx
je 0x406fd8
call edi
test eax, eax
je 0x406fcf
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x406fcf
test byte [ebp - 8], 1
jne 0x406fd8
or dword [ebp + 0x10], 0x200000
jmp 0x40700b
mov eax, dword [0x42495c]
cmp eax, dword [ebp - 0x18]
je 0x40700b
push eax
call esi
test eax, eax
je 0x40700b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40700b
mov eax, dword [0x424960]
cmp eax, dword [ebp - 0x18]
je 0x40700b
push eax
call esi
test eax, eax
je 0x40700b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x424958]
call esi
test eax, eax
je 0x407027
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x407029
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401000
leave
ret
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCR71.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x40287f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x40288e
pop dword [ebp - 0x34]
mov eax, 0x60fd1b19
sub eax, 0x60bcf28b
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0x4b42ae69
add dword [ebp - 0x44], 0x30f96e2
mov dword [ebp - 0x40], 0xcb269a80
add dword [ebp - 0x40], 0x670cb1c5
mov dword [ebp - 0x3c], 0xceb535ea
add dword [ebp - 0x3c], 0x7d970e44
mov dword [ebp - 0x38], 0xf3bc3c08
sub dword [ebp - 0x38], 0xf3bc3c08
lea eax, [ebp - 0x44]
push eax
mov eax, 0xd2558d12
add eax, 0x2deaf37a
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0xc3abbc4a
add dword [ebp - 0x44], 0xb0c6ad0c
mov dword [ebp - 0x40], 0xc112e950
sub dword [ebp - 0x40], 0x7fa687db
mov dword [ebp - 0x3c], 0x2485a67e
add dword [ebp - 0x3c], 0x3ee9c5ee
mov dword [ebp - 0x38], 0xf96f34e
add dword [ebp - 0x38], 0xf0690cb2
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, 0x9448329f
add eax, 0x6bf84e35
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x3b68e
push 0
call eax
mov ecx, 0xc1a68807
sub ecx, 0xc1a62cc6
mov ebx, eax
mov edx, 0xf09d10e0
add edx, 0xfa3ff20
add edx, dword [ebp - 0x34]
mov edi, 0xacbb0bf7
add edi, 0xc0669f48
add dword [ebp - 0x2c], 0x66d2b764
mov esi, dword [edx]
xor dword [ebp - 8], esi
xor esi, edi
mov dword [ebx], esi
add dword [ebp - 4], ecx
add ebx, 0xaf29ddf8
add ebx, 0x50d6220c
add edx, 0x8559b0fd
sub edx, 0x8559b0f9
loop 0x4029b0
add eax, 0xbcdb003b
sub eax, 0xbcd9a064
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0xe37370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0xe3738e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0xe60074
push ecx
mov edi, eax
call fcn.00e4b198
mov esi, eax
add esp, 8
test esi, esi
jne 0xe373cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.00e4b02e
push esi
call fcn.00e4afb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0xe3a850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0xe3a8ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0xe65720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xe3a8ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.00e4b1e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0xe3a8ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0xe65720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xe3a92a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.00e4c082
xor esi, esi
add esp, 8
cmp eax, esi
je 0xe3a957
mov word [eax], si
add eax, 2
push eax
call fcn.00e4c030
add esp, 4
jmp 0xe3a959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0xe3a8ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0xe3a8b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0xe3aff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0xe3b080
Capabilities:
Get common file path

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0xe3b0c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0xe60458
push ecx
call fcn.00e4b1e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.00e4b1e1
add esp, 0x10
jmp 0xe3b0d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.00e4b20b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.00e4adff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.00e3b050
mov eax, dword [0xe65728]
xor esi, esi
add esp, 0x14
lea edx, [esp + 0x20]
cmp eax, esi
mov dword [esp + 8], 0x18
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
jne 0xe3b13b
push esi
call fcn.00e3afb0
add esp, 4
mov dword [0xe65728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0xe3b14c
mov ecx, 1
mov edx, dword [esp + 0x458]
push esi
push esi
push 0x20
push ecx
mov ecx, dword [esp + 0x45c]
push ecx
push edx
lea ecx, [esp + 0x40]
push esi
push ecx
mov ecx, dword [esp + 0x468]
lea edx, [esp + 0x28]
or ecx, 0x100000
push edx
lea edx, [esp + 0x28]
push ecx
push edx
push eax
call fcn.00e3aff0
mov ecx, dword [esp + 0x34]
add esp, 0x30
neg eax
sbb eax, eax
pop esi
not eax
and eax, ecx
add esp, 0x43c
ret

Function at 0xe3e440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0xe3e4b7
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0xe3e48e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0xe3e471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0xe3e47e
add edx, ecx
cmp ebx, edx
jb 0xe3e48a
inc edi
add eax, 0x28
cmp edi, esi
jb 0xe3e467
xor ecx, ecx
jmp 0xe3e4a2
test eax, eax
jne 0xe3e492
xor ecx, ecx
jmp 0xe3e4a2
mov ecx, dword [eax + 0x14]
mov esi, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
sub ecx, esi
add ecx, ebx
add ecx, eax
mov edx, dword [esp + 0x18]
push edx
push 0
push 0
push ecx
push ecx
call fcn.00e3e3c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret