joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446b8b
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 0x446c28
push ebx
push esi
call fcn.00446b54
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.00444ef4
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x446bd5
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x446c27
push edi
push eax
call fcn.00444be1
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x446bf5
call fcn.00444ba7
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x446c26
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00444ef4
add esp, 0x20
test eax, eax
jne 0x446c14
push edi
call fcn.00444ba7
jmp 0x446c1c
push ebx
call fcn.00444ba7
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 0x10001c08
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x1005c040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x210], esi
mov dword [ebp - 0x20c], esi
call fcn.100016ca
mov ebx, eax
cmp ebx, esi
je 0x10001c79
lea ecx, [ebp - 0x214]
call fcn.10001647
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100333a9
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x10001c97
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x214]
call fcn.10001c08
cmp eax, esi
jne 0x10001cde
lea eax, [ebp - 0x220]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x204]
push eax
push esi
push dword [ebp - 0x214]
mov dword [ebp - 0x208], 0x100
call ebx
test eax, eax
je 0x10001c81
lea ecx, [ebp - 0x214]
call fcn.10001647
push dword [ebp - 0x218]
mov ecx, edi
call fcn.100015d7
lea ecx, [ebp - 0x214]
mov esi, eax
call fcn.10001647
mov eax, esi
jmp 0x10001c68
Function at 0x10001cf2
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6d0
mov eax, dword [0x1005c040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [0x1005d468]
push esi
push edi
mov edi, 0x104
push edi
lea eax, [ebp - 0x418]
push eax
push ebx
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x10001d32
call fcn.1000142a
jmp 0x10001e63
cmp eax, edi
jne 0x10001d40
mov eax, 0x8007007a
jmp 0x10001e63
test ebx, ebx
je 0x10001d58
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp ebx, eax
je 0x10001d58
lea ecx, [ebp - 0x418]
jmp 0x10001dad
push 0x22
pop eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x20e]
push 0x105
push eax
call fcn.10032df1
push eax
call fcn.1000124c
add esp, 0x10
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
push 0x22
pop ecx
mov word [ebp + eax - 0x210], cx
xor ecx, ecx
mov word [ebp + eax - 0x20e], cx
lea ecx, [ebp - 0x210]
mov eax, dword [esi]
push ecx
push str.Module
push esi
call dword [eax + 0xc]
test eax, eax
js 0x10001e63
mov eax, dword [esi]
lea ecx, [ebp - 0x418]
push ecx
push str.Module_Raw
push esi
call dword [eax + 0xc]
test eax, eax
js 0x10001e63
lea eax, [ebp - 0x6d0]
push eax
push 0x1005d224
call dword [sym.imp.ole32.dll_StringFromCLSID]
test eax, eax
js 0x10001e63
push dword [ebp - 0x6d0]
mov eax, dword [esi]
push str.MODULEGUID
push esi
call dword [eax + 0xc]
push dword [ebp - 0x6d0]
mov edi, eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
test edi, edi
jns 0x10001e18
mov eax, edi
jmp 0x10001e63
push 0x2000
push 0x2b4
lea eax, [ebp - 0x6cc]
push eax
push 0
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
mov eax, dword [esi]
jne 0x10001e45
push str.InprocServer32
jmp 0x10001e4a
push str.LocalServer32
push str.MODULETYPE
push esi
call dword [eax + 0xc]
test eax, eax
js 0x10001e63
mov ecx, dword [0x1005d220]
mov eax, dword [ecx]
push esi
call dword [eax + 0x14]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100333a9
leave
ret
Function at 0x10032951
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x1005d4a8], 0
push esi
push edi
jne 0x100328c7
call fcn.10032833
test eax, eax
je 0x1003290c
mov eax, dword [0x1005d4a8]
cmp eax, 1
jne 0x100328e8
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x1003290c
jmp 0x1003294e
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x1003294e
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x10032910
xor eax, eax
jmp 0x1003294e
mov eax, dword [esi]
push dword [0x1005d4a8]
call edi
mov edi, eax
test edi, edi
je 0x10032932
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x1003294e
lea edi, [esi + 0xff0]
push esi
push dword [0x1005d4a8]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x10032938
mov eax, esi
pop edi
pop esi
ret
jmp 0x100328b3

Function at 0x100333a9
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1005c040]
jne 0x100333b3
repz ret
jmp fcn.100380ec
Function at 0x1003d99c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1005c040]
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.10037b24
and dword [ebp - 0x14], 0
cmp dword [0x1005e178], 0
mov dword [ebp - 0x18], eax
jne 0x1003da4f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x1003daf7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x1003daf7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x1005e178], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x1005e17c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x1005e180], eax
call edi
push eax
call esi
mov dword [0x1005e188], eax
test eax, eax
je 0x1003da4f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x1005e184], eax
mov eax, dword [0x1005e184]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x1003daa8
cmp dword [0x1005e188], ecx
je 0x1003daa8
push eax
call esi
push dword [0x1005e188]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x1003daa8
test ebx, ebx
je 0x1003daa8
call edi
test eax, eax
je 0x1003da9f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x1003da9f
test byte [ebp - 8], 1
jne 0x1003daa8
or dword [ebp + 0x10], 0x200000
jmp 0x1003dadb
mov eax, dword [0x1005e17c]
cmp eax, dword [ebp - 0x18]
je 0x1003dadb
push eax
call esi
test eax, eax
je 0x1003dadb
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1003dadb
mov eax, dword [0x1005e180]
cmp eax, dword [ebp - 0x18]
je 0x1003dadb
push eax
call esi
test eax, eax
je 0x1003dadb
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x1005e178]
call esi
test eax, eax
je 0x1003daf7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x1003daf9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100333a9
leave
ret
Function at 0x40b4e5
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
push esp
pop ebp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004041e5
xor ebx, ebx
cmp dword [0x434898], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x40b5ba
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x40b525
sub eax, eax
jmp 0x40b67e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x40b51e
push eax
call fcn.00404182
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x434898], eax
call esi
push eax
call fcn.00404182
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x43489c], eax
call esi
push eax
call fcn.00404182
mov dword [0x4348a0], eax
lea eax, [ebp - 8]
push eax
call fcn.004067af
or eax, eax
pop ecx
pop ecx
je 0x40b588
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00403c3f
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x40b5ba
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00404182
cmp eax, ebx
pop ecx
mov dword [0x4348a8], eax
je 0x40b5ba
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404182
pop ecx
mov dword [0x4348a4], eax
mov eax, dword [0x4348a4]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x40b633
cmp dword [0x4348a8], esi
je 0x40b633
push eax
call fcn.004041ee
pop ecx
call eax
cmp eax, ebx
je 0x40b600
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4348a8]
call fcn.004041ee
pop ecx
call eax
or eax, eax
je 0x40b600
test byte [ebp - 0x18], 1
jne 0x40b633
lea eax, [ebp - 0xc]
push eax
call fcn.004067e6
or eax, eax
pop ecx
je 0x40b61b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00403c3f
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x40b62a
or dword [ebp + 0x10], 0x200000
jmp 0x40b664
or dword [ebp + 0x10], 0x40000
jmp 0x40b664
mov eax, dword [0x43489c]
cmp eax, esi
je 0x40b664
push eax
call fcn.004041ee
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x40b664
mov eax, dword [0x4348a0]
cmp eax, esi
je 0x40b664
push dword [ebp - 4]
push eax
call fcn.004041ee
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x434898]
call fcn.004041ee
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40915c
nop
nop
mov ecx, 0x4090448b
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x431024
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
nop
mov ecx, 0x49290226
nop
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x431084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x406ed3
Capabilities:
Create thread

Disassembly:
sub esp, 8
push esi
mov esi, ecx
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x406f0d
call fcn.00407990
test eax, eax
je 0x406f14
lea eax, [esp + 8]
push eax
push 4
push esi
push 0x407430
push 0
push 0
call fcn.004109dd
add esp, 0x18
mov dword [esi + 0x6c], eax
test eax, eax
je 0x406f0d
push eax
call dword [0x42b2dc]
xor eax, eax
pop esi
add esp, 8
ret
mov eax, dword [esi + 0x74]
test eax, eax
je 0x406f0d
mov ecx, dword [eax]
lea edx, [esp + 8]
push edi
push edx
push eax
call dword [ecx + 0x18]
mov eax, dword [esi + 0x74]
lea edx, [esp + 8]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov ecx, dword [esp + 8]
push 0
mov edi, ecx
mov eax, dword [esi + 0x74]
neg edi
push edi
mov edi, dword [esp + 0x14]
push edi
push ecx
mov ecx, dword [esi + 0x40]
mov edx, dword [eax]
push 0
push ecx
mov ecx, dword [esi + 0x3c]
push ecx
mov ecx, dword [esi + 0x60]
push 0
push 0
push ecx
push eax
call dword [edx + 0x20]
test eax, eax
pop edi
jne 0x406f0d
mov edx, dword [esi + 0x1c]
push eax
push eax
push edx
call dword [0x42b380]
mov eax, 1
pop esi
add esp, 8
ret

Function at 0x40ca40
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
jne 0x40ca4f
xor eax, eax
pop esi
ret 0xc
mov eax, dword [0x435a20]
test eax, eax
je 0x40ca5d
call fcn.0040c9e0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
cmp edx, 8
push ebx
not eax
jb 0x40cb5f
push edi
mov edi, edx
shr edi, 3
mov ecx, eax
xor ebx, ebx
mov bl, byte [esi]
and ecx, 0xff
xor ecx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [ecx*4 + 0x43a948]
sub edx, 8
xor eax, ebx
inc esi
mov ecx, eax
xor ebx, ebx
mov bl, byte [esi]
and ecx, 0xff
xor ecx, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov ecx, dword [ecx*4 + 0x43a948]
shr eax, 8
xor ecx, eax
inc esi
mov eax, ecx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov eax, dword [eax*4 + 0x43a948]
shr ecx, 8
xor eax, ecx
inc esi
mov ecx, eax
and ecx, 0xff
xor ecx, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov ecx, dword [ecx*4 + 0x43a948]
shr eax, 8
xor ecx, eax
inc esi
mov eax, ecx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov eax, dword [eax*4 + 0x43a948]
shr ecx, 8
xor eax, ecx
inc esi
mov ecx, eax
and ecx, 0xff
xor ecx, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov ecx, dword [ecx*4 + 0x43a948]
shr eax, 8
xor ecx, eax
inc esi
mov eax, ecx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov eax, dword [eax*4 + 0x43a948]
shr ecx, 8
xor eax, ecx
inc esi
mov ecx, eax
and ecx, 0xff
xor ecx, ebx
shr eax, 8
mov ecx, dword [ecx*4 + 0x43a948]
xor eax, ecx
inc esi
dec edi
jne 0x40ca77
pop edi
test edx, edx
je 0x40cb81
mov ecx, eax
xor ebx, ebx
mov bl, byte [esi]
and ecx, 0xff
xor ecx, ebx
shr eax, 8
mov ecx, dword [ecx*4 + 0x43a948]
xor eax, ecx
inc esi
dec edx
jne 0x40cb63
pop ebx
pop esi
not eax
ret 0xc
Function at 0x426b3f
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x429e73
call fcn.004116b8
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.0042414c
mov eax, dword [0x436efc]
lea ebx, [esi + 0x24]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebx], eax
mov eax, dword [ebp + 0x10]
mov dword [esi], 0x42d7bc
mov ecx, 0x43c758
mov byte [ebp - 4], 1
push dword [eax + 0xc]
push dword [ebp + 8]
call fcn.004269c3
push dword [ebp + 0xc]
lea ecx, [esi + 0xc]
call fcn.00422ca3
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 8]
mov dword [esi + 0x1c], eax
lea eax, [ebp + 0x10]
push eax
call fcn.0040f4c6
push eax
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.00422c53
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 1
call fcn.00422b66
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x18], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x40], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10
Function at 0x419a41
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.0041819a
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x419a7e
call fcn.0041968a
mov dword [esi + 0xc], 1
jmp 0x419a83
call fcn.0041968a
cmp dword [esi], 0
je 0x419acc
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x419aa4
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.004027d0
jmp 0x419ab6
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.00402100
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00401960
jmp 0x419af0
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x419af0
push dword [esi]
push dword [ebp + 8]
call fcn.0040ed59
pop esi
pop ebp
ret 0xc

Function at 0x420737
Capabilities:
Contain obfuscated stackstrings

Disassembly:
cmp dh, al
test dword [ecx + 0x11fffffc], esp
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.0041f7c4
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0041f779
add esp, 0xc
mov dword [ebp - 0x3d4], eax
call fcn.0041f7b4
pop ss
dec edx
cmp ebp, dword [eax + 4]
add dword [eax], eax
add byte [ebp - 0x12b7b], cl
call dword [eax - 1]
xchg ebp, eax
sub al, 0xfc
invalid

Function at 0x442859
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.00407a22
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x442892
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.00442496
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8
Function at 0x4428f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x78], ebx
test ebx, 0xffff0000
jne 0x442914
cmp dword [edi + 0x74], 0
jne 0x442914
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.00407a22
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.004428b1
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x473548
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0x473562
call fcn.00407a22
mov esi, dword [eax + 0xc]
push dword [0x56976c]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x473580
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x473578
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x4735ad
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x47357a
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.00473476
mov esi, eax
jmp 0x47359f

Function at 0x4d058e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.00416521
call fcn.00406131
cmp eax, esi
pop esi
jne 0x4d05aa
mov ecx, 0x565c80
jmp fcn.0040ca43
ret

Function at 0x4d3f2e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x4d3f46
mov edi, dword [esi + 0xc]
jmp 0x4d3f86
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4d3f5f
call fcn.0040dc10
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4d3f74
call fcn.0040dc10
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4d3f86
call fcn.0040dc10
call fcn.00407a22
cmp dword [eax + 0x3c], 0
je 0x4d3f9b
push edi
mov ecx, ebx
call fcn.004d2d58
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004d3e48
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x4d3fb9
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4d3fc5
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x4f879b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5646d8]
jne 0x4f87a5
repz ret
jmp fcn.004ff6e3

Function at 0x509bd8
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5646d8]
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.004ff10b
and dword [ebp - 0x14], 0
cmp dword [0x56bff4], 0
mov dword [ebp - 0x18], eax
jne 0x509c8b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x509d33
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x5452d8
push ebx
call edi
test eax, eax
je 0x509d33
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x5452c8
push ebx
mov dword [0x56bff4], eax
call edi
push eax
call esi
push 0x5452b4
push ebx
mov dword [0x56bff8], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x56bffc], eax
call edi
push eax
call esi
mov dword [0x56c004], eax
test eax, eax
je 0x509c8b
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x56c000], eax
mov eax, dword [0x56c000]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x509ce4
cmp dword [0x56c004], ecx
je 0x509ce4
push eax
call esi
push dword [0x56c004]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x509ce4
test ebx, ebx
je 0x509ce4
call edi
test eax, eax
je 0x509cdb
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x509cdb
test byte [ebp - 8], 1
jne 0x509ce4
or dword [ebp + 0x10], 0x200000
jmp 0x509d17
mov eax, dword [0x56bff8]
cmp eax, dword [ebp - 0x18]
je 0x509d17
push eax
call esi
test eax, eax
je 0x509d17
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x509d17
mov eax, dword [0x56bffc]
cmp eax, dword [ebp - 0x18]
je 0x509d17
push eax
call esi
test eax, eax
je 0x509d17
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x56bff4]
call esi
test eax, eax
je 0x509d33
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x509d35
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f879b
leave
ret