joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4236e1
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x434fe8]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x423724
cmp word [esi], dx
jne 0x423724
or byte [edi + eax + 0x28], 4
jmp 0x423729
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x42387c
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x42385c
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x42376b
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x4237a1
cmp eax, edx
jae 0x4237ad
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x423743
jmp 0x42387c
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x423858
cmp dword [ebp - 0x14], 0
je 0x423858
mov eax, dword [ebx*4 + 0x434fe8]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x423830
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x4237f9
mov word [esi], cx
jmp 0x42382c
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x434fe8]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x434fe8]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x434fe8]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x42387c
pop ebx
cmp word [ebp - 4], bx
jne 0x423841
cmp esi, dword [ebp + 0xc]
jne 0x423841
mov word [esi], bx
jmp 0x423879
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00422a14
add esp, 0x10
cmp word [ebp - 4], bx
je 0x42387c
push 0xd
jmp 0x423875
mov ecx, dword [ebx*4 + 0x434fe8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x423873
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x42387c
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x426670
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42669d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42669d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x100304e
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x1004074]
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x214]
push eax
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
test esi, esi
jne 0x100307a
mov esi, 0x1001cf8
push dword [ebp - 0x214]
lea eax, [ebp - 0x20c]
push dword [ebp - 0x210]
push esi
push 0x1001cc0
push eax
call dword [sym.imp.msvcrt.dll_swprintf]
add esp, 0x14
test eax, eax
pop esi
jbe 0x10030b4
push 0x103
push edi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
xor ecx, ecx
cmp ecx, eax
mov ecx, dword [ebp - 4]
sbb eax, eax
neg eax
call fcn.01003541
leave
ret
Function at 0x4886d0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x38000]
push edi
jmp 0x4886ea
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4886f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4886e0
mov eax, 1
add ebx, ebx
jne 0x488703
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x488714
jne 0x488733
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x488733
dec eax
add ebx, ebx
jne 0x488720
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4886f8
add ebx, ebx
jne 0x48872f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x488785
xor ecx, ecx
sub eax, 3
jb 0x48874b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4887ba
sar eax, 1
mov ebp, eax
jmp 0x488756
add ebx, ebx
jne 0x488756
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x488724
inc ecx
add ebx, ebx
jne 0x488764
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x488724
add ebx, ebx
jne 0x488771
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x488766
jne 0x488782
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x488766
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4887a4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x488796
jmp 0x4886e6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4887a4
add edi, ecx
jmp 0x4886e6
pop esi
lea edi, [esi + 0x83000]
mov ecx, 4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4887c6
mov eax, dword [edi]
mov bl, byte [edi + 4]
xchg ah, al
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 0x4887cb
lea edi, [esi + 0x84000]
mov eax, dword [edi]
or eax, eax
je 0x48883c
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8e314]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8e41c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4887f1
mov ecx, edi
jns 0x488820
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8e424]
or eax, eax
je 0x488836
mov dword [ebx], eax
add ebx, 4
jmp 0x48880e
call dword [esi + 0x8e420]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x48886d
cmp al, 0xef
ja 0x488860
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x488842
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x48884f
mov ebp, dword [esi + 0x8e428]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
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 0x4888a1
sub esp, 0xffffff80
jmp 0x4175da
Function at 0x433002
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x3b455cbd
nop
nop
nop
nop
nop
test eax, eax
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
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
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x193a07a8
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x401480
Capabilities:
Check for sandbox and av modules

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push str.sbiedll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
setne al
mov esp, ebp
pop ebp
ret

Function at 0x4014a0
Capabilities:
Terminate process

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40557d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x34
mov eax, dword [0x409040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, 1
lea edi, [ebp - 0x34]
xor ecx, ecx
xorps xmm0, xmm0
push ebx
cpuid
mov esi, ebx
movups xmmword [ebp - 0x34], xmm0
pop ebx
mov dword [edi], eax
mov dword [edi + 4], esi
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
test dword [ebp - 0x2c], 0x80000000
je 0x401572
mov eax, 0x40000000
xor ecx, ecx
push ebx
cpuid
mov esi, ebx
pop ebx
mov dword [edi], eax
mov dword [edi + 4], esi
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
mov edi, str.KVMKVMKVM
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
nop dword [eax]
mov edx, edi
lea eax, [ebp - 0x24]
mov esi, 9
nop word [eax + eax]
mov ecx, dword [edx]
cmp ecx, dword [eax]
jne 0x401567
add edx, 4
add eax, 4
sub esi, 4
jae 0x401550
mov cl, byte [edx]
cmp cl, byte [eax]
je 0x4015b4
add edi, 0xd
cmp edi, 0x406376
jne 0x401540
call fcn.004011c0
test al, al
jne 0x4015b4
call fcn.00401480
test al, al
jne 0x4015b4
call fcn.00401340
test al, al
jne 0x4015b4
call fcn.004013f0
test al, al
jne 0x4015b4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00404704
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x401790
sub esp, 0x18
mov ecx, esp
push str.Fbeel__guvf_nccyvpngvba_pnaabg_eha_haqre_n_Iveghny_Znpuvar.
call fcn.00401660
lea ecx, [ebp - 0x3c]
call fcn.00401270
add esp, 0x14
mov dword [ebp - 4], 0
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, eax
call fcn.00401770
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
lea ecx, [ebp - 0x3c]
call fcn.00401610
call fcn.00401330
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x40514b
Capabilities:
Parse pe header

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

Disassembly:
push esi
mov esi, edx
xor eax, eax
cmp esi, 8
jb 0x10058c0f
push edi
shr edx, 3
mov edi, dword [ecx + 4]
sub esi, 8
xor edi, dword [ecx]
add ecx, 8
xor eax, edi
dec edx
jne 0x10058bfe
pop edi
cmp esi, 4
jb 0x10058c19
xor eax, dword [ecx]
add ecx, 4
and esi, 3
cmp esi, 2
jbe 0x10058c2a
movzx edx, byte [ecx]
shl edx, 0x10
xor eax, edx
inc ecx
cmp esi, 1
jbe 0x10058c36
xor edx, edx
mov dh, byte [ecx]
xor eax, edx
inc ecx
test esi, esi
pop esi
jbe 0x10058c40
movzx ecx, byte [ecx]
xor eax, ecx
ret

Function at 0x1006500b
Capabilities:
Parse credit card information

Disassembly:
mov edx, dword [ecx + 0x3c]
cmp edx, 2
jge 0x10065024
cmp byte [ecx + 0x42], 0
mov eax, dword [esp + 4]
je 0x10065089
cmp eax, 0x3f
jb 0x10065089
jmp 0x10065078
mov eax, dword [esp + 4]
cmp eax, 0x2c
jb 0x10065089
cmp edx, 3
jl 0x1006503c
cmp eax, 0x2c
jne 0x1006503b
push 0x48
jmp 0x10065088
dec eax
cmp edx, 4
jl 0x1006504b
cmp eax, 0x2c
jne 0x1006504a
push 0x49
jmp 0x10065088
dec eax
cmp eax, 0x3a
jb 0x10065089
cmp byte [ecx + 0x14], 0
je 0x1006506a
cmp eax, 0x3a
jne 0x1006505f
push 0x44
jmp 0x10065088
cmp eax, 0x3b
jne 0x10065068
push 0x45
jmp 0x10065088
dec eax
dec eax
cmp eax, 0x3f
jb 0x10065081
cmp byte [ecx + 0x42], 0
je 0x10065081
cmp eax, 0x3f
jne 0x1006507e
push 0x46
jmp 0x10065088
dec eax
jmp 0x10065089
cmp eax, 0x44
jne 0x10065089
push 0x47
pop eax
ret 4

Function at 0x10065112
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x10065121
pop dword [ebp - 0x28]
mov eax, 0x10065121
sub dword [ebp - 0x28], eax
push 0x40
push 0x1000
push 0x4470d
push 0
mov eax, 0xdd3edfd8
sub eax, 0xcd314fb0
add eax, dword [ebp - 0x28]
call dword [eax]
mov ecx, 0x4a09
xor edx, edx
add edx, eax
mov edi, 0x7591eebe
sub edi, 0x657fd0be
add edi, dword [ebp - 0x28]
mov esi, 0x2c73a1f3
add esi, 0xc516146c
mov ebx, dword [edi]
xor dword [ebp - 0xc], 0xddec2f7a
add ebx, esi
xor dword [ebp - 0xc], edi
mov dword [edx], ebx
xor dword [ebp - 0x1c], esi
add edx, 0xeae86c25
add edx, 0x151793df
add edi, 0x1d946b64
sub edi, 0x1d946b60
loop 0x10065177
add eax, 0xa3626568
sub eax, 0xa3614a71
mov ebx, eax
add eax, 0x7d9a9942
sub eax, 0x7d9a993d
mov ecx, 0x10000000
add ecx, dword [ebp - 0x28]
call ebx
leave
ret

Function at 0x10066491
Capabilities:
Parse pe header

Disassembly:
cmp edx, 2
jb 0x100664d5
cmp byte [ecx], 0x4d
jne 0x100664d5
cmp byte [ecx + 1], 0x5a
jne 0x100664d5
cmp edx, 0x40
jb 0x100664d5
mov eax, dword [ecx + 0x3c]
cmp eax, 0x40
jb 0x100664d5
cmp eax, 0x1000
ja 0x100664d5
test al, 7
jne 0x100664d5
push esi
lea esi, [eax + 0x18]
cmp esi, edx
pop esi
ja 0x100664d5
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100664d5
cmp word [ecx + 0x14], 0x60
sbb eax, eax
inc eax
ret
xor al, al
ret
Function at 0x487be0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x30000]
push edi
jmp 0x487bfa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x487c01
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x487bf0
mov eax, 1
add ebx, ebx
jne 0x487c13
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x487c24
jne 0x487c43
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x487c43
dec eax
add ebx, ebx
jne 0x487c30
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x487c08
add ebx, ebx
jne 0x487c3f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x487c95
xor ecx, ecx
sub eax, 3
jb 0x487c5b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x487cca
sar eax, 1
mov ebp, eax
jmp 0x487c66
add ebx, ebx
jne 0x487c66
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x487c34
inc ecx
add ebx, ebx
jne 0x487c74
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x487c34
add ebx, ebx
jne 0x487c81
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x487c76
jne 0x487c92
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x487c76
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x487cb4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x487ca6
jmp 0x487bf6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x487cb4
add edi, ecx
jmp 0x487bf6
pop esi
lea edi, [esi + 0x83000]
mov ecx, 6
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x487cd6
mov eax, dword [edi]
mov bl, byte [edi + 4]
xchg ah, al
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 0x487cdb
lea edi, [esi + 0x84000]
mov eax, dword [edi]
or eax, eax
je 0x487d4c
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d2e4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8d3d8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x487d01
mov ecx, edi
jns 0x487d30
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8d3e0]
or eax, eax
je 0x487d46
mov dword [ebx], eax
add ebx, 4
jmp 0x487d1e
call dword [esi + 0x8d3dc]
mov ebp, dword [esi + 0x8d3e4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
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 0x487d80
sub esp, 0xffffff80
jmp 0x416520
Function at 0x10005a80
Capabilities:
Access the windows event log

Disassembly:
mov eax, 0x108
call fcn.10440b90
mov eax, dword [0x1072a790]
xor eax, esp
mov dword [esp + 0x104], eax
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
test eax, eax
je 0x10005ae5
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x10005ae5
mov ecx, dword [esp + 0x10c]
lea eax, [esp + 0x110]
push eax
push ecx
call fcn.10446a91
add eax, 0x40
push eax
call fcn.10456b57
add esp, 0xc
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.10436e26
add esp, 0x108
ret
mov eax, dword [esp + 0x10c]
lea edx, [esp + 0x110]
push edx
push eax
lea ecx, [esp + 0xc]
push 0xff
push ecx
call fcn.104396e2
add esp, 0x10
mov byte [esp + 0x103], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x10005b74
call fcn.10005940
test eax, eax
jle 0x10005b74
push esi
push str.OPENSSL
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
push 0
mov esi, eax
lea eax, [esp + 8]
push eax
push 0
push 1
push 0
push 0
push 0
push 1
lea edx, [esp + 0x28]
push esi
mov dword [esp + 0x28], edx
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.10436e26
add esp, 0x108
ret
push 0x10
push str.OpenSSL:_FATAL
lea ecx, [esp + 0xc]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.10436e26
add esp, 0x108
ret
Function at 0x100361a7
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xa0
call fcn.10440b90
mov eax, dword [0x1072a790]
xor eax, esp
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xa8]
push ebp
mov ebp, dword [esp + 0xa8]
push esi
mov esi, ecx
test eax, eax
je 0x1003630a
push ebx
dec eax
push edi
lea edi, [ebp + 0xc]
shr eax, 3
add ebp, 0x14
inc eax
mov dword [esp + 0x18], eax
movzx eax, byte [esi + 1]
movzx ebx, byte [esi]
movzx ecx, byte [esi + 2]
movzx edx, byte [esi + 3]
shl eax, 8
or ebx, eax
movzx eax, byte [esi + 4]
shl ecx, 0x10
or ebx, ecx
movzx ecx, byte [esi + 5]
shl edx, 0x18
or ebx, edx
movzx edx, byte [esi + 6]
shl ecx, 8
or eax, ecx
movzx ecx, byte [esi + 7]
shl edx, 0x10
or eax, edx
mov dl, byte [edi]
shl ecx, 0x18
or eax, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], eax
mov al, byte [ebp]
and dl, 0xdf
and al, 0xbf
or dl, 0x40
or al, 0x20
push edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
add esi, 8
mov byte [edi], dl
mov byte [ebp], al
call fcn.10014340
lea ecx, [esp + 0x30]
push ecx
push edi
call fcn.100143c0
push 1
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x38]
push eax
call fcn.10012a40
push ebp
call fcn.10014340
lea ecx, [esp + 0x48]
push ecx
push ebp
call fcn.100143c0
push 1
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x48]
push eax
call fcn.10012a40
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
xor eax, dword [esp + 0x40]
mov edx, dword [esp + 0x58]
xor dword [esp + 0x40], edx
xor ecx, ebx
xor ebx, dword [esp + 0x54]
mov dword [esp + 0x44], eax
mov eax, edi
mov byte [eax], bl
mov edx, ebx
shr edx, 8
mov byte [eax + 1], dl
mov edx, ebx
shr edx, 0x10
mov byte [eax + 2], dl
mov edx, dword [esp + 0x44]
shr ebx, 0x18
mov byte [eax + 3], bl
mov ebx, edx
add esp, 0x30
mov byte [eax + 4], dl
shr ebx, 8
mov byte [eax + 5], bl
mov ebx, edx
shr edx, 0x18
shr ebx, 0x10
mov byte [eax + 6], bl
mov byte [eax + 7], dl
mov eax, ebp
mov byte [eax], cl
mov edx, ecx
shr edx, 8
mov byte [eax + 1], dl
mov edx, ecx
shr edx, 0x10
mov byte [eax + 2], dl
shr ecx, 0x18
mov byte [eax + 3], cl
mov ecx, dword [esp + 0x10]
mov edx, ecx
shr edx, 8
mov byte [eax + 4], cl
mov byte [eax + 5], dl
mov edx, ecx
shr edx, 0x10
shr ecx, 0x18
dec dword [esp + 0x18]
mov byte [eax + 6], dl
mov byte [eax + 7], cl
jne 0x100361c3
pop edi
pop ebx
mov ecx, dword [esp + 0xa4]
pop esi
pop ebp
xor ecx, esp
call fcn.10436e26
add esp, 0xa0
ret