joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ad430
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x61f648
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, ecx
mov dword [esp + 4], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], vtable.CBitmap.0
mov ecx, dword [esp + 0x20]
lea eax, [esp + 4]
push eax
push ecx
mov dword [esp + 0x20], 0
call fcn.004a6e90
add esp, 8
test eax, eax
jne 0x4ad4ae
mov dword [esp + 8], vtable.CGdiObject.0
lea ecx, [esp + 8]
mov dword [esp + 0x18], 1
call fcn.005fc5c8
xor eax, eax
pop esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret 0x18
push eax
lea ecx, [esp + 0xc]
call fcn.005fc571
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x30]
push edx
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, esi
call fcn.004ad060
mov esi, eax
mov dword [esp + 8], vtable.CGdiObject.0
lea ecx, [esp + 8]
mov dword [esp + 0x18], 2
call fcn.005fc5c8
mov ecx, dword [esp + 0x10]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret 0x18

Function at 0x4ad6a0
Capabilities:
Write clipboard data

Disassembly:
push 0xffffffffffffffff
push 0x61f690
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
push ebx
push ebp
push esi
mov esi, ecx
push 0x400
lea ecx, [esp + 0x10]
call fcn.00604392
push 0
push 0x1000
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x90], 0
call fcn.005fadb2
mov edx, dword [esp + 0x88]
lea ecx, [esp + 0x34]
push ecx
push edx
mov ecx, esi
mov byte [esp + 0x88], 1
call fcn.004ae060
lea ecx, [esp + 0x34]
call fcn.005fb0c3
lea ecx, [esp + 0xc]
call fcn.006044f4
lea ecx, [esp + 0xc]
mov esi, eax
call fcn.00604445
push esi
push 2
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
je 0x4ad76f
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, esi
mov edi, eax
mov eax, ecx
mov esi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [0x8c24c4]
push ebp
and ecx, 0xffff
push ecx
call dword [sym.imp.USER32.dll_SetClipboardData]
pop edi
lea ecx, [esp + 0x34]
call fcn.005faf16
lea ecx, [esp + 0xc]
call fcn.0060463e
push ebx
call fcn.004802c4
add esp, 4
lea ecx, [esp + 0x34]
mov byte [esp + 0x80], 0
call fcn.005fae8e
lea ecx, [esp + 0xc]
mov dword [esp + 0x80], 0xffffffff
call fcn.00604457
mov ecx, dword [esp + 0x78]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x78
ret 4
Function at 0x4af090
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov esi, ecx
push edi
push ebp
mov ecx, dword [esi + 0xa4]
push eax
call fcn.004b4090
mov ebx, eax
mov eax, dword [esi + 0x78]
cmp eax, 0xffffffff
je 0x4af0ee
cmp dword [esi + 0xa8], 5
jne 0x4af0ee
cmp dword [esi + 0xa0], 1
jne 0x4af0ee
test ebx, ebx
je 0x4af0d0
cmp dword [ebx + 0x3c], eax
je 0x4af0ee
cmp eax, dword [esi + 0x74]
jne 0x4af0e3
mov edx, dword [esi]
push 0
push 0xffffffffffffffff
mov ecx, esi
call dword [edx + 0xc4]
push 0
push 0xffffffffffffffff
mov ecx, esi
call fcn.004af450
test ebx, ebx
mov ecx, esi
je 0x4af1bd
call fcn.004b13e0
test eax, eax
jne 0x4af1a6
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xd8]
test eax, eax
je 0x4af1a6
push esi
push 0x86f238
call fcn.005f8b3f
add esp, 8
test eax, eax
je 0x4af1a6
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x4af1a6
mov ecx, esi
call fcn.004b13b0
mov edi, eax
test edi, edi
je 0x4af1a6
mov eax, dword [edi + 0x5c]
test eax, eax
je 0x4af1a6
mov ecx, dword [edi + 0x70]
mov eax, dword [ecx + 0x40]
test eax, eax
je 0x4af1a6
push 1
mov ecx, edi
call fcn.004a13a0
push 0
push 0xffffffffffffffff
mov ecx, esi
call fcn.004af450
mov edx, dword [esi]
push 0
push 0xffffffffffffffff
mov ecx, esi
call dword [edx + 0xc4]
mov ecx, dword [esp + 0x18]
mov eax, dword [ebx]
push ebp
push ecx
mov ecx, ebx
call dword [eax + 0x110]
push 0
mov ecx, edi
call fcn.004a13a0
mov edx, dword [edi]
push 0
mov ecx, edi
call dword [edx + 0x54]
mov ecx, edi
call fcn.004a0610
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
mov ecx, dword [esp + 0x18]
mov eax, dword [ebx]
push ebp
push ecx
mov ecx, ebx
call dword [eax + 0xf4]
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
call fcn.005f3db6
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
Function at 0x4b2c20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x61fb13
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.005f71db
xor edi, edi
mov dword [esi + 0x20], 0x665c70
mov dword [esp + 0x14], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x28], edi
mov ecx, esi
mov byte [esp + 0x14], 1
mov dword [esi], 0x665c00
call fcn.00613724
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x1c], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4bc130
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x1c
push esi
mov esi, dword [esp + 0x24]
push edi
cmp esi, 8
mov edi, ecx
je 0x4bc175
cmp esi, 0x21
jb 0x4bc14a
cmp esi, 0x2e
jbe 0x4bc175
cmp esi, 0x43
je 0x4bc15e
cmp esi, 0x56
je 0x4bc15e
cmp esi, 0x58
je 0x4bc15e
cmp esi, 0x5a
jne 0x4bc16b
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x4bc175
pop edi
xor eax, eax
pop esi
add esp, 0x1c
ret 8
mov ecx, dword [esp + 0x2c]
mov eax, dword [edi + 0x1c]
lea edx, [esp + 8]
mov dword [esp + 0x14], ecx
push edx
mov ecx, edi
mov dword [esp + 0x10], pe_nt_image_headers32
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], esi
call fcn.005f6e70
neg eax
sbb eax, eax
pop edi
neg eax
pop esi
add esp, 0x1c
ret 8

Function at 0x4bc390
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x1c
push ebx
push edi
mov edi, ecx
mov eax, dword [edi + 8]
test eax, eax
jne 0x4bc3a8
pop edi
xor eax, eax
pop ebx
add esp, 0x1c
ret 8
mov ebx, dword [esp + 0x28]
cmp ebx, 0x26
je 0x4bc3c0
cmp ebx, 0x28
je 0x4bc3c0
cmp ebx, 0x22
je 0x4bc3c0
cmp ebx, 0x21
jne 0x4bc3cd
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x4bc3d7
pop edi
xor eax, eax
pop ebx
add esp, 0x1c
ret 8
mov eax, dword [edi + 8]
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindow]
push 5
push eax
call esi
push 1
push eax
call esi
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xc], eax
mov eax, dword [edi + 8]
lea edx, [esp + 0xc]
push edx
push eax
mov dword [esp + 0x18], pe_nt_image_headers32
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ecx
call dword [sym.imp.USER32.dll_IsDialogMessageA]
neg eax
sbb eax, eax
pop esi
pop edi
pop ebx
neg eax
add esp, 0x1c
ret 8
Function at 0x4c05e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6208c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
push esi
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
call fcn.0050dba0
mov ecx, eax
call fcn.0050e100
cmp dword [esi + 0xc], edi
je 0x4c0683
cmp dword [esi + 0x48], edi
je 0x4c0655
lea ecx, [esp + 0xb]
call fcn.004bee30
mov ecx, dword [esi + 0xc]
push edi
push edi
push edi
push edi
push ecx
mov ecx, eax
mov dword [esp + 0x28], edi
call fcn.004ee6e0
lea ecx, [esp + 0xb]
mov dword [esp + 0x14], 0xffffffff
call fcn.005378a0
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0xc]
push edi
push edi
push edx
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esi + 0xc]
push 1
push edi
push ecx
call dword [sym.imp.USER32.dll_SetWindowRgn]
mov edx, dword [esi + 0xc]
push 0x37
push edi
push edi
push edi
push edi
push edi
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, esi
mov dword [esi + 0xc], edi
mov dword [esi + 0x48], edi
call fcn.004c0950
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4c33c0
Capabilities:
Find taskbar

Disassembly:
sub esp, 0x24
push esi
push edi
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowA]
mov esi, eax
test esi, esi
je 0x4c33fb
mov edi, dword [esp + 0x30]
push edi
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
push edi
push 0x4c3310
push esi
call dword [sym.imp.USER32.dll_EnumChildWindows]
pop edi
mov al, 1
pop esi
add esp, 0x24
ret 4
mov ecx, 9
xor eax, eax
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
mov dword [esp + 8], 0x24
push eax
push 5
call dword [sym.imp.SHELL32.dll_SHAppBarMessage]
test eax, eax
je 0x4c3487
mov eax, dword [esp + 0x14]
cmp eax, 3
ja case.default.0x4c342a
jmp dword [eax*4 + 0x4c34c4]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x30]
pop edi
pop esi
lea edx, [ecx - 0x64]
add ecx, 0xfffffff0
mov dword [eax + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov dword [eax + 8], edx
mov al, 1
add esp, 0x24
ret 4
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x20]
mov dword [eax + 0xc], edx
lea edx, [ecx - 0x64]
add ecx, 0xfffffff0
mov dword [eax], edx
mov dword [eax + 8], ecx
pop edi
mov al, 1
pop esi
add esp, 0x24
ret 4
mov esi, dword [esp + 0x30]
push 0
push esi
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
test eax, eax
je 0x4c34b9
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
sub eax, 0x96
sub ecx, 0x1e
mov dword [esi], eax
mov dword [esi + 4], ecx
pop edi
mov al, 1
pop esi
add esp, 0x24
ret 4
pop edi
xor al, al
pop esi
add esp, 0x24
ret 4
Function at 0x4cf100
Capabilities:
Resolve function by parsing pe exports

Disassembly:
call fcn.004ce220
mov ecx, eax
jmp fcn.004cf190
Function at 0x4d1ad0
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6218c7
push eax
mov dword fs:[0], esp
sub esp, 0x120
push ebx
mov ebx, dword [esp + 0x138]
push ebp
push esi
cmp ebx, 0x60
push edi
jb 0x4d1b19
cmp ebx, 0x69
ja 0x4d1b19
movsx eax, byte [esp + 0x140]
add ebx, 0xffffffd0
xor ecx, ecx
cmp eax, ebx
sete cl
mov eax, ecx
jmp 0x4d1d09
push 2
push ebx
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
test al, al
je 0x4d1ce0
mov edx, dword [esp + 0x140]
push edx
call fcn.004d1e60
mov cl, byte [esp + 0x144]
add esp, 4
cmp cl, bl
mov byte [esp + 0x13], al
je 0x4d1d04
cmp al, bl
je 0x4d1d04
mov ebp, dword [sym.imp.USER32.dll_GetKeyboardLayoutList]
xor esi, esi
push esi
push esi
call ebp
mov edi, eax
cmp edi, 1
jl 0x4d1ce0
xor ebx, ebx
mov dword [esp + 0x18], 0x6699d8
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], esi
cmp edi, esi
mov dword [esp + 0x138], esi
jne 0x4d1b9b
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], esi
jmp 0x4d1bc2
lea eax, [edi*4]
push eax
call fcn.005f2f36
add esp, 4
mov dword [esp + 0x1c], eax
push edi
push eax
call fcn.0050fa40
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], edi
push ebx
push edi
call ebp
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
jne 0x4d1bed
mov dword [esp + 0x18], method.CCommandLineInfo.virtual_0
mov dword [esp + 0x138], 1
jmp 0x4d1cd3
cmp edi, esi
mov dword [esp + 0x2c], esi
jle 0x4d1cc0
mov ebp, dword [sym.imp.USER32.dll_ToAsciiEx]
mov esi, ebx
mov dword [esp + 0x14], 0
mov edx, dword [esi]
push edx
mov edx, dword [esp + 0x148]
lea eax, [esp + 0x18]
push 0
lea ecx, [esp + 0x38]
push eax
push ecx
push 0
push edx
call ebp
cmp eax, 1
jne 0x4d1c51
mov eax, dword [esp + 0x14]
mov cl, byte [esp + 0x140]
cmp cl, al
je 0x4d1ce4
push eax
call fcn.004d1e60
mov cl, byte [esp + 0x17]
add esp, 4
cmp cl, al
je 0x4d1ce4
mov bl, byte [esp + 0x40]
mov byte [esp + 0x40], 0x81
mov eax, dword [esi]
lea ecx, [esp + 0x14]
push eax
mov eax, dword [esp + 0x148]
push 0
lea edx, [esp + 0x38]
push ecx
push edx
push 0
push eax
call ebp
cmp eax, 1
jne 0x4d1ca2
mov eax, dword [esp + 0x14]
mov cl, byte [esp + 0x140]
cmp cl, al
je 0x4d1d22
push eax
call fcn.004d1e60
mov cl, byte [esp + 0x17]
add esp, 4
cmp cl, al
je 0x4d1d22
mov eax, dword [esp + 0x2c]
add esi, 4
inc eax
mov byte [esp + 0x40], bl
mov ebx, dword [esp + 0x1c]
cmp eax, edi
mov dword [esp + 0x2c], eax
jl 0x4d1c01
xor esi, esi
mov dword [esp + 0x18], method.CCommandLineInfo.virtual_0
mov dword [esp + 0x138], 4
cmp ebx, esi
je 0x4d1ce0
push ebx
call fcn.005f2f5f
add esp, 4
xor eax, eax
jmp 0x4d1d09
mov dword [esp + 0x18], method.CCommandLineInfo.virtual_0
test ebx, ebx
mov dword [esp + 0x138], 2
je 0x4d1d04
push ebx
call fcn.005f2f5f
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x130]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x12c
ret
mov dword [esp + 0x18], method.CCommandLineInfo.virtual_0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x138], 3
test eax, eax
je 0x4d1d04
push eax
jmp 0x4d1cfc
Function at 0x4d39f0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
mov edi, ecx
push 1
call esi
test ax, ax
jl 0x4d3adf
push 2
call esi
test ax, ax
jl 0x4d3adf
push 4
call esi
test ax, ax
jl 0x4d3adf
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [edi + 0x44]
xor ebp, ebp
test eax, eax
jle 0x4d3adf
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
mov ecx, dword [edi + 0x40]
mov esi, dword [ecx + ebp*4]
mov edx, dword [esi + 0x20]
push edx
call ebx
test eax, eax
je 0x4d3ad3
mov eax, dword [esi + 0x20]
push eax
call fcn.005f3e4f
lea ecx, [esi + 0xc]
mov edx, dword [esi + 0xc]
mov dword [esp + 0x18], edx
mov edx, dword [ecx + 4]
mov dword [esp + 0x1c], edx
mov edx, dword [ecx + 8]
mov dword [esp + 0x20], edx
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x24], ecx
mov cl, byte [esi + 8]
test cl, 1
je 0x4d3a95
mov eax, dword [eax + 0x1c]
lea edx, [esp + 0x18]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x4d3aa1
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
call fcn.005fc173
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
lea ecx, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4d3ad3
test byte [esi + 8], 1
jne 0x4d3ae9
lea edx, [esp + 0x10]
mov ecx, edi
push edx
push 0
call fcn.004d35b0
cmp eax, dword [esi + 0x20]
je 0x4d3ae9
mov eax, dword [edi + 0x44]
inc ebp
cmp ebp, eax
jl 0x4d3a44
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x4de648
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6224a8
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
mov esi, ecx
push edi
cmp dword [esi], 0
je 0x4de703
call fcn.004de5e0
mov ecx, dword [esi]
mov edi, eax
lea eax, [esp + 0x10]
push eax
push 0x18
push ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
test eax, eax
je 0x4de703
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4de703
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4de703
lea ecx, [esp + 8]
call fcn.005f1401
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push 1
push 0
push 0x19
push edx
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x44], 0
call fcn.005f14c6
mov esi, dword [esi]
push esi
call fcn.005fc55c
test eax, eax
je 0x4de6c1
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0xc]
push edi
push eax
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
mov edx, dword [esp + 0xc]
push 0
push 0
push edx
call dword [sym.imp.COMCTL32.dll_ImageList_GetIcon]
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x30], 0xffffffff
call fcn.005f142a
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
mov ecx, dword [esp + 0x28]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x4eae10
Capabilities:
Check if file exists
Create directory
Get common file path
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x622d16
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
push ebx
push esi
mov dword [esp + 0xc], 0
call fcn.004f4c40
mov ecx, eax
call fcn.004f4d40
test al, al
jne 0x4eae5d
mov esi, dword [esp + 0x134]
push 0x64dbb8
mov ecx, esi
call fcn.005f79ea
jmp 0x4eaff7
mov eax, dword [0x86a874]
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], 0
mov dword [esp + 8], eax
lea ecx, [esp + 0x18]
mov ebx, 1
push ecx
mov dword [esp + 0x130], ebx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jl 0x4eaedf
lea edx, [esp + 0x10]
push edx
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x4eaec6
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x4eaec6
lea edx, [esp + 0x20]
lea ecx, [esp + 8]
push edx
call fcn.005f7b05
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [esp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov edx, dword [esp + 8]
mov eax, dword [edx - 8]
test eax, eax
jne 0x4eaf06
mov esi, dword [esp + 0x134]
push 0x64dbb8
mov ecx, esi
call fcn.005f79ea
mov dword [esp + 0xc], ebx
jmp 0x4eafe6
call fcn.0060e02b
mov esi, dword [eax + 4]
push 0x64f3b8
lea ecx, [esp + 0x18]
call fcn.005f79ea
mov ecx, dword [esi + 0x78]
lea edx, [esp + 0x1c]
push ecx
push eax
push edx
mov byte [esp + 0x138], 2
call fcn.005f7c11
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x130], 3
call fcn.005f7d94
lea ecx, [esp + 0x1c]
mov byte [esp + 0x12c], 2
call fcn.005f797c
lea ecx, [esp + 0x14]
mov byte [esp + 0x12c], bl
call fcn.005f797c
mov eax, dword [esp + 8]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4eaf87
test al, 0x10
jne 0x4eafa0
mov esi, dword [esp + 0x134]
push 0x64dbb8
mov ecx, esi
call fcn.005f79ea
mov dword [esp + 0xc], ebx
jmp 0x4eafe6
lea edx, [esp + 8]
push 0x64f3b8
lea eax, [esp + 0x18]
push edx
push eax
call fcn.005f7c11
mov ecx, dword [esp + 0x138]
mov esi, dword [esp + 0x134]
push ecx
push eax
push esi
mov byte [esp + 0x138], 4
call fcn.005f7bab
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], ebx
mov byte [esp + 0x12c], bl
call fcn.005f797c
lea ecx, [esp + 8]
mov byte [esp + 0x12c], 0
call fcn.005f797c
mov ecx, dword [esp + 0x124]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x128
ret 8
Function at 0x4eb4d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x622dbe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xbc
mov eax, dword [esp + 0xcc]
push ebx
push esi
xor ebx, ebx
push edi
push ebx
mov esi, ecx
push 0x1000
push 1
push eax
lea ecx, [esp + 0x94]
call fcn.005fadb2
lea ecx, [esp + 0x84]
mov dword [esp + 0xd0], ebx
push ecx
lea ecx, [esp + 0x44]
call fcn.004fc8f0
mov edi, dword [esp + 0xdc]
lea ecx, [esp + 0xc]
mov byte [esp + 0xd0], 1
mov dword [esp + 0x5c], edi
call fcn.005f71db
mov dword [esp + 0x2c], 0x664b60
mov dword [esp + 0x30], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0xc], 0x665988
mov dword [esp + 0x28], esi
mov edx, dword [esi]
lea eax, [esp + 0xc]
lea ecx, [esp + 0x40]
push eax
push ecx
mov ecx, esi
mov byte [esp + 0xd8], 2
call dword [edx + 0x88]
test eax, eax
je 0x4eb599
mov eax, dword [edi + 8]
mov edx, dword [esi]
lea ecx, [esp + 0xc]
push eax
push ecx
mov ecx, esi
call dword [edx + 0x90]
lea ecx, [esp + 0x84]
call fcn.005faf16
lea ecx, [esp + 0xc]
mov byte [esp + 0xd0], 1
call fcn.004ae590
lea ecx, [esp + 0x40]
mov byte [esp + 0xd0], bl
call fcn.004fb3e0
lea ecx, [esp + 0x84]
mov dword [esp + 0xd0], 0xffffffff
call fcn.005fae8e
mov ecx, dword [esp + 0xc8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xc8
ret 8
Function at 0x4f0030
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push 0xffffffffffffffff
push 0x623174
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.005f71db
mov eax, dword [0x86a874]
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esi + 0x1c], eax
mov ecx, dword [0x86a874]
mov dword [esi + 0x20], ecx
lea edi, [esi + 0x50]
mov byte [esp + 0x1c], 2
mov ecx, edi
call fcn.005fb867
mov dword [edi], method.CDC.virtual_0
mov dword [edi + 0x10], ebx
lea ebp, [esi + 0x70]
push 0xa
mov ecx, ebp
mov byte [esp + 0x20], 3
call fcn.005f2b67
push ebx
push 0xc7
mov ecx, ebp
mov byte [esp + 0x24], 4
mov dword [esi], method.COleControlContainer.virtual_0
call fcn.005f28dd
mov dword [esi + 0x30], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x4c], ebx
call fcn.0060e02b
mov eax, dword [eax + 8]
push ebx
push ebx
push eax
mov ecx, esi
call fcn.004f0920
lea eax, [esi + 0x68]
push eax
push 0x200
push 0x200
push ebx
mov dword [eax], ebx
call fcn.004a61f0
add esp, 0x10
mov dword [esi + 0x64], eax
push ebx
call dword [sym.imp.USER32.dll_GetDC]
mov ebp, eax
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, edi
call fcn.005fb91e
push ebp
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
lea edx, [esi + 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4f03f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x62322f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
mov dword [esp + 0xc], 0
push ecx
lea eax, [esp + 0x30]
mov ebx, 1
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
mov dword [esp + 0x28], ebx
call fcn.005f76f1
push ecx
mov byte [esp + 0x28], 2
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Images
call fcn.005f79ea
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], bl
push ecx
mov ecx, esi
call fcn.004f0dc0
mov edx, dword [esp + 8]
mov byte [esp + 0x20], 3
mov eax, dword [edx - 8]
test eax, eax
je 0x4f0472
lea eax, [esp + 8]
lea ecx, [esp + 0x2c]
push eax
call fcn.005f7ab5
push 0x5f
push 0x2e
lea ecx, [esp + 0x34]
call fcn.005ef4c5
push 0x5f
push 0x5c
lea ecx, [esp + 0x34]
call fcn.005ef4c5
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
call fcn.005f76f1
mov dword [esp + 0xc], ebx
lea ecx, [esp + 8]
mov byte [esp + 0x20], bl
call fcn.005f797c
lea ecx, [esp + 0x2c]
mov byte [esp + 0x20], 0
call fcn.005f797c
mov ecx, dword [esp + 0x18]
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret 8