joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48af30
Capabilities:
Get file size

Disassembly:
sub esp, 0xc
push esi
push 0
push 0x80
push 3
push 0
push 3
push SHChangeNotifyDeregister
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x48af6b
lea ecx, [esp + 8]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x48af72
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
add esp, 0xc
ret
mov edx, dword [esp + 8]
fild dword [esp + 8]
test edx, edx
jge 0x48af84
fadd qword [0x51d0a0]
fld qword [0x51d098]
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
fmul st(1), st(0)
lea ecx, [eax*4]
mov dword [esp + 4], ecx
fmul st(1), st(0)
push esi
fmulp st(1)
fild dword [esp + 8]
faddp st(1)
fstp dword [edx]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop esi
add esp, 0xc
ret
Function at 0x48da30
Capabilities:
Get session user name
Get user security identifier

Disassembly:
sub esp, 0x18
push ebp
xor ebp, ebp
cmp dword [esp + 0x20], ebp
je 0x48da61
lea eax, [esp + 8]
push eax
push ebp
push 2
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x10], ebp
call sub.Secur32.dll_GetUserNameExW
test al, al
je 0x48da68
xor eax, eax
pop ebp
add esp, 0x18
ret
mov ecx, dword [esp + 8]
lea edx, [ecx + ecx]
push esi
push edx
call fcn.004e519e
mov esi, eax
add esp, 4
cmp esi, ebp
je 0x48dba1
lea eax, [esp + 0xc]
push eax
push esi
push 2
call sub.Secur32.dll_GetUserNameExW
test al, al
je 0x48dba1
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x14]
push edx
push ebp
lea eax, [esp + 0x20]
push eax
push ebp
push esi
push ebp
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
jne 0x48db98
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x48db98
mov ecx, dword [esp + 0x14]
push ebx
push ecx
call fcn.004e519e
mov ebx, eax
add esp, 4
cmp ebx, ebp
jne 0x48daee
push esi
call fcn.004e4b2f
add esp, 4
pop ebx
pop esi
xor eax, eax
pop ebp
add esp, 0x18
ret
mov edx, dword [esp + 0x14]
lea eax, [edx + edx]
push edi
push eax
call fcn.004e519e
mov edi, eax
add esp, 4
cmp edi, ebp
jne 0x48db1e
push esi
call fcn.004e4b2f
push ebx
call fcn.004e4b2f
add esp, 8
pop edi
pop ebx
pop esi
xor eax, eax
pop ebp
add esp, 0x18
ret
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x1c]
push edx
push edi
lea eax, [esp + 0x28]
push eax
push ebx
push esi
push ebp
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
je 0x48db77
lea ecx, [esp + 0x10]
push ecx
push ebx
call sub.ADVAPI32.dll_ConvertSidToStringSidW
test eax, eax
je 0x48db77
mov edx, dword [esp + 0x10]
push edx
mov edx, dword [esp + 0x30]
mov ecx, 0x64
call fcn.0041a290
mov edx, dword [esp + 0x10]
xor ecx, ecx
test eax, eax
setge cl
push edx
mov dword [esp + 0x24], ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [esp + 0x10], ebp
push esi
call fcn.004e4b2f
push ebx
call fcn.004e4b2f
push edi
call fcn.004e4b2f
mov eax, dword [esp + 0x2c]
add esp, 0xc
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x18
ret
push esi
call fcn.004e4b2f
add esp, 4
pop esi
xor eax, eax
pop ebp
add esp, 0x18
ret

Function at 0x48e0f0
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x78
mov eax, dword [0x5364d0]
xor eax, esp
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x7c]
push esi
xor ecx, ecx
push eax
mov eax, dword [esp + 0x88]
lea esi, [esp + 0xc]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], 0x67452301
mov dword [esp + 0x18], 0xefcdab89
mov dword [esp + 0x1c], 0x98badcfe
mov dword [esp + 0x20], 0x10325476
call fcn.004cb1e0
add esp, 4
mov eax, esi
call fcn.004cb2f0
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
mov dword [edi], eax
mov eax, dword [esp + 0x6c]
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x74]
pop esi
mov dword [edi + 8], edx
mov dword [edi + 0xc], eax
xor ecx, esp
mov eax, 1
call fcn.004e3edb
add esp, 0x78
ret
Function at 0x48f180
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ffa88
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebp
push esi
push edi
mov eax, dword [0x5364d0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [esp + 0x44]
push eax
mov dword [esp + 0x3c], 0
mov eax, dword [esp + 0x44]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x4c], esp
mov esi, esp
call fcn.004048c0
add eax, 0x10
mov dword [esi], eax
lea esi, [esp + 0x24]
call fcn.0048f760
add esp, 8
mov esi, eax
mov byte [esp + 0x38], 1
mov eax, dword [esi]
sub eax, 0x10
call fcn.004048c0
mov ecx, dword [esi + 4]
lea ebp, [eax + 0x10]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ecx
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x28]
push eax
add edi, 4
push edi
mov byte [esp + 0x44], 2
call fcn.0048f430
lea eax, [ebp - 0x10]
mov byte [esp + 0x38], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48f231
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48f256
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48f27e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x2c
ret 8
Function at 0x4a4830
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4ff0ac
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5364d0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov dword [esi], vtable.CExtractBase.1.0
mov dword [esi + 4], vtable.CExtractBase.0
mov eax, dword [0x563288]
mov edx, dword [eax + 0xc]
mov ecx, 0x563288
call edx
add eax, 0x10
mov dword [esi + 0xc], eax
mov eax, dword [0x563288]
mov edx, dword [eax + 0xc]
mov ecx, 0x563288
call edx
xor edi, edi
add eax, 0x10
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], 0xffffffff
mov dword [esp + 0x14], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov eax, dword [0x563288]
mov edx, dword [eax + 0xc]
mov ecx, 0x563288
call edx
add eax, 0x10
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov byte [esp + 0x14], 1
mov dword [esi + 0x3c], edi
mov eax, dword [0x563288]
mov edx, dword [eax + 0xc]
mov ecx, 0x563288
call edx
add eax, 0x10
mov dword [esi + 0x44], eax
lea eax, [esi + 0x48]
push eax
mov byte [esp + 0x18], 2
call fcn.004aa570
lea eax, [esi + 0x68]
push eax
mov byte [esp + 0x18], 3
call fcn.004aa570
mov dword [esi + 0x88], edi
mov dword [esi + 0x8c], edi
mov dword [esi + 0x94], edi
mov dword [esi + 0x9c], edi
mov dword [esi + 0xa0], 1
mov dword [esi + 0xa4], edi
mov dword [esi + 0xa8], edi
mov dword [esi + 0xac], edi
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4

Function at 0x4a71e0
Capabilities:
Create thread

Disassembly:
push ecx
mov eax, dword [esi + 0x90]
sub eax, 0
je 0x4a720e
sub eax, 1
jne 0x4a7229
lea eax, [esp]
push eax
push 0
push esi
push 0x4a7230
push 0
push 0
call fcn.004e5813
mov dword [esi + 8], eax
add esp, 0x18
pop ecx
ret
lea ecx, [esp]
push ecx
push 0
push esi
push 0x4a75f0
push 0
push 0
call fcn.004e5813
mov dword [esi + 8], eax
add esp, 0x18
pop ecx
ret
Function at 0x4a8340
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x502b98
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5364d0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
push eax
call ebx
mov ebp, eax
test ebp, ebp
je 0x4a850d
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4a8381
sub eax, edx
sar eax, 1
cmp eax, 4
jb 0x4a850d
push str..001
push ebp
call fcn.004e4707
add esp, 8
test eax, eax
jne 0x4a83b5
mov eax, 2
jmp 0x4a850f
push str..z01
push ebp
call fcn.004e4707
add esp, 8
test eax, eax
je 0x4a84e3
mov eax, dword [edi]
sub eax, 0x10
call fcn.004048c0
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
mov dword [esp + 0x24], 0
cmp dword [esi - 4], 1
jle 0x4a83fc
mov eax, dword [esi - 0xc]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00401410
mov esi, dword [esp + 0x14]
push esi
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.004e4d4d
add esp, 8
test eax, eax
jl 0x4a8503
cmp eax, dword [esi - 8]
jg 0x4a8503
xor edx, edx
mov dword [esi - 0xc], eax
push esi
mov word [esi + eax*2], dx
call ebx
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
call fcn.00401640
mov byte [esp + 0x24], 1
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], 0
jl 0x4a8481
push str..part
push eax
call fcn.004e4d6c
add esp, 8
test eax, eax
je 0x4a8481
sub eax, dword [esp + 0x18]
sar eax, 1
cmp eax, 0xffffffff
je 0x4a8481
lea ecx, [esp + 0x18]
call fcn.004016f0
lea ecx, [esp + 0x14]
call fcn.004016f0
mov eax, 3
jmp 0x4a850f
cmp dword [esp + 0x2c], 0
je 0x4a84ea
push str..zip
push ebp
call fcn.004e4707
add esp, 8
test eax, eax
jne 0x4a84ea
push str..z01
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x34]
push eax
call fcn.00404510
add esp, 0xc
mov byte [esp + 0x24], 2
call fcn.00404930
lea ecx, [esp + 0x2c]
call fcn.004016f0
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4a84ea
lea ecx, [esp + 0x18]
call fcn.004016f0
lea ecx, [esp + 0x14]
call fcn.004016f0
mov eax, 4
jmp 0x4a850f
lea ecx, [esp + 0x18]
call fcn.004016f0
lea ecx, [esp + 0x14]
call fcn.004016f0
mov eax, 1
jmp 0x4a850f
push 0x80070057
call fcn.00401540
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4
Function at 0x4a8650
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4ff060
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5364d0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
sub eax, 0x10
call fcn.004048c0
lea esi, [eax + 0x10]
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], 0
mov eax, dword [edi]
sub eax, 0x10
call fcn.004048c0
lea edi, [eax + 0x10]
mov dword [esp + 0x14], edi
mov ebp, 1
mov byte [esp + 0x24], 1
cmp dword [esi - 4], ebp
jle 0x4a86c4
mov eax, dword [esi - 0xc]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00401410
mov esi, dword [esp + 0x18]
push esi
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.004e4d4d
add esp, 8
test eax, eax
jl 0x4a8795
cmp eax, dword [esi - 8]
jg 0x4a8795
xor edx, edx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], dx
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, eax
test ebx, ebx
je 0x4a873a
inc ebp
cmp ebp, 0xa
push ebp
push esi
jge 0x4a870e
push str._s.00_d
jmp 0x4a871f
cmp ebp, 0x64
jge 0x4a871a
push str._s.0_d
jmp 0x4a871f
push str._s._d
lea edi, [esp + 0x20]
call fcn.00404890
mov edi, dword [esp + 0x20]
add esp, 0xc
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4a86f2
lea eax, [edi - 0x10]
mov byte [esp + 0x24], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a875b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a877f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
push 0x80070057
call fcn.00401540
int3
Function at 0x4b24f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x4fda90
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5364d0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0x14], esi
xor ebp, ebp
mov dword [esp + 0x28], esi
movzx eax, word [esp + 0x30]
push 0x518f60
push eax
mov eax, dword [0x56324c]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
mov dword [esp + 0x1c], edi
cmp edi, esi
je 0x4b2620
mov ecx, dword [0x56324c]
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebp, eax
mov dword [esp + 0x18], ebp
cmp ebp, esi
je 0x4b2620
mov edx, dword [0x56324c]
mov ebx, dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push edx
call ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x4b2620
mov eax, dword [0x56324c]
push edi
push eax
call ebx
push ebp
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call fcn.004e95a0
xor ebx, ebx
add esp, 0xc
mov dword [esp + 0x30], ebx
lea ecx, [esp + 0x30]
push ecx
push ebx
push esi
mov byte [esp + 0x34], 1
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jl 0x4b25fd
mov edx, dword [esp + 0x30]
push edx
call fcn.004b24b0
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x4b25fd
mov ecx, dword [edi + 4]
push ebx
lea eax, [esp + 0x18]
push eax
push ecx
call sub.gdiplus.dll_GdipCreateHBITMAPFromBitmap
cmp eax, ebx
je 0x4b25f3
mov dword [edi + 8], eax
mov dword [esp + 0x14], ebx
mov edx, dword [edi]
mov eax, dword [edx]
push 1
mov ecx, edi
call eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov byte [esp + 0x28], 0
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x4b2620
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov esi, dword [esp + 0x14]
test ebp, ebp
je 0x4b262f
push ebp
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4

Function at 0x4b42a0
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x804
mov eax, dword [0x5364d0]
xor eax, esp
mov dword [esp + 0x800], eax
push edi
mov edi, ecx
test edi, edi
jne 0x4b42d3
xor eax, eax
pop edi
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.004e3edb
add esp, 0x804
ret
push esi
push 0x800
lea eax, [esp + 0xc]
push 0
push eax
call fcn.004e8fe0
add esp, 0xc
lea esi, [esp + 8]
call fcn.004b41b0
pop esi
test eax, eax
je 0x4b42bb
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [esp + 0x804]
pop edi
xor ecx, esp
call fcn.004e3edb
add esp, 0x804
ret
Function at 0x4b70f0
Capabilities:
Hide graphical window

Disassembly:
test eax, eax
jne 0x4b7210
mov ecx, dword [0x56610c]
push ebx
push ebp
mov ebp, dword [ecx + 8]
push esi
push edi
test ebp, ebp
jne 0x4b710e
lea ebx, [eax + 0x14]
jmp 0x4b7145
cmp ebp, 1
jne 0x4b7130
mov eax, dword [ecx + 4]
lea edx, [eax + eax*4]
add edx, edx
add edx, edx
mov eax, 0x51eb851f
imul edx
sar edx, 5
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
jmp 0x4b7145
mov eax, dword [ecx]
lea edx, [eax + eax*4]
add edx, edx
add edx, edx
mov eax, 0x51eb851f
mul edx
mov ebx, edx
shr ebx, 5
test ebp, ebp
jne 0x4b714e
lea esi, [ebp + 0x14]
jmp 0x4b7185
cmp ebp, 1
jne 0x4b7170
mov eax, dword [ecx + 4]
lea edx, [eax + eax*4]
add edx, edx
add edx, edx
mov eax, 0x51eb851f
imul edx
sar edx, 5
mov esi, edx
shr esi, 0x1f
add esi, edx
jmp 0x4b7185
mov eax, dword [ecx]
lea edx, [eax + eax*4]
add edx, edx
add edx, edx
mov eax, 0x51eb851f
mul edx
mov esi, edx
shr esi, 5
test ebp, ebp
jne 0x4b718e
lea edi, [ebp + 0x7e]
jmp 0x4b71b8
mov eax, 0x51eb851f
cmp ebp, 1
jne 0x4b71ac
mov edx, dword [ecx + 4]
imul edx, edx, 0x7e
imul edx
sar edx, 5
mov edi, edx
shr edi, 0x1f
add edi, edx
jmp 0x4b71b8
mov edx, dword [ecx]
imul edx, edx, 0x7e
mul edx
mov edi, edx
shr edi, 5
test ebp, ebp
jne 0x4b71c1
lea eax, [ebp + 0x50]
jmp 0x4b71f1
mov eax, 0x51eb851f
cmp ebp, 1
jne 0x4b71e2
mov ecx, dword [ecx + 4]
lea ecx, [ecx + ecx*4]
shl ecx, 4
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
jmp 0x4b71f1
mov ecx, dword [ecx]
lea ecx, [ecx + ecx*4]
shl ecx, 4
mul ecx
mov eax, edx
shr eax, 5
mov edx, dword [esp + 0x14]
push 4
push ebx
push esi
push edi
push eax
push 0
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
pop edi
pop esi
pop ebp
pop ebx
mov eax, 1
ret 4
cmp eax, 1
jne 0x4b724e
mov eax, 0x14
call fcn.0041cd00
push 4
push eax
push eax
mov eax, 0x77
call fcn.0041cd00
push eax
mov eax, 0x39
call fcn.0041cd00
push eax
mov eax, dword [esp + 0x18]
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, 1
ret 4
cmp eax, 2
jne 0x4b7260
mov ecx, dword [esp + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
ret 4

Function at 0x4b7310
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push edi
push 5
mov edi, eax
push 0x478
push edi
mov dword [esi + 4], 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
jne 0x4b7330
xor eax, eax
pop edi
ret
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4b732c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, 0xffff
mov dword [esi + 4], eax
cmp word [eax + 2], cx
jne 0x4b7361
movsx edx, word [eax + 0x16]
mov dword [esi + 0x10], edx
movsx eax, word [eax + 0x18]
mov dword [esi + 0x14], eax
jmp 0x4b736f
movsx ecx, word [eax + 0xe]
mov dword [esi + 0x10], ecx
movsx edx, word [eax + 0x10]
mov dword [esi + 0x14], edx
mov eax, dword [esi + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_MulDiv]
push 2
push 3
push eax
call edi
mov ecx, dword [esi + 0x14]
push 2
push 3
push ecx
mov dword [esi + 8], eax
call edi
mov dword [esi + 0xc], eax
xor eax, eax
cmp dword [esi + 4], eax
pop edi
setne al
ret
Function at 0x4b8c06
Capabilities:
Get common file path
Get file system object information

Disassembly:
sub esp, 0x2c4
mov eax, dword [0x5364d0]
xor eax, esp
mov dword [esp + 0x2c0], eax
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ebp, [esi + 0x174]
push ebp
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
jge 0x4b8c22
xor eax, eax
jmp 0x4b8d5a
mov ebx, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
lea eax, [esi + 0x178]
push eax
mov eax, dword [esi + 4]
push 0
push eax
call ebx
test eax, eax
jl 0x4b8c1b
mov ecx, dword [esi + 4]
lea edi, [esi + 0x17c]
push edi
push 0x11
push ecx
call ebx
test eax, eax
jge 0x4b8c61
mov eax, dword [edi]
test eax, eax
je 0x4b8c5b
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov dword [edi], 0
mov edx, dword [esi + 4]
lea edi, [esi + 0x180]
push edi
push 0xa
push edx
call ebx
test eax, eax
jge 0x4b8c87
mov eax, dword [edi]
test eax, eax
je 0x4b8c81
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov dword [edi], 0
mov eax, dword [esi + 4]
lea edi, [esi + 0x184]
push edi
push 3
push eax
call ebx
test eax, eax
jge 0x4b8cad
mov eax, dword [edi]
test eax, eax
je 0x4b8ca7
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov dword [edi], 0
mov eax, dword [ebp]
mov ecx, dword [esi + 4]
mov edx, dword [eax]
push 0
lea edi, [esi + 0x188]
push edi
push 0
push 0x515740
push 0
push ecx
push eax
mov eax, dword [edx + 0xc]
call eax
test eax, eax
jge 0x4b8ce5
mov eax, dword [edi]
test eax, eax
je 0x4b8cdf
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov dword [edi], 0
push 0x2b0
lea ecx, [esp + 0x1c]
push 0
push ecx
mov dword [esp + 0x20], 0
call fcn.004e8fe0
mov eax, dword [esi + 0x178]
add esp, 0xc
push 0x4019
push 0x2b4
lea edx, [esp + 0x1c]
push edx
push 0x10
push eax
lea edi, [esi + 0x18c]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov dword [edi], eax
mov dword [esi + 0x7c], edi
add esi, 0x140
mov edi, 1
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
cmp dword [esi + 0x24], 0
jne 0x4b8d58
call fcn.00479ff0
mov eax, edi
mov ecx, dword [esp + 0x2d0]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004e3edb
add esp, 0x2c4
ret
Function at 0x4bb6a0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5017c9
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5364d0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x24]
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esp + 0x1c], edi
mov dword [esi], vtable.CMyMessageBox.0
mov eax, dword [0x563288]
mov edx, dword [eax + 0xc]
mov ecx, 0x563288
lea ebx, [esi + 0x20]
call edx
add eax, 0x10
mov dword [ebx], eax
mov byte [esp + 0x1c], 1
mov eax, dword [0x563288]
mov edx, dword [eax + 0xc]
mov ecx, 0x563288
call edx
add eax, 0x10
mov dword [esi + 0x24], eax
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [esi + 0x30], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], vtable.WTL::CMessageFilter.0
mov dword [esi + 0x54], vtable.CTransparentWnd_class_CShadow_.0
mov dword [esi + 0x58], edi
mov dword [esi + 0x64], edi
mov byte [esi + 0x60], 0xff
mov dword [esi + 0x5c], edi
mov dword [esi + 0x2c], vtable.CShadow.0
mov dword [esi + 0x50], vtable.CShadow.1.0
mov dword [esi + 0x54], vtable.CShadow.2.0
mov byte [esp + 0x1c], 3
cmp ebp, edi
jne 0x4bb766
xor eax, eax
jmp 0x4bb77f
mov eax, ebp
lea edx, [eax + 2]
jmp 0x4bb770
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4bb770
sub eax, edx
sar eax, 1
push eax
push ebp
mov eax, ebx
call fcn.00401560
mov edx, dword [esp + 0x28]
cmp edx, edi
jne 0x4bb794
xor eax, eax
jmp 0x4bb7af
mov eax, edx
lea ebx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4bb7a0
sub eax, ebx
sar eax, 1
push eax
push edx
lea eax, [esi + 0x24]
call fcn.00401560
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x28], ecx
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0x10

Function at 0x4bcf90
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4ff769
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5364d0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], eax
mov dword [esp + 0x14], edi
mov dword [esi], vtable.CNBListBox.0
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
lea ecx, [esi + 0x38]
mov byte [esp + 0x14], 3
push ecx
mov dword [esi + 0x34], edi
call fcn.00474090
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov edi, dword [sym.imp.GDI32.dll_CreateSolidBrush]
push 0xffdcb4
call edi
push 0xffffff
mov dword [esi + 0x28], eax
call edi
push 0xc26113
mov dword [esi + 0x2c], eax
call edi
mov dword [esi + 0x30], eax
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4