joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44d68d
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x70
push 0x406440
call fcn.0044d8f0
xor ebx, ebx
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x44d6ca
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x44d6ca
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x44d6e2
cmp eax, 0x20b
je 0x44d6cf
mov dword [ebp - 0x1c], ebx
jmp 0x44d6f6
cmp dword [ecx + 0x84], 0xe
jbe 0x44d6ca
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x44d6f0
cmp dword [ecx + 0x74], 0xe
jbe 0x44d6ca
xor eax, eax
cmp dword [ecx + 0xe8], ebx
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x457aa0], 0xffffffff
or dword [0x457aa4], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x457a50]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x457a4c]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x457aa8], eax
call fcn.0044f42e
cmp dword [0x4566c0], ebx
jne 0x44d751
push fcn.0044f42e
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.0044d8d9
push 0x456014
push 0x456010
call sub.msvcrt.dll__initterm
mov eax, dword [0x457a48]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x457a44]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x38], eax
push 0x45600c
push section..data
call sub.msvcrt.dll__initterm
add esp, 0x24
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
cmp byte [esi], 0x22
jne 0x44d7e7
inc esi
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, bl
je 0x44d7bb
cmp al, 0x22
jne 0x44d7ad
cmp byte [esi], 0x22
jne 0x44d7c4
inc esi
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, bl
je 0x44d7ce
cmp al, 0x20
jbe 0x44d7c0
mov dword [ebp - 0x54], ebx
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x54], 1
je 0x44d7f2
movzx eax, word [ebp - 0x50]
jmp 0x44d7f5
cmp byte [esi], 0x20
jbe 0x44d7c4
inc esi
mov dword [ebp - 0x20], esi
jmp 0x44d7e7
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call edi
push eax
call main
mov esi, eax
mov dword [ebp - 0x3c], esi
cmp dword [ebp - 0x1c], ebx
jne 0x44d812
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x44d847
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.0044d92b
ret
Function at 0x44db27
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x457a54], 0
push esi
jne 0x44da95
call fcn.0044d98c
test eax, eax
je 0x44dad8
mov eax, dword [0x457a54]
cmp eax, 1
jne 0x44dab6
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x44dad8
pop esi
ret
push eax
call dword [0x457a5c]
test eax, eax
jne 0x44db20
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x44dadc
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x457a54]
call dword [0x457a5c]
mov edi, eax
test edi, edi
je 0x44db01
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x44db1d
mov edi, esi
add esi, 0xff0
push edi
push dword [0x457a54]
call dword [0x457a58]
add edi, 0x10
cmp edi, esi
jb 0x44db09
mov eax, edi
pop edi
pop esi
ret
jmp 0x44da82

Function at 0x44dd85
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
push esi
mov esi, ecx
cmp dword [esi + 8], 0
mov dword [ebp - 0xc], 3
mov dword [ebp - 8], 4
je 0x44ddc4
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [esi + 4], eax
cmp dword [esi + 4], 0
mov eax, dword [ebp + 0xc]
pop esi
jne 0x44ddd1
mov eax, dword [ebp - 4]
leave
ret 8

Function at 0x44de2b
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [esi], eax
mov dword [esi + 4], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov ecx, dword [eax + 4]
cmp ecx, edi
mov dword [esi + 0x24], ecx
jne 0x44de6e
mov eax, dword [eax]
push edi
push edi
lea ecx, [esi + 0x20]
push ecx
lea ecx, [esi + 0x1c]
push ecx
lea ecx, [esi + 8]
push ecx
push edi
push edi
push edi
push edi
push edi
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov dword [esi + 0x24], eax
cmp dword [esi + 0x24], edi
jne 0x44deab
cmp dword [esi + 8], edi
je 0x44deab
inc dword [esi + 0x1c]
mov eax, dword [esi + 0x1c]
inc dword [esi + 0x20]
push eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, edi
pop ecx
mov dword [esi + 0xc], eax
je 0x44dea4
mov eax, dword [esi + 0x20]
cmp eax, edi
je 0x44deab
push eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, edi
pop ecx
mov dword [esi + 0x10], eax
jne 0x44deab
mov dword [esi + 0x24], 8
pop edi
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x44e0a6
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x10]
xor ebx, ebx
cmp dword [esi + 8], ebx
mov dword [ebp - 8], 3
mov dword [ebp - 4], eax
je 0x44e125
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 4]
push eax
push dword [esi + 0xc]
lea eax, [ebp - 8]
push eax
push ebx
push dword [ebp + 8]
push dword [esi]
call edi
cmp eax, ebx
mov dword [esi + 4], eax
jne 0x44e0eb
cmp dword [esi + 0xc], ebx
je 0x44e0f2
cmp eax, 0xea
jne 0x44e112
push dword [ebp - 4]
mov ecx, esi
call fcn.0044ddda
lea eax, [ebp - 4]
push eax
push dword [esi + 0xc]
lea eax, [ebp - 8]
push eax
push ebx
push dword [ebp + 8]
push dword [esi]
call edi
mov dword [esi + 4], eax
cmp dword [esi + 4], ebx
pop edi
jne 0x44e13b
cmp dword [ebp - 8], 3
je 0x44e125
mov dword [esi + 4], 0x57
cmp dword [esi + 4], ebx
jne 0x44e13b
mov eax, dword [ebp - 4]
cmp eax, ebx
je 0x44e13b
mov ecx, dword [esi + 0xc]
mov edx, dword [ebp + 0xc]
mov dword [edx], ecx
jmp 0x44e142
mov eax, dword [ebp + 0xc]
mov dword [eax], ebx
xor eax, eax
pop esi
pop ebx
leave
ret 8

Function at 0x44e1db
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x108
cmp dword [ebp + 0xc], 0
mov eax, dword [0x4566b4]
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x108]
je 0x44e245
push 0x102
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x44e24f
mov byte [ebp + eax - 0x108], 0x5c
mov byte [ebp + eax - 0x107], 0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push edi
lea eax, [ebp - 0x108]
push eax
call esi
push ebx
mov edi, eax
call esi
mov ecx, eax
add ecx, edi
mov eax, 0x104
cmp ecx, eax
jl 0x44e253
xor eax, eax
jmp 0x44e276
push eax
call fcn.004512ea
test eax, eax
jne 0x44e21e
xor eax, eax
jmp 0x44e278
sub eax, edi
push eax
push ebx
lea eax, [ebp + edi - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push 8
push 0
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
pop edi
pop esi
mov ecx, dword [ebp - 4]
pop ebx
call fcn.0044d575
leave
ret 8
Function at 0x44e2aa
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4c
push esi
push edi
push 9
pop ecx
xor eax, eax
lea edi, [ebp - 0x4c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov esi, dword [ebp + 8]
xor edi, edi
cmp word [ebp - 0x2c], di
je 0x44e2db
movzx eax, word [ebp - 0x2c]
mov dword [esi], eax
jmp 0x44e2fc
mov eax, dword [ebp - 0x34]
sub eax, 0x182
je 0x44e2f6
sub eax, 0x64
je 0x44e2ee
mov dword [esi], edi
jmp 0x44e2fc
mov dword [esi], 4
jmp 0x44e2fc
mov dword [esi], 3
cmp word [ebp - 0x4c], di
jne 0x44e334
cmp dword [ebp - 0x34], 0x24a
jb 0x44e334
push 0x42ec7a
lea eax, [ebp - 0x10]
push eax
push 0x44e28a
call fcn.00452de4
test eax, eax
jne 0x44e329
mov eax, dword [ebp + 8]
xor ecx, ecx
jmp 0x44e32f
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
test cl, 0x10
jne 0x44e33b
xor eax, eax
jmp 0x44e3cd
cmp dword [esi], edi
jne 0x44e347
sar eax, 8
and eax, 0xf
mov dword [esi], eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_GetPriorityClass]
mov esi, dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push 0x100
push dword [ebp + 8]
mov dword [ebp - 4], eax
call esi
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov edi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [ebp - 0x28]
push eax
call edi
rdtsc
mov ecx, 0x186a0
dec ecx
jne 0x44e390
mov ebx, eax
rdtsc
sub eax, ebx
mov dword [ebp - 8], eax
lea eax, [ebp - 0x20]
push eax
call edi
push dword [ebp - 4]
push dword [ebp + 8]
call esi
push dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
push 0xf4240
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, eax
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 8]
pop ebx
cdq
idiv ecx
pop edi
pop esi
leave
ret 4

Function at 0x44e453
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xd8
mov eax, dword [0x4566b4]
push edi
push 9
mov dword [ebp - 4], eax
pop ecx
xor eax, eax
lea edi, [ebp - 0xd8]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0xd8]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
xor eax, eax
cmp dword [ebp - 0xc0], 0x24a
jne 0x44e4fe
push 0x25
pop ecx
lea edi, [ebp - 0x98]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x88], 2
jne 0x44e4fc
push esi
xor esi, esi
push esi
push esi
push 0x80000002
push 0x406680
lea ecx, [ebp - 0xb4]
call fcn.0044dbd9
push 0xffffffffffffffff
push 0x40666c
lea ecx, [ebp - 0xb4]
call fcn.0044dd85
cmp eax, 2
jne 0x44e4ec
inc esi
lea ecx, [ebp - 0xb4]
call fcn.0044df2e
mov eax, esi
pop esi
jmp 0x44e4fe
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
call fcn.0044d575
leave
ret
Function at 0x451381
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push edi
push 0x8001
call esi
push dword [ebp + 8]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push ebx
mov edi, eax
call esi
cmp edi, 0xffffffff
jne 0x4513af
xor eax, eax
jmp 0x4513b7
mov eax, edi
shr eax, 4
and eax, 1
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x451919
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
mov edi, edi
push ebx
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
push 0x20
xor eax, eax
push 1
mov esi, ecx
mov ebx, 0x406d1c
push ebx
push eax
push esi
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
call edi
test eax, eax
jne 0x45195a
push 0x28
push 1
push ebx
push eax
push esi
call edi
test eax, eax
jne 0x45195a
and dword [esi + 0x10], eax
jmp 0x451961
mov dword [esi + 0x10], 1
pop edi
mov eax, esi
pop esi
pop ebx
ret
Function at 0x4519b5
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1ac
mov eax, dword [0x4566b4]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
push ebx
push 1
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov esi, ecx
push 0x80000002
push 0x403854
lea ecx, [ebp - 0x1ac]
mov dword [ebp - 0x190], esi
mov dword [ebp - 0x188], eax
call fcn.0044dbd9
cmp dword [esi + 0x10], ebx
je 0x451b38
cmp dword [ebp + 0xc], ebx
je 0x451b38
lea ebx, [esi + 4]
mov eax, dword [ebx]
test eax, eax
je 0x451a1b
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push ebx
push 0
push 0
push 0x8003
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x451b38
mov esi, dword [sym.imp.ADVAPI32.dll_CryptHashData]
push 0
push dword [ebp + 0xc]
push edi
push dword [ebx]
call esi
test eax, eax
je 0x451b38
push 0
mov edi, 0x403844
push edi
lea ecx, [ebp - 0x1ac]
call fcn.0044e004
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push edi
lea ecx, [ebp - 0x1ac]
call fcn.0044e004
push eax
push dword [ebx]
call esi
test eax, eax
je 0x451b38
push 0x10
xor eax, eax
pop ecx
lea edi, [ebp - 0x184]
rep stosd dword es:[edi], eax
mov byte [ebp - 0x184], 0x33
mov word [ebp - 0x17c], 0x140
lea eax, [ebp - 0x144]
mov dword [ebp - 0x180], eax
mov esi, 0x406d48
lea edi, [ebp - 0x17a]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x184]
push eax
movsd dword es:[edi], dword [esi]
call sub.NETAPI32.dll_Netbios
test al, al
jne 0x451ae0
push 0
push 6
lea eax, [ebp - 0x144]
push eax
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x451b38
mov edi, dword [ebp - 0x190]
push 4
pop eax
push 0
lea ecx, [ebp - 0x18c]
push ecx
lea esi, [edi + 0xc]
push esi
push eax
push dword [ebx]
mov dword [ebp - 0x18c], eax
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x451b38
mov eax, dword [edi + 8]
test eax, eax
je 0x451b17
push eax
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
push dword [esi]
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
test eax, eax
pop ecx
mov dword [edi + 8], eax
je 0x451b38
push 0
push esi
push eax
push 2
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x451b3c
xor esi, esi
jmp 0x451b49
mov eax, dword [edi + 8]
mov ecx, dword [ebp - 0x188]
mov dword [ecx], eax
mov esi, dword [esi]
lea ecx, [ebp - 0x1ac]
call fcn.0044df2e
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
pop ebx
call fcn.0044d575
leave
ret 0xc
Function at 0x451c63
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4566b4]
push esi
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
push eax
push 0x20019
xor esi, esi
push esi
push 0x406db4
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x451cd8
push edi
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push esi
push 0x406da4
push dword [ebp - 0x18]
mov dword [ebp - 0x20], 0x10
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
pop edi
jne 0x451ccf
cmp dword [ebp - 0x1c], 3
jb 0x451ccf
cmp dword [ebp - 0x1c], 4
ja 0x451ccf
mov esi, dword [ebp - 0x14]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
call fcn.0044d575
leave
ret

Function at 0x452224
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x430
movzx eax, word [ebp + 0xc]
push 2
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x452254
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
jne 0x45225b
xor eax, eax
jmp 0x452355
and dword [ebp + 8], 0
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x452348
cmp dword [ebx], 0x28
jne 0x452348
cmp word [ebx + 0xc], 1
jne 0x452348
cmp dword [ebx + 0x10], 0
jne 0x452348
mov eax, dword [ebx + 0x20]
test eax, eax
jne 0x45229c
mov cl, byte [ebx + 0xe]
inc eax
shl eax, cl
lea eax, [eax*4 + 0x28]
push esi
mov ecx, eax
mov edx, ecx
shr ecx, 2
push edi
mov esi, ebx
lea edi, [ebp - 0x430]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea esi, [eax + ebx]
movzx eax, word [ebx + 0xe]
dec eax
mov cl, byte [esi]
je 0x4522da
sub eax, 3
je 0x4522d5
sub eax, 4
jne 0x452346
jmp 0x4522dd
shr cl, 4
jmp 0x4522dd
shr cl, 7
movzx edi, cl
push 0xf
lea edi, [ebp + edi*4 - 0x408]
call dword [sym.imp.USER32.dll_GetSysColor]
mov byte [edi + 2], al
mov byte [edi + 1], ah
shr eax, 0x10
mov byte [edi], al
xor edi, edi
push edi
push edi
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 0x430]
push eax
push edi
call dword [sym.imp.GDI32.dll_CreateDIBSection]
cmp eax, edi
mov dword [ebp + 8], eax
je 0x452346
movzx eax, word [ebx + 0xe]
imul eax, dword [ebx + 4]
add eax, 7
cdq
push 8
pop ecx
idiv ecx
mov edi, dword [ebp + 0xc]
mov ecx, eax
add ecx, 3
and ecx, 0xfffffffc
imul ecx, dword [ebx + 8]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp + 8]
pop ebx
leave
ret 8
Function at 0x402750
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x446d50
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x45c970]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov dword [esp + 0x28], 0
call fcn.00410d21
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x402797
push 0x80004005
call fcn.004018a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x18], edi
mov byte [esp + 0x28], 1
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
push eax
call fcn.004018d0
add eax, 0x10
add esp, 4
mov dword [esp + 0x10], eax
push 0xd
push str.602zhanol.exe
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 2
call fcn.00404ff0
call fcn.0040a980
mov esi, dword [esp + 0x10]
test eax, eax
je 0x40289e
push 0x44e6d0
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00404990
add esp, 0xc
mov byte [esp + 0x28], 3
mov eax, dword [eax]
push eax
mov ecx, esi
call fcn.00402920
mov byte [esp + 0x28], 2
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402834
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x44e6d0
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00404990
mov eax, dword [eax]
add esp, 0xc
push 1
push 0
push 0
push eax
push str.taskbarpin
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402881
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 6
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x44e6d0
call fcn.00405a90
mov ecx, dword [esp + 0x38]
push ecx
call fcn.00404610
lea eax, [esi - 0x10]
mov byte [esp + 0x28], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4028bf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x28], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4028e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402908
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret 8
Function at 0x402920
Capabilities:
Create shortcut via ishelllink

Disassembly:
push 0xffffffffffffffff
push 0x446d10
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
mov eax, dword [0x45c970]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
push ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp + 0x10]
push eax
push 0x44daf4
push 1
push ebx
push 0x44db04
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jge 0x402990
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x1c
ret 4
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
push esi
push eax
call edx
push esi
lea ecx, [esp + 0x10]
call fcn.00405a90
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0xc]
push 0x5c
push eax
call fcn.0042f6ad
add esp, 8
or esi, 0xffffffff
cmp eax, ebx
jne 0x4029c5
mov eax, esi
jmp 0x4029cb
sub eax, dword [esp + 0xc]
sar eax, 1
push eax
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x14]
call fcn.00404830
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 1
call fcn.004017b0
mov byte [esp + 0x24], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x402a0c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x2c]
push 0x44eb64
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push 0x44db34
push eax
mov eax, dword [ecx]
call eax
cmp eax, ebx
jge 0x402a84
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [esp + 0x24], esi
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x402a6e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x1c
ret 4
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x2c]
mov ecx, dword [eax]
push 1
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
cmp eax, ebx
jl 0x402a47
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [esp + 0x24], esi
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x402ada
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x1c
ret 4