joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d24d0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4f9680
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov ebx, edx
mov edi, ecx
push 0x5236c8
mov dword [esp + 0x28], 0x5236c8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x34], 0
xor esi, esi
lea eax, [esp + 0x20]
mov byte [esp + 0x34], 1
push eax
lea eax, [esp + 0x20]
mov dword [esp + 0x20], esi
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push str.SoftwareFileExtr.actorFM
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
lea ecx, [esp + 0x10]
mov edx, edi
cmove esi, dword [esp + 0x1c]
mov dword [esp + 0x20], esi
call fcn.004d2420
mov edi, dword [ebx]
push edi
mov ebx, dword [eax]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
push eax
push edi
push 1
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [esp + 0x10]
call fcn.004df97b
add esp, 4
test esi, esi
je 0x4d259b
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x5236c8
mov dword [esp + 0x38], 0xffffffff
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.004df96c
add esp, 0x28
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x4f97dc
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi + 4], 0
mov dword [esp + 0x18], 0
mov dword [esi], vtable.CBenchmarkDialog.0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x1c], 0
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 1
call fcn.004d29a0
mov byte [esi + 0x160], 0
mov dword [esi + 0x164], 0
mov dword [esi + 0x168], 0
mov dword [esi + 0x16c], 0
mov byte [esp + 0x18], 3
push 8
mov dword [esi + 0x170], 0
call fcn.004df9b3
add esp, 4
test eax, eax
jne 0x4d2c84
mov byte [esp + 0xb], al
lea eax, [esp + 0xb]
push 0x51c2c8
push eax
call fcn.004ea58e
mov dword [esi + 0x170], eax
xor ecx, ecx
mov dword [esi + 0x174], 0
mov dword [esi + 0x178], 3
mov word [eax], cx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
Function at 0x4d5d70
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x4ebba8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebp, ecx
push 0xedb
push dword [ebp + 4]
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 1
mov eax, 0x2a
sete cl
xor edx, edx
test cl, cl
mov byte [esp + 0x16], cl
push edx
cmovne eax, edx
movzx edi, ax
push edi
push 0xcc
push dword [ebp + 0x3c]
call esi
push 0
push edi
push 0xcc
push dword [ebp + 0x40]
call esi
xorps xmm0, xmm0
mov dword [esp + 0x20], 0
movq qword [esp + 0x18], xmm0
push 8
mov dword [esp + 0x1c], 0
call fcn.004df9b3
add esp, 4
test eax, eax
jne 0x4d5e24
mov byte [esp + 0x17], al
lea eax, [esp + 0x17]
push 0x51c2c8
push eax
call fcn.004ea58e
xor ecx, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 3
mov word [eax], cx
lea eax, [esp + 0x18]
mov dword [esp + 0x30], ecx
push eax
lea ecx, [ebp + 0x3c]
call fcn.0041ef30
push dword [esp + 0x18]
mov esi, dword [sym.imp.USER32.dll_SetWindowTextW]
push dword [ebp + 0x3c]
call esi
lea eax, [esp + 0x18]
push eax
lea ecx, [ebp + 0x40]
call fcn.0041ef30
mov ebx, dword [esp + 0x18]
push ebx
push dword [ebp + 0x40]
call esi
push 0xeda
push dword [ebp + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
xor edi, edi
cmp byte [esp + 0x16], 0
mov ecx, 5
cmove edi, ecx
push edi
push eax
call esi
push edi
push dword [ebp + 0x40]
call esi
push ebx
mov dword [esp + 0x34], 0xffffffff
call fcn.004df97b
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.004df96c
add esp, 0x20
ret
Function at 0x4d83a0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4f9d08
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x14b
push dword [esi + 0x44]
call edi
push 0
push 0
push 0x147
push dword [esi + 0xc]
call edi
push 0
push eax
push 0x150
push dword [esi + 0xc]
call edi
mov ecx, dword [esi + 0x98]
mov edx, 0x501668
mov ecx, dword [ecx]
mov ebp, dword [ecx + eax*4]
add ebp, 0xc
mov ebx, dword [ebp]
mov ecx, ebx
call fcn.004119a0
test al, al
je 0x4d845f
push str.AES_256
lea ecx, [esp + 0x24]
call fcn.00412700
push dword [eax]
push 0
push 0x143
push dword [esi + 0x44]
call edi
push dword [esp + 0x20]
call fcn.004df97b
add esp, 4
push 0
push 0
push 0x14e
push dword [esi + 0x44]
call edi
jmp 0x4d853c
mov edx, 0x5026ac
mov ecx, ebx
call fcn.004119a0
test al, al
je 0x4d853c
push ebp
mov ecx, esi
call fcn.004d7d60
xorps xmm0, xmm0
mov dword [esp + 0x28], 0
lea ecx, [esp + 0x20]
movq qword [esp + 0x20], xmm0
mov ebx, eax
call fcn.00412560
mov dword [esp + 0x38], 0
test ebx, ebx
js 0x4d84b6
mov eax, dword [esi + 0x68]
lea ecx, [esp + 0x20]
mov eax, dword [eax + ebx*4]
add eax, 0x38
push eax
call fcn.004128e0
push str.ZipCrypto
lea ecx, [esp + 0x18]
call fcn.00412700
push dword [eax]
push 0
push 0x143
push dword [esi + 0x44]
call edi
push dword [esp + 0x14]
call fcn.004df97b
add esp, 4
lea ecx, [esp + 0x14]
push str.AES_256
call fcn.00412700
push dword [eax]
push 0
push 0x143
push dword [esi + 0x44]
call edi
push dword [esp + 0x14]
call fcn.004df97b
add esp, 4
lea ecx, [esp + 0x20]
push 0x506c80
call fcn.004118e0
xor ecx, ecx
test al, al
push 0
setne cl
push ecx
push 0x14e
push dword [esi + 0x44]
call edi
mov dword [esp + 0x38], 0xffffffff
push dword [esp + 0x20]
call fcn.004df97b
add esp, 4
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.004df96c
add esp, 0x28
ret
Function at 0x4d9600
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x9c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x94], eax
push ebx
push ebp
push esi
push edi
push 0
mov esi, ecx
mov dword [esp + 0x28], 0
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
lea ebp, [esi + 0x24]
push 0
push 0x14b
push dword [ebp]
call edi
mov ecx, esi
call fcn.004d7e70
lea eax, [eax + eax*2]
cmp byte [eax*8 + 0x500ea2], 0
je 0x4d97f2
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessAffinityMask]
test eax, eax
je 0x4d967b
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x4d967b
call fcn.0041ec70
jmp 0x4d968a
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x40]
push 0
push 0
push 0x147
push dword [esi + 0xc]
mov dword [esp + 0x24], eax
mov dword [esp + 0x34], eax
call edi
push 0
push eax
push 0x150
push dword [esi + 0xc]
call edi
mov ecx, dword [esi + 0x98]
mov ecx, dword [ecx]
mov eax, dword [ecx + eax*4]
mov ecx, esi
add eax, 0xc
push eax
call fcn.004d7d60
test eax, eax
js 0x4d9711
mov ecx, dword [esi + 0x68]
mov ebx, dword [ecx + eax*4]
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call fcn.004d85a0
mov ecx, dword [ebx + 0x20]
mov edx, dword [eax]
call fcn.00411840
test al, al
je 0x4d96f2
cmp dword [ebx + 0x10], 0xffffffff
mov byte [esp + 0x13], 1
jne 0x4d96f7
mov byte [esp + 0x13], 0
push dword [esp + 0x18]
call fcn.004df97b
add esp, 4
cmp byte [esp + 0x13], 0
je 0x4d9711
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x24], eax
push 0
push 0
push 0x146
push dword [esi + 0x14]
mov ebx, 1
call edi
test eax, eax
jg 0x4d972d
or eax, 0xffffffff
jmp 0x4d9748
push 0
push 0
push 0x147
push dword [esi + 0x14]
call edi
push 0
push eax
push 0x150
push dword [esi + 0x14]
call edi
dec eax
je 0x4d975a
dec eax
je 0x4d9753
sub eax, 2
jne 0x4d975f
mov ebx, 0x20
jmp 0x4d975f
mov ebx, 2
push 0
push 0
push 0x147
push dword [esi + 0xc]
call edi
push 0
push eax
push 0x150
push dword [esi + 0xc]
call edi
mov ecx, dword [esi + 0x98]
mov edx, 0x5026ac
mov ecx, dword [ecx]
mov ecx, dword [ecx + eax*4]
mov ecx, dword [ecx + 0xc]
call fcn.004119a0
test al, al
mov ecx, 0x80
mov eax, dword [esp + 0x14]
cmovne ebx, ecx
add eax, eax
lea esi, [ecx - 0x7f]
cmp eax, esi
jb 0x4d97e8
lea esp, [esp]
cmp esi, ebx
ja 0x4d97e8
lea edx, [esp + 0x50]
mov ecx, esi
call fcn.00411090
lea eax, [esp + 0x50]
push eax
push 0
push 0x143
push dword [ebp]
call edi
push esi
push eax
push 0x151
push dword [ebp]
call edi
mov ecx, dword [esp + 0x14]
inc esi
lea eax, [ecx + ecx]
cmp esi, eax
jbe 0x4d97b0
push dword [esp + 0x24]
push ebp
call fcn.004d7ee0
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004df96c
add esp, 0x9c
ret
Function at 0x4db000
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4f9e89
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi + 4], 0
mov dword [esp + 0x18], 0
mov dword [esi], vtable.CExtractDialog.0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x26], 0
mov dword [esi + 0x2a], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov byte [esp + 0x18], 1
push 8
mov dword [esi + 0x3c], 0
call fcn.004df9b3
add esp, 4
test eax, eax
jne 0x4db0b2
mov byte [esp + 0xa], al
lea eax, [esp + 0xa]
push 0x51c2c8
push eax
call fcn.004ea58e
xor ecx, ecx
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 3
mov word [eax], cx
mov byte [esp + 0x18], 2
push 8
mov dword [esi + 0x48], ecx
call fcn.004df9b3
add esp, 4
test eax, eax
jne 0x4db0f1
mov byte [esp + 0xb], al
lea eax, [esp + 0xb]
push 0x51c2c8
push eax
call fcn.004ea58e
xor ecx, ecx
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 3
mov word [eax], cx
mov byte [esp + 0x18], 3
push 8
mov dword [esi + 0x54], ecx
call fcn.004df9b3
add esp, 4
test eax, eax
jne 0x4db130
mov byte [esp + 0xa], al
lea eax, [esp + 0xa]
push 0x51c2c8
push eax
call fcn.004ea58e
mov dword [esi + 0x54], eax
xor ecx, ecx
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 3
mov word [eax], cx
mov eax, esi
mov word [esi + 0x60], cx
mov dword [esi + 0x6c], ecx
mov byte [esi + 0x6e], 1
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
Function at 0x4dc4d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4fa08c
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0xa8], eax
push ebx
push esi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov ebx, edx
call fcn.004dd1c0
push dword [esp + 0xcc]
mov ecx, 0x5236a4
mov esi, eax
call fcn.00411750
test eax, eax
je 0x4dc531
push eax
mov ecx, esi
call fcn.00412850
jmp 0x4dc53f
mov ecx, dword [esp + 0xcc]
mov edx, esi
call fcn.0041e240
push dword [ebx + 4]
xorps xmm0, xmm0
mov dword [esp + 0x30], 0
lea ecx, [esp + 0x28]
movq qword [esp + 0x28], xmm0
call fcn.00412700
push 0x506da4
lea ecx, [esp + 0x10]
mov dword [esp + 0xc4], 0
call fcn.00412680
lea eax, [esp + 0x24]
mov byte [esp + 0xc0], 1
push eax
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call fcn.00412fa0
mov byte [esp + 0xc0], 0
push dword [esp + 0xc]
call fcn.004df97b
add esp, 4
lea ecx, [esp + 0x18]
push 0x501180
call fcn.00412680
push 0x50262c
lea ecx, [esp + 0x10]
mov byte [esp + 0xc4], 2
call fcn.00412680
lea eax, [esp + 0x18]
mov byte [esp + 0xc0], 3
push eax
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call fcn.00412fa0
mov byte [esp + 0xc0], 2
push dword [esp + 0xc]
call fcn.004df97b
mov byte [esp + 0xc4], 0
push dword [esp + 0x1c]
call fcn.004df97b
mov eax, dword [esp + 0xd0]
lea edx, [ebx + 0x14]
add esp, 8
shl eax, 6
add edx, eax
lea ecx, [esp + 0x30]
push dword [ebx + 0x10]
call fcn.0046c8a0
lea eax, [esp + 0x30]
push eax
lea ecx, [esi + 0xc]
call fcn.00412a60
mov dword [esp + 0xc0], 0xffffffff
push dword [esp + 0x24]
call fcn.004df97b
add esp, 4
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.004df96c
add esp, 0xb8
ret 8

Function at 0x4ddc80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4fa280
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov edi, ecx
mov edx, 0xce9
mov dword [edi + 0x28], 0
lea ecx, [esp + 0xc]
mov dword [edi + 0x2c], 0
call fcn.004a1ed0
push eax
lea ecx, [edi + 0x30]
mov dword [esp + 0x30], 0
call fcn.004128e0
mov dword [esp + 0x2c], 0xffffffff
push dword [esp + 0xc]
call fcn.004df97b
add esp, 4
mov ecx, edi
call fcn.00410ab0
xor esi, esi
mov edx, dword [esi + 0x501040]
lea ecx, [esp + 0x18]
call fcn.004a1ed0
push eax
mov ecx, edi
mov dword [esp + 0x30], 1
call fcn.004109c0
mov dword [esp + 0x2c], 0xffffffff
push dword [esp + 0x18]
call fcn.004df97b
add esi, 4
add esp, 4
cmp esi, 0x20
jb 0x4ddcf1
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x24
ret
Function at 0x4de030
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4fa37b
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi + 4], 0
mov dword [esp + 0x18], 0
lea ecx, [esi + 0x48]
mov dword [esi], vtable.CCompressDialog.0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
call fcn.004de230
mov byte [esp + 0x18], 1
push 8
mov dword [esi + 0x80], 0
call fcn.004df9b3
add esp, 4
test eax, eax
jne 0x4de110
mov byte [esp + 0xa], al
lea eax, [esp + 0xa]
push 0x51c2c8
push eax
call fcn.004ea58e
xor ecx, ecx
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], 0
mov dword [esi + 0x88], 3
mov word [eax], cx
mov byte [esp + 0x18], 2
push 8
mov dword [esi + 0x8c], ecx
call fcn.004df9b3
add esp, 4
test eax, eax
jne 0x4de15b
mov byte [esp + 0xb], al
lea eax, [esp + 0xb]
push 0x51c2c8
push eax
call fcn.004ea58e
xor ecx, ecx
mov dword [esi + 0x8c], eax
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 3
mov word [eax], cx
mov dword [esi + 0x9c], ecx
mov dword [esi + 0xa0], ecx
mov dword [esi + 0xa4], ecx
lea ecx, [esi + 0xa8]
mov byte [esp + 0x18], 4
call fcn.004dde40
mov byte [esp + 0x18], 5
push 8
mov dword [esi + 0x138], 0
call fcn.004df9b3
add esp, 4
test eax, eax
jne 0x4de1cc
mov byte [esp + 0xb], al
lea eax, [esp + 0xb]
push 0x51c2c8
push eax
call fcn.004ea58e
mov dword [esi + 0x138], eax
xor ecx, ecx
mov dword [esi + 0x13c], 0
mov dword [esi + 0x140], 3
mov word [eax], cx
mov eax, esi
mov byte [esi + 0x144], cl
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
Function at 0x4e3dfa
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.004e1785
mov dword [ebp - 0x14], eax
cmp dword [0x52305c], esi
jne 0x4e3eed
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4e3e7a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4e3fcd
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4e3fcd
push 0x4fc7b0
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4e3fcd
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x52305c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x523060], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x523064], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x52306c], eax
test eax, eax
je 0x4e3eea
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x523068], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4e3f12
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4e3f05
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4e3f27
push 4
pop eax
jmp 0x4e3fcf
cmp dword [ebp - 0x14], esi
je 0x4e3f27
push dword [0x52305c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4e3f0c
mov eax, dword [0x523068]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4e3f85
cmp dword [0x52306c], edi
je 0x4e3f85
push eax
call ebx
push dword [0x52306c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4e3f85
test eax, eax
je 0x4e3f85
call ecx
test eax, eax
je 0x4e3f7a
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4e3f7a
test byte [ebp - 8], 1
jne 0x4e3f85
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4e3fb5
mov eax, dword [0x523060]
cmp eax, edi
je 0x4e3fb2
push eax
call ebx
test eax, eax
je 0x4e3fb2
call eax
mov esi, eax
test esi, esi
je 0x4e3fb2
mov eax, dword [0x523064]
cmp eax, edi
je 0x4e3fb2
push eax
call ebx
test eax, eax
je 0x4e3fb2
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x52305c]
call ebx
test eax, eax
je 0x4e3fcd
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x4e3fcf
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004df96c
mov esp, ebp
pop ebp
ret
Function at 0x401000
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x42b20b
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x438dd4]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov dword [esi], vtable.ActiveScriptSite.0
mov dword [esi + 4], vtable.ActiveScriptSite.1.0
xor edi, edi
mov dword [esi + 8], vtable.CArray_class_ExposedObject___class_ExposedObject__.0
mov dword [esi + 0xc], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], edi
lea ecx, [esi + 0x1c]
mov dword [esp + 0x14], edi
call fcn.00409a08
mov eax, 1
mov dword [esi + 0x38], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], 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 0x401950
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401969
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4019a4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x4019a0
lea ebx, [ebx]
cmp esi, eax
jae 0x4019a4
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401990
cmp esi, eax
jb 0x4019aa
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x4049d0
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x42b6c8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x438dd4]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push 0
lea eax, [esp + 0x18]
push eax
push 0x400
call esi
push eax
push 0
push 0x1100
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
call fcn.0040a097
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x404a33
push 0x80004005
call fcn.00401fa0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0xc], eax
mov dword [esp + 0x20], 0
mov ecx, dword [esp + 0x10]
push ecx
call esi
push eax
lea edx, [esp + 0x14]
push 0x4322ac
push edx
call fcn.00401930
mov eax, dword [esp + 0x1c]
add esp, 0xc
add eax, 0xfffffff0
mov dword [esp + 0x18], esp
mov edi, esp
push eax
call fcn.004026f0
mov ecx, dword [esp + 0x30]
add esp, 4
add eax, 0x10
push ecx
mov dword [edi], eax
call fcn.00405ea0
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]