joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41650d
Capabilities:
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
xor esi, esi
push 0x44
lea eax, [ebp - 0x54]
push esi
mov ebx, ecx
push eax
call fcn.0046aa50
mov eax, dword [ebp + 0xc]
add esp, 0xc
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push 0x10
push 1
push esi
push esi
mov dword [ebp - 0x54], 0x44
push dword [ebp + 8]
mov word [ebp - 0x24], si
mov dword [ebp - 0x28], 0x101
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x41657c
mov eax, dword [ebp - 0x10]
push dword [ebp - 0xc]
mov dword [ebx + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
pop eax
pop esi
pop ebx
leave
ret 0x10
Function at 0x416ebc
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2e0
push ebx
push esi
mov dword [ebp - 8], ecx
push 8
call fcn.0046af94
xor ebx, ebx
pop ecx
cmp eax, ebx
je 0x416ee6
push dword [ebp + 8]
mov ecx, eax
call fcn.0045bcba
mov esi, eax
jmp 0x416ee8
xor esi, esi
push edi
push 8
pop ecx
xor eax, eax
lea edi, [ebp - 0x28]
mov dword [ebp - 0x2c], ebx
rep stosd dword es:[edi], eax
mov eax, dword [0x47e520]
mov ecx, 0xac
mov dword [ebp - 4], eax
xor eax, eax
lea edi, [ebp - 0x2dc]
mov dword [ebp - 0x2e0], ebx
rep stosd dword es:[edi], eax
push 0x208
lea eax, [ebp - 0x2e0]
push 0x2b4
push eax
push ebx
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
pop edi
je 0x416f5a
lea eax, [ebp - 0x2d4]
test eax, eax
je 0x416f4a
lea eax, [ebp - 0x2d4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x2d4]
push ecx
push eax
lea ecx, [ebp - 4]
call fcn.0040148d
mov eax, dword [ebp + 0xc]
push 1
mov ecx, esi
mov dword [ebp - 0x2c], 0x37
mov dword [ebp - 0x28], eax
call fcn.0045c3fd
push ebx
lea ecx, [ebp - 4]
mov dword [ebp - 0x1c], eax
call fcn.004016d4
push 3
mov ecx, esi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0xc], esi
call fcn.0045c3fd
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 8]
push ebx
push 0x40b
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 4]
mov esi, eax
call fcn.0040139c
mov eax, esi
pop esi
pop ebx
leave
ret 0xc
Function at 0x4184ca
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [0x492fe8]
push edi
push 0xf1
push ebx
mov edi, ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41863e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x41863e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x41863e
lea eax, [esi + 8]
mov ecx, edi
mov dword [ebp - 8], eax
movzx eax, word [esi + 6]
mov dword [ebp - 4], eax
movzx eax, word [esi + 4]
push eax
movzx eax, word [esi + 2]
push eax
call fcn.00419a29
xor ecx, ecx
cmp dword [edi + 0x44], ecx
jne 0x41856d
push ebx
call fcn.0041865b
mov dl, byte [edi + 0x81]
pop ecx
lea ecx, [edi + 0x81]
and al, 1
shl al, 5
and dl, 0xdf
or al, dl
mov byte [ecx], al
mov ecx, edi
movzx eax, word [esi + 6]
push eax
call fcn.00417bcf
test al, al
je 0x41863e
xor ecx, ecx
cmp byte [ebp + 0xc], 0
mov dword [ebp + 8], ecx
je 0x418596
push dword [ebp + 0x18]
mov eax, dword [0x492fe8]
movzx ecx, word [ebp + 0x10]
push dword [ebp + 0x14]
push ecx
movsx ecx, bx
push ecx
push eax
call dword [sym.imp.COMCTL32.dll_CreateMappedBitmap]
mov dword [ebp + 8], eax
jmp 0x4185dc
test byte [edi + 0x81], 0x20
je 0x4185cf
mov eax, dword [0x492fe8]
push 0x2040
push ecx
push ecx
push ecx
push ebx
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
cmp dword [ebp + 8], 0
mov esi, eax
je 0x4185ca
cmp dword [ebp + 8], esi
je 0x4185ca
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebp + 8], esi
jmp 0x4185dc
push ecx
lea ecx, [ebp + 8]
mov eax, esp
mov dword [eax], ebx
call fcn.00418efe
cmp dword [ebp + 8], 0
je 0x41863e
push dword [edi + 0x9c]
push dword [ebp + 8]
push dword [edi + 0x44]
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
cmp eax, 0xffffffff
je 0x41862f
mov ebx, dword [ebp - 4]
test ebx, ebx
jle 0x41861f
mov esi, dword [ebp - 8]
mov ax, word [esi]
test ax, ax
je 0x41861a
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push eax
lea ecx, [edi + 0x48]
call fcn.0041ae23
inc esi
inc esi
dec ebx
jne 0x418603
push dword [edi + 0x44]
mov esi, dword [edi + 0x4c]
call dword [sym.imp.COMCTL32.dll_ImageList_GetImageCount]
cmp eax, esi
je 0x418642
cmp dword [ebp + 8], 0
je 0x41863e
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_DeleteObject]
xor eax, eax
jmp 0x418654
cmp dword [ebp + 8], 0
je 0x418651
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_DeleteObject]
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0x41a59b
Capabilities:
Capture webcam image

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
mov eax, dword [edi]
cmp eax, dword [esi + 4]
je 0x41a5b6
mov eax, dword [esp + 0x14]
push 1
and dword [eax], 0
pop eax
jmp 0x41a5f5
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, dword [esi + 4]
je 0x41a5c8
mov ecx, esi
call fcn.0041b419
mov eax, dword [edi + 0xc]
push 0
push eax
push 0x419
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
and byte [esi + 0x80], 0xcf
push 1
push eax
mov ecx, esi
mov dword [esi + 0x124], eax
call fcn.00418c58
xor eax, eax
pop edi
pop esi
ret 0xc

Function at 0x41a5fa
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x18]
mov esi, ecx
and dword [edi], 0
mov eax, dword [esi + 0xa4]
cmp eax, 0x12
je 0x41a62a
cmp eax, 0x79
jne 0x41a621
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test al, 0x80
je 0x41a62a
cmp dword [esi + 0xa4], 0x20
jne 0x41a69d
cmp dword [esp + 0x10], 0xf100
jne 0x41a69d
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, dword [esi + 4]
jne 0x41a65a
mov ecx, esi
call fcn.00418e7b
push 0
push 0xffffffffffffffff
push 0x448
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x41a69d
mov eax, dword [esi + 0xa4]
cmp eax, 0x20
je 0x41a69d
test byte [esi + 0x80], 0x40
jne 0x41a692
mov al, byte [esi + 0x81]
test al, 2
je 0x41a689
test al, 4
jne 0x41a689
test al, 8
je 0x41a689
push 1
mov ecx, esi
call fcn.0041ad42
mov ecx, esi
call fcn.0041b419
jmp 0x41a697
cmp eax, 0x20
je 0x41a69d
mov dword [edi], 1
and byte [esi + 0x80], 0xbf
pop edi
xor eax, eax
pop esi
ret 0x10
Function at 0x41cb75
Capabilities:
Terminate thread

Disassembly:
mov dword [ecx], 0x478ef8
jmp fcn.00416277
Function at 0x41f82c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
push str.SoftwareMicrosoftWindows_DefenderWindows_Defender_Exploit_GuardControlled_Folder_AccessAllowedApplications
lea ecx, [ebp - 0x10]
call fcn.004013c8
lea eax, [ebp - 0x14]
xor esi, esi
push eax
lea eax, [ebp - 8]
push eax
push esi
push 1
push esi
push esi
push esi
push dword [ebp - 0x10]
xor edi, edi
mov dword [ebp - 8], esi
push reloc.SHELL32.dll_SHChangeNotifyRegister
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, esi
jne 0x41f86b
mov edi, dword [ebp - 8]
lea eax, [ebp - 4]
mov dword [ebp - 0xc], 2
push eax
call fcn.0041f7de
pop ecx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push esi
push dword [ebp - 4]
mov dword [ebp - 0x14], esi
mov dword [ebp - 8], 4
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 0xc], esi
lea ecx, [ebp - 4]
jne 0x41f8ba
call fcn.0040139c
cmp edi, esi
je 0x41f8b5
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
pop esi
jmp 0x41f8ca
call fcn.0040139c
cmp edi, esi
je 0x41f8ca
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x10]
call fcn.0040139c
mov eax, esi
pop edi
pop esi
leave
ret
Function at 0x422b51
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x48a334]
push ebx
push esi
push edi
cmp dword [eax - 8], 0
mov edi, ecx
mov ebx, str.Favoriten
mov esi, 0x48a334
jne 0x422c13
push eax
push str.Ordner
lea eax, [ebp - 4]
push ebx
push eax
call fcn.00445d42
add esp, 0x10
mov ecx, esi
push eax
call fcn.00401522
lea ecx, [ebp - 4]
call fcn.0040139c
mov eax, dword [0x48a334]
cmp dword [eax - 8], 0
jne 0x422c13
lea ecx, [ebp - 0x10]
call fcn.0045bcee
push dword [edi + 4]
lea ecx, [ebp - 0x10]
push 0x1a
call fcn.0045c448
lea eax, [ebp - 8]
push str.Q_DirFavoriten_
push eax
lea ecx, [ebp - 0x10]
call fcn.0045c25b
push eax
lea eax, [ebp - 4]
push eax
call fcn.00408569
lea ecx, [ebp - 8]
call fcn.0040139c
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x422bf8
test al, 0x10
je 0x422bf8
lea eax, [ebp - 4]
mov ecx, esi
push eax
call fcn.00401522
lea ecx, [ebp - 4]
call fcn.0040139c
lea ecx, [ebp - 0x10]
call fcn.0045bcda
mov eax, dword [0x48a334]
cmp dword [eax - 8], 0
je 0x422c4a
mov edi, 0x47ec6c
mov eax, edi
test eax, eax
je 0x422c25
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
push eax
mov ecx, esi
call fcn.00401658
push esi
call fcn.0044ae5e
push 0
push dword [0x48a334]
push str.Ordner
push ebx
call fcn.00445d21
add esp, 0x14
pop edi
pop esi
pop ebx
leave
ret
Function at 0x422f70
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x14]
push ebx
push esi
xor ebx, ebx
push edi
mov edi, ecx
mov dword [eax], ebx
mov eax, dword [0x47e520]
mov esi, 0xfbc
lea ecx, [ebp - 4]
push esi
mov dword [ebp - 4], eax
call fcn.004016d4
push esi
push eax
push dword [edi + 0x24]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
lea ecx, [ebp - 4]
call fcn.0040173c
push 0x47e630
lea ecx, [ebp - 0xc]
call fcn.004013c8
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 4]
push eax
push dword [eax - 8]
call fcn.00401658
lea ecx, [ebp - 0xc]
call fcn.0040139c
push ebx
lea ecx, [ebp - 4]
call fcn.004016d4
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], ebx
mov esi, dword [ecx - 8]
mov ecx, dword [0x47e520]
mov dword [ebp + 0x14], ecx
lea ecx, [ebp + 0x14]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push esi
mov dword [ebp - 0x10], ebx
push eax
call fcn.00460bfc
add esp, 0x10
test eax, eax
je 0x423062
mov eax, dword [ebp + 0x14]
cmp dword [eax - 8], 0xa
jle 0x423047
inc dword [ebp - 8]
mov eax, dword [0x47e520]
push dword [ebp - 8]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push 0x47f820
push eax
call fcn.004017cc
push ebx
push dword [ebp + 0x14]
push dword [ebp - 0xc]
push dword [edi + 0x20]
call fcn.00445d21
add esp, 0x1c
lea ecx, [ebp - 0xc]
call fcn.0040139c
push 0x488b98
lea ecx, [ebp + 0x14]
call fcn.00401572
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push dword [ebp - 0x14]
jmp 0x422ffc
push ebx
push dword [ebp - 8]
push 0x4805a4
push dword [edi + 0x20]
call fcn.00445c56
movzx eax, word [ebp + 0xc]
add esp, 0x10
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
lea ecx, [ebp + 0x14]
call fcn.0040139c
lea ecx, [ebp - 4]
call fcn.0040139c
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10
Function at 0x423614
Capabilities:
Hide graphical window

Disassembly:
push ecx
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
push dword [esi + 4]
lea edi, [esi + 4]
call dword [sym.imp.USER32.dll_GetParent]
push eax
mov ecx, edi
call fcn.00401135
push dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SetWindowTextW]
push dword [edi]
call ebp
push dword [esi + 0x38]
mov ebx, 0x80
push 0
push ebx
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [esi + 0x38]
push 1
push ebx
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3ed
push dword [edi]
call ebx
mov ecx, dword [esi + 0x30]
mov dword [esi + 0x2c], eax
cmp dword [ecx - 8], 0
je 0x42369b
push ecx
push eax
call ebp
push 5
push dword [esi + 0x2c]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [esi + 0x34]
push 0xf1
push dword [esi + 0x2c]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 0x20]
push 0x3ee
push dword [edi]
mov dword [esp + 0x18], eax
call ebx
push dword [esp + 0x10]
push eax
call ebp
lea eax, [esi + 0x24]
push 0x3ea
push dword [edi]
mov dword [esp + 0x1c], eax
mov eax, dword [eax]
mov dword [esp + 0x18], eax
call ebx
push dword [esp + 0x10]
push eax
call ebp
push 0x3ea
push dword [edi]
call ebx
mov ecx, dword [esp + 0x14]
push 0x488b98
mov dword [esi + 0x28], eax
call fcn.00401572
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
pop ecx
ret 0x10

Function at 0x42373f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
call fcn.0040a1c4
mov ebx, dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_FindResourceW]
push 5
push dword [ebp + 0xc]
push ebx
call esi
push 0xf0
mov dword [ebp + 8], eax
push dword [ebp + 0xc]
push ebx
call esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, dword [sym.imp.KERNEL32.dll_LockResource]
xor ecx, ecx
mov dword [ebp - 0xc], eax
cmp eax, ecx
mov dword [ebp - 4], ecx
mov dword [ebp + 0xc], ecx
mov dword [ebp - 8], ecx
je 0x423797
push eax
push ebx
call esi
push eax
mov dword [ebp - 4], eax
call edi
mov dword [ebp + 0xc], eax
cmp dword [ebp + 8], 0
je 0x4237e7
push dword [ebp + 8]
push ebx
call esi
push eax
mov dword [ebp + 8], eax
call edi
push dword [ebp + 0xc]
mov esi, eax
push esi
call fcn.00409e5c
pop ecx
mov edi, eax
pop ecx
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push edi
push ebx
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
cmp edi, esi
mov dword [ebp - 8], eax
je 0x4237de
push edi
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [ebp + 0xc], 0
pop edi
pop esi
pop ebx
je 0x4237ff
cmp dword [ebp - 0xc], 0
je 0x4237ff
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 8]
leave
ret 0x14
Function at 0x423827
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx]
xor edi, edi
cmp eax, edi
je 0x4238d8
cmp dword [0x48e4b0], edi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
jne 0x423859
push str.GdipCreateFromHDC
push eax
call esi
mov dword [0x48e4b0], eax
cmp dword [0x48e4b4], edi
jne 0x42386f
push str.GdipDeleteGraphics
push dword [ebx]
call esi
mov dword [0x48e4b4], eax
cmp dword [0x48e4b8], edi
jne 0x423885
push str.GdipDrawImageRectRectI
push dword [ebx]
call esi
mov dword [0x48e4b8], eax
cmp dword [0x48e4bc], edi
jne 0x42389b
push str.GdipCreateImageAttributes
push dword [ebx]
call esi
mov dword [0x48e4bc], eax
mov eax, dword [0x48e4c0]
cmp eax, edi
jne 0x4238b2
push str.GdipSetImageAttributesColorMatrix
push dword [ebx]
call esi
mov dword [0x48e4c0], eax
cmp dword [0x48e4b0], edi
je 0x4238d8
cmp dword [0x48e4b4], edi
je 0x4238d8
cmp dword [0x48e4b8], edi
je 0x4238d8
mov ecx, dword [0x48e4bc]
cmp ecx, edi
je 0x4238d8
cmp eax, edi
jne 0x4238df
xor eax, eax
jmp 0x4239f0
cmp dword [0x48e4c4], edi
jne 0x4238ee
push 0x48e4c4
call ecx
lea eax, [ebp - 4]
mov dword [ebp - 4], edi
push eax
push dword [ebp + 8]
call dword [0x48e4b0]
fld1
mov esi, dword [ebp + 0x20]
fstp dword [ebp - 0x68]
fldz
cmp esi, edi
fstp dword [ebp - 0x64]
fldz
fstp dword [ebp - 0x60]
fldz
fstp dword [ebp - 0x5c]
fldz
fstp dword [ebp - 0x58]
fld1
fstp dword [ebp - 0x54]
fld1
fstp dword [ebp - 0x50]
fldz
fstp dword [ebp - 0x4c]
fldz
fstp dword [ebp - 0x48]
fldz
fstp dword [ebp - 0x44]
fldz
fstp dword [ebp - 0x40]
fldz
fstp dword [ebp - 0x3c]
fld1
fstp dword [ebp - 0x38]
fldz
fstp dword [ebp - 0x34]
fldz
fstp dword [ebp - 0x30]
fldz
fstp dword [ebp - 0x2c]
fldz
fstp dword [ebp - 0x28]
fldz
fstp dword [ebp - 0x24]
fld1
fstp dword [ebp - 0x20]
fldz
fstp dword [ebp - 0x1c]
fldz
fstp dword [ebp - 0x18]
fldz
fstp dword [ebp - 0x14]
fldz
fstp dword [ebp - 0x10]
fldz
fstp dword [ebp - 0xc]
fld1
fstp dword [ebp - 8]
je 0x4239a6
push 0x19
lea eax, [ebp - 0x68]
pop ecx
lea edi, [ebp - 0x68]
push 0
push eax
lea eax, [ebp - 0x68]
push eax
push 1
push 1
push dword [0x48e4c4]
rep movsd dword es:[edi], dword [esi]
call dword [0x48e4c0]
xor edi, edi
mov ecx, ebx
call fcn.00423b7d
mov ecx, ebx
mov esi, eax
call fcn.00423bad
push edi
push edi
push dword [0x48e4c4]
push 2
push eax
mov eax, dword [ebp + 0x18]
push esi
sub eax, dword [ebp + 0x10]
push edi
push edi
push eax
mov eax, dword [ebp + 0x14]
sub eax, dword [ebp + 0xc]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 0x1c]
push dword [ebp - 4]
call dword [0x48e4b8]
push dword [ebp - 4]
call dword [0x48e4b4]
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 0x1c
Function at 0x423a96
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
call fcn.00423bdd
cmp dword [0x48e4ec], 0
jne 0x423ac1
push str.GdipLoadImageFromStream
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x48e4ec], eax
je 0x423afe
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x423afe
push ebx
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
mov dword [ebp + 0xc], eax
je 0x423afe
push ebx
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x423b02
xor eax, eax
jmp 0x423b77
mov eax, dword [esi + 4]
test eax, eax
je 0x423b1d
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [esi + 4], 0
push dword [ebp + 0xc]
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test eax, eax
mov dword [esi + 4], eax
je 0x423b74
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x423b74
push dword [ebp + 0xc]
push ebx
push eax
call fcn.0046ab30
add esp, 0xc
and dword [ebp + 0x10], 0
lea eax, [ebp + 0x10]
push eax
push 0
push dword [esi + 4]
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x423b74
add esi, 0xc
push esi
push dword [ebp + 0x10]
call dword [0x48e4ec]
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push 1
pop eax
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x423c21
Capabilities:
Check os version

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esi], 0x4790ec
mov dword [esi + 0x1c], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
cmp dword [0x48e724], ebx
jne 0x423cac
mov ebp, 0x114
mov edi, 0x48e610
push ebp
push ebx
push edi
mov dword [0x48e724], 1
call fcn.0046aa50
add esp, 0xc
mov dword [0x48e610], ebp
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
call edi
cmp dword [0x48e614], 5
jb 0x423cac
add ebp, 8
push ebp
push ebx
mov ebx, 0x48e4f0
push ebx
call fcn.0046aa50
add esp, 0xc
mov dword [0x48e4f0], ebp
push ebx
call edi
mov eax, dword [0x48e4f4]
xor ebx, ebx
mov dword [0x48e614], eax
mov eax, dword [0x48e4f8]
mov dword [0x48e618], eax
mov dword [esi + 0xc], ebx
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x424601
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x47e520]
and word [ebp - 0x14], 0
push esi
push edi
mov esi, ecx
mov edi, 0x400
push edi
lea ecx, [ebp - 4]
mov dword [ebp - 4], eax
call fcn.004016d4
push edi
push eax
push dword [esi + 0x2c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
lea ecx, [ebp - 4]
call fcn.0040173c
cmp dword [esi + 0x3c], 0
je 0x42466c
mov eax, dword [ebp - 4]
push dword [eax - 8]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
lea edx, [ebp - 0x14]
mov esi, dword [esi + 0x3c]
push edx
lea edx, [ebp - 0x14]
mov ecx, dword [esi]
push edx
lea edx, [ebp - 0x14]
push edx
lea edx, [ebp - 0x14]
push edx
push eax
push esi
call dword [ecx + 0x2c]
mov esi, eax
jmp 0x42466e
xor esi, esi
lea ecx, [ebp - 4]
call fcn.0040139c
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, esi
pop edi
pop esi
leave
ret
Function at 0x426c02
Capabilities:
Create new key via cryptacquirecontext
Initialize hashing via wincrypt

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
xor ebx, ebx
cmp esi, ebx
je 0x426c19
push 8
mov eax, esi
pop ecx
mov byte [eax], bl
inc eax
dec ecx
jne 0x426c13
push 0xf0000000
push 0x18
push ebx
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x426c4b
lea eax, [esi + 4]
push eax
push ebx
push ebx
push 0x800c
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x426c4f
push esi
call fcn.00426c54
pop ecx
xor al, al
jmp 0x426c51
mov al, 1
pop esi
pop ebx
ret

Function at 0x426f30
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
xor esi, esi
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_BROWSER_EMULATION_
lea ecx, [ebp - 8]
mov dword [ebp - 4], esi
call fcn.004013c8
lea eax, [ebp - 0xc]
mov ebx, 0xf003f
push eax
push ebx
push esi
mov edi, SHChangeNotifyDeregister
push dword [ebp - 8]
mov dword [ebp - 0xc], esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x426f7a
lea ecx, [ebp - 4]
call fcn.0040372e
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
cmp dword [ebp + 0xc], esi
je 0x427016
cmp eax, esi
je 0x426fc4
lea eax, [ebp - 0xc]
mov dword [ebp + 0xc], esi
push eax
lea eax, [ebp + 0xc]
push eax
push esi
push ebx
push esi
push esi
push esi
push dword [ebp - 8]
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, esi
jne 0x426fb3
lea ecx, [ebp - 4]
call fcn.0040372e
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], esi
je 0x426fc4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], esi
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], esi
push eax
push ebx
push esi
push dword [ebp - 8]
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x426fe9
lea ecx, [ebp - 4]
call fcn.0040372e
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00426ecc
mov eax, dword [eax]
pop ecx
lea ecx, [ebp + 0xc]
push 4
push ecx
push 4
push esi
push eax
push dword [ebp - 4]
mov dword [ebp + 0xc], 0x2af9
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
lea ecx, [ebp - 0xc]
jmp 0x427030
lea eax, [ebp + 0xc]
push eax
call fcn.00426ecc
pop ecx
push dword [eax]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov esi, eax
lea ecx, [ebp + 0xc]
call fcn.0040139c
lea ecx, [ebp - 8]
call fcn.0040139c
lea ecx, [ebp - 4]
call fcn.0040372e
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret