joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40137c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
xor eax, eax
mov ebp, esp
push ebx
sub esp, 0x34
cmp byte [eax + 0x4129d4], 0
je 0x4013a5
inc eax
cmp eax, 0x1d06
jne 0x401385
mov eax, dword [0x411dac]
or eax, 0xa4ebec99
mov dword [0x41225c], eax
mov eax, dword [0x41225c]
mov dword [esp + 4], 0x413300
mov dword [esp], 0x4129d4
mov edx, eax
and eax, 0xb4763ea8
xor edx, 0xa99ef25d
mov dword [0x41225c], eax
mov dword [0x411dac], edx
call fcn.0040c2ac
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x10], ecx
mov ebx, dword fs:[0x30]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x18]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x14]
mov dword [esp + 0xc], 4
mov dword [esp + 8], eax
mov dword [esp + 4], 0x1e
mov dword [esp], 0xffffffff
mov dword [ebp - 0x14], ecx
call fcn.00401083
test eax, eax
js 0x40141e
cmp dword [ebp - 0x14], 0
jne 0x40148a
xor edx, edx
lea eax, [ebp - 0x10]
mov dword [esp + 0xc], 4
mov dword [esp + 0x10], edx
mov dword [esp + 8], eax
mov dword [esp + 4], 0x1f
mov dword [esp], 0xffffffff
call fcn.00401083
or eax, dword [ebp - 0x10]
je 0x40148a
lea eax, [ebp - 0xc]
mov dword [esp], 0xffffffff
mov dword [esp + 4], eax
mov eax, dword [0x410be0]
call dword [eax + 0x3c]
push eax
push eax
cmp byte [ebx + 2], 1
je 0x40148a
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x401491
mov eax, dword [0x411dac]
sub eax, 0x42a29b54
mov dword [0x411dac], eax
or eax, 0x65d93a6a
mov dword [0x41225c], eax
mov eax, 0x2500
jmp 0x4014db
cmp byte [eax + str.mn_MN], 0
je 0x4014b1
inc eax
cmp eax, 0x1cf1
jne 0x401491
mov eax, dword [0x411dac]
xor eax, 0xe18df8d6
mov dword [0x41225c], eax
mov eax, dword [0x41225c]
mov dword [esp + 4], str.SOFTWAREMicrosoftWindows_Search
mov dword [esp], str.Fbad_allocation
sub eax, 0x29064bf9
or eax, 0xa3cfa85
mov dword [0x411dac], eax
call fcn.0040e8bc
xor eax, eax
mov ebx, dword [ebp - 4]
leave
ret
Function at 0x409ef8
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
xor ebx, ebx
sub esp, 0x13c
mov edx, str.threadId
mov ecx, 0x8cd
movzx eax, word [edx]
add edx, 2
test ax, ax
je 0x409f39
add ecx, eax
cmp ecx, 0xe5c
jbe 0x409f10
mov eax, dword [0x4121c0]
or eax, 0x2d0b99ef
mov dword [0x411df0], eax
call fcn.0040d004
mov esi, dword [0x411df0]
mov byte [ebp + ebx - 0x118], bl
inc ebx
imul eax, esi, 0x49ed0d11
add eax, 0x2c00606c
mov dword [0x412248], eax
imul eax, esi, 0xee3fa73c
mov dword [0x4121c0], eax
cmp ebx, 0x100
jne 0x409f06
mov eax, dword [0x412154]
xor edi, edi
mov dword [ebp - 0x11c], eax
add eax, 0x23371bed
mov dword [0x412154], eax
call fcn.0040d004
mov dword [ebp - 0x120], esi
xor ecx, ecx
mov eax, dword [ebp - 0x120]
xor edx, edx
mov bl, byte [ebp + ecx - 0x118]
and dword [ebp - 0x120], 0xf986182a
mov dword [ebp - 0x124], eax
mov eax, ecx
div dword [ebp + 0xc]
mov eax, dword [ebp + 8]
movzx eax, byte [eax + edx]
movzx edx, bl
add eax, edx
add eax, edi
movzx edi, al
mov dl, byte [ebp + edi - 0x118]
mov byte [ebp + ecx - 0x118], dl
inc ecx
mov byte [ebp + edi - 0x118], bl
cmp ecx, 0x100
jne 0x409f8e
mov eax, dword [ebp - 0x11c]
mov byte [ebp - 0x19], dl
imul esi, esi, 0x11577a60
mov edx, dword [ebp - 0x124]
mov dword [esp + 0x10], 0x412744
add eax, 0x5a00e464
mov dword [esp + 0xc], 0x41318c
mov dword [esp], eax
and edx, 0x38860022
mov dword [esp + 8], str.threadId
mov dword [esp + 4], str.nso_ZA
mov dword [0x411df0], edx
xor edx, 0xd713dd30
mov byte [ebp + edi - 0x118], bl
xor ebx, ebx
mov dword [0x412164], eax
mov dword [0x4121c0], esi
xor esi, esi
mov dword [ebp - 0x11c], edx
mov dword [0x412248], edx
call fcn.0040d5a0
mov edi, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
add eax, edi
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], edi
je 0x40a101
inc ebx
movzx ebx, bl
mov al, byte [ebp + ebx - 0x118]
lea edx, [eax + esi]
mov byte [ebp - 0x120], al
mov eax, dword [0x412154]
movzx esi, dl
lea ecx, [eax + 0x796bf0b7]
add eax, 0x7fd528be
mov dword [0x412154], eax
mov eax, dword [ebp - 0x11c]
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [esp], eax
mov dword [0x411df0], ecx
call fcn.0040cb4c
mov al, byte [ebp + esi - 0x118]
mov byte [ebp + ebx - 0x118], al
mov al, byte [ebp - 0x120]
mov byte [ebp + esi - 0x118], al
add al, byte [ebp + ebx - 0x118]
movzx eax, al
mov cl, byte [ebp + eax - 0x118]
mov eax, dword [0x4121c0]
xor byte [edi], cl
inc edi
sub eax, 0x79da3a8d
or eax, 0xef9b4175
mov dword [0x4121c0], eax
jmp 0x40a065
add esp, 0x13c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x4022c0
Capabilities:
Check if file exists
Get file attributes
Get file size
Read file on windows

Disassembly:
sub esp, 0x110
lea eax, [esp + 0xc]
push ebx
push esi
push edi
push str.SYSTEMCurrentControlSetServices_
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x18]
push str.Nationalgnf
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x10]
lea eax, [esp + 0x18]
push edx
push 0xf003f
push 0
push eax
push getpeername
call dword [0x408de8]
test eax, eax
je 0x402315
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x110
ret
lea ecx, [esp + 0x18]
push 0x104
push ecx
mov dword [esp + 0x1c], 0x104
call dword [sym.imp.KERNEL32.dll_RtlZeroMemory]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
lea eax, [esp + 0x18]
push edx
push eax
push 0
push 0
push str.ImagePath
push ecx
call dword [0x408de4]
test eax, eax
je 0x402366
mov edx, dword [esp + 0x10]
push edx
call dword [0x408de0]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x110
ret
mov eax, dword [esp + 0x10]
push eax
call dword [0x408de0]
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x40238d
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x110
ret
push 0
push 0
push 3
push 0
push 1
lea edx, [esp + 0x2c]
push closesocket
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4023ba
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x110
ret
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
test eax, eax
mov dword [esp + 0xc], eax
jne 0x4023de
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x110
ret
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
jne 0x402400
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x110
ret
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0xc]
push 0
push eax
push ecx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x402432
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x110
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x120]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
mov esi, eax
test esi, esi
jne 0x402462
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x110
ret
mov eax, dword [esp + 0xc]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_UpdateResourceA]
push eax
push ebx
push 0
push 0x66
push 0xa
push esi
call ebp
mov edi, eax
test edi, edi
je 0x40249b
push str.Nationalgnf
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push str.Nationalgnf
push 0
push 0x65
push 0xa
push esi
call ebp
mov edi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_EndUpdateResourceA]
pop ebp
test eax, eax
push ebx
jne 0x4024bc
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x110
ret
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0x110
ret
Function at 0x469e25
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
test esi, esi
jle 0x469e51
push ebx
mov ebx, dword [ebp + 8]
movzx eax, byte [ebx]
mov ecx, edi
shl ecx, 3
movzx edx, byte [eax + 0x49b3b0]
xor edx, ecx
xor edi, edx
inc ebx
dec esi
test esi, esi
jg 0x469e37
pop ebx
mov eax, edi
pop edi
pop esi
pop ebp
ret

Function at 0x48851e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00488394

Function at 0x419760
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40f015
lea edi, [esi - 0xe015]
push edi
or ebp, 0xffffffff
jmp 0x419782
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x419789
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x419778
nop
push 1
nop
pop eax
add ebx, ebx
jne 0x41979b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x419790
jne 0x4197ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419790
sub ecx, ecx
sub eax, 3
jb 0x4197c0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x419832
mov ebp, eax
add ebx, ebx
jne 0x4197cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4197d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4197fc
inc ecx
add ebx, ebx
jne 0x4197e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4197dd
jne 0x4197f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4197dd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41981c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41980d
jmp 0x41977e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41981c
add edi, ecx
jmp 0x41977e
pop esi
push esi
pop edi
mov ecx, 0x2b3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41983a
cmp byte [edi], 5
jne 0x41983a
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 0x41983f
lea edi, [esi + 0x17000]
mov eax, dword [edi]
or eax, eax
je 0x4198b7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x19000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1908c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41986c
push edi
pop ecx
jns 0x41989b
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 + 0x19090]
or eax, eax
je 0x4198b1
mov dword [ebx], eax
add ebx, 4
jmp 0x419889
call dword [esi + 0x190a0]
mov ebp, dword [esi + 0x19094]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x4198eb
sub esp, 0xffffff80
jmp 0x404c20
Function at 0x407eec
Capabilities:
Encode data using xor

Disassembly:
dec esi
nop
nop
nop
push ebp
inc edx
in al, dx
sub esp, 0xffffff94
cmp dword [ebp + 0x1b], 0x4f
jl 0x407f56
mov dword [ebp + 1], 0x1e4e
fld qword [ecx]
or ah, bl
sbb eax, 0x40cc30
mov ecx, dword [ebp + 0x18]
push ebx
mov bl, 0x5d
xor ah, cl
inc eax
add byte [ebx - 0x4cace7b3], cl
pop ebp
and byte [esi], cl
xor esi, esi
push edi
fnstsw ax
mov al, byte [0x3182fc75]
mul dh
add eax, 0xe7afb8b
imul eax, dword [ebp + 8], 0xffffffd9
loopne 0x407f08
pop ebp
or cl, bh
add dword [ecx], eax
adc byte [eax], al
stosd dword es:[edi], eax
mov ecx, esp
outsd dx, dword [esi]
mov ecx, dword [edi - 0x13bac5ff]
test dword [ecx - 0x63], edx
sbb al, 0x15
sbb cl, al
je 0x407f45
fstp qword [ebp + 8]
test dword [ebp - 0x14], 0xc2301ddc
xor dl, al
inc eax
add cl, dl
les ecx, [edi + ebx*8]
loopne 0x407f4d
test ah, 0x8c
jnp 0x407fcd
les ecx, [ebx + edi*2 + 0x13738d72]
lea esi, [ebx + 0x13]
cmp esi, ebx
sti
pop eax
fld qword [ebp - 0x14]
fcomp qword [0xd140c28a]
fistp word [eax + 0x7b44c4f6]
dec eax
rol byte [ebp - 0x14], 0xdc
or eax, 0x27c310
lea eax, [ebp - 0x14]
push eax
xchg byte [edi + 8], al
fstp qword [esp]
call dword [0xecad18]
fld qword [esi - 0xbba220c]
fadd qword [0x40c308]
mov byte [0x61c00cc4], al
cli
clc
mov es, word [eax]
call 0xffb580
mov ebx, dword [ebp + 0x20]
mov cl, 0x70
sub cl, al
mov byte [esi], cl
mov ecx, dword [ebp - 4]
inc ecx
cmp esi, ebx
xor ecx, dword [ebp - 4]
ja 0x407f62
lea eax, [ebx + 0x50]
cmp ebx, dword [ebx + esi*2 + 0x5c]
mov dl, byte [esi]
mov byte [edi], dl
inc edi
sar byte [eax], 0x94
jb 0x407fc1
jmp 0x40801d
out 0x45, eax
invalid
mov eax, dword [ebp + 0x5c]
lea esi, [ebx]
mov esp, dword [edx]
sbb al, 0x85
pushal
jne 0x408071
fnstenv [ebp - 4]
mov ecx, dword [ebp + 0x14]
invalid
neg eax
adc al, byte [ecx]
mov byte [ebx], 0
mov esi, 0x8b5b5e13
in eax, 0x5d
ret
lea ecx, [edi + 0x686cc250]
xor ah, bl
ret
add ah, dh
add esp, 0xc
call 0x1340e980
mov ecx, dword [ebp + 0x14]
sti
pop ebp
and byte [eax + esi], al
mov byte [edi], al
inc edi
cmp edi, esi
jbe 0x408053
fnstsw word [eax + 0x3b50e08d]
bnd jb 0x408038
pop edi
mov byte [ebx + 0x4f], 0
cmp eax, 0x2b5b5ec3
in eax, 0x5d
ret
Function at 0x405d6a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x405d79
pop dword [ebp - 0x50]
mov eax, 0x405d79
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0xc8068365
sub dword [ebp - 0x60], 0x79b43e1a
mov dword [ebp - 0x5c], 0xfb23a76e
add dword [ebp - 0x5c], 0x370fa4d7
mov dword [ebp - 0x58], 0x5faf6fba
sub dword [ebp - 0x58], 0x13632b8c
mov dword [ebp - 0x54], 0x2d4ae5a4
add dword [ebp - 0x54], 0xd2b51a5c
lea eax, [ebp - 0x60]
push eax
mov eax, 0xd30b865
sub eax, 0xcf04849
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0xada75d41
sub dword [ebp - 0x60], 0x3934f3eb
mov dword [ebp - 0x5c], 0x86dee8d4
sub dword [ebp - 0x5c], 0x4572875f
mov dword [ebp - 0x58], 0xe180cf90
sub dword [ebp - 0x58], 0x7e116324
mov dword [ebp - 0x54], 0x42c2c411
sub dword [ebp - 0x54], 0x42c2c411
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x386d3
push 0
call eax
mov ecx, 0xf8a70216
add ecx, 0x75948c3
mov edx, eax
mov ebx, 0x40c800
add ebx, dword [ebp - 0x50]
mov edi, 0x8099c459
sub edi, 0xd3ab944
xor dword [ebp - 0x14], 0x7e3a987e
mov esi, dword [ebx]
add esi, edi
sub dword [ebp - 0x40], edi
mov dword [edx], esi
xor dword [ebp - 0x20], 0x9f5bd458
add edx, 4
add ebx, 0x459813bd
add ebx, 0xba67ec47
loop 0x405e8b
add eax, 0x11e37
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x497cd0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x73000]
push edi
or ebp, 0xffffffff
jmp 0x497cf2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x497cf9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x497ce8
mov eax, 1
add ebx, ebx
jne 0x497d0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x497d1c
jne 0x497d3b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x497d3b
dec eax
add ebx, ebx
jne 0x497d28
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x497d00
add ebx, ebx
jne 0x497d37
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x497d8d
xor ecx, ecx
sub eax, 3
jb 0x497d53
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x497dc2
sar eax, 1
mov ebp, eax
jmp 0x497d5e
add ebx, ebx
jne 0x497d5e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x497d2c
inc ecx
add ebx, ebx
jne 0x497d6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x497d2c
add ebx, ebx
jne 0x497d79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x497d6e
jne 0x497d8a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x497d6e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x497dac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x497d9e
jmp 0x497cee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x497dac
add edi, ecx
jmp 0x497cee
pop esi
mov edi, esi
mov ecx, 0x38e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x497dca
cmp byte [edi], 0xa
jne 0x497dca
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 0x497dcf
lea edi, [esi + 0x95000]
mov eax, dword [edi]
or eax, eax
je 0x497e3e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x9c9d0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x9ca14]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x497dfc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x9ca1c]
or eax, eax
je 0x497e38
mov dword [ebx], eax
add ebx, 4
jmp 0x497e19
call dword [esi + 0x9ca18]
mov ebp, dword [esi + 0x9ca20]
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 0x497e72
sub esp, 0xffffff80
jmp 0x406fef
Function at 0x42c210
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4d932b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004cd4ad
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x42c292
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004caefb
mov eax, dword [eax]
push 0x507ce4
push eax
call fcn.004bc674
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004cd738
test bl, bl
je 0x42c292
push 0x507ce4
lea ecx, [esp + 0xc]
call fcn.004cdac8
push 0x507cf0
lea ecx, [esp + 0xc]
call fcn.004cdac8
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x42c2ce
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004cd738
jmp 0x42c399
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x42c352
lea edx, [esp + 0x7c]
push 0x507cec
push edx
call fcn.004bc674
add esp, 8
test eax, eax
je 0x42c352
lea eax, [esp + 0x7c]
push 0x507ce8
push eax
call fcn.004bc674
add esp, 8
test eax, eax
je 0x42c352
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x42c2e2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004cd738
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x42cbb0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x42cc12
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x42cc20
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4d93ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x519118]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x42cd58
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x42cc86
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004cd738
xor eax, eax
jmp 0x42cdcf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004cd875
push esi
lea ecx, [esp + 0xc]
call fcn.004cdb04
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x507d24
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x42cdad
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0x507d1c
push accept
call fcn.0042cbb0
test eax, eax
jne 0x42cdad
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push 0x507d08
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push accept
mov ecx, edi
call fcn.0042cbb0
test eax, eax
jne 0x42cdad
lea eax, [esp + 0x14]
push 0x507d00
push eax
call fcn.004bd7c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x42cd8c
lea ecx, [esp + 0x14]
push 0x507cfc
push ecx
call fcn.004bd740
mov esi, eax
add esp, 8
test esi, esi
jne 0x42cd8c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x42cd8f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004cd825
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x42cc9e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004cd738
xor eax, eax
jmp 0x42cdcf
mov byte [esi], 0
push 0x507cf8
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.004cd738
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4