joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002e590
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003ae03
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x1004b220]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
push ecx
mov esi, esp
mov dword [ebp - 4], 0
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x118], 0xff
mov dword [ebp - 0x11c], esi
call fcn.10001b20
mov ecx, eax
test ecx, ecx
je 0x1002e780
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
push 0x1003dfc0
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.10006e20
test al, al
jne 0x1002e620
push 0x18
push 0x1003dfc0
mov ecx, esi
call fcn.100071a0
lea eax, [ebp - 0x114]
mov byte [ebp - 4], 0
push eax
call fcn.1002ff50
add esp, 8
test al, al
jne 0x1002e64d
mov edx, dword [ebp + 8]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jmp 0x1002e75a
mov edi, dword [ebp - 0x114]
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x110]
push eax
push 0
push 0
push dword [ebp + 8]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1002e6d4
mov eax, dword [ebp - 0x118]
mov ecx, 0xff
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
mov dword [ebp - 0x118], eax
cmovl ecx, eax
cmp ecx, 0x100
jae 0x1002e78a
lea eax, [ebp - 0x110]
mov byte [ebp + ecx - 0x110], 0
push eax
push 0x1004099c
push ebx
call fcn.1001bd10
add esp, 0xc
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp + 8]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jmp 0x1002e75a
or esi, 0xffffffff
cmp eax, 2
jne 0x1002e745
push str.0_1_100
lea ecx, [ebp - 0x114]
call fcn.100066b0
mov eax, dword [ebp - 0x114]
mov byte [ebp - 4], 2
cmp dword [eax - 4], 1
mov ecx, dword [eax - 0xc]
lea ebx, [ecx*2 + 1]
jle 0x1002e718
push ecx
lea ecx, [ebp - 0x114]
call fcn.10007470
mov eax, dword [ebp - 0x114]
push ebx
push eax
push 1
push 0
push dword [ebp + 8]
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 0x114]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1002e745
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x1002e764
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 ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10036aba
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.100018f0
call fcn.10037158
int3
Function at 0x1002ea80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003af55
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x1004b220]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x124], esi
mov dword [ebp - 0x11c], 1
mov dword [ebp - 4], 0
call fcn.10001b20
mov ecx, eax
test ecx, ecx
je 0x1002ec5c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
push 0x1003f9a8
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.10006e20
test al, al
jne 0x1002eb02
push 0
push 0x1003f9a8
mov ecx, esi
call fcn.100071a0
push ecx
mov edi, esp
mov byte [ebp - 4], 2
mov dword [ebp - 0x11c], 1
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0xff
mov dword [ebp - 0x120], edi
call fcn.10001b20
mov ecx, eax
test ecx, ecx
je 0x1002ec66
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
push str.CRLog
mov ecx, edi
mov dword [ebp - 4], 3
call fcn.10006e20
test al, al
jne 0x1002eb69
push str.CRLog
mov ecx, edi
call fcn.10006f40
lea eax, [ebp - 0x118]
mov byte [ebp - 4], 2
push eax
call fcn.1002ff50
add esp, 8
test al, al
jne 0x1002ebab
mov ecx, esi
call fcn.100072c0
mov edx, dword [ebp + 0xc]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1002ec3a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x1002ec3a
mov edi, dword [ebp - 0x118]
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x110]
push eax
push 0
push 0
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1002ec18
mov eax, dword [ebp - 0x114]
mov ecx, 0xff
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
mov dword [ebp - 0x114], eax
cmovl ecx, eax
cmp ecx, 0x100
jae 0x1002ec57
lea eax, [ebp - 0x110]
mov byte [ebp + ecx - 0x110], 0
push eax
push 0x1004099c
push esi
call fcn.1001bd10
add esp, 0xc
mov ecx, esi
call fcn.100063c0
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebp + 0xc]
or eax, 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x1002ec3a
mov ecx, dword [edi]
push edi
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
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10036aba
mov esp, ebp
pop ebp
ret
call fcn.10037158
push 0x80004005
call fcn.100018f0
push 0x80004005
call fcn.100018f0
int3
Function at 0x1002ec80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003afaf
mov eax, dword fs:[0]
push eax
sub esp, 0x410
mov eax, dword [0x1004b220]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x41c], esi
mov dword [ebp - 0x414], 0
mov dword [ebp - 4], 2
call fcn.10001b20
mov ecx, eax
test ecx, ecx
je 0x1002ed6f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov byte [ebp - 4], 1
mov dword [esi], eax
lea eax, [ebp - 0x418]
mov dword [ebp - 0x414], 1
push eax
lea eax, [ebp - 0x410]
mov dword [ebp - 0x418], 0x400
push eax
push 0
push 0
push dword [ebp + 0x10]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1002ed30
lea eax, [ebp - 0x410]
push eax
push 0x1004099c
push esi
call fcn.1001bd10
add esp, 0xc
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebp + 0x10]
or eax, 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x1002ed52
mov ecx, dword [edi]
push edi
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
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10036aba
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.100018f0
int3
Function at 0x10030080
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003b2c2
mov eax, dword fs:[0]
push eax
sub esp, 0x418
mov eax, dword [0x1004b220]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x424], esi
mov dword [ebp - 0x418], 1
mov dword [ebp - 4], 0
call fcn.10001b20
mov ecx, eax
test ecx, ecx
je 0x100301cb
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
push ecx
mov edi, esp
mov dword [ebp - 4], 1
mov dword [ebp - 0x418], 1
mov dword [ebp - 0x414], 0
mov dword [ebp - 0x41c], 0x400
mov dword [ebp - 0x420], edi
call fcn.10001b20
mov ecx, eax
test ecx, ecx
je 0x100301d5
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
push str.CRLog
mov ecx, edi
mov dword [ebp - 4], 2
call fcn.10006e20
test al, al
jne 0x1003014a
push str.CRLog
mov ecx, edi
call fcn.10006f40
lea eax, [ebp - 0x414]
mov byte [ebp - 4], 1
push eax
call fcn.1002ff50
add esp, 8
test al, al
jne 0x1003016a
mov ecx, esi
call fcn.100072c0
jmp 0x100301ae
mov edi, dword [ebp - 0x414]
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x410]
push eax
push 0
push 0
push str.User_level_client_setting
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100301a7
lea eax, [ebp - 0x410]
push eax
push 0x1004099c
push esi
call fcn.1001bd10
add esp, 0xc
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10036aba
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.100018f0
push 0x80004005
call fcn.100018f0
int3

Function at 0x10030360
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003b345
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x1004b220]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor bl, bl
mov dword [ebp - 4], 1
test esi, esi
je 0x100303d1
mov eax, dword [ebp + 0x10]
cmp dword [eax - 4], 1
mov ecx, dword [eax - 0xc]
lea edi, [ecx*2 + 1]
jle 0x100303b4
push ecx
lea ecx, [ebp + 0x10]
call fcn.10007470
mov eax, dword [ebp + 0x10]
push edi
push eax
push 1
push 0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
movzx ebx, bl
mov ecx, 1
cmove ebx, ecx
mov edx, dword [ebp + 0xc]
or esi, 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100303ee
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x10030406
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
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 0x10035e90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0x20], 0x10
lea edx, [ebp - 4]
mov eax, dword [ebp + 8]
lea ecx, [ebp + 0xc]
cmovae ecx, dword [ebp + 0xc]
push ebx
push 0
push edx
push dword [ebp + 0x24]
mov dword [ebp - 4], 0
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp + 0x20]
test eax, eax
setne bl
cmp ecx, 0x10
jb 0x10035ef7
mov edx, dword [ebp + 0xc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10035eed
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10035eed
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10036ff7
add esp, 8
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10036140
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003bf72
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x1004b220]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor eax, eax
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x228], edi
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x230], eax
mov dword [ebp - 4], eax
call fcn.10001b20
mov ecx, eax
test ecx, ecx
je 0x1003633a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x22c]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x22c], 0x104
push eax
push 0
push 0
push 0x1003ec10
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x220]
push 0x1004099c
push eax
call fcn.1001bd10
mov eax, dword [ebp - 0x220]
add esp, 0xc
cmp dword [eax - 0xc], 0
jl 0x100362a3
push 0x1003ec28
push eax
call sub.VCRUNTIME140.dll_wcsstr
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x220]
test ecx, ecx
je 0x10036225
sub ecx, eax
sar ecx, 1
cmp ecx, 0xffffffff
jne 0x1003624a
cmp dword [eax - 0xc], 0
jl 0x100362a3
push str.Windows_10
push eax
call sub.VCRUNTIME140.dll_wcsstr
add esp, 8
test eax, eax
je 0x100362a3
sub eax, dword [ebp - 0x220]
sar eax, 1
cmp eax, 0xffffffff
je 0x100362a3
lea eax, [ebp - 0x228]
push eax
call fcn.10035f60
add esp, 4
mov eax, dword [eax]
mov ecx, str.22000
mov dword [ebp - 0x224], 1
nop word [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10036296
test dx, dx
je 0x10036292
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10036296
add eax, 4
add ecx, 4
test dx, dx
jne 0x10036270
xor eax, eax
jmp 0x1003629b
sbb eax, eax
or eax, 1
test eax, eax
js 0x100362a3
mov bl, 1
jmp 0x100362a5
xor bl, bl
or esi, 0xffffffff
mov dword [ebp - 4], 1
test byte [ebp - 0x224], 1
je 0x100362d5
mov edx, dword [ebp - 0x228]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100362d5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
je 0x100362ee
push 0x1003ec64
push 0x1003d934
lea ecx, [ebp - 0x220]
call fcn.1002cdc0
lea ecx, [ebp - 0x220]
call fcn.100063c0
push eax
mov ecx, edi
call fcn.10006750
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x1003631c
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10036aba
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.100018f0
int3
Function at 0x10036460
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003bfb0
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x1004b220]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x224], esi
mov dword [ebp - 4], 0
call fcn.10001b20
mov ecx, eax
test ecx, ecx
je 0x10036555
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x224]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x224], 0x104
push eax
push 0
push 0
push str.ProcessorNameString
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x220]
push 0x1004099c
push eax
call fcn.1001bd10
add esp, 0xc
lea ecx, [ebp - 0x220]
call fcn.100063c0
push eax
mov ecx, esi
call fcn.10006750
mov edi, dword [ebp - 0x220]
or eax, 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x10036538
mov ecx, dword [edi]
push edi
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
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10036aba
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.100018f0
int3

Function at 0x10036560
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003bffb
mov eax, dword fs:[0]
push eax
sub esp, 0x2a0
mov eax, dword [0x1004b220]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x2a8], edi
mov dword [ebp - 4], 0
call fcn.10001b20
mov ecx, eax
test ecx, ecx
je 0x10036694
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2a4], eax
lea eax, [ebp - 0x2a8]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x2a8], 0x104
push eax
push 0
push 0
push str.Identifier
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x2a4]
push 0x1004099c
push eax
call fcn.1001bd10
add esp, 0xc
lea ecx, [ebp - 0x2a4]
call fcn.100063c0
lea ecx, [ebp - 0x29c]
push 3
mov eax, dword [eax]
mov dword [ebp - 0x2a0], ecx
lea ecx, [ebp - 0x2a0]
push eax
call fcn.1002cb60
push dword [ebp - 0x2a0]
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.100065c0
mov eax, dword [ebp - 0x2a0]
lea ecx, [ebp - 0x29c]
cmp eax, ecx
je 0x10036659
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov esi, dword [ebp - 0x2a4]
or eax, 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10036677
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10036aba
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.100018f0
int3
Function at 0x96e058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x96e1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x96e07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x96e06a
add dl, dl
jne 0x96e089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x96e0dc
xor eax, eax
add dl, dl
jne 0x96e096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x96e17d
add dl, dl
jne 0x96e0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x96e0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x96e0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x96e0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x96e0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x96e075
mov eax, 1
add dl, dl
jne 0x96e0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x96e0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x96e0e1
sub eax, ebx
mov ebx, 1
jne 0x96e128
mov ecx, 1
add dl, dl
jne 0x96e10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x96e119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x96e105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x96e075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x96e13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x96e14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x96e136
cmp eax, 0x7d00
jae 0x96e16d
cmp eax, 0x500
jb 0x96e168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x96e075
cmp eax, 0x7f
ja 0x96e170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x96e075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x96e19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x96e075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408f6c
nop
mov ecx, 0x7f2450dc
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, str.Mn
mov ebx, 0x42e3d0
nop
nop
mov ecx, 0x4d6a19de
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x100024ef
Capabilities:
Parse pe header

Disassembly:
mov edx, dword [esp + 4]
xor eax, eax
test edx, edx
je 0x10002510
cmp word [edx], 0x5a4d
jne 0x10002510
mov ecx, dword [edx + 0x3c]
add ecx, edx
cmp dword [ecx], 0x4550
jne 0x10002510
mov eax, dword [ecx + 0x50]
ret 4
Function at 0x10003244
Capabilities:
Delete file

Disassembly:
mov eax, 0x10006b50
call fcn.10006900
sub esp, 0x164
push ebx
push esi
push edi
push 1
pop edi
xor ebx, ebx
lea eax, [ebp - 0x3c]
push ebx
push eax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
call sub.gdiplus.dll_GdiplusStartup
push dword [ebp + 8]
lea eax, [ebp - 0x170]
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
lea eax, [ebp - 0x170]
pop ecx
push 0x1000a900
push eax
call sub.MSVCRT.dll_strlen
pop ecx
lea ecx, [ebp - 0x170]
sub ecx, 3
add eax, ecx
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
pop ecx
push ebx
push ebx
push 0xffffffffffffffff
push dword [ebp + 8]
push ebx
push ebx
call esi
mov dword [ebp - 0x10], eax
lea eax, [eax + eax + 2]
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x14], eax
push dword [ebp - 0x10]
push eax
push 0xffffffffffffffff
push dword [ebp + 8]
push ebx
push ebx
call esi
push ebx
push ebx
lea eax, [ebp - 0x170]
push 0xffffffffffffffff
push eax
push ebx
push ebx
call esi
mov dword [ebp - 0x10], eax
lea eax, [eax + eax + 2]
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x18], eax
push dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x170]
push 0xffffffffffffffff
push eax
push ebx
push ebx
call esi
lea eax, [ebp - 0x24]
mov dword [ebp - 0x28], 0x10007238
mov dword [ebp - 0x24], ebx
push eax
push dword [ebp - 0x14]
call sub.gdiplus.dll_GdipLoadImageFromFile
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x6c]
mov dword [ebp - 4], ebx
push eax
push str.image_jpeg
call fcn.100033b7
mov dword [ebp - 0x5c], edi
mov esi, 0x10007248
lea edi, [ebp - 0x58]
pop ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop ecx
lea eax, [ebp + 0xc]
movsd dword es:[edi], dword [esi]
push 1
mov dword [ebp - 0x40], eax
pop esi
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x6c]
push eax
mov dword [ebp - 0x44], 4
push dword [ebp - 0x18]
mov dword [ebp - 0x48], esi
push dword [ebp - 0x24]
call sub.gdiplus.dll_GdipSaveImageToFile
cmp eax, ebx
je 0x10003374
mov dword [ebp - 0x20], eax
push dword [ebp - 0x14]
call fcn.100068c0
push dword [ebp - 0x18]
call fcn.100068c0
pop ecx
mov dword [ebp - 0x28], 0x10007238
pop ecx
push dword [ebp - 0x24]
call sub.gdiplus.dll_GdipDisposeImage
push dword [ebp - 0x2c]
call sub.gdiplus.dll_GdiplusShutdown
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x10003ad3
Capabilities:
Create thread

Disassembly:
push ebx
push esi
xor esi, esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
push esi
push esi
push esi
push 0x100039c4
push esi
push esi
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call ebx
push esi
push esi
push esi
push 0x10003a7b
push esi
push esi
call edi
push eax
call ebx
push 1
pop eax
pop edi
pop esi
pop ebx
ret