joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2e004039
Capabilities:
Capture screenshot
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [0x2e00c298]
sub esi, dword [0x2e00c290]
push edi
mov edi, dword [0x2e00c29c]
sub edi, dword [0x2e00c294]
push 0
call dword [sym.imp.USER32.dll_GetDC]
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push edi
mov ebx, eax
mov eax, dword [ebp - 8]
push esi
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push ebx
mov dword [ebp - 0xc], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [0x2e00c294]
mov edx, dword [0x2e00c290]
push 0xcc0020
push ecx
push edx
mov dword [ebp - 0x10], eax
mov eax, dword [0x2e00c4e8]
push eax
push edi
push esi
push 0
push 0
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [0x2e00c4e4]
push ecx
mov byte [ebp - 1], 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x2e004134
call dword [sym.imp.USER32.dll_EmptyClipboard]
push 4
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push 0x2e001804
mov esi, eax
call dword [sym.imp.USER32.dll_RegisterClipboardFormatW]
movzx edi, ax
test esi, esi
je 0x2e004111
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
movzx edx, di
push esi
push edx
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x2e00410d
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x2e004111
mov byte [ebp - 1], 1
mov esi, dword [ebp - 0xc]
push esi
push 2
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x2e00412a
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x2e00412e
mov byte [ebp - 1], 1
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [ebp - 0x10]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [ebp - 8]
push ecx
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x2e005f5d
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x2e005f98
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x2e005f7f
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x2e005f90
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x2e005f9a
inc edi
add eax, 0x28
cmp edi, esi
jb 0x2e005f75
xor eax, eax
pop edi
pop esi
ret

Function at 0x2e00735a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, dword [ebp - 0x700]
inc eax
mov dword [ebp - 0x700], eax
movsx eax, byte [ebp + eax - 0x394]
not eax
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
jmp 0x2e00731d
Function at 0x2e008550
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x2e00217c]
jne 0x2e0093c0
ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x2e00c748], eax
mov dword [0x2e00c744], ecx
mov dword [0x2e00c740], edx
mov dword [0x2e00c73c], ebx
mov dword [0x2e00c738], esi
mov dword [0x2e00c734], edi
mov word [0x2e00c760], ss
mov word [0x2e00c754], cs
mov word [0x2e00c730], ds
mov word [0x2e00c72c], es
mov word [0x2e00c728], fs
mov word [0x2e00c724], gs
pushfd
pop dword [0x2e00c758]
mov eax, dword [ebp]
mov dword [0x2e00c74c], eax
mov eax, dword [ebp + 4]
mov dword [0x2e00c750], eax
lea eax, [ebp + 8]
mov dword [0x2e00c75c], eax
mov eax, dword [ebp - 0x320]
mov dword [0x2e00c698], 0x10001
mov eax, dword [0x2e00c750]
mov dword [0x2e00c64c], eax
mov dword [0x2e00c640], 0xc0000409
mov dword [0x2e00c644], 1
mov eax, dword [0x2e00217c]
mov dword [ebp - 0x328], eax
mov eax, dword [0x2e00c240]
mov dword [ebp - 0x324], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x2e00c690], eax
push 1
call sub.MSVCR90.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x2e002398
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x2e00c690], 0
jne 0x2e0094ac
push 1
call sub.MSVCR90.dll__crt_debugger_hook
pop ecx
push 0xc0000409
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
leave
ret

Function at 0x2e008574
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
xor ebx, ebx
push edi
lea ecx, [ebp - 8]
mov dword [ebp - 8], ebx
call fcn.2e00855d
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
mov edi, 0x20019
push edi
push ebx
push 0x2e0012d8
push 0x80000000
call esi
test eax, eax
jne 0x2e00861d
lea ecx, [ebp - 4]
mov dword [ebp - 4], ebx
call fcn.2e00855d
push eax
push edi
push ebx
push dword [ebp + 8]
push dword [ebp - 8]
call esi
test eax, eax
jne 0x2e00860f
push 4
pop esi
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push ebx
push 0x2e0021c0
push dword [ebp - 4]
mov dword [ebp + 8], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x2e00860f
cmp dword [ebp + 8], esi
jne 0x2e00860f
mov edi, dword [ebp - 0xc]
cmp edi, 3
ja 0x2e00860f
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], ebx
je 0x2e008601
push dword [ebp - 4]
call esi
cmp dword [ebp - 8], ebx
je 0x2e00860b
push dword [ebp - 8]
call esi
mov eax, edi
jmp 0x2e00862d
cmp dword [ebp - 4], ebx
je 0x2e00861d
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 8], ebx
je 0x2e00862b
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x2e008634
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp byte [0x2e00c5e0], 0
je 0x2e008649
mov eax, dword [0x2e00c5dc]
leave
ret
and dword [ebp - 4], 0
push ebx
push esi
push edi
lea ecx, [ebp - 4]
call fcn.2e00855d
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
mov ebx, 0x20019
push ebx
push 0
push 0x2e002210
mov edi, 0x80000001
push edi
call esi
test eax, eax
jne 0x2e0086aa
lea eax, [ebp - 8]
push eax
push 0x2e00c5dc
push 0
push 0
push dword [0x2e00c248]
mov dword [ebp - 8], 4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x2e0086aa
cmp dword [ebp - 8], 4
jne 0x2e0086aa
cmp dword [ebp - 4], eax
jmp 0x2e0086ef
lea ecx, [ebp - 4]
call fcn.2e00855d
push eax
push ebx
xor ebx, ebx
push ebx
push 0x2e0021d8
push edi
call esi
test eax, eax
jne 0x2e00870b
push 4
pop esi
lea eax, [ebp - 8]
push eax
push 0x2e00c5dc
push ebx
push ebx
push dword [0x2e00c248]
mov dword [ebp - 8], esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x2e00870b
cmp dword [ebp - 8], esi
jne 0x2e00870b
cmp dword [ebp - 4], ebx
mov esi, dword [0x2e00c5dc]
mov byte [0x2e00c5e0], 1
je 0x2e008707
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x2e008728
mov dword [0x2e00c5dc], ebx
mov byte [0x2e00c5e0], 1
cmp dword [ebp - 4], ebx
je 0x2e008726
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10037760
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x10037924
pushal
mov esi, section.UPX1
lea edi, [esi - 0x24000]
push edi
or ebp, 0xffffffff
jmp 0x1003778a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x10037791
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10037780
mov eax, 1
add ebx, ebx
jne 0x100377a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x10037798
jne 0x100377b4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10037798
xor ecx, ecx
sub eax, 3
jb 0x100377c8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1003783a
mov ebp, eax
add ebx, ebx
jne 0x100377d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x100377e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x10037804
inc ecx
add ebx, ebx
jne 0x100377f0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x100377e5
jne 0x10037801
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x100377e5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x10037824
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x10037815
jmp 0x10037786
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x10037824
add edi, ecx
jmp 0x10037786
pop esi
mov edi, esi
mov ecx, 0xaf5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x10037842
cmp byte [edi], 9
jne 0x10037842
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x10037847
lea edi, [esi + 0x34000]
mov eax, dword [edi]
or eax, eax
je 0x100378b6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x371dc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x37250]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x10037874
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x37254]
or eax, eax
je 0x100378b0
mov dword [ebx], eax
add ebx, 4
jmp 0x10037891
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x100378e7
cmp al, 0xef
ja 0x100378da
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x100378bc
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x100378c9
mov ebp, dword [esi + 0x37258]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x1003791b
sub esp, 0xffffff80
jmp 0x1000a5c9
Function at 0x403860
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x411a76
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x41a034]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0x60
push 0
push esi
mov byte [ebp - 4], 1
call ebx
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x40390c
push 2
push eax
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x40390c
call fcn.00402080
mov esi, eax
jmp 0x4039fc
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x40392f
call fcn.00402080
jmp 0x4039ef
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x40394d
call fcn.00402080
jmp 0x4039ef
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x41c], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x40396e
mov esi, 0x8007000e
jmp 0x4039f1
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.00401bc0
jmp 0x403998
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
jne 0x4039af
mov esi, 0x8007000e
jmp 0x4039f1
push esi
push dword [ebp - 0x418]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x4039cf
call fcn.00402080
jmp 0x4039ef
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.00403690
mov esi, eax
test edi, edi
je 0x4039fc
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x403a20
lea ecx, [ebp - 0x418]
call fcn.00402c20
nop word [eax + eax]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004062b2
mov esp, ebp
pop ebp
ret 0x10
Function at 0x404340
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
test ebx, ebx
jne 0x404359
lea eax, [ebx + 0xd]
pop ebx
mov esp, ebp
pop ebp
ret 8
push esi
push edi
xor esi, esi
mov edx, ebx
nop
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x404365
sub eax, edi
sar eax, 1
lea ecx, [eax + 1]
lea edx, [edx + ecx*2]
lea esi, [esi + ecx*2]
cmp ecx, 1
jne 0x404360
mov eax, dword [ebp - 4]
push esi
push ebx
push 7
push 0
push dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4043a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x4043b5
lea eax, [edx + 0xd]
pop esi
pop ebp
ret 0xc
mov eax, edx
push edi
lea edi, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4043c0
sub eax, edi
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push edx
push dword [ebp + 0x10]
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x4044b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0
push 0
push 0
push 0
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x30], eax
test eax, eax
jne 0x4044d1
pop esi
mov esp, ebp
pop ebp
ret
push edi
lea eax, [ebp - 4]
push eax
push 0
push esi
push 0x402ce0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
jne 0x4044fa
push dword [esi + 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x30], edi
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0x168e49d8
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x432024
nop
mov eax, section..tls
nop
mov ebx, 0x42f314
nop
nop
mov ecx, 0x950da9
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x432084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x1004af1a
Capabilities:
Create thread

Disassembly:
mov edi, edi
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 4], edi
je 0x1004af44
call fcn.1004afa6
test al, al
je 0x1004af3b
push 0x80070006
call dword [sym.imp.PhotoBase.dll_void___stdcall_Base::Throw_long_int_]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esi + 8]
push eax
push edi
push esi
push 0x1004aee0
push edi
push edi
call dword [sym.imp.msvcrt.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 4], eax
pop edi
pop esi
test eax, eax
jne 0x1004af69
call dword [sym.imp.PhotoBase.dll_void___stdcall_Base::ThrowLastError_void_]
ret 0xc

Function at 0x1004cc48
Capabilities:
Get memory capacity

Disassembly:
push 0x68
mov eax, 0x10078cb6
call fcn.1002c4f4
mov edi, ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x68], esi
cmp esi, dword [edi + 0xc0]
jb 0x1004cc6f
push 0x80070057
call dword [sym.imp.PhotoBase.dll_void___stdcall_ATL::BaseAtlThrow_long_int_]
mov ecx, dword [edi + 0xbc]
mov ebx, esi
shl ebx, 7
mov eax, dword [ecx + ebx + 0x68]
or eax, dword [ecx + ebx + 0x6c]
jne 0x1004cd97
push esi
lea eax, [ebp - 0x74]
mov ecx, edi
push eax
call fcn.1004ce56
cmp esi, dword [edi + 0xc0]
jae 0x1004cc64
mov eax, dword [edi + 0xbc]
mov edx, 0x10004c20
add eax, 0x44
add eax, ebx
xor ecx, ecx
mov dword [ebp - 0x60], eax
mov eax, dword [eax + ecx*4]
cmp eax, dword [edx + ecx*4]
jne 0x1004cd13
mov eax, dword [ebp - 0x60]
inc ecx
cmp ecx, 4
jne 0x1004ccb1
and dword [ebp - 0x58], 0
and dword [ebp - 4], 0
lea ecx, [ebp - 0x58]
mov eax, dword [edi + 0xec]
push ecx
push dword [ebp - 0x68]
mov esi, dword [eax]
push eax
mov ecx, dword [esi + 0x34]
call dword [0x10089918]
call dword [esi + 0x34]
test eax, eax
js 0x1004cd2d
mov eax, dword [ebp - 0x58]
push dword [ebp - 0x60]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x10]
mov ecx, esi
call dword [0x10089918]
call esi
test eax, eax
js 0x1004cd2d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.1000af40
mov esi, dword [ebp - 0x68]
mov edx, dword [ebp - 0x60]
mov ecx, dword [edi + 0xe8]
call fcn.10045cc0
mov ecx, eax
cmp ecx, 0x10
jbe 0x1004cd3f
push 4
pop eax
jmp 0x1004cd48
lea ecx, [ebp - 0x58]
call fcn.1000af40
xor al, al
call fcn.1007563c
ret 4
xor eax, eax
cmp ecx, 8
seta al
inc eax
push ecx
lea ecx, [ebp - 0x6c]
push ecx
push ecx
lea ecx, [ebp - 0x64]
push ecx
push eax
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x74]
call fcn.1004d228
mov ecx, eax
call fcn.1004d24d
mov ecx, eax
call fcn.1004d24d
mov ecx, dword [eax]
mov eax, dword [eax + 4]
cmp esi, dword [edi + 0xc0]
jae 0x1004cc64
push 0
push 3
push eax
push ecx
call fcn.10075810
mov ecx, dword [edi + 0xbc]
mov dword [ecx + ebx + 0x68], eax
mov dword [ecx + ebx + 0x6c], edx
lea eax, [ebp - 0x54]
mov dword [ebp - 0x54], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x1004cd35
cmp esi, dword [edi + 0xc0]
jae 0x1004cc64
mov ecx, dword [edi + 0xbc]
mov eax, dword [ecx + ebx + 0x6c]
cmp eax, dword [ebp - 0x40]
ja 0x1004cd35
jb 0x1004cdda
mov eax, dword [ecx + ebx + 0x68]
cmp eax, dword [ebp - 0x44]
jae 0x1004cd35
mov al, 1
jmp 0x1004cd37
Function at 0x100513e7
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x10087d94]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x64
pop esi
push 0x110
lea eax, [ebp - 0x114]
mov dword [ebp - 0x118], 0x114
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x10051466
cmp dword [ebp - 0x114], 6
jb 0x10051466
and dword [ebp - 0x11c], 0
lea edx, [ebp - 0x120]
and dword [ebp - 0x120], 0
lea ecx, [ebp - 0x11c]
call fcn.10051350
test eax, eax
js 0x10051466
cmp dword [ebp - 0x11c], 6
jae 0x10051469
push 0x50
pop esi
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.10074c00
mov esp, ebp
pop ebp
ret

Function at 0x1005147a
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x10087d94]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, 0x114
lea eax, [ebp - 0x118]
push esi
xor ebx, ebx
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x118], esi
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x100514db
cmp dword [ebp - 0x114], 5
jae 0x100514dd
cmp dword [ebp - 0x114], 4
jne 0x100514db
cmp dword [ebp - 0x110], 0x5a
jae 0x100514dd
mov bl, 1
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.10074c00
mov esp, ebp
pop ebp
ret

Function at 0x10052e9c
Capabilities:
Hide graphical window

Disassembly:
push 8
mov eax, 0x10076879
call fcn.1007568d
mov edi, ecx
cmp byte [edi + 0x10], 0
jne 0x10052ebb
push 0x80004005
call dword [sym.imp.PhotoBase.dll_void___stdcall_Base::Throw_long_int_]
push 2
call dword [sym.imp.USER32.dll_BeginDeferWindowPos]
mov dword [ebp - 0x14], eax
and dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
mov eax, dword [edi + 0x50]
push ecx
push 1
push eax
mov esi, dword [eax]
mov ecx, dword [esi + 0x18]
call dword [0x10089918]
call dword [esi + 0x18]
test eax, eax
jns 0x10052ee9
push eax
jmp 0x10052eb5
mov eax, dword [edi + 0x4c]
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
mov esi, dword [eax]
mov ecx, dword [esi + 0x18]
call dword [0x10089918]
call dword [esi + 0x18]
test eax, eax
js 0x10052ee6
xor eax, eax
cmp byte [edi + 0x64], al
setne al
lea eax, [eax*2 + 1]
push eax
push dword [edi + 0x18]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp - 0x14], 0
je 0x10052f2d
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EndDeferWindowPos]
call fcn.1007563c
ret
Function at 0x10070a12
Capabilities:
Timestomp file

Disassembly:
push 8
mov eax, 0x1007ac62
call fcn.1007568d
mov ebx, edx
and dword [ebp - 0x14], 0
and dword [ebp - 4], 0
lea eax, [ebp - 0x14]
mov esi, dword [ecx]
push eax
push 0x80028000
push ecx
mov ecx, dword [esi + 0x14]
call dword [0x10089918]
call dword [esi + 0x14]
mov esi, eax
test esi, esi
js 0x10070a9f
xor esi, esi
push esi
push 0x80
push 3
push esi
push 3
push 0xc0000000
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10070a75
call fcn.100644c4
mov esi, eax
test esi, esi
js 0x10070a9f
xor esi, esi
cmp byte [ebp + 8], 0
push ebx
push esi
push esi
push edi
je 0x10070a87
call dword [sym.imp.KERNEL32.dll_SetFileTime]
jmp 0x10070a8d
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
jne 0x10070a98
call fcn.100644c4
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x14]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, esi
call fcn.1007563c
ret 4
Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
mov ebx, 0x408f6c
nop
mov ecx, 0x48b634b6
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
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
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e3d0
mov ecx, 0x10895861
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219