joyce8/EMBER2024-capa huggingface dataset:
Function at 0x443513
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x4435b0
push ebx
push esi
call fcn.004434dc
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00443470
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x44355d
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4435af
push edi
push eax
call fcn.00444130
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x44357d
call fcn.00441fd1
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4435ae
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00443470
add esp, 0x20
test eax, eax
jne 0x44359c
push edi
call fcn.00441fd1
jmp 0x4435a4
push ebx
call fcn.00441fd1
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x4448ad
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0xc45750
push 0xc45748
push str.FlsAlloc
push 0x1f
call fcn.0044476c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4448e1
push dword [ebp + 8]
mov ecx, esi
call dword [0x44c204]
call esi
jmp 0x4448e7
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x44492b
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0xc45760
push 0xc45758
push str.FlsGetValue
push 0x21
call fcn.0044476c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x444962
push dword [ebp + 8]
mov ecx, esi
call dword [0x44c204]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x44496a
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0xc45768
push 0xc45760
push str.FlsSetValue
push 0x22
call fcn.0044476c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4449a4
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x44c204]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x44af50
Capabilities:
Allocate thread local storage

Disassembly:
push ebx
push edi
push esi
sub esp, 0x20
cmp dword [ecx + 4], 0
mov esi, ecx
je 0x44afc1
lea ebx, [esi + 0xc]
mov dword [esp + 4], 0
lea eax, [esp + 4]
push 0
push eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_InitOnceBeginInitialize]
cmp eax, 1
mov dword [esp], eax
jne 0x44affc
cmp dword [esp + 4], 0
je 0x44afe3
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x44b011
mov edi, eax
inc eax
mov dword [esi], eax
mov eax, dword [0xc4c9dc]
nop dword [eax]
mov dword [esi + 8], eax
lock cmpxchg dword [0xc4c9dc], esi
jne 0x44afa0
mov byte [0xc4c9d8], 1
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_InitOnceComplete]
jmp 0x44aff3
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [esp], eax
je 0x44b054
mov ecx, eax
xor eax, eax
inc ecx
lock cmpxchg dword [esi], ecx
jne 0x44afe7
mov edi, dword [esp]
jmp 0x44aff3
mov edi, dword [esi]
jmp 0x44aff2
mov edi, eax
push dword [esp]
call dword [sym.imp.KERNEL32.dll_TlsFree]
dec edi
mov eax, edi
add esp, 0x20
pop esi
pop edi
pop ebx
ret
mov ecx, esp
lea edx, [esp + 8]
mov dword [esp + 8], 0
call fcn.0044b090
ud2
push 0
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_InitOnceComplete]
lea ecx, [esp + 8]
mov edx, 0xc43194
mov dword [esp + 8], 0xc4315c
mov dword [esp + 0xc], 1
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], str._rustc_e5cfc55477eceed1317a02189fdf77a4a98f2124librarycore_src_sliceiter.rs
mov dword [esp + 0x14], 0
call fcn.0044a270
ud2
mov ecx, esp
lea edx, [esp + 8]
mov dword [esp + 8], 0xc4315c
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], str._rustc_e5cfc55477eceed1317a02189fdf77a4a98f2124librarycore_src_sliceiter.rs
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.0044b0d0
ud2
Function at 0x4078cd
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
push ebp
push esi
xor esi, esi
push edi
mov edi, ecx
mov eax, esi
movd xmm0, eax
pshufd xmm0, xmm0, 0
paddd xmm0, xmmword [0x6fa7d290]
movups xmmword [edi + eax*4], xmm0
add eax, 4
cmp eax, 0x100
jl 0x4078d7
mov ebp, dword [esp + 0x14]
mov ebx, esi
xor edx, edx
mov eax, ebx
div dword [esp + 0x18]
movzx eax, byte [edx + ebp]
add eax, dword [edi + ebx*4]
add esi, eax
and esi, 0x800000ff
jns 0x40791d
dec esi
or esi, 0xffffff00
inc esi
mov cl, byte [edi + ebx*4]
mov eax, dword [edi + esi*4]
mov dword [edi + ebx*4], eax
inc ebx
movzx eax, cl
mov dword [edi + esi*4], eax
cmp ebx, 0x100
jl 0x4078fc
pop edi
pop esi
pop ebp
pop ebx
ret 8

Function at 0x40793c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x400
lea eax, [esp]
push ebx
push esi
push edi
push 0x400
push ecx
xor esi, esi
push eax
mov edi, esi
call fcn.00437450
mov edx, dword [esp + 0x420]
add esp, 0xc
mov ebx, esi
add edx, 1
je 0x4079cc
push ebp
mov ebp, dword [esp + 0x414]
inc esi
and esi, 0x800000ff
jns 0x407982
dec esi
or esi, 0xffffff00
inc esi
mov eax, dword [esp + esi*4 + 0x10]
add edi, eax
and edi, 0x800000ff
jns 0x407998
dec edi
or edi, 0xffffff00
inc edi
mov cl, al
mov eax, dword [esp + edi*4 + 0x10]
mov dword [esp + esi*4 + 0x10], eax
movzx eax, cl
mov dword [esp + edi*4 + 0x10], eax
mov ecx, dword [esp + esi*4 + 0x10]
add ecx, eax
and ecx, 0x800000ff
jns 0x4079bf
dec ecx
or ecx, 0xffffff00
inc ecx
mov al, byte [esp + ecx*4 + 0x10]
xor byte [ebx + ebp], al
inc ebx
cmp ebx, edx
jb 0x407971
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x400
ret 8
Function at 0x401e40
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
in al, dx
js 0x401e9d
xor esi, dword [ebp + 0xc]
mov cl, bh
inc ebp
daa
mov bh, 0x78

Function at 0x401e50
Capabilities:
Terminate process

Disassembly:
push eax
push esi
call 0x85403be0
mov ebx, dword [edi - 0x37ea74f8]
rcl dl, 0
push eax
add edx, 0x40
push str._s:__s___d__n
push edx
add eax, 0x40c18070
add byte [ecx + 0x224102ac], ah
add esp, 0xffffffeb
test eax, eax
je 0x401e8c
in al, 0x68
mov dl, dl
inc eax
add bh, bh
or ecx, dword [ecx + eax*8]
inc eax
add byte [ebx - 0xa9a73c], al
adc eax, sym.imp.MSVCRT.dll_exit
push esi
call dword [sym.imp.MSVCRT.dll_exit]
pop esi
out 0x90, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x4075b2
Capabilities:
Encode data using xor

Disassembly:
call 0x407480
xor ecx, ecx
sub cx, 0xff67
call 0x4075b2
rcr byte [esi - 0x7f], 0x76
push cs
xor dword [0xee836627], ebp
cld
xor dword [esi + 0xe], 0x66272d31
sub esi, 0xfffffffc
loop 0x4075b5
arpl word [eax + esi*2 + 0x36], di
jmp 0x4075b3
Function at 0x406200
Capabilities:
Encode data using xor

Disassembly:
xchg esi, eax
cmp cl, byte [eax + 0x2014]
dec edx
mov esi, esi
adc al, 0x20
mov dword [0x180e3b00], eax
xor byte [eax], al
add byte [esi - 0x4c], bh
mov dword [eax + 0x4018], edi
mov edx, dword [esi + edi*2 - 0x7636be5d]
dec eax
add al, 0x33
xchg dword [esi + 0x31c25d], esp
pop edi
adc al, 0xe9
or dword [eax], eax
add byte [eax], al
pop ebx
pop ebp
pop eax
out dx, al
add byte [eax - 0x6c6fdc70], dl
nop
nop
nop
nop
nop
nop
push ebp
mov ebp, esp
push esi
in al, dx
lds ecx, [ebx + 0x56530c45]
push edi
sub edi, 4
add dword [edi], ecx
test dword [edi + 1], esi
add byte [eax], al
mov ebx, dword [eax + 0xc]
mov eax, dword [ebp + 8]
and cl, cl
mov edx, dword [eax + 0xf]
mov edx, dword [edx + 4]
test edx, edx
mov dword [ebp - 8], edi
jbe 0x406266
ror dword [ecx + 0x34], 0x30
add dword [eax], 0xffffff83
xor ecx, dword [ebx + edi]
push ds
je 0x40624e
jecxz 0x4061bd
invalid
mov esi, dword [ecx]
inc ecx
test eax, 0xca3bff72
mov dword [eax + 4], esi
jae 0x4062aa
lea ebx, [ebx + ebx*4]
call 0xe401eb9f
add al, cl
out 2, eax
add ch, byte [ebx]
ror dword [ecx - 0x1b76f783], 1
Function at 0x406d90
Capabilities:
Encode data using xor

Disassembly:
or byte [eax], al
nop
nop
nop
xor al, 0x90
sahf
nop
nop
nop
nop
nop
nop
nop
nop
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [esp + ecx + 0x57]
mov edi, dword [ebp + 8]
mov edi, dword [esi + 0x10502520]
push esi
push edi
push ecx
push edx
call 0xa4f7f190
add esp, 0x10
test eax, eax
jne 0x406dbf
pop edi
mov eax, 0x1c
pop esi
pop ebp
ret 0xc
mov byte [edi + esi - 1], 0
pop edi
xor eax, eax
pop esi
pop ebp
dec edx
or al, 0
in al, 0x90
nop
nop
push ebp
mov ah, 0xec
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov ecx, dword [0x7d8b5708]
adc byte [esi - 0x57], ah
dec dword [ecx - 0x7699efa2]
test ax, 0x89ff
pop esi
adc byte [esi - 0x77], ah
test eax, 0x105e89ff
mov word [ebx], cx
sub byte [edx + edi*2 + 0x57], dh
or ebp, dword [eax]
je 0x406e65
push edi
and al, 0x15
test al, 0xc1
inc eax
add byte [esi - 0x77], ah
inc esi
sub dh, byte [ebx - 0x77]
pop ebp
xor al, 0x83
sti
add dh, byte [ebp + 0x18]
mov eax, 0x13000010
mov dword [esi + 0x18], 0xfc
mov dword [esi], edi
adc al, 0xf2
inc esi
pushfd
lea eax, [edx + 0x2046962c]
pop edi
pop esi
pop ebx
jle 0x406ddf
nop
nop
jbe 0x406e76
mov ebp, esp
in al, dx
out dx, al
inc ebp
xchg dword [ebx + 0x5572e04d], ecx
adc byte [ebx - 0x75], dl
pop ebp
adc al, 0x56
mov dword [eax], 0x50000000
push edi
mov dword [ecx], 0xd60023
mov edi, ebx
or ecx, 0xffffffff
xor ecx, dword [ecx + esi*8 - 0x39]
imul eax, dword [eax], 0xb2aef200
ror dword [ecx - 0x73], 1
je 0x406de0
invalid
push 4
aad 0xf
push ecx
dec ecx
fld st(1)
inc eax
add byte [ebx + 0x11ebbec4], al
mov eax, dword [0x40f878]
invalid
add esp, 0xffffffbe
jmp 0x406e86
js 0x406e70
inc eax
add dh, bh
ror byte [edx - 0x75f774e9], cl
mov dh, 0x51
and eax, 4
test dword [ecx + 0x74], esi
pop es
dec edi
cmp edi, ebx
jae 0x406eed
jnp 0x406e22
cmp edi, ebx
jae 0x406ea0
push ebx
invalid
clc
add dword [ebx - 0x4b], edi
invalid
lds edx, [eax]
lea esi, [edi - 0x15]
dec esp
mov dword [ecx], eax
sub esi, ebx
mov eax, dword [ebp + 0x53]
inc esi
mov ebx, esi
lea edx, [ebx + 1]
push edx
push eax
inc ebx
pop ecx
invalid
Function at 0x40b840
Capabilities:
Encode data using xor

Disassembly:
push ecx
cmp eax, 0x1000
lea ecx, [esp + 8]
jb 0x40b860
sbb dword [ecx + 0x1000], 0x10002d
add byte [ebp + 0x10003d01], cl
add byte [eax], al
cdq
add byte [eax], dl
add byte [eax], al
sub eax, 0x1000
lea eax, [ecx]
cmp eax, 0x1000
cmp ebp, esp
sub ecx, eax
mov ebx, dword [ebp + eax*4 - 0x741e5cff]
loope 0x40b7f4
or byte [ebx - 0x6fafb6c0], cl
add dword [eax + 0x15609bf9], 0x6f
std
and byte [ebx + 6], dh
shld edx, eax, cl
shl eax, cl
mov edx, eax
fcmovb st(0), st(0)
xor byte [ecx + 0x1f], 0x27
loop 0x40b84d
xor edi, dword [ebx + 0x33]
rol bl, cl
xor al, 0x53
push esi
push eax
inc esp
and al, 0x18
or eax, eax
jne 0x40b8b2
mov ecx, dword [eax + ebp*8 + 0x2a]
mov esi, dword [esp - 0x82d4059]
int1
mov ebx, ebx
mov eax, dword [esp + 0xc]
div ecx
mov esi, dword [ebx + ebp*8]
inc ecx
mov ecx, eax
mov ecx, dword [esi]
and al, 0x14
mov edx, dword [esp + 0x63]
dec esp
daa
and bl, al
shr ecx, 1
rcl dword [edi]
sar dword [ebp - 0x2f], 1
fmul dword [ebx]
leave
jne 0x40b8c0
idiv dword [ebp - 0x3b]
lock neg dword [esi - 0x37dc05dc]
mov eax, dword [edi + ebx - 0x21]
mul esi
add edx, ecx
jb 0x40b8ee
retf
dec esi
xor edx, edx
mov eax, esi
pop esi
pop ebx
mov bh, 0x10
add ah, cl
int3
Function at 0x4013c0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x414fb0
push esi
push edi
mov edi, dword [esp + 0x10]
xor esi, esi
test edi, edi
je 0x41515a
push ebx
mov ebx, dword [esp + 0x10]
nop word [eax + eax]
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 4
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xb7
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
xor byte [esi + ebx], 0x68
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 6
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x4d
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
add esp, 0x44
push eax
call fcn.004013a7
add byte [esi + ebx], 0x9e
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x30
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x2f
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x77
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x78
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xf3
add esp, 0x40
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x28
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
xor byte [esi + ebx], 0x3b
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xa9
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x9c
add esp, 0x30
inc esi
cmp esi, edi
jb 0x414fd0
pop ebx
pop edi
pop esi
ret

Function at 0x4035da
Capabilities:
Terminate process

Disassembly:
jmp 0x453329
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x45333a
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00405920
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x40370b
Capabilities:
Query environment variable

Disassembly:
jmp 0x49c7e2
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x49c7f3
pop esi
ret
push ebx
push edi
push esi
call fcn.0049c6c9
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00403fe9
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x49c81b
push ebx
push esi
push edi
call fcn.00405713
add esp, 0xc
push 0
call fcn.00406262
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
Function at 0x409130
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.qmpJQplM
lea edi, [esi - 0x7000]
push edi
or ebp, 0xffffffff
jmp 0x409152
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x409159
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x409148
mov eax, 1
add ebx, ebx
jne 0x40916b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x409160
jne 0x40917c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x409160
xor ecx, ecx
sub eax, 3
jb 0x409190
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x409202
mov ebp, eax
add ebx, ebx
jne 0x40919b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4091a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4091cc
inc ecx
add ebx, ebx
jne 0x4091b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4091ad
jne 0x4091c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4091ad
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4091ec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4091dd
jmp 0x40914e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4091ec
add edi, ecx
jmp 0x40914e
pop esi
mov edi, esi
mov ecx, 5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40920a
cmp byte [edi], 0
jne 0x40920a
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 0x40920f
lea edi, [esi + 0x7000]
mov eax, dword [edi]
or eax, eax
je 0x40927e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xa10c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xa164]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40923c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xa16c]
or eax, eax
je 0x409278
mov dword [ebx], eax
add ebx, 4
jmp 0x409259
call dword [esi + 0xa168]
mov ebp, dword [esi + 0xa170]
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 0x4092b2
sub esp, 0xffffff80
jmp 0x40124f

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x407ef8
nop
mov ecx, 0x1e6c4561
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x42e04e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x42e024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x4b871076
nop
nop
nop
test eax, eax
nop
je 0x42e084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x42e06c
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x70e370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x70e38e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0x737074
push ecx
mov edi, eax
call fcn.00722198
mov esi, eax
add esp, 8
test esi, esi
jne 0x70e3cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.0072202e
push esi
call fcn.00721fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x711850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0x7118ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0x73c720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x7118ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.007221e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0x7118ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x73c720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x71192a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.00723082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x711957
mov word [eax], si
add eax, 2
push eax
call fcn.00723030
add esp, 4
jmp 0x711959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0x7118ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x7118b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0x711ff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x712080
Capabilities:
Get common file path

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0x7120c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0x737458
push ecx
call fcn.007221e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.007221e1
add esp, 0x10
jmp 0x7120d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.0072220b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.00721dff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.00712050
mov eax, dword [0x73c728]
xor esi, esi
add esp, 0x14
lea edx, [esp + 0x20]
cmp eax, esi
mov dword [esp + 8], 0x18
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
jne 0x71213b
push esi
call fcn.00711fb0
add esp, 4
mov dword [0x73c728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0x71214c
mov ecx, 1
mov edx, dword [esp + 0x458]
push esi
push esi
push 0x20
push ecx
mov ecx, dword [esp + 0x45c]
push ecx
push edx
lea ecx, [esp + 0x40]
push esi
push ecx
mov ecx, dword [esp + 0x468]
lea edx, [esp + 0x28]
or ecx, 0x100000
push edx
lea edx, [esp + 0x28]
push ecx
push edx
push eax
call fcn.00711ff0
mov ecx, dword [esp + 0x34]
add esp, 0x30
neg eax
sbb eax, eax
pop esi
not eax
and eax, ecx
add esp, 0x43c
ret

Function at 0x715440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0x7154b7
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0x71548e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x715471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x71547e
add edx, ecx
cmp ebx, edx
jb 0x71548a
inc edi
add eax, 0x28
cmp edi, esi
jb 0x715467
xor ecx, ecx
jmp 0x7154a2
test eax, eax
jne 0x715492
xor ecx, ecx
jmp 0x7154a2
mov ecx, dword [eax + 0x14]
mov esi, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
sub ecx, esi
add ecx, ebx
add ecx, eax
mov edx, dword [esp + 0x18]
push edx
push 0
push 0
push ecx
push ecx
call fcn.007153c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0x7158f0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebx
mov eax, dword [esp + 8]
push ebp
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x715921
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebp, eax
test ebp, ebp
jne 0x715946
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 4
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
jne 0x71596e
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0x18]
mov dword [ecx], esi
mov dword [ecx + 4], eax
cmp word [esi], 0x5a4d
jne 0x715993
push ecx
push esi
call fcn.007154c0
add esp, 8
mov bl, al
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
mov al, bl
pop ebp
pop ebx
ret