joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x476004]
jne 0x40100a
repz ret
jmp fcn.004018f4

Function at 0x4067a8
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040261d
and dword [ebp - 4], 0
cmp dword [0x477fdc], 0
mov ebx, eax
jne 0x406859
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40690a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40690a
push eax
call fcn.004025ab
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x477fdc], eax
call esi
push eax
call fcn.004025ab
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x477fe0], eax
call esi
push eax
call fcn.004025ab
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x477fe4], eax
call esi
push eax
call fcn.004025ab
pop ecx
mov dword [0x477fec], eax
test eax, eax
je 0x406859
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004025ab
pop ecx
mov dword [0x477fe8], eax
mov eax, dword [0x477fe8]
cmp eax, ebx
je 0x4068b1
cmp dword [0x477fec], ebx
je 0x4068b1
push eax
call fcn.00402626
push dword [0x477fec]
mov esi, eax
call fcn.00402626
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4068b1
test edi, edi
je 0x4068b1
call esi
test eax, eax
je 0x4068a8
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4068a8
test byte [ebp - 0xc], 1
jne 0x4068b1
or dword [ebp + 0x10], 0x200000
jmp 0x4068ea
mov eax, dword [0x477fe0]
cmp eax, ebx
je 0x4068ea
push eax
call fcn.00402626
pop ecx
test eax, eax
je 0x4068ea
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4068ea
mov eax, dword [0x477fe4]
cmp eax, ebx
je 0x4068ea
push eax
call fcn.00402626
pop ecx
test eax, eax
je 0x4068ea
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x477fdc]
call fcn.00402626
pop ecx
test eax, eax
je 0x40690a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40690c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x46e990
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebp
mov ebp, dword [esp + 0x10]
push edi
cmp ebp, 0x19f
jne 0x46e9b1
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
xor edi, edi
test ebp, ebp
jle 0x46ea06
push esi
jmp 0x46e9c0
lea esi, [esp + 0x10]
mov dword [esp + 0xc], 5
mov dword [esp + 0x10], 0
call fcn.0046e980
mov eax, dword [esp + 0x10]
add eax, 0x46
mov dword [esp + 0xc], eax
sub dword [esp + 0xc], 0x46
movsx eax, byte [edi + ebx]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xc]
xor dword [esp + 0x18], eax
mov cl, byte [esp + 0x18]
mov byte [edi + ebx], cl
inc edi
cmp edi, ebp
jl 0x46e9c0
pop esi
pop edi
cmp ebp, 0x2d
pop ebp
jne 0x46ea21
mov dword [0x2b761f8], 0xa62e7790
mov dword [0x2b761fc], 0xffffffff
add esp, 8
ret
Function at 0x40cf32
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1000
call fcn.0041ffc0
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
cmp word [esi], 0
je 0x40d0b3
push esi
call fcn.0040d0c7
push esi
call fcn.00424f93
pop ecx
push esi
mov edi, eax
call fcn.0040d0f2
test al, al
je 0x40cfe7
push esi
call fcn.0040d0c7
test al, al
je 0x40cfa1
lea eax, [edi + 4]
cmp dword [ebp + 0x10], eax
jbe 0x40d0b3
push dword [ebp + 0x10]
push str.__
push dword [ebp + 0xc]
call fcn.00411928
push dword [ebp + 0x10]
push esi
push dword [ebp + 0xc]
call fcn.00411900
mov al, 1
jmp 0x40d0b5
push 0x5c
pop eax
cmp word [esi], ax
jne 0x40d0b3
lea ebx, [esi + 2]
cmp word [ebx], ax
jne 0x40d0b3
mov esi, dword [ebp + 0x10]
lea eax, [edi + 6]
cmp esi, eax
jbe 0x40d0b3
push esi
push str.__
push dword [ebp + 0xc]
call fcn.00411928
push esi
push 0x434a04
push dword [ebp + 0xc]
call fcn.00411900
push esi
push ebx
jmp 0x40cf92
lea eax, [ebp - 0x1000]
mov ebx, 0x7ff
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x40d0b3
cmp eax, ebx
ja 0x40d0b3
movzx eax, word [esi]
push eax
call fcn.0040d1aa
test al, al
je 0x40d052
lea eax, [edi + 6]
mov edi, dword [ebp + 0x10]
cmp edi, eax
jbe 0x40d0b3
push edi
push str.__
push dword [ebp + 0xc]
call fcn.00411928
xor eax, eax
mov word [ebp - 0xffc], ax
lea eax, [ebp - 0x1000]
push edi
push eax
push dword [ebp + 0xc]
call fcn.00411900
push edi
jmp 0x40cf91
push 0x800
lea eax, [ebp - 0x1000]
push eax
call fcn.0040caa0
lea eax, [ebp - 0x1000]
push eax
call fcn.00424f93
add edi, 4
add eax, edi
mov edi, dword [ebp + 0x10]
pop ecx
cmp edi, eax
jbe 0x40d0b3
push edi
push str.__
push dword [ebp + 0xc]
call fcn.00411928
push edi
lea eax, [ebp - 0x1000]
push eax
push dword [ebp + 0xc]
call fcn.00411900
cmp word [esi], 0x2e
jne 0x40d04c
movzx eax, word [esi + 2]
push eax
call fcn.0040d1aa
test al, al
je 0x40d04c
add esi, 4
jmp 0x40d04c
xor al, al
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x420b4b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x420b8a
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x420b8a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x420b8a
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x420b8a
cmp dword [ecx + 0x74], 0xe
jbe 0x420b8a
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x433300
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43332d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43332d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
nop
mov ecx, 0x2a7a75b2
nop
nop
nop
test eax, eax
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x3e6a005f
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
nop
mov ecx, 0x4da704fa
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
mov ecx, 0xdbd11f4
nop
nop
nop
nop
test eax, eax
nop
je 0x433084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x403580
Capabilities:
Delete file
Enumerate gui resources

Disassembly:
mov eax, dword [0x49d4dc]
mov ecx, dword [0x49a3e4]
sub esp, 0xc2c
push ebx
push ebp
shr eax, 3
push esi
push edi
test eax, eax
jbe 0x40366f
mov edi, dword [sym.imp.KERNEL32.dll_SetConsoleMode]
mov ebx, dword [sym.imp.KERNEL32.dll_WriteProfileSectionW]
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esi, dword [sym.imp.KERNEL32.dll_GetCommState]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
cmp dword [0x49d4dc], 0x959
jne 0x403655
push 0
push 0
call edi
push 0
push 0
call ebx
push 0
call ebp
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExA]
lea eax, [esp + 0x1c]
push eax
push 0
call esi
push 0
push 0
lea ecx, [esp + 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetStdHandle]
push 0
lea edx, [esp + 0x43c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
push 0
push 0
call esi
push 0
push 0x402ca0
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov eax, dword [esp + 0x14]
push eax
call fcn.004033d0
add dword [esp + 0x14], 8
sub dword [esp + 0x18], 1
jne 0x4035c0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc2c
ret
Function at 0x40721c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x430238]
jne 0x407226
repz ret
jmp fcn.0040c525

Function at 0x40d01f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040a738
and dword [ebp - 4], 0
cmp dword [0x433278], 0
mov ebx, eax
jne 0x40d0d0
push 0x4024a4
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40d181
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402498
push edi
call esi
test eax, eax
je 0x40d181
push eax
call fcn.0040a6c6
mov dword [esp], 0x402488
push edi
mov dword [0x433278], eax
call esi
push eax
call fcn.0040a6c6
mov dword [esp], 0x402474
push edi
mov dword [0x43327c], eax
call esi
push eax
call fcn.0040a6c6
mov dword [esp], 0x402458
push edi
mov dword [0x433280], eax
call esi
push eax
call fcn.0040a6c6
pop ecx
mov dword [0x433288], eax
test eax, eax
je 0x40d0d0
push 0x402440
push edi
call esi
push eax
call fcn.0040a6c6
pop ecx
mov dword [0x433284], eax
mov eax, dword [0x433284]
cmp eax, ebx
je 0x40d128
cmp dword [0x433288], ebx
je 0x40d128
push eax
call fcn.0040a741
push dword [0x433288]
mov esi, eax
call fcn.0040a741
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40d128
test edi, edi
je 0x40d128
call esi
test eax, eax
je 0x40d11f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40d11f
test byte [ebp - 0xc], 1
jne 0x40d128
or dword [ebp + 0x10], 0x200000
jmp 0x40d161
mov eax, dword [0x43327c]
cmp eax, ebx
je 0x40d161
push eax
call fcn.0040a741
pop ecx
test eax, eax
je 0x40d161
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40d161
mov eax, dword [0x433280]
cmp eax, ebx
je 0x40d161
push eax
call fcn.0040a741
pop ecx
test eax, eax
je 0x40d161
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x433278]
call fcn.0040a741
pop ecx
test eax, eax
je 0x40d181
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40d183
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401120
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58a0b1
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x6ed420]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
mov dword [eax], vtable.CAmkProgDlg.0
mov dword [ebp - 4], 2
mov ecx, dword [0x6ef3f4]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edx, dword [0x6ef3f4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x14]
add ecx, 0xe4
call fcn.00534dd5
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
add ecx, 0xd0
call fcn.00427490
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x7c
call fcn.00534c56
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
call fcn.00534207
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4018e0
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58a1a8
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x6ed420]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x64], ecx
mov eax, dword [ebp + 8]
mov dword [0x6ef40c], eax
cmp dword [0x6ef3fc], 0
je 0x401941
cmp dword [0x6ef5f8], 0
je 0x401941
cmp dword [0x6ef40c], 0
je 0x401937
push 8
mov ecx, dword [ebp - 0x64]
call fcn.0053afd8
jmp 0x401941
push 0
mov ecx, dword [ebp - 0x64]
call fcn.0053afd8
cmp dword [0x6ef40c], 0
je 0x401a44
mov ecx, dword [0x6ef3f4]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
call fcn.0042dc90
mov ecx, dword [ebp - 0x64]
mov dword [ecx + 0xdc], eax
mov dword [ecx + 0xe0], edx
mov edx, dword [ebp - 0x64]
add edx, 0xd4
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [ebp - 0x64]
add eax, 0xd0
push eax
mov ecx, dword [0x6ef088]
add ecx, 0x7c
call fcn.005389c9
lea ecx, [ebp - 0x18]
call fcn.00402540
mov dword [ebp - 4], 0
push 2
push 0x50
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x1c]
push edx
push str.HK_PauseRun
call fcn.0041d5c0
add esp, 0x14
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x20]
push edx
call fcn.0041c660
add esp, 0xc
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x18]
call fcn.004025a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00427490
lea ecx, [ebp - 0x10]
call fcn.00402540
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x18]
push edx
push str.Paused__Press__s_to_Continue
lea eax, [ebp - 0x10]
push eax
call fcn.00402b20
add esp, 0xc
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x64]
add ecx, 0x7c
call fcn.0053af36
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00427490
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00427490
jmp 0x401aa5
mov edx, dword [ebp - 0x64]
mov eax, dword [edx + 0xd0]
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
push ecx
mov ecx, dword [ebp - 0x64]
add ecx, 0x7c
call fcn.0053af36
mov edx, dword [ebp - 0x64]
mov eax, dword [edx + 0xd8]
push eax
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx + 0xd4]
push edx
call dword [sym.imp.USER32.dll_SetCursorPos]
call fcn.0042dc90
mov ecx, dword [ebp - 0x64]
sub eax, dword [ecx + 0xdc]
sbb edx, dword [ecx + 0xe0]
mov dword [0x6ef6d0], eax
mov dword [0x6ef6d4], edx
mov edx, dword [0x6ef3f4]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x401f00
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov dword [0x6ef088], 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push 0x401f50
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x6ef080], eax
cmp dword [0x6ef088], 0
jne 0x401f45
push 0x6ef3ec
push 0x32
push 0xa
call fcn.00405880
add esp, 0xc
jmp 0x401f29
pop ebp
ret
Function at 0x401ff0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
mov dword [0x6ef088], 0
push 0
mov eax, dword [0x6ef080]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [0x6ef080]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x6ef080], 0
pop ebp
ret

Function at 0x403280
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
lea eax, [ebp - 4]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4032ec
lea ecx, [ebp - 0x1c]
push ecx
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov dword [ebp - 0x14], 1
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 2
push 0
push 0
push 0x10
lea ecx, [ebp - 0x14]
push ecx
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x4032ec
xor eax, eax
jmp 0x403304
push 0x80020003
mov eax, dword [ebp + 8]
or eax, 0x10
push eax
call dword [sym.imp.USER32.dll_ExitWindowsEx]
neg eax
sbb eax, eax
neg eax
mov esp, ebp
pop ebp
ret
Function at 0x4046f0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58a568
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x6ed420]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x10]
call fcn.00402540
mov dword [ebp - 4], 0
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4047c0
mov eax, dword [0x6ef460]
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4047ba
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
movsx eax, byte [edx]
test eax, eax
je 0x4047b0
xor ecx, ecx
mov word [ebp - 0x20], cx
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.00404330
add esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jle 0x40478e
movzx ecx, word [ebp - 0x20]
test ecx, ecx
jne 0x404790
jmp 0x4047b0
mov dx, word [ebp - 0x20]
mov word [ebp - 0x4e], dx
movzx eax, word [ebp - 0x4e]
push eax
lea ecx, [ebp - 0x10]
call fcn.00427640
mov ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
jmp 0x40475d
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [ebp - 0x10]
sub eax, 0x10
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
push ecx
call fcn.00402900
add esp, 4
mov dword [ebp - 0x58], eax
mov edx, dword [ebp - 0x58]
add edx, 0x10
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov ecx, dword [ebp - 0x24]
or ecx, 1
mov dword [ebp - 0x24], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00427490
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x40b640
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58aebb
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x6ed420]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x6c], ecx
push 0xa4
call fcn.00534184
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0
je 0x40b692
mov ecx, dword [ebp - 0x18]
call fcn.0040b2d0
mov dword [ebp - 0x70], eax
jmp 0x40b699
mov dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x6c]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.0040b710
mov eax, dword [ebp - 0x10]
add eax, 0x30
mov dword [ebp - 0x68], eax
push 1
mov ecx, dword [ebp - 0x68]
call fcn.0041e160
mov ecx, dword [ebp - 0x68]
mov dword [ecx + 0xc], 0
mov edx, dword [ebp - 0x68]
mov dword [edx + 0x10], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0x30
push eax
mov ecx, dword [ebp - 0x6c]
add ecx, 0x30
call fcn.00405780
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x41be80
Capabilities:
Acquire debug privileges
Allocate thread local storage
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58c07b
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x6ed420]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xe8], ecx
push 0
push 0x6ef1e0
call fcn.0041bd60
add esp, 8
push 0x6ef1e0
mov ecx, 0x6ef5d8
call fcn.00426e10
mov eax, dword [0x6ef52c]
sub eax, 0x10
mov dword [ebp - 0xc4], eax
mov ecx, dword [ebp - 0xc4]
mov edx, 1
sub edx, dword [ecx + 0xc]
mov dword [ebp - 0xbc], edx
mov eax, dword [ebp - 0xc4]
mov ecx, dword [eax + 8]
sub ecx, 0x104
mov dword [ebp - 0xc0], ecx
mov edx, dword [ebp - 0xbc]
or edx, dword [ebp - 0xc0]
jge 0x41bf20
push 0x104
mov ecx, 0x6ef52c
call fcn.00402860
push 0
push 0x1a
mov eax, dword [0x6ef52c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0xffffffffffffffff
mov ecx, 0x6ef52c
call fcn.00426ca0
push 1
push 0x5a7854
call fcn.0041bdf0
add esp, 8
mov dword [0x6ef0c8], 0x114
push 0x6ef0c8
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
call fcn.0053ffc5
mov ecx, dword [eax + 4]
mov dword [ebp - 0xd0], ecx
call fcn.0053ffc5
mov edx, dword [eax + 0xc]
mov dword [ebp - 0xd4], edx
mov eax, 0x80
movzx ecx, ax
push ecx
mov edx, dword [ebp - 0xd4]
push edx
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [0x6ef0bc], eax
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
push 0
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0xe8]
add ecx, 0xa4
push ecx
call sub.gdiplus.dll_GdiplusStartup
push 0
call fcn.0053f198
add esp, 4
mov dword [ebp - 0xac], vtable.VObj.0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xac], vtable.ExprItem.0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xac], vtable.AnyArray.0
lea edx, [ebp - 0xa0]
mov dword [ebp - 0xd8], edx
mov eax, dword [ebp - 0xd8]
mov dword [eax], 0
mov ecx, dword [ebp - 0xd8]
mov dword [ecx + 4], 0
mov edx, dword [ebp - 0xd8]
mov dword [edx + 8], 0
mov eax, dword [ebp - 0xac]
mov ecx, dword [eax + 4]
mov dword [0x6ef0b8], ecx
lea ecx, [ebp - 0xac]
call fcn.0041c120
push 0
call fcn.00555dcd
add esp, 4
push eax
call fcn.00554011
add esp, 4
mov edx, dword [ebp - 0xe8]
mov eax, dword [edx + 0x44]
push eax
call fcn.004ef860
add esp, 4
call fcn.0046e4f0
call fcn.004be290
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x6ef0c0], eax
push 0
lea ecx, [ebp - 0x94]
call fcn.00429410
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0xe8]
lea edx, [ebp - 0x94]
mov dword [ecx + 0x20], edx
push 0
mov eax, 0x66
movzx ecx, ax
push ecx
lea ecx, [ebp - 0x94]
call fcn.00534bbe
push 0
lea ecx, [ebp - 0x94]
call fcn.005372e5
mov edx, dword [0x6ef0c0]
push edx
call dword [sym.imp.KERNEL32.dll_TlsFree]
mov dword [0x6ef0c0], 0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00534207
mov eax, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret