joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4033c0
Capabilities:
Enumerate browser history

Disassembly:
push 0xffffffffffffffff
push 0x464760
mov eax, dword fs:[0]
push eax
push ecx
push ebx
mov eax, dword [0x4835f0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 8], ebx
push ebx
mov byte [esp + 0x18], 1
call dword [sym.imp.ole32.dll_CoInitialize]
mov eax, dword [esp + 8]
cmp eax, ebx
je 0x403408
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 8]
push eax
push 0x46f84c
push 1
push ebx
push str._J7_
mov dword [esp + 0x1c], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x403479
mov byte [esp + 0x14], bl
mov eax, dword [esp + 8]
cmp eax, ebx
je 0x40343c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x14], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403464
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x10
ret 4
mov eax, dword [esp + 8]
cmp eax, ebx
jne 0x40348b
push 0x80004003
call fcn.00462980
mov edx, dword [esp + 0x1c]
mov ecx, dword [eax]
push ebx
push edx
push eax
mov eax, dword [ecx + 0x10]
call eax
mov byte [esp + 0x14], bl
test eax, eax
mov eax, dword [esp + 8]
jl 0x403430
cmp eax, ebx
je 0x4034b1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x14], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4034d9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x10
ret 4
Function at 0x40b890
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40b8a9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40b8e4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x40b8e0
lea ebx, [ebx]
cmp esi, eax
jae 0x40b8e4
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x40b8d0
cmp esi, eax
jb 0x40b8ea
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x410cc0
Capabilities:
Resume thread

Disassembly:
push ebx
xor ebx, ebx
cmp dword [esi + 0x1f4], 0xa
push edi
jne 0x410ce2
mov eax, dword [esi + 0x168]
mov byte [eax + 8], bl
mov ecx, dword [esi + 0x164]
mov byte [ecx + 8], 1
jmp 0x410cf5
mov edx, dword [esi + 0x168]
mov byte [edx + 8], 1
mov eax, dword [esi + 0x164]
mov byte [eax + 8], bl
mov ecx, dword [esi + 0x20]
push 1
push ebx
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, esi
call fcn.00410aa0
push 0x488540
call fcn.0040f550
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x488548
mov byte [0x484d13], bl
call edi
push ebx
push 4
push ebx
push 2
push esi
push 0x411080
call fcn.00439c92
mov dword [0x4884e4], eax
cmp eax, ebx
jne 0x410d45
pop edi
xor al, al
pop ebx
ret
push 0x488500
call fcn.0040f550
push 0x488508
mov byte [0x484d12], bl
call edi
push ebx
push 4
push ebx
push ebx
push esi
push 0x411030
call fcn.00439c92
mov dword [0x4884e0], eax
cmp eax, ebx
je 0x410d40
mov edi, dword [sym.imp.KERNEL32.dll_ResumeThread]
mov dword [eax + 0x28], ebx
mov eax, dword [0x4884e4]
mov edx, dword [eax + 0x2c]
push edx
mov dword [eax + 0x28], ebx
call edi
mov eax, dword [0x4884e0]
mov ecx, dword [eax + 0x2c]
push ecx
call edi
push ebx
lea ecx, [esi + 0x6ac]
mov dword [esi + 0x1f8], 1
call fcn.00431ecb
push 1
lea ecx, [esi + 0x7c0]
call fcn.00431ecb
push ebx
lea ecx, [esi + 0x8d4]
call fcn.00431ecb
pop edi
mov dword [0x4884ec], ebx
mov al, 1
pop ebx
ret
Function at 0x418c80
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x234
mov eax, dword [0x4835f0]
xor eax, esp
mov dword [esp + 0x230], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push edi
push 0
mov dword [esp + 0x18], eax
call esi
push 1
mov dword [esp + 0x14], eax
call esi
push 0
push 0
mov dword [esp + 0x14], eax
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
test esi, esi
je 0x418db5
mov edi, edi
push 0xff
lea ecx, [esp + 0x3c]
push ecx
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp word [esp + 0x38], 0
je 0x418da2
mov edi, dword [sym.imp.USER32.dll_IsWindowVisible]
push esi
call edi
test eax, eax
je 0x418da2
push 0xffffffffffffffec
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
push esi
mov ebx, eax
call edi
push 4
push esi
mov edi, eax
call dword [sym.imp.USER32.dll_GetWindow]
neg eax
sbb eax, eax
neg eax
test edi, edi
je 0x418da2
test ebx, 0x40000
jne 0x418d35
test bl, bl
js 0x418da2
test eax, eax
jne 0x418da2
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
lea edx, [esp + 0x18]
push edx
push esi
call edi
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x20]
lea eax, [esp + 0x28]
push eax
push edx
call edi
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x10]
jl 0x418da2
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x1c]
cmp ecx, dword [esp + 0xc]
jl 0x418da2
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov edi, dword [sym.imp.USER32.dll_PtInRect]
inc ecx
push ecx
inc eax
push eax
lea edx, [esp + 0x20]
push edx
call edi
test eax, eax
je 0x418da2
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
dec ecx
dec eax
push ecx
push eax
lea eax, [esp + 0x20]
push eax
call edi
test eax, eax
jne 0x418dce
push 2
push esi
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
jne 0x418cd0
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.0044a6e6
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esp + 0x23c]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.0044a6e6
mov esp, ebp
pop ebp
ret 4
Function at 0x41b5d0
Capabilities:
Resume thread

Disassembly:
cmp dword [esi + 0xac], 0xa
jne 0x41b5ef
mov eax, dword [esi + 0xe4]
mov byte [eax + 8], 0
mov ecx, dword [esi + 0xe0]
mov byte [ecx + 8], 1
jmp 0x41b603
mov edx, dword [esi + 0xe4]
mov byte [edx + 8], 1
mov eax, dword [esi + 0xe0]
mov byte [eax + 8], 0
mov ecx, dword [esi + 0x20]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, esi
call fcn.0041b530
push 0x488650
call fcn.0040f550
push 0x488658
mov byte [0x484d11], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
push 4
push 0
push 0
push esi
push 0x41b880
call fcn.00439c92
mov dword [0x4884e8], eax
test eax, eax
jne 0x41b653
xor al, al
ret
mov edx, dword [eax + 0x2c]
push edx
mov dword [eax + 0x28], 0
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0
lea ecx, [esi + 0xe8]
call fcn.00431ecb
push 1
lea ecx, [esi + 0x1fc]
call fcn.00431ecb
push 0
lea ecx, [esi + 0x310]
call fcn.00431ecb
mov al, 1
ret
Function at 0x41d140
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4675c1
mov eax, dword fs:[0]
push eax
sub esp, 0x43c
mov eax, dword [0x4835f0]
xor eax, esp
mov dword [esp + 0x438], eax
push esi
push edi
mov eax, dword [0x4835f0]
xor eax, esp
push eax
lea eax, [esp + 0x448]
mov dword fs:[0], eax
mov esi, ecx
test esi, esi
jne 0x41d183
xor eax, eax
jmp 0x41d186
mov eax, dword [esi + 0x20]
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0
push 0x22
lea ecx, [esp + 0x3c]
push ecx
push eax
call edi
push 1
push 1
lea edx, [esp + 0x3c]
push edx
mov ecx, esi
call fcn.0041d600
test esi, esi
jne 0x41d1b0
xor eax, eax
jmp 0x41d1b3
mov eax, dword [esi + 0x20]
push 0
push 0x21
lea ecx, [esp + 0x3c]
push ecx
push eax
call edi
push 1
push 1
lea edx, [esp + 0x3c]
push edx
mov ecx, esi
call fcn.0041d600
test esi, esi
jne 0x41d1d7
xor eax, eax
jmp 0x41d1da
mov eax, dword [esi + 0x20]
push 0
push 0x20
lea ecx, [esp + 0x3c]
push ecx
push eax
call edi
push 1
push 1
lea edx, [esp + 0x3c]
push edx
mov ecx, esi
call fcn.0041d600
call fcn.0042aab0
test eax, eax
jne 0x41d20c
call fcn.0041d370
test eax, eax
jne 0x41d33c
lea ecx, [esp + 0x10]
call fcn.0043a089
push 0
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x45c], 0
call fcn.00415850
push 0x104
lea eax, [esp + 0x240]
push 0
push eax
mov byte [esp + 0x45c], 1
call fcn.0044d4f0
add esp, 0xc
push 0x104
lea ecx, [esp + 0x240]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
call fcn.00434084
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41d27b
push 0x80004005
call fcn.00401200
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0xc], eax
push str.inetcpl.cpl
lea ecx, [esp + 0x240]
push ecx
lea edx, [esp + 0x14]
push 0x4707dc
push edx
mov byte [esp + 0x460], 2
call fcn.004012d0
mov esi, dword [esp + 0x1c]
add esp, 0x10
lea eax, [esp + 0x20]
push eax
push 0x20
push esi
lea ecx, [esp + 0x1c]
call fcn.0043a4a0
test eax, eax
je 0x41d2d4
lea ecx, [esp + 0x10]
call fcn.0043a023
lea eax, [esi - 0x10]
mov byte [esp + 0x450], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d2f8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x450], 0
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov dword [esp + 0x20], vtable.CFileException.0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d328
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x450], 0xffffffff
call fcn.0043a164
mov ecx, dword [esp + 0x448]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x438]
xor ecx, esp
call fcn.0044a6e6
add esp, 0x448
ret
Function at 0x41d9c0
Capabilities:
Get file size
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x46592b
mov eax, dword fs:[0]
push eax
mov eax, 0x271c
call fcn.0044f9c0
mov eax, dword [0x4835f0]
xor eax, esp
mov dword [esp + 0x2718], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4835f0]
xor eax, esp
push eax
lea eax, [esp + 0x2730]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, edx
call fcn.00434084
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41da1d
push 0x80004005
call fcn.00401200
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push 0x2710
lea ecx, [esp + 0x20]
push 0
push ecx
mov dword [esp + 0x2744], 0
call fcn.0044d4f0
add esp, 0xc
test esi, esi
jne 0x41da54
xor eax, eax
jmp 0x41da6f
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41da60
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x1c]
call fcn.004029b0
mov ecx, dword [esp + 0x14]
mov edi, dword [ecx - 0xc]
mov eax, dword [ecx - 8]
mov edx, 1
sub edx, dword [ecx - 4]
lea esi, [edi + 1]
sub eax, esi
or eax, edx
jge 0x41daa3
push esi
lea ecx, [esp + 0x18]
call fcn.00401180
mov ecx, dword [esp + 0x14]
mov edx, 0x5c
mov word [ecx + edi*2], dx
test esi, esi
jl 0x41dbec
cmp esi, dword [ecx - 8]
jg 0x41dbec
xor eax, eax
mov dword [ecx - 0xc], esi
mov word [ecx + esi*2], ax
test ebx, ebx
je 0x41dadf
mov eax, ebx
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41dad0
sub eax, edx
sar eax, 1
push eax
push ebx
lea ecx, [esp + 0x1c]
call fcn.00415630
mov ebp, dword [esp + 0x14]
push 0
push 0x80
push 3
push 0
push 3
push 0x40000000
push ebp
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41db5a
mov dword [esp + 0x2738], eax
lea eax, [ebp - 0x10]
lea ecx, [eax + 0xc]
or edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41db30
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x2730]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2718]
xor ecx, esp
call fcn.0044a6e6
add esp, 0x2728
ret
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push 0
push 0x40
mov edi, eax
push esi
sub edi, 0x40
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
test edi, edi
jbe 0x41dbb4
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
nop
push 0
cmp edi, 0x2710
jbe 0x41dba6
lea ecx, [esp + 0x1c]
push ecx
push 0x2710
lea edx, [esp + 0x28]
push edx
push esi
call ebx
sub edi, 0x2710
jne 0x41db80
jmp 0x41dbb4
lea eax, [esp + 0x1c]
push eax
push edi
lea ecx, [esp + 0x28]
push ecx
push esi
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x10]
mov dword [esp + 0x2738], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41dbe2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x41db32
push 0x80070057
call fcn.00401200
int3
Function at 0x41e050
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x465903
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
mov eax, dword [0x4835f0]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, dword [esp + 0x34]
mov ecx, esi
call fcn.00433142
xor eax, eax
mov dword [esp + 0x2c], eax
lea ebp, [esi + 0x10]
mov dword [esi], vtable.CMemDC.0
mov dword [ebp + 4], eax
mov dword [ebp], vtable.CBitmap.0
mov byte [esp + 0x2c], 1
xor ecx, ecx
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], edi
cmp dword [edi + 0xc], eax
lea ebx, [esi + 0x20]
sete cl
push ebx
mov dword [esi + 0x30], ecx
mov edx, dword [edi]
mov eax, dword [edx + 0x50]
mov ecx, edi
call eax
cmp dword [esi + 0x30], 0
je 0x41e18f
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, esi
call fcn.00433587
mov ecx, dword [edi + 8]
push 2
push ebx
push ecx
call dword [sym.imp.GDI32.dll_LPtoDP]
mov eax, dword [ebx + 0xc]
sub eax, dword [ebx + 4]
mov ecx, dword [ebx + 8]
sub ecx, dword [ebx]
mov edx, dword [edi + 4]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, ebp
call fcn.00433859
test ebp, ebp
je 0x41e10c
mov ebp, dword [ebp + 4]
mov eax, dword [esi + 4]
push ebp
push eax
call fcn.004338e8
mov dword [esi + 0x18], eax
mov ecx, dword [edi + 8]
push ecx
call dword [sym.imp.GDI32.dll_GetMapMode]
push eax
mov ecx, esi
call fcn.0043302f
lea edx, [esp + 0x10]
push edx
mov ecx, edi
call fcn.0041ec40
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov edx, dword [esi]
mov edx, dword [edx + 0x48]
push eax
push ecx
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call edx
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call fcn.0041ec10
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov edx, dword [esi]
mov edx, dword [edx + 0x40]
push eax
push ecx
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call edx
mov eax, dword [edi + 8]
push 2
push ebx
push eax
call dword [sym.imp.GDI32.dll_DPtoLP]
mov ecx, dword [esi + 0x24]
mov edx, dword [ebx]
push ecx
push edx
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call fcn.0043325e
jmp 0x41e1a1
mov ecx, dword [edi + 0xc]
mov dword [esi + 0xc], ecx
mov edx, dword [edi + 4]
mov dword [esi + 4], edx
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov ecx, dword [edi + 8]
push ecx
call dword [sym.imp.GDI32.dll_GetBkColor]
push eax
push ebx
mov ecx, esi
call fcn.00435751
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
Function at 0x41e6f0
Capabilities:
Capture screenshot

Disassembly:
push ecx
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x10]
mov ecx, dword [edi + 0x70]
xor edx, edx
div ecx
mov ecx, eax
mov dword [esp], eax
test edx, edx
je 0x41e70d
inc ecx
mov dword [esp], ecx
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x14]
push ebx
push ebp
push esi
mov esi, dword [edi + 0x74]
xor edx, edx
div esi
mov ebp, eax
test edx, edx
je 0x41e726
inc ebp
xor ebx, ebx
test ecx, ecx
jle 0x41e76d
lea esp, [esp]
xor esi, esi
test ebp, ebp
jle 0x41e768
mov edx, dword [esp + 0x18]
mov eax, dword [edi + 0x74]
mov ecx, dword [edi + 0x70]
push 0xcc0020
push 0
push 0
push edx
push eax
imul eax, esi
push ecx
imul ecx, ebx
push eax
mov eax, dword [esp + 0x30]
push ecx
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
inc esi
cmp esi, ebp
jl 0x41e736
mov ecx, dword [esp + 0xc]
inc ebx
cmp ebx, ecx
jl 0x41e730
pop esi
pop ebp
pop ebx
pop ecx
ret 0x18
Function at 0x4223b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x464ea8
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push edi
mov eax, dword [0x4835f0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, edx
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x18], 0
call fcn.004390f8
movzx ecx, word [esp + 0x20]
mov eax, dword [eax + 0xc]
push ecx
push eax
call dword [sym.imp.USER32.dll_LoadBitmapW]
push eax
mov ecx, esi
call fcn.00433859
mov eax, dword [esp + 0x28]
mov dl, byte [esp + 0x24]
sub ebx, eax
mov word [esi + 0xa], ax
lea eax, [esp + 0x30]
sub edi, ebp
lea ecx, [esi + 0x14]
push eax
mov byte [esi + 8], dl
mov word [esi + 0xc], bp
mov word [esi + 0xe], bx
mov word [esi + 0x10], di
call fcn.00402ad0
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422454
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0xc
ret 0x14

Function at 0x422aa0
Capabilities:
Find taskbar

Disassembly:
push ebx
xor ebx, ebx
push ebx
push 0x473e00
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x422af4
push esi
mov esi, dword [sym.imp.USER32.dll_FindWindowExW]
push edi
push ebx
push str.TrayNotifyWnd
push ebx
push eax
call esi
mov edi, eax
test edi, edi
je 0x422aee
push ebx
push str.SysPager
push ebx
push edi
call esi
push ebx
push str.ToolbarWindow32
push ebx
test eax, eax
je 0x422ae7
push eax
call esi
pop edi
pop esi
pop ebx
ret
push edi
call esi
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
mov eax, ebx
pop ebx
ret
mov eax, ebx
pop ebx
ret
Function at 0x422b00
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x414
mov eax, dword [0x4835f0]
xor eax, esp
mov dword [esp + 0x410], eax
push ebx
push esi
push edi
call fcn.00422aa0
mov esi, eax
mov dword [esp + 0x20], esi
test esi, esi
je 0x422b98
push 0
push 0
push 0x418
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
lea eax, [esp + 0x28]
push eax
push esi
mov dword [esp + 0x2c], ebx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
lea ecx, [esp + 0x14]
push ecx
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x422b98
mov edi, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x422b8d
lea esi, [esp + 0x18]
call fcn.00422cc0
test al, al
jne 0x422baf
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x410]
xor ecx, esp
call fcn.0044a6e6
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x28]
push ecx
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x422b98
push 4
push 0x1000
push 0x14
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov edi, eax
test edi, edi
je 0x422b98
mov dword [esp + 0x10], 0
test ebx, ebx
jle 0x422c90
mov ebx, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
push edi
push edx
push 0x417
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0x14
lea ecx, [esp + 0x4c]
push ecx
push edi
push esi
call ebx
mov eax, dword [esp + 0x50]
push 0
push 0x18
lea edx, [esp + 0x34]
push edx
push eax
push esi
call ebx
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x18]
push ecx
push edx
mov dword [esp + 0x20], 0
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp dword [esp + 0x18], 0
jne 0x422c7d
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x5c], ecx
lea ecx, [esp + 0x58]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x30]
push ecx
push 2
mov dword [esp + 0x60], 0x3bc
mov dword [esp + 0x70], edx
mov dword [esp + 0x68], eax
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov eax, dword [esp + 0x10]
inc eax
cmp eax, dword [esp + 0x24]
mov dword [esp + 0x10], eax
jl 0x422bf5
push 0x8000
push 0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x41c]
pop edi
pop esi
pop ebx
xor ecx, esp
mov al, 1
call fcn.0044a6e6
mov esp, ebp
pop ebp
ret
Function at 0x424440
Capabilities:
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
sub esp, 0x24
mov eax, dword [0x4835f0]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
push 0xf0000000
push 1
xor ebx, ebx
push ebx
push ebx
lea eax, [esp + 0x20]
push eax
mov esi, ecx
mov edi, edx
mov dword [esp + 0x28], 0x14
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x424509
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0xc]
push ecx
push ebx
push ebx
push 0x8004
push edx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x4244fc
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0xc]
push ebx
push eax
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x4244f1
mov ecx, dword [esp + 0xc]
push ebx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x20]
push eax
push 2
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x4244f1
mov byte [edi], bl
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
xor esi, esi
movzx edx, byte [esp + esi + 0x18]
push edx
push str._02X
push edi
call ebx
inc esi
add esp, 0xc
add edi, 2
cmp esi, 0x14
jb 0x4244d2
mov ebx, 1
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov ecx, dword [esp + 0x10]
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.0044a6e6
add esp, 0x24
ret 4