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

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x138
mov eax, dword [0x4bea34]
xor eax, ebp
mov dword [ebp + 0x6c], eax
mov eax, dword [ebp + 0x78]
push esi
mov esi, dword [0x4c3614]
mov dword [ebp - 0xa0], eax
movzx eax, word [ebp + 0x7c]
push 0xf0
push eax
push esi
mov dword [ebp - 0x9c], 1
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x40c17d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40c17d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40c17d
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push edi
movzx eax, word [esi]
test ax, ax
je 0x40c17b
inc esi
inc esi
movzx edi, ax
movzx eax, word [esi]
inc esi
inc esi
mov ecx, dword [esi]
add esi, 4
cmp ax, 0x403
mov dword [ebp - 0xa4], ecx
jne 0x40c0eb
lea eax, [ebp - 0x94]
mov dword [ebp - 0x98], eax
call dword [0x4be64c]
push eax
push esi
lea eax, [ebp - 0x98]
push eax
call fcn.0040c284
push dword [ebp - 0x98]
movzx eax, di
push 0
push 0x143
push eax
mov eax, dword [ebp - 0xa0]
push dword [eax + 4]
call ebx
cmp eax, 0xffffffff
jne 0x40c0cb
and dword [ebp - 0x9c], 0
lea eax, [ebp - 0x94]
cmp dword [ebp - 0x98], eax
je 0x40c168
push dword [ebp - 0x98]
call fcn.00471640
pop ecx
jmp 0x40c168
cmp ax, 0x1234
jne 0x40c168
or dword [ebp - 0xc4], 0xffffffff
lea eax, [ebp - 0x94]
mov dword [ebp - 0xc8], 1
mov dword [ebp - 0x98], eax
call dword [0x4be64c]
push eax
push esi
lea eax, [ebp - 0x98]
push eax
call fcn.0040c284
mov eax, dword [ebp - 0x98]
lea ecx, [ebp - 0x94]
cmp eax, ecx
mov dword [ebp - 0xc0], eax
je 0x40c13f
push eax
call fcn.00471640
pop ecx
lea eax, [ebp - 0xc8]
push eax
push 0
movzx eax, di
push 0x40b
push eax
mov eax, dword [ebp - 0xa0]
push dword [eax + 4]
call ebx
cmp eax, 0xffffffff
jne 0x40c168
and dword [ebp - 0x9c], 0
add esi, dword [ebp - 0xa4]
cmp dword [ebp - 0x9c], 0
jne 0x40c05c
pop edi
pop ebx
mov ecx, dword [ebp + 0x6c]
mov eax, dword [ebp - 0x9c]
xor ecx, ebp
pop esi
call fcn.00470af5
add ebp, 0x70
leave
ret 8

Function at 0x40d467
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
movsx ecx, ax
push edi
shr eax, 0x10
movsx edx, ax
xor eax, eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0x1012
push dword [esi + 4]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
pop edi
je 0x40d4bc
cmp dword [ebp - 0xc], 8
jne 0x40d4bc
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x40d4bc
push dword [ebp - 8]
push esi
call fcn.0040d4c9
mov eax, dword [ebp + 8]
and dword [eax], 0
xor eax, eax
inc eax
leave
ret 4
Function at 0x40e2a3
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x4bea34]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0xb
pop ecx
mov esi, 0x4a1440
lea edi, [ebp - 0x34]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor esi, esi
push esi
push esi
push esi
push 1
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edi, eax
cmp edi, esi
je 0x40e306
push esi
push esi
push esi
push esi
push str.http:__www.google.com
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
cmp eax, esi
je 0x40e2ff
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push eax
call esi
push edi
call esi
mov al, 1
jmp 0x40e308
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xor al, al
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00470af5
leave
ret
Function at 0x410467
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetCursorPos]
push esi
lea eax, [ebp - 0xc]
push eax
mov byte [edi + 0x105], 0
call ebx
lea eax, [ebp - 0xc]
push eax
lea esi, [edi + 0x9c]
push dword [esi]
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 8]
push dword [ebp - 0xc]
push esi
lea esi, [ebp - 4]
call fcn.0041134f
cmp dword [ebp - 4], 4
jne 0x4104fd
lea esi, [edi + 0x108]
cmp dword [esi], 0
jge 0x4104cc
push esi
call ebx
mov eax, dword [edi + 0x64]
add eax, 0x504
push 0x15
call fcn.0040e44b
add dword [edi + 0x10c], eax
push dword [edi + 0x10c]
lea ebx, [edi + 0xd0]
push dword [esi]
push ebx
call fcn.00411329
lea eax, [edi + 0xd4]
push eax
push 1
push 0x411
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
mov byte [edi + 0x105], 1
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret
Function at 0x411170
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
push dword [ebp + 8]
lea edi, [esi + 0x120]
push dword [esi + 0x64]
call fcn.00432754
test al, al
je 0x4111c5
mov eax, dword [esi + 0x124]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, 0x43b
push ebx
push dword [esi + 4]
mov dword [ebp + 8], eax
call edi
push dword [ebp + 8]
push 0
push 0x172
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push dword [esi + 4]
call edi
push 0xa
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop ebx
pop ecx
pop ebp
ret 4

Function at 0x412072
Capabilities:
Hide graphical window

Disassembly:
push 0x24
mov eax, 0x49ba86
call fcn.00479dd6
mov esi, dword [ebx + 0x64]
mov eax, dword [0x4c3680]
mov ecx, 0x4c3680
add esi, 0x304
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
and dword [ebp - 4], 0
push 0x400
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push str.PageSubHeading
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x10], eax
call fcn.00401a8f
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax]
push 1
push eax
push 0x30
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call fcn.00401e14
push 0x6c
lea eax, [ebp - 0x14]
push eax
call fcn.0040adb9
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov esi, dword [ebx + 0x64]
lea edi, [ebp - 0x10]
call fcn.00435bed
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetParent]
push 2
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x412129
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, ebx
call fcn.0040f861
mov esi, eax
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00405e8e
mov eax, esi
call fcn.00479eae
ret
Function at 0x412145
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x496588
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bea34]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
push 0x34
xor ebp, ebp
pop ebx
push ebx
mov dword [esi + 4], ebp
mov dword [esi + 0x14], ebp
lea edi, [esi + 0x20]
push ebp
push edi
mov dword [esi + 0x18], ebp
mov dword [esi + 0x1c], ebp
call fcn.00471300
add esp, 0xc
mov dword [edi], ebx
mov dword [esi + 0x24], 0x80
mov eax, dword [0x4c3614]
mov dword [esi + 0x28], eax
mov eax, dword [esp + 0x28]
cmp eax, ebp
push 0x66
pop ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x38], 0x418c13
mov dword [esi + 0x40], 0x42c4c7
mov dword [esi + 0x3c], esi
je 0x4121c6
mov dword [esi + 0x34], eax
mov dword [esi + 0x24], 0x88
mov dword [esp + 0x1c], ebp
mov dword [esi + 0x54], ebp
mov dword [esi + 0x58], ebp
mov dword [esi + 0x5c], ebp
call fcn.0040987f
mov edi, dword [0x4c3614]
push 5
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindResourceW]
push edi
call ebx
cmp eax, ebp
mov dword [esp + 0x28], eax
je 0x412245
push 0xf0
push 0x66
push edi
call ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebp
mov ebp, dword [sym.imp.KERNEL32.dll_LockResource]
je 0x412216
push eax
push edi
call ebx
push eax
mov dword [esi + 0x54], eax
call ebp
push dword [esp + 0x28]
push edi
call ebx
push eax
mov dword [esi + 0x58], eax
call ebp
mov edi, eax
call fcn.00406003
mov ebx, eax
cmp ebx, edi
je 0x41223a
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
mov dword [esi + 0x5c], eax
test ebx, ebx
je 0x412245
or dword [esi + 0x24], 1
mov dword [esi + 0x2c], ebx
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 8

Function at 0x414311
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
jne 0x414324
push 0x80004005
call fcn.0040593d
push esi
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x41432b
mov eax, dword [ebp + 8]
push edi
push dword [ebp + 0x10]
push 7
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x41435b
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x4bea34]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
lea edx, [ebp - 0x214]
push edx
push 0x2001f
mov eax, ecx
mov ecx, dword [ebp + 8]
xor esi, esi
push esi
mov dword [ebp - 0x220], eax
mov eax, dword [eax]
push ecx
push eax
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x210], esi
mov dword [ebp - 0x214], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, eax
cmp edi, esi
jne 0x414478
xor eax, eax
cmp dword [ebp - 0x210], esi
je 0x4143c9
push dword [ebp - 0x210]
call ebx
cmp eax, esi
mov ecx, dword [ebp - 0x214]
mov edi, eax
mov dword [ebp - 0x210], ecx
jne 0x414478
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [ebp - 0x228]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push ecx
jmp 0x41443c
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x210]
call fcn.0041435b
cmp eax, esi
mov dword [ebp - 0x214], eax
jne 0x41449b
lea eax, [ebp - 0x228]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push dword [ebp - 0x210]
mov dword [ebp - 0x218], 0x100
call edi
test eax, eax
je 0x414401
cmp dword [ebp - 0x210], esi
je 0x414462
push dword [ebp - 0x210]
call ebx
mov dword [ebp - 0x210], esi
push dword [ebp - 0x21c]
mov eax, dword [ebp - 0x220]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edi, eax
cmp dword [ebp - 0x210], esi
je 0x414488
push dword [ebp - 0x210]
call ebx
mov eax, edi
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00470af5
leave
ret 4
cmp dword [ebp - 0x210], esi
je 0x4144ab
push dword [ebp - 0x210]
call ebx
mov eax, dword [ebp - 0x214]
jmp 0x41448a
Function at 0x416016
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4bea34]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
push eax
mov byte [ebp - 0xc], bl
mov byte [ebp - 0xb], bl
mov byte [ebp - 0xa], bl
mov byte [ebp - 9], bl
mov byte [ebp - 8], bl
mov byte [ebp - 7], 5
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x416061
xor al, al
jmp 0x416088
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x10], ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x416079
mov dword [ebp - 0x10], ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
cmp dword [ebp - 0x10], ebx
setne al
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00470af5
leave
ret
Function at 0x417213
Capabilities:
Copy file
Create process on windows

Disassembly:
push 0xa4
mov eax, 0x494f7c
call fcn.00479e3f
mov eax, dword [ebp + 8]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0xc]
lea esi, [ebp - 0x50]
mov dword [ebp - 0x54], eax
call fcn.004423d8
xor ebx, ebx
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.004427dc
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], bx
mov byte [ebp - 4], 1
call fcn.004474f1
lea edx, [ebp - 0x2c]
mov ecx, eax
call fcn.004475d8
test al, al
je 0x4173ef
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x417277
lea eax, [ebp - 0x28]
push ebx
push eax
lea eax, [ebp - 0x50]
call fcn.004427cc
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x41739f
xor eax, eax
mov dword [ebp - 0x68], ebx
lea edi, [ebp - 0x64]
stosd dword es:[edi], eax
push 0x44
stosd dword es:[edi], eax
pop esi
push esi
stosd dword es:[edi], eax
lea eax, [ebp - 0xb0]
push ebx
push eax
call fcn.00471300
add esp, 0xc
mov dword [ebp - 0xb0], esi
mov esi, 0x4a1504
push esi
lea eax, [ebp - 0x2c]
push eax
call fcn.00412d3b
push str._uninstall
lea eax, [ebp - 0x2c]
push eax
call fcn.00412d3b
push esi
lea eax, [ebp - 0x2c]
push eax
call fcn.00412d3b
push str._temp
lea eax, [ebp - 0x2c]
push eax
call fcn.00412d3b
push dword [ebp - 0x58]
lea eax, [ebp - 0x48]
push str.__bundleGroupId
push eax
call fcn.00418d6a
add esp, 0xc
push 0xffffffffffffffff
push ebx
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.00412d59
push ebx
push 1
lea esi, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.004012a8
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x417328
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x68]
push ecx
lea ecx, [ebp - 0xb0]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x417365
mov byte [ebp - 0x49], 1
push ebx
push 1
lea esi, [ebp - 0x2c]
call fcn.004012a8
lea eax, [ebp - 0x50]
call fcn.004424c3
mov al, byte [ebp - 0x49]
call fcn.00479ec2
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, ebx
je 0x4173ef
push edi
lea esi, [ebp - 0x48]
call fcn.00415fdc
pop ecx
mov byte [ebp - 4], 3
cmp dword [ebp - 0x30], 8
mov eax, dword [ebp - 0x44]
jae 0x41738b
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x54]
push edi
push str.Failed_to_launch_temp_installer__0x_08x_:_s_n
call fcn.00418d1f
add esp, 0xc
jmp 0x4173e4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, ebx
je 0x4173ef
push edi
lea esi, [ebp - 0x48]
call fcn.00415fdc
pop ecx
mov byte [ebp - 4], 4
cmp dword [ebp - 0x30], 8
mov ecx, dword [ebp - 0x44]
jae 0x4173c5
lea ecx, [ebp - 0x44]
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x4173d1
lea eax, [ebp - 0x28]
push ecx
push edi
push eax
mov eax, dword [ebp - 0x54]
push str.Failed_to_copy_installer_to__s__0x_08x_:_s_n
call fcn.00418d1f
add esp, 0x10
push ebx
push 1
lea esi, [ebp - 0x48]
call fcn.004012a8
mov byte [ebp - 0x49], bl
jmp 0x417349
Function at 0x418faf
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
xor ebx, ebx
cmp dword [ebp + 0x1c], ebx
push edi
mov edi, ecx
jne 0x419044
mov esi, dword [ebp + 0x14]
push ebx
push dword [ebp + 0x18]
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0041925f
test eax, eax
je 0x418fe1
xor eax, eax
inc eax
jmp 0x419046
cmp dword [ebp + 0xc], 0x4e
jne 0x41901c
mov eax, 0x436
cmp dword [esi + 4], eax
jne 0x419044
cmp dword [esi + 8], 0xfffffffe
jne 0x419044
cmp dword [ebp + 0x10], eax
jne 0x419015
cmp dword [esi + 0x10], ebx
jne 0x419015
push 5
push ebx
push ebx
add esi, 0x7c
push esi
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [ebp + 0x18]
mov dword [eax], ebx
jmp 0x418fdc
cmp dword [ebp + 0xc], 0x110
jne 0x419044
mov eax, dword [edi + 0x18]
xor esi, esi
inc esi
mov dword [eax + 0x20], esi
call fcn.004190cb
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x20], ebx
je 0x419044
mov eax, esi
jmp 0x419046
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x18

Function at 0x419492
Capabilities:
Hide graphical window

Disassembly:
push 0x24
mov eax, 0x49ba86
call fcn.00479dd6
mov esi, dword [ebx + 0x64]
mov eax, dword [0x4c3680]
mov ecx, 0x4c3680
add esi, 0x304
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
and dword [ebp - 4], 0
push 0x438
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push str.PageSubHeading
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x10], eax
call fcn.00401a8f
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax]
push 1
push eax
push 0x30
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call fcn.00401e14
push 0xa3
lea eax, [ebp - 0x14]
push eax
call fcn.0040adb9
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov esi, dword [ebx + 0x64]
lea edi, [ebp - 0x10]
call fcn.00435bed
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetParent]
push 2
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x41954c
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edi, ebx
call fcn.004190cb
mov esi, eax
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00405e8e
mov eax, esi
call fcn.00479eae
ret
Function at 0x419568
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x496588
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bea34]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
push 0x34
xor ebp, ebp
pop ebx
push ebx
mov dword [esi + 4], ebp
mov dword [esi + 0x14], ebp
lea edi, [esi + 0x20]
push ebp
push edi
mov dword [esi + 0x18], ebp
mov dword [esi + 0x1c], ebp
call fcn.00471300
add esp, 0xc
mov dword [edi], ebx
mov dword [esi + 0x24], 0x80
mov eax, dword [0x4c3614]
mov dword [esi + 0x28], eax
mov eax, dword [esp + 0x28]
cmp eax, ebp
push 0x72
pop ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x38], 0x418c13
mov dword [esi + 0x40], 0x42c4c7
mov dword [esi + 0x3c], esi
je 0x4195e9
mov dword [esi + 0x34], eax
mov dword [esi + 0x24], 0x88
mov dword [esp + 0x1c], ebp
mov dword [esi + 0x54], ebp
mov dword [esi + 0x58], ebp
mov dword [esi + 0x5c], ebp
call fcn.0040987f
mov edi, dword [0x4c3614]
push 5
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindResourceW]
push edi
call ebx
cmp eax, ebp
mov dword [esp + 0x28], eax
je 0x419668
push 0xf0
push 0x72
push edi
call ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebp
mov ebp, dword [sym.imp.KERNEL32.dll_LockResource]
je 0x419639
push eax
push edi
call ebx
push eax
mov dword [esi + 0x54], eax
call ebp
push dword [esp + 0x28]
push edi
call ebx
push eax
mov dword [esi + 0x58], eax
call ebp
mov edi, eax
call fcn.00406003
mov ebx, eax
cmp ebx, edi
je 0x41965d
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
mov dword [esi + 0x5c], eax
test ebx, ebx
je 0x419668
or dword [esi + 0x24], 1
mov dword [esi + 0x2c], ebx
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 8

Function at 0x4196b5
Capabilities:
Hide graphical window

Disassembly:
push 8
mov eax, 0x494e3e
call fcn.00479dd6
mov edi, ecx
call fcn.0042c004
mov eax, dword [0x4c3680]
mov ecx, 0x4c3680
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
push 0x92
lea eax, [ebp - 0x10]
push eax
call fcn.0040adb9
mov ebx, dword [ebp - 0x10]
push ecx
add ebx, 0xfffffff0
mov eax, ebx
mov dword [ebp - 0x14], esp
mov esi, esp
call fcn.00418b4e
add eax, 0x10
mov dword [esi], eax
push dword [edi + 0x64]
push 4
pop eax
call fcn.004310ea
mov esi, dword [edi + 0x64]
push 4
call fcn.004355c4
mov edi, dword [edi + 0x64]
push 0x3023
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, ebx
call fcn.00405e8e
xor eax, eax
inc eax
call fcn.00479eae
ret
push edi
mov edi, eax
mov eax, dword [edi + 4]
cmp dword [esi], eax
je 0x4196d2
push eax
call dword [sym.imp.USER32.dll_GetParent]
cmp dword [esi], eax
je 0x4196d2
and dword [ebx], 0
xor eax, eax
inc eax
pop edi
ret
mov ecx, dword [esi + 8]
add ecx, 0xd5
xor eax, eax
cmp ecx, 0xd
ja case.0x4196e2.211
jmp dword [ecx*4 + 0x419709]
mov ecx, edi
pop edi
jmp 0x419157
call fcn.00419741
pop edi
ret
push dword [esi + 0xc]
call fcn.0041dd7a
pop edi
ret
mov dword [ebx], eax
pop edi
ret
Function at 0x41985e
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
cmp dword [ebp + 0x1c], 0
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0x18]
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, ecx
mov dword [esp + 0x10], eax
jne 0x4198bd
push 0
push ebx
push esi
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0041b886
test eax, eax
je 0x419898
xor eax, eax
inc eax
jmp 0x4198bf
cmp dword [ebp + 0xc], 0x110
jne 0x4198c8
mov eax, dword [edi + 0x18]
mov ecx, edi
mov dword [eax + 0x20], 1
call fcn.0041a328
mov dword [ebx], eax
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x20], 0
jne 0x419893
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp dword [ebp + 0xc], 0x111
jne 0x4198fe
mov eax, dword [esp + 0x10]
shr eax, 0x10
cmp ax, 0x200
jne 0x4198bd
cmp word [esp + 0x10], 0x41f
mov dword [esp + 0x14], esi
jne 0x4198f8
lea eax, [esp + 0x14]
push eax
push edi
call fcn.0041b5fe
jmp 0x4198fa
xor eax, eax
mov dword [ebx], eax
jmp 0x419893
cmp dword [ebp + 0xc], 0x4e
jne 0x4198bd
mov ecx, dword [esi + 4]
mov eax, 0x420
cmp ecx, eax
jne 0x41993e
cmp dword [esi + 8], 0xfffffffe
jne 0x41993e
xor edi, edi
cmp dword [esp + 0x10], eax
jne 0x419937
cmp dword [esi + 0x10], edi
jne 0x419937
push 5
push edi
push edi
add esi, 0x7c
push esi
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebx], edi
jmp 0x419893
mov eax, 0x429
cmp ecx, eax
jne 0x4198bd
cmp dword [esi + 8], 0xffffff4f
jne 0x419976
mov eax, dword [esi + 0xc]
test al, 2
je 0x41996e
mov ecx, dword [esi + 0x2c]
cmp ecx, 0xffffffff
je 0x41996e
or eax, 0x1000
mov dword [esi + 0x28], ecx
mov dword [esi + 0xc], eax
and dword [ebx], 0
jmp 0x419893
cmp ecx, eax
jne 0x4198bd
cmp dword [esi + 8], 0xffffff9b
jne 0x4198bd
push 0x41f
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
push 1
push 0
push dword [edi + 0x6c]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x41996e

Function at 0x4199f4
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
lea eax, [ebp - 4]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x419a16
xor eax, eax
jmp 0x419a64
lea eax, [ebp - 0x10]
push eax
push 0x4a2444
xor esi, esi
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push esi
push esi
push esi
lea eax, [ebp - 0x14]
push eax
push esi
push dword [ebp - 4]
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x419a12
push 0x80040002
push 6
call dword [sym.imp.USER32.dll_ExitWindowsEx]
neg eax
sbb eax, eax
neg eax
pop esi
leave
ret