joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41b2c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x41b30a
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x41b30a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esi + 8], eax
test eax, eax
je 0x41b30a
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [esi + 0xc], eax
test eax, eax
jne 0x41b313
mov dword [esi + 8], eax
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 0xc
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 0xc
Function at 0x41c330
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x41c38c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x41c38c
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x41c378
cmp esi, edx
jae 0x41c38c
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x41c366
cmp esi, edx
jae 0x41c38c
cmp word [esi], 0
je 0x41c38c
pop edi
mov eax, esi
pop esi
lfence
pop ebx
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret

Function at 0x41d3b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x10]
test eax, eax
je 0x41d475
movzx ecx, ax
mov edx, 5
call fcn.0040b540
movzx ecx, word [edi + 0x10]
mov ebx, eax
push 5
push ecx
push ebx
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x41d475
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
push esi
call fcn.00430564
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x41d475
push esi
push dword [ebp - 4]
push ebx
call fcn.0042d0b0
add esp, 0xc
cmp dword [edi + 0x18], 0
jne 0x41d435
mov eax, dword [0x465800]
test eax, eax
je 0x41d42f
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
mov dword [edi + 0x18], eax
mov ecx, dword [edi]
lea eax, [ebx + 8]
push eax
lea eax, [ebx + 0xc]
push eax
mov esi, dword [ecx + 0x40]
mov ecx, esi
call dword [0x451380]
mov ecx, edi
call esi
push edi
push 0x41d480
push dword [edi + 0x18]
push ebx
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
push ebx
mov esi, eax
call fcn.0043056f
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41f1e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44fe55
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x463184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [ebp - 0x54]
mov dword [ebp - 0x4c], 0
push eax
push 1
push 0x402630
push 0x401e40
push 0x402590
push 0x4024e0
push 0x401cd0
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
push 0x401ec0
push 0x401ea0
movq qword [ebp - 0x54], xmm0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0
call fcn.004296c0
add esp, 0x24
mov dword [ebp - 0x58], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
push 0x10
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push str.Bootstrapper.exe
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
call fcn.00403090
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x38]
je 0x41f2ba
movups xmm0, xmmword [ebp - 0x28]
mov ecx, 7
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [eax + 0x10], xmm0
xor eax, eax
add dword [ebp - 0x3c], 0x18
mov word [ebp - 0x28], ax
jmp 0x41f2ca
lea ecx, [ebp - 0x28]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.00402c60
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp ecx, 8
jb 0x41f305
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41f2fb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f3d1
push ecx
push edx
call fcn.0042b073
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
test edi, edi
je 0x41f39a
push 0xa
push 0x7da
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x60], eax
test eax, eax
je 0x41f39a
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 0x60]
mov dword [ebp - 0x64], eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x41f39a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x41f39a
push dword [ebp - 0x64]
lea ecx, [ebp - 0x58]
push eax
call fcn.004017b0
test al, al
je 0x41f39a
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
sub eax, ecx
cmp eax, 4
jne 0x41f39a
cmp dword [esi + 0x80], 8
lea eax, [esi + 0x6c]
jb 0x41f37b
mov eax, dword [eax]
cmp dword [esi + 0x34], 8
lea edx, [esi + 0x20]
jb 0x41f386
mov edx, dword [edx]
push eax
push ecx
mov ecx, dword [ecx]
push edx
call fcn.00402120
test al, al
je 0x41f39a
mov byte [ebp - 0x59], 1
jmp 0x41f3ab
cmp dword [esi + 0x18], 8
ja 0x41f3a7
mov dword [esi + 0x18], 0x3f4
mov byte [ebp - 0x59], 0
lea ecx, [ebp - 0x58]
call fcn.00401580
mov al, byte [ebp - 0x59]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042b03b
mov esp, ebp
pop ebp
call fcn.00430964
int3
Function at 0x41fbc0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
mov dword [ebp - 4], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x41fc26
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x41fc19
cmp eax, 0x2e4
je 0x41fc19
cmp eax, 0x4c7
je 0x41fc19
mov edx, eax
shr edx, 0x10
cmp dword [esi + 0x18], 8
ja 0x41fc26
xor ecx, ecx
movzx eax, ax
test dx, dx
cmove ecx, eax
movzx eax, cx
add eax, 0x10000
mov dword [esi + 0x18], eax
jmp 0x41fc26
cmp dword [esi + 0x18], 8
ja 0x41fc26
mov dword [esi + 0x18], 0x3f5
mov eax, dword [edi + 0x38]
test eax, eax
je 0x41fc4c
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 4]
push eax
push dword [edi + 0x38]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [edi + 0x38]
call dword [0x463018]
cmp dword [esi + 0x18], 8
ja 0x41fc58
mov eax, dword [ebp - 4]
mov dword [esi + 0x18], eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x420070
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44ff12
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x463184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x24], 0x10
lea esi, [edi + 0x10]
mov eax, esi
jb 0x4200ad
mov eax, dword [esi]
push eax
lea eax, [ebp - 0x90]
push str.zCSMComm.Mem.Id._s
push eax
call fcn.004248a0
add esp, 0xc
lea eax, [ebp - 0x90]
push eax
push 0xfa000
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [0x463020]
mov dword [edi], eax
test eax, eax
je 0x4201fc
cmp eax, 0xffffffff
je 0x4201fc
push 0xfa000
push 0
push 0
push 0xf001f
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [edi + 4], eax
test eax, eax
je 0x4201fc
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x420119
mov eax, dword [esi]
push eax
lea eax, [ebp - 0x90]
push str.zCSMComm.Ready.Id._s
push eax
call fcn.004248a0
add esp, 0xc
lea eax, [ebp - 0x90]
push eax
push 0
push 0
push 0
call dword [0x46301c]
mov dword [edi + 8], eax
test eax, eax
je 0x4201fc
cmp dword [esi + 0x14], 0x10
jb 0x420154
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x90]
push str.zCSMComm.Done.Id._s
push eax
call fcn.004248a0
add esp, 0xc
lea eax, [ebp - 0x90]
push eax
push 0
push 0
push 0
call dword [0x46301c]
mov dword [edi + 0xc], eax
test eax, eax
je 0x4201fc
push 8
mov bl, 1
call fcn.0042b0e4
mov esi, eax
mov dword [ebp - 0x98], esi
push 8
mov dword [ebp - 4], 0
call fcn.0042b0e4
mov dword [ebp - 0x9c], eax
mov dword [eax], edi
mov dword [eax + 4], 0x420230
lea ecx, [esi + 4]
mov byte [ebp - 4], bl
push ecx
push 0
push eax
push 0x424d40
push 0
push 0
mov dword [ebp - 0x94], ecx
call fcn.0043c4ac
add esp, 0x20
mov dword [esi], eax
test eax, eax
je 0x42021c
lea eax, [edi + 0x28]
mov dword [edi + 0x70], esi
cmp dword [eax + 0x14], 0x10
jb 0x4201e6
mov eax, dword [eax]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [edi + 0x74], eax
test eax, eax
jne 0x4201fe
xor al, al
jmp 0x420200
xor bl, bl
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042b03b
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x94]
push 6
mov dword [eax], 0
call fcn.00429d97
int3
Function at 0x4205d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x463184]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x68]
mov dword [ebp - 0x64], 0
push eax
lea eax, [ebp - 0x64]
mov dword [ebp - 0x68], 4
push eax
push 0
push 0x10
mov esi, ecx
push str.AppsUseLightTheme
push str.SoftwareMicrosoftWindowsCurrentVersionThemesPersonalize
push 0x80000001
mov word [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x420634
xor eax, eax
jmp 0x42063d
xor eax, eax
cmp dword [ebp - 0x64], 1
setne al
push 4
mov byte [esi + 1], al
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x11
mov dword [esi + 8], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
lea ecx, [ebp - 0x60]
push ecx
push 0x5c
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [ebp - 0x60]
cdq
mov ecx, eax
mov eax, dword [esi + 8]
xor ecx, edx
sub eax, 7
sub ecx, edx
cmp ecx, eax
jle 0x420697
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
lea ecx, [ebp - 0x60]
push ecx
push 0x5c
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [ebp - 0x60]
cdq
xor eax, edx
sub eax, edx
add eax, 9
mov dword [esi + 8], eax
push 0
push 0
push 0
push 0
push 0x66
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov ecx, dword [ebp - 4]
mov dword [esi + 4], eax
xor ecx, ebp
mov eax, esi
pop esi
call fcn.0042b03b
mov esp, ebp
pop ebp
ret
Function at 0x424ee0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov eax, edx
mov dword [ebp - 4], ecx
push esi
mov esi, eax
mov dword [ebp - 0xc], eax
shr esi, 4
push edi
xor edi, edi
lea ebx, [esi + 1]
movzx eax, bx
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GetThreadLocale]
push eax
push dword [ebp - 8]
push 6
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
jne 0x424f31
push 0x409
push dword [ebp - 8]
push 6
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
je 0x424f7a
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 8], eax
test eax, eax
je 0x424f7a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
shl ebx, 4
shl esi, 4
cmp esi, ebx
jae 0x424f71
mov edx, dword [ebp - 0xc]
movzx ecx, word [eax]
add eax, 2
test cx, cx
je 0x424f6a
mov edi, ecx
cmp esi, edx
je 0x424f83
lea eax, [eax + edi*2]
inc esi
cmp esi, ebx
jb 0x424f56
xor edi, edi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
push edi
push eax
push dword [ebp + 0xc]
lfence
push esi
call fcn.0043bfba
add esp, 0x10
test eax, eax
jne 0x424f6f
push dword [ebp - 8]
mov word [esi + edi*2], ax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x425330
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45056c
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x463184]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
sub esp, 8
push 0x190
call fcn.0041d1c0
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [esi], vtable.CMessageDlg.0
xor eax, eax
movups xmmword [esi + 0x1c], xmm0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 7
mov word [esi + 0x1c], ax
push fcn.00403120
push 0x4027d0
push 4
push 0x18
lea eax, [esi + 0x34]
mov byte [ebp - 4], 1
push eax
call fcn.0042b909
lea ecx, [esi + 0xb8]
mov dword [esi + 0x98], 0
mov byte [esi + 0xa0], 0
mov byte [esi + 0xb4], 0
call fcn.004205d0
mov byte [ebp - 4], 3
push 0x10
mov dword [esi + 0x94], 0
call fcn.0042b0e4
add esp, 4
lea ecx, [ebp - 0x10]
mov edi, eax
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x10], 0x111
push ecx
lea ecx, [ebp - 0x20]
mov dword [edi + 4], 0
push ecx
lea ecx, [esi + 8]
mov dword [edi], vtable.eset::MessageProc_class_CMessageDlg_.0
mov dword [edi + 0xc], esi
mov dword [edi + 8], 0x425d00
call fcn.0041e510
mov eax, dword [ebp - 0x18]
lea ecx, [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x425447
cmp dword [eax + 0x10], 0x111
ja 0x425447
cmp eax, dword [ecx]
je 0x425447
mov eax, dword [eax + 0x14]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x425442
call fcn.0041d0f0
mov dword [eax + 4], edi
jmp 0x425452
lea eax, [ebp - 0x10]
push eax
call fcn.0041da40
mov dword [eax], edi
push esi
push 0x425d10
push 0x136
mov ecx, esi
call fcn.00426220
push esi
push 0x425d10
push 0x138
mov ecx, esi
call fcn.00426220
push esi
push 0x425da0
push 0x201
mov ecx, esi
call fcn.00426220
push esi
push 0x425de0
push 0x14
mov ecx, esi
call fcn.00426220
lea eax, [esi + 0xb8]
mov ecx, esi
push eax
sub esp, 8
call fcn.004262b0
push esi
push 0x426000
push 0x83
mov ecx, esi
call fcn.00426220
cmp byte [esi + 0xb9], 0
mov ecx, 0xf8f6f5
mov eax, 0x303030
cmove eax, ecx
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [esi + 0x98], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
Function at 0x4255e0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4505a0
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x463184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov edx, dword [ebp + 8]
mov ecx, edx
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 0x14]
lea esi, [ecx + 2]
mov dword [ebp - 0x220], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x425630
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 0x34]
call fcn.004027f0
mov ecx, ebx
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x425650
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [edi + 0x4c]
call fcn.004027f0
mov eax, dword [ebp - 0x21c]
mov esi, 0x45a9c8
test eax, eax
mov edx, esi
cmovne edx, eax
mov ecx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x425680
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 0x64]
call fcn.004027f0
mov eax, dword [ebp - 0x220]
test eax, eax
cmovne esi, eax
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4256b0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [edi + 0x7c]
call fcn.004027f0
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x94], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.0042d630
push 0x34
lea eax, [ebp - 0x260]
mov dword [ebp - method.eset::CFileVersionInfo.virtual_0], vtable.eset::CFileVersionInfo.0
push 0
push eax
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x228], 0
call fcn.0042d630
push dword [ebp - 0x22c]
call fcn.0043056f
add esp, 0x1c
mov dword [ebp - 0x22c], 0
push 0x104
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x4257f2
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x264]
call fcn.0041e7c0
test eax, eax
je 0x4257b6
push 0x104
lea eax, [ebp - 0x218]
push eax
push ecx
lea ecx, [ebp - 0x264]
call fcn.0041e910
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x425797
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [edi + 0x1c]
call fcn.004027f0
push 0x34
lea eax, [ebp - 0x260]
mov dword [ebp - 0x224], 0
push 0
push eax
mov dword [ebp - 0x228], 0
call fcn.0042d630
push dword [ebp - 0x22c]
call fcn.0043056f
add esp, 0x10
mov dword [ebp - 0x22c], 0
mov eax, dword [edi]
mov esi, dword [eax + 0x30]
mov ecx, esi
call dword [0x451380]
mov ecx, edi
call esi
cmp eax, 1
lea eax, [ebp - 0x260]
push 0x34
push 0
push eax
sete bl
call fcn.0042d630
push dword [ebp - 0x22c]
call fcn.0043056f
add esp, 0x10
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042b03b
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4279a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x463184]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.0042d630
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0x104
push eax
mov ecx, esi
mov byte [edi + 0x54], 1
call fcn.00424ee0
add esp, 0x14
lea eax, [ebp - 0x20c]
push eax
push 0x137
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 5
push 0x137
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0042b03b
mov esp, ebp
pop ebp
ret 4

Function at 0x427bb0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4506f8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x463184]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov ecx, dword [ebp + 0xc]
lea edi, [esi + 4]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x10], ecx
mov dword [esi], 0
mov dword [edi], 0
mov dword [esi + 8], 0
mov dword [ebp - 4], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov byte [ebp - 4], 1
mov edx, dword [esi]
test ebx, ebx
jne 0x427c61
test edx, edx
je 0x427c44
mov ecx, dword [esi + 8]
add dword [edi], ecx
lea eax, [ecx*4]
sub edx, eax
push edx
mov dword [esi], edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [esi], ebx
mov dword [edi], ebx
mov dword [esi + 8], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push edi
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [esi], eax
mov edi, 1
dec dword [esi + 4]
lea ecx, [eax + 4]
jmp 0x427cae
test edx, edx
je 0x427c92
mov ecx, dword [esi + 8]
add dword [edi], ecx
lea eax, [ecx*4]
sub edx, eax
push edx
mov dword [esi], edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 0x10]
mov dword [esi], 0
mov dword [edi], 0
mov dword [esi + 8], 0
test ebx, ebx
je 0x427c9a
push edi
push ecx
jmp 0x427ca2
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push edi
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ecx, eax
xor edi, edi
mov dword [esi], ecx
mov edx, esi
mov dword [edx], ecx
mov ecx, esi
mov dword [esi + 8], edi
call fcn.00427df0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4292a0
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x463184]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
call dword [0x463098]
test eax, eax
je 0x4293e4
lea eax, [ebp - 0x14]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4293fe
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x20]
push eax
push 4
lea eax, [ebp - 0x24]
mov byte [ebp - 0xd], 0
push eax
push 0x12
push esi
mov dword [ebp - 0xc], 0
mov word [ebp - 8], 0x500
mov dword [ebp - 0x1c], 0
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x4293f5
cmp dword [ebp - 0x20], 4
jb 0x4293f5
cmp dword [ebp - 0x24], 3
jne 0x4293f5
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 2
push esi
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x4293f5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x4293d5
push ebx
push dword [ebp - 0x18]
call fcn.00430564
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4293d4
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x18]
push ebx
push 2
push esi
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x4293cb
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x4293cb
xor esi, esi
cmp dword [ebx], esi
jbe 0x4293c2
push edi
lea edi, [ebx + 4]
push dword [ebp - 0x1c]
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x4293bd
inc esi
add edi, 8
cmp esi, dword [ebx]
jb 0x4293a4
jmp 0x4293c1
mov byte [ebp - 0xd], 1
pop edi
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
push ebx
call fcn.0043056f
add esp, 4
pop ebx
push dword [ebp - 0x14]
call dword [0x463018]
cmp byte [ebp - 0xd], 0
je 0x4293fe
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042b03b
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x14]
call dword [0x463018]
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.0042b03b
mov esp, ebp
pop ebp
ret

Function at 0x42bf83
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x42bfc2
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42bfc2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42bfc2
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x42bfc2
cmp dword [ecx + 0x74], 0xe
jbe 0x42bfc2
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x4406ae
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4565a4
push 0x45659c
push str.FlsAlloc
push 0x1f
call fcn.00440555
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4406e2
push dword [ebp + 8]
mov ecx, esi
call dword [0x451380]
call esi
jmp 0x4406e8
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4