joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4062e5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40b508
cmp edx, dword [eax]
je 0x406307
add eax, 8
inc ecx
cmp eax, 0x40b598
jl 0x4062f8
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40b508]
jne 0x406435
mov eax, dword [0x40ba54]
cmp eax, 1
je 0x40640f
test eax, eax
jne 0x406338
cmp dword [0x40b1b4], 1
je 0x40640f
cmp edx, 0xfc
je 0x406435
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40636f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004037b0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004038a0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4063b2
lea eax, [ebp - 0x1a4]
push eax
call fcn.004038a0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40957c
push edi
call fcn.004077b0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004037b0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004037c0
lea eax, [ebp - 0xa0]
push 0x40955c
push eax
call fcn.004037c0
push dword [esi + 0x40b50c]
lea eax, [ebp - 0xa0]
push eax
call fcn.004037c0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00407726
add esp, 0x2c
pop edi
jmp 0x406435
lea eax, [ebp + 8]
lea esi, [esi + 0x40b50c]
push 0
push eax
push dword [esi]
call fcn.004038a0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
call 0x43300c
nop
pop eax
nop
nop
nop
nop
add eax, 0x40a063
nop
nop
sub eax, reloc.uxtheme.dll_HitTestThemeBackground
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x403c30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov eax, edi
shr eax, 4
inc eax
push 6
movzx eax, ax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x403c59
pop edi
pop ebx
pop ebp
ret
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x403c6f
xor esi, esi
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x403c66
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esi + eax]
and edi, 0xf
jbe 0x403ca2
nop
cmp esi, ecx
jae 0x403c66
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edi, 1
jne 0x403c90
cmp esi, ecx
jae 0x403c66
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40aa90
Capabilities:
Load windows common language runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58f1d5
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5fb1a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
push str.mscoree.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
jne 0x40ab12
push str.D:_source_aprelSibSiblSiblClrHost.cpp
lea ecx, [ebp - 0x14]
call fcn.004020d0
mov esi, dword [eax]
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x40
push esi
push eax
call fcn.004277f0
mov edx, dword [ebp - 0x14]
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40ab12
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.CorBindToRuntimeEx
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
jne 0x40ab76
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push str.D:_source_aprelSibSiblSiblClrHost.cpp
lea ecx, [ebp - 0x14]
call fcn.004020d0
push 0x49
push dword [eax]
mov dword [ebp - 4], 1
push esi
call fcn.004277f0
mov edx, dword [ebp - 0x14]
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40ab76
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x10]
add esi, 8
push esi
push 0x5a1bc4
push 0x5a1bb4
push 2
push 0
push str.v4.0.30319
call ebx
test eax, eax
jns 0x40ac02
push esi
push 0x5a1bc4
push 0x5a1bb4
push 2
push 0
push str.v2.0.50727
call ebx
mov ebx, eax
test ebx, ebx
jns 0x40abfc
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push str.D:_source_aprelSibSiblSiblClrHost.cpp
lea ecx, [ebp - 0x14]
call fcn.004020d0
push 0x57
push dword [eax]
mov dword [ebp - 4], 2
push ebx
call fcn.004277f0
mov edx, dword [ebp - 0x14]
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40abfc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x10]
mov byte [eax], 1
mov eax, dword [esi]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov ebx, eax
test ebx, ebx
jns 0x40ac61
mov ecx, dword [esi]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
push edi
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push str.D:_source_aprelSibSiblSiblClrHost.cpp
lea ecx, [ebp - 0x10]
call fcn.004020d0
push 0x64
push dword [eax]
mov dword [ebp - 4], 3
push ebx
call fcn.004277f0
mov edx, dword [ebp - 0x10]
add esp, 0xc
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40ac61
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40c480
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58f5c0
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5fb1a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 1
call fcn.0042b730
mov byte [ebp - 4], 0
test eax, eax
je 0x40c5da
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 8], eax
mov dword [ebp - 4], 3
call fcn.0042b730
mov byte [ebp - 4], 2
test eax, eax
je 0x40c5da
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x14], eax
mov dword [ebp - 4], 5
call fcn.0042b730
mov byte [ebp - 4], 4
test eax, eax
je 0x40c5da
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x18], eax
mov dword [ebp - 4], 7
call fcn.0042b730
mov byte [ebp - 4], 6
test eax, eax
je 0x40c5da
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x1c], eax
mov dword [ebp - 4], 9
call fcn.0042b730
mov byte [ebp - 4], 8
test eax, eax
je 0x40c5da
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x20], eax
mov dword [ebp - 4], 0xb
call fcn.0042b730
mov byte [ebp - 4], 0xa
test eax, eax
je 0x40c5da
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x24], eax
mov eax, esi
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0xc], 1
mov dword [esi + 0x10], 0
mov dword [esi + 0x30], 0xffffffff
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00403cc0
int3
Function at 0x415850
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58fb7d
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x5fb1a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
jne 0x415896
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push edi
call fcn.004153b0
mov ebx, eax
mov dword [ebp - 4], 1
call fcn.0042b730
mov ecx, eax
mov byte [ebp - 4], 0
test ecx, ecx
je 0x41598a
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp + 8], esi
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or ecx, eax
mov dword [ebp - 4], 2
jge 0x4158ee
push 0x104
lea ecx, [ebp + 8]
call fcn.00408b50
mov esi, dword [ebp + 8]
cmp dword [esi - 8], 0x104
jl 0x415980
push 0x104
mov dword [esi - 0xc], 0x104
xor eax, eax
push esi
mov word [esi + 0x208], ax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x41594b
push dword [esi - 8]
push esi
call fcn.0056712f
add esp, 8
test eax, eax
js 0x415980
cmp eax, dword [esi - 8]
jg 0x415980
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
lea eax, [ebp + 8]
push eax
mov ecx, edi
call fcn.004024c0
mov ebx, 1
mov ecx, edi
call fcn.0040a050
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41596a
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.00403cc0
push 0x80004005
call fcn.00403cc0
int3
Function at 0x4159a0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58fbce
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5fb1a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 2
call fcn.0042b730
mov ecx, eax
mov byte [ebp - 4], 1
test ecx, ecx
je 0x415b43
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
mov ecx, 1
mov dword [ebp - 4], 0
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x104
mov dword [ebp - 0x10], 1
or eax, ecx
jge 0x415a24
push 0x104
mov ecx, esi
call fcn.00408b50
mov ecx, dword [esi]
cmp dword [ecx - 8], 0x104
jl 0x415b39
mov dword [ecx - 0xc], 0x104
xor edx, edx
mov eax, dword [esi]
push 0x104
push ecx
push 0x5a1928
mov word [eax + 0x208], dx
call fcn.0055fa02
mov ecx, dword [esi]
mov ebx, eax
test ecx, ecx
je 0x415a73
push dword [ecx - 8]
push ecx
call fcn.0056712f
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x415b39
mov eax, dword [esi]
cmp ecx, dword [eax - 8]
jg 0x415b39
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [esi]
or edi, 0xffffffff
mov word [eax + ecx*2], dx
test ebx, ebx
je 0x415ad2
push str.D:_source_aprelSibSiblSiblEnvTools.cpp
lea ecx, [ebp - 0x14]
call fcn.004020d0
push 0x11e
push dword [eax]
mov dword [ebp - 4], 3
push ebx
call fcn.004277f0
mov edx, dword [ebp - 0x14]
add esp, 0xc
mov byte [ebp - 4], 0
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x415ad2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push dword [esi]
call fcn.0055fefe
mov ebx, eax
test ebx, ebx
je 0x415b25
push str.D:_source_aprelSibSiblSiblEnvTools.cpp
lea ecx, [ebp - 0x14]
call fcn.004020d0
push 0x123
push dword [eax]
mov dword [ebp - 4], 4
push ebx
call fcn.004277f0
mov eax, dword [ebp - 0x14]
add esp, 0xc
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x415b25
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00403cc0
push 0x80004005
call fcn.00403cc0
int3
Function at 0x417130
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58fa0d
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x5fb1a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
mov edi, dword [eax - 0xc]
lea eax, [edi + 1]
push eax
call fcn.0042a650
mov ecx, dword [ebp + 8]
add esp, 4
mov esi, eax
cmp dword [ecx - 4], 1
mov ebx, dword [ecx - 0xc]
jle 0x417188
push ebx
lea ecx, [ebp + 8]
call fcn.004046c0
mov ecx, dword [ebp + 8]
push ebx
push ecx
push esi
call fcn.005635d0
add esp, 0xc
mov byte [esi + edi], 0
push 0
push 0
push esi
push 0x4171e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [ebp + 8]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4171c6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4178c0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push edi
mov edi, ecx
push 0
push dword [edi]
call esi
push 0
push dword [edi + 4]
call esi
push 0
push dword [edi + 8]
call esi
push 0
push dword [edi + 0xc]
call esi
pop edi
pop esi
ret
Function at 0x41cc30
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59048c
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5fb1a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x1c], edi
mov eax, dword [ebp + 8]
mov dword [edi], eax
mov dword [ebp - 4], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
lea esi, [edi + 0x38]
mov dword [edi + 0x30], 0
mov byte [edi + 0x34], 0
mov dword [ebp - 0x14], esi
mov dword [esi + 0x24], 0
mov ecx, dword [ebp + 0x30]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x41cce4
mov eax, dword [ecx]
push esi
call dword [eax]
mov dword [esi + 0x24], eax
mov al, byte [ebp + 0x34]
lea ecx, [edi + 0x70]
mov byte [edi + 0x60], al
push 8
mov byte [ebp - 4], 5
mov byte [edi + 0x68], 8
call fcn.0041d170
mov ecx, dword [edi + 0x1c]
xor esi, esi
mov edx, dword [edi + 0x10]
mov byte [ebp - 4], 6
mov byte [ebp - 0xd], 1
mov dword [ebp - 0x18], edx
test ecx, ecx
jns 0x41cd2f
mov eax, ecx
neg eax
cmp esi, eax
jae 0x41cd2f
add ecx, esi
mov eax, ecx
not eax
shr eax, 5
lea eax, [eax*4 + 4]
sub edx, eax
jmp 0x41cd39
add ecx, esi
mov eax, ecx
shr eax, 5
lea edx, [edx + eax*4]
lea eax, [ebp - 0xd]
and ecx, 0x1f
push eax
push 1
push ecx
push edx
lea eax, [ebp - 0x18]
push eax
lea ecx, [edi + 0x10]
call fcn.0041ed20
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x41cd68
mov esi, dword [ecx]
lea eax, [ebp + 0xc]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x30
Function at 0x426900
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x590fed
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5fb1a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push dword [ebp + 8]
mov dword [ebp - 4], 0
call fcn.00426330
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x426948
lea esi, [eax + 1]
jmp 0x426a71
mov eax, dword [ebp + 0xc]
mov esi, dword [eax - 0xc]
test esi, esi
jne 0x426974
push 0xffffffffffffffff
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0xb1
push ebx
call esi
push 0
push 0
push 0x303
push ebx
call esi
jmp 0x426a6f
push 0
mov byte [ebp - 0x10], 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x426a49
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea edi, [esi + esi]
lea eax, [edi + 2]
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x426a01
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
cmp dword [ecx - 4], 1
jle 0x4269ca
push dword [ecx - 0xc]
lea ecx, [ebp + 0xc]
call fcn.00404770
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
push edi
push ecx
push eax
call fcn.005635d0
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor ecx, ecx
push esi
mov word [edi + eax], cx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
mov ecx, dword [ebp - 0x10]
test eax, eax
movzx ecx, cl
mov edx, 1
cmovne ecx, edx
mov dword [ebp - 0x10], ecx
mov edi, dword [sym.imp.USER32.dll_CloseClipboard]
call edi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0xffffffffffffffff
push 0
push 0xb1
push ebx
call esi
push 0
push 0
push 0x303
push ebx
call esi
push 0
push 0
push 0x302
push ebx
call esi
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
call edi
cmp byte [ebp - 0x10], 0
jne 0x426a6f
mov eax, dword [ebp + 0xc]
cmp dword [eax - 4], 1
jle 0x426a60
push dword [eax - 0xc]
lea ecx, [ebp + 0xc]
call fcn.00404770
mov eax, dword [ebp + 0xc]
push eax
push 0x103
push 0xc
push ebx
call dword [sym.imp.USER32.dll_PostMessageW]
xor esi, esi
mov eax, dword [ebp + 0xc]
or ecx, 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x426a8c
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4274c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58ee10
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5fb1a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
push edi
mov dword [ebp - 4], 0
call fcn.0042b581
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x10], esi
test esi, esi
je 0x4275ed
mov eax, edi
shr eax, 4
inc eax
push 6
movzx eax, ax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 8], eax
test eax, eax
je 0x4275ed
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4275ed
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4275ed
push dword [ebp + 8]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esi + eax]
and edi, 0xf
jbe 0x427576
nop
cmp esi, ecx
jae 0x4275ed
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edi, 1
jne 0x427560
cmp esi, ecx
jae 0x4275ed
cmp word [esi], 0
je 0x4275ed
mov eax, dword [ebx]
mov ecx, 1
movzx edi, word [esi]
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edi
or ecx, eax
jge 0x42759e
push edi
mov ecx, ebx
call fcn.00408b50
movzx ecx, word [esi]
lea eax, [esi + 2]
push ecx
push eax
push edi
push dword [ebx]
call fcn.0057241f
add esp, 0x10
cmp eax, 0x50
ja case.0x4275bd.1
movzx eax, byte [eax + 0x427628]
jmp dword [eax*4 + 0x427618]
mov eax, dword [ebx]
cmp edi, dword [eax - 8]
jg 0x427608
mov dword [eax - 0xc], edi
xor ecx, ecx
mov eax, dword [ebx]
mov word [eax + edi*2], cx
lea eax, [ecx + 1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.0042a6c5
push 0x80070057
call fcn.00403cc0
call fcn.0042a6ab
nop
les esi, [ebp + 0x42]
add byte [ebx], al
jbe 0x427661
add byte [edx], dl
jbe 0x427665
add byte [edx], dl
jbe 0x427669
add byte [eax], al
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ecx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [eax]
int3
Function at 0x429920
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5915bd
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x5fb1a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
mov dword [ebp - 4], 0
call fcn.00429530
mov edx, eax
test edx, edx
jne 0x42995f
xor ecx, ecx
jmp 0x429973
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x429964
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, 0x5ffc54
call fcn.00409f20
lea eax, [ebp + 8]
mov dword [0x5ffc30], 1
push 0x5a4320
push eax
mov dword [0x5ffc2c], 0
call fcn.00411770
mov ecx, dword [0x5ffc34]
add esp, 8
test al, al
mov edx, 1
cmovne ecx, edx
mov dword [0x5ffc34], ecx
call fcn.00429c80
or edi, 0xffffffff
test al, al
je 0x429ab0
cmp dword [0x5ffcec], 0
je 0x4299e8
push ecx
mov ecx, esp
push 0x5a43c0
call fcn.00401f40
call fcn.00429ae0
add esp, 4
push 0
push 0
push 0x428f30
call fcn.00574c34
add esp, 0xc
mov esi, eax
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x5ffcec], 0
je 0x429a93
cmp dword [0x5ffc38], 0
je 0x429a9c
push 0x96
lea eax, [ebp - 0x14]
mov ecx, 0x5ffc50
push eax
call fcn.0040ff30
push dword [eax]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0040bc80
mov edx, dword [ebp - 0x14]
mov eax, edi
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x429a5c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
mov eax, esp
lea ecx, [ebp - 0x10]
push ecx
push 0x5a43c4
push eax
call fcn.0040cf30
add esp, 0xc
call fcn.00417480
mov edx, dword [ebp - 0x10]
add esp, 4
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x429a93
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [0x5ffc38], 0
jne 0x429aa9
cmp dword [0x5ffc3c], 0
jne 0x429aa9
push 0
jmp 0x429aab
push 0xffffffffffffffff
call fcn.00429560
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x429ac8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret