joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45787f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
test edi, edi
je 0x4578a9
movzx eax, word [esi + 4]
movzx ecx, word [esi + 6]
shr eax, 3
imul eax, ecx
imul eax, dword [esi + 0x78]
cmp ebx, eax
jbe 0x4578c2
push 0x1be
push str.S:Ammyy_sourcesmain_soundAudioIn.cpp
lea ecx, [ebp - 8]
call fcn.00425667
mov ecx, eax
call fcn.00425773
mov ax, word [esi + 4]
cmp ax, 0x10
jne 0x457909
test bl, 1
je 0x4578ea
push 0x1c2
push str.S:Ammyy_sourcesmain_soundAudioIn.cpp
lea ecx, [ebp - 8]
call fcn.00425667
mov ecx, eax
call fcn.00425773
shr ebx, 1
xor eax, eax
test ebx, ebx
jle 0x45794c
movsx ecx, word [edi + eax*2]
mov dword [ebp + 8], ecx
mov ecx, dword [esi + 0x7c]
fild dword [ebp + 8]
fstp dword [ecx + eax*4]
inc eax
cmp eax, ebx
jl 0x4578f2
jmp 0x45794c
cmp ax, 8
je 0x457928
push 0x1ca
push str.S:Ammyy_sourcesmain_soundAudioIn.cpp
lea ecx, [ebp - 8]
call fcn.00425667
mov ecx, eax
call fcn.00425773
xor eax, eax
test ebx, ebx
jbe 0x45794c
movsx ecx, byte [eax + edi]
xor ecx, 0x80
shl ecx, 8
mov dword [ebp + 8], ecx
mov ecx, dword [esi + 0x7c]
fild dword [ebp + 8]
fstp dword [ecx + eax*4]
inc eax
cmp eax, ebx
jb 0x45792e
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x457b64
Capabilities:
Create thread

Disassembly:
mov eax, 0x482eb8
call fcn.0047bfa0
sub esp, 0x1c
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x10], esp
cmp dword [esi + 0xb8], edi
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], edi
je 0x457ba7
lea eax, [ebp - 0x20]
push str.AudioOut::StartSound___Sound_Playback_thread_is_already_active
push eax
call fcn.0042777f
pop ecx
lea eax, [ebp - 0x20]
pop ecx
push 0x48e0c0
push eax
call sub.MSVCRT.dll__CxxThrowException
mov ecx, esi
call fcn.00457ea9
push 1
push edi
mov ecx, esi
call fcn.004580c8
lea ecx, [esi + 0x84]
cmp dword [ecx], edi
jne 0x457bc9
push edi
push edi
call fcn.00427589
push edi
push edi
push esi
push 0x4581d0
push edi
push edi
mov dword [esi + 0xbc], edi
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 0xb8], eax
cmp dword [esi + 0xb8], edi
jne 0x457c17
call dword [sym.imp.MSVCRT.dll__errno]
push dword [eax]
lea eax, [ebp - 0x28]
push str.Failed_to_start_Sound_Playback_thread__errno___d_
push eax
call fcn.0042777f
add esp, 0xc
lea eax, [ebp - 0x28]
push 0x48e0c0
push eax
call sub.MSVCRT.dll__CxxThrowException
xor eax, eax
inc eax
jmp 0x457c40
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x459140
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x459170
push esi
call fcn.0045cfa0
mov al, byte [esi + 0x40]
add esp, 4
test al, al
je 0x459169
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x4591f3
mov eax, dword [esi + 0x190]
mov cl, byte [eax + 0x10]
test cl, cl
je 0x4591df
mov eax, dword [esi + 8]
test eax, eax
je 0x459194
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x190]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4591db
cmp eax, 2
je 0x4591df
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x459187
cmp eax, 3
je 0x4591ba
cmp eax, 1
jne 0x459187
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x459187
mov edx, dword [esi + 0x11c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x459187
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
push esi
mov dword [esi + 0x84], eax
call fcn.00459220
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x459213
mov ecx, dword [esi]
push esi
mov dword [ecx + 0x14], 0x14
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
call dword [ecx]
add esp, 4
push esi
call fcn.00459220
add esp, 4
pop esi
ret
Function at 0x45c030
Capabilities:
Query environment variable

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, dword [esp + 0x14]
xor ebx, ebx
push edi
mov dword [edi + 4], ebx
call fcn.0045de80
push 0x54
push edi
mov dword [esp + 0x18], eax
call fcn.0045de40
mov esi, eax
add esp, 0xc
cmp esi, ebx
jne 0x45c074
push edi
call fcn.0045de90
mov eax, dword [edi]
push edi
mov dword [eax + 0x14], 0x36
mov ecx, dword [edi]
mov dword [ecx + 0x18], ebx
mov edx, dword [edi]
call dword [edx]
add esp, 8
mov dword [esi], fcn.0045c170
mov dword [esi + 4], fcn.0045c2c0
mov dword [esi + 8], fcn.0045c370
mov dword [esi + 0xc], fcn.0045c420
mov dword [esi + 0x10], 0x45c4d0
mov dword [esi + 0x14], 0x45c540
mov dword [esi + 0x18], 0x45c5b0
mov dword [esi + 0x1c], 0x45c730
mov dword [esi + 0x20], 0x45c920
mov dword [esi + 0x24], fcn.0045cb10
mov dword [esi + 0x28], 0x45cc10
mov dword [esi + 0x30], 0x3b9aca00
mov eax, dword [esp + 0xc]
mov ecx, 2
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x40]
mov dword [eax - 8], ebx
mov dword [eax], ebx
sub eax, 4
dec ecx
jne 0x45c0d6
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], 0x54
push str.JPEGMEM
mov dword [edi + 4], esi
call sub.MSVCRT.dll_getenv
add esp, 4
cmp eax, ebx
je 0x45c166
lea ecx, [esp + 0x14]
lea edx, [esp + 0xc]
push ecx
push edx
push str._ld_c
push eax
mov byte [esp + 0x24], 0x78
call sub.MSVCRT.dll_sscanf
add esp, 0x10
test eax, eax
jle 0x45c166
mov al, byte [esp + 0x14]
cmp al, 0x6d
je 0x45c12f
cmp al, 0x4d
jne 0x45c153
mov eax, dword [esp + 0xc]
pop edi
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
mov dword [esi + 0x2c], eax
pop esi
pop ebx
pop ecx
ret
mov eax, dword [esp + 0xc]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
mov dword [esi + 0x2c], eax
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x47c5ea
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x47c640
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x48def4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x47c633
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x47c642
xor eax, eax
pop esi
leave
ret 4
Function at 0x401300
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ebx, 0xbddaf6ed
jecxz 0x40136b
mov edx, dword [edx + 0x30]
stc
int3

Function at 0x405730
Capabilities:
Encode data using xor

Disassembly:
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp - 0xe35e44]
test dword [ebp + 0x67520f], ebx
add byte [eax], al
push esi
mov edx, esi
mov eax, dword [esi]
push 1
push 0
rol byte [eax], 1
push eax
call 0x42cea4b0
cmp eax, 0x11176
je 0x405764
mov dword [esi + 4], 0xfa000000
add al, 0
add byte [eax], al
cli
mov esi, dword [esi + 8]
push esp
div byte [ebx + 0x74]
mov esi, ebx
inc ecx
inc esi
add al, 0x1e
xor eax, 0xdf8b1274
mov edi, 1
push 9
push ecx
xor al, 0x7e
add al, 0x16
bound ecx, qword [edi + edx*2]
mov esi, dword [esi + 8]
test esi, esi
jne 0x40576d
test edi, edi
je 0x405806
mov ebx, 0x19b71b
push esi
xchg ebp, eax
pop ebx
jne 0x405797
call fcn.00406d60
mov esi, dword [ebp + 8]
xor edi, edi
inc eax
jle 0x4057ac
loopne 0x405751
push cs
mov edx, dword [esi]
push ss
insb byte es:[edi], dx
add dword [edx], ebp
push 0
push edx
salc
test dword [eax + eax], 0x9211767f
add byte [ebp + 7], dh
mov edi, 0x95000001
jmp 0x40575f
xchg ebx, eax
mov al, byte [0x7502047e]
or cl, byte [ebx + 0x50096a06]
test dword [eax - 0x749bffb5], edi
pop ebp
or byte [ebp - 0x74168a26], al
mov eax, dword [esi + 4]
mov eax, dword [esi + 4]
test eax, eax
je 0x405836
iretd
mov esi, dword [esi + 8]
test esi, esi
jne 0x405821
pop esi
pop edi
pop ebx
mov esp, ebp
sbb al, bl
nop
nop
Function at 0x40b080
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
adc dh, byte [ebp + 8]
xchg byte [ebx + 0x4662107d], cl
adc byte [ebx - 0x7af4ebb2], cl
mov dword [ebp + 0x10], 0xc9
jne 0x40b10e
mov dh, dl
or byte [eax + eax*8 + 0x568b4974], al
add al, 0x8d
dec ebp
or dl, bh
add byte [esi + 0x6a], dl
add byte [edx], ch
push 0
push edx
pop edx
adc eax, 0x3840c00c
test eax, eax
adc dword [0xc098e28b], esi
inc eax
add bh, bh
salc
test eax, eax
jne 0x40b0d2
mov ecx, dword [ebp + 0x14]
pop edi
push 0xffffffffffffff89
add dword [ebp - 0x3d], ebx
invalid
inc esi
or al, 0x85
shr byte [edi + 0x23], 0x8a
dec esi
or byte [ecx + ecx*8 + 0x4e8b1c75], al
push eax
mov dword [eax + 0x4e], ecx
mov eax, dword [esi + 0x50]
jbe 0x40b17c
push esp
inc esi
and byte [eax], al
add byte [eax], al
mov edi, 0x6df
mov edx, dword [esi + 0xc]
mov dword [edx + 0xc], eax
cmp dword [esi + 0xc], eax
mov edx, dword [ebp + 0xc]
push ebx
lea ecx, [ebp - 0x2b]
push eax
xchg edi, eax
inc esi
add al, 0x51
push edi
out 0x20, eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
pop ebp
pop es
xor eax, eax
jbe 0x40b182
add dword [eax], eax
add byte [ebx + 0x2ec0fa3d], cl
add byte [edi], cl
leave
pop dword [ecx + 0xf]
test byte [ebx], bl
add dword [eax], eax
les ecx, [edi + edx*8 + 0xa41dd05]
add byte [0xb0065], bh
jne 0x7bbab231
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, dword [ecx + 0x14]
mov eax, dword [esi + 0x10]
test ecx, ecx
jl 0x40b1a2
mov ecx, 0xf2c08504
adc byte [edx - 0x2b], ch
push 0x31e8
push ecx
push eax
call 0x9d4390
jmp 0x40b1af
and eax, ecx
cmp eax, 0xffffffff
jne 0x40b1ad
or eax, eax
jmp 0x40b1af
xor eax, eax
mov ecx, dword [esi + 0xc]
push eax
mov edx, dword [ecx + 0x10]
fcos
shl dword [ebx - 0x7f00136a], cl
add byte [eax], al
int3
Function at 0x401340
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebx
push ebp
push esi
push edi
mov edi, eax
mov edx, 0x220
or ecx, 0xffffffff
mov esi, edi
movzx eax, byte [esi]
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x413050]
inc esi
dec edx
jne 0x401352
mov ebp, dword [edi + 0x224]
lea ebx, [ecx + ebp]
test ebp, ebp
je 0x4013b3
mov edi, dword [edi + 0x220]
lea ecx, [ecx]
mov edx, 0xb3c
or ecx, 0xffffffff
mov esi, edi
lea ebx, [ebx]
movzx eax, byte [esi]
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x413050]
inc esi
dec edx
jne 0x401390
add ebx, ecx
add edi, 0xb3c
dec ebp
jne 0x401380
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret

Function at 0x401570
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push esi
mov edx, 0x68
or eax, 0xffffffff
mov esi, ecx
lea ecx, [ecx]
movzx ecx, byte [esi]
xor ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x413050]
inc esi
dec edx
jne 0x401580
pop esi
ret

Function at 0x401e60
Capabilities:
Acquire debug privileges

Disassembly:
sub esp, 0x20
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
lea eax, [esp + 8]
push eax
push 0x28
call dword [0x40d0f8]
push eax
call dword [0x40d034]
test eax, eax
je 0x401f0b
lea eax, [esp + 0x10]
push eax
push str.SeDebugPrivilege
push 0
call dword [0x40d01c]
test eax, eax
je 0x401ef1
push 0
push 0
push 0
lea eax, [esp + 0x18]
push eax
push 0
push dword [esp + 0x1c]
mov dword [esp + 0x24], 1
mov dword [esp + 0x30], 2
call dword [0x40d008]
test eax, eax
je 0x401ed6
call dword [0x40d084]
test eax, eax
je 0x401ef1
call dword [0x40d084]
push eax
push str.AdjustTokenPrivileges____completed_with_status___08x_
push 2
mov ebx, 0x415428
call fcn.00401660
add esp, 0xc
push dword [esp + 8]
call dword [0x40d0bc]
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.0040bb9d
add esp, 0x20
ret
call dword [0x40d084]
push eax
push str.OpenProcessToken____failed___08x_
push 1
mov ebx, 0x415428
call fcn.00401660
mov ecx, dword [esp + 0x28]
add esp, 0xc
pop ebx
xor ecx, esp
call fcn.0040bb9d
add esp, 0x20
ret
Function at 0x409de0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x18
push ebx
mov ebx, dword [esp + 0x20]
mov eax, dword [ebx + 8]
push ebp
push esi
lea edx, [eax*8 + 8]
xor ebp, ebp
or ecx, 0xffffffff
push edi
mov dword [esp + 0x10], 0
lea esi, [ebx + 8]
test edx, edx
je 0x409e28
lea esp, [esp]
movzx eax, byte [esi]
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x413050]
inc esi
dec edx
jne 0x409e10
mov eax, dword [ebx + 4]
cmp ecx, eax
je 0x409e5e
or dword [0x415054], 0x20000400
push eax
push ecx
mov dword [ebx + 8], ebp
mov dword [ebx], ebp
push 0x412d80
push 1
mov ebx, 0x415428
call fcn.00401660
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4
mov esi, dword [ebx]
mov dword [ebx], ebp
test esi, esi
je 0x409fc6
lea ebx, [ebx]
mov eax, ebp
inc ebp
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x14], ebp
cmp eax, 0x400
jae 0x409fa7
lea eax, [esp + 0x18]
push eax
mov edi, 0x10
mov ecx, 0x419860
call fcn.004025a0
test eax, eax
je 0x409f8b
mov eax, dword [esp + 0x20]
cmp eax, 0x1000
ja 0x409f66
lea edi, [eax*8 + 0x10]
push edi
call dword [0x40d1ec]
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x409f4b
push ebp
mov ecx, 0x419860
call fcn.004025a0
test eax, eax
je 0x409f3b
mov eax, ebp
call fcn.00409fe0
mov ecx, dword [ebp + 4]
cmp eax, ecx
jne 0x409f1b
mov dword [ebx], ebp
mov eax, dword [ebp]
mov dword [esp + 0x2c], ebp
mov dword [ebp], 0
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x10], eax
jmp 0x409f8f
or dword [0x415054], 0x20000400
push ecx
push eax
push 0x412eb0
push 1
mov ebx, 0x415428
call fcn.00401660
add esp, 0x10
push ebp
call dword [0x40d204]
mov ebp, dword [esp + 0x18]
add esp, 4
jmp 0x409f8b
push edi
push 0x412a10
push 1
mov ebx, 0x415428
call fcn.00401660
mov ebp, dword [esp + 0x20]
add esp, 0xc
jmp 0x409f8b
or dword [0x415054], 0x20000800
push 0x1000
push eax
push esi
push 0x412f48
push 1
mov ebx, 0x415428
call fcn.00401660
add esp, 0x14
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x2c]
mov esi, eax
test eax, eax
jne 0x409e70
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4
or dword [0x415054], 0x20000800
push ebp
push 0x412e08
push 1
mov ebx, 0x415428
call fcn.00401660
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4

Function at 0x409fe0
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push esi
lea esi, [eax + 8]
mov eax, dword [esi]
lea edx, [eax*8 + 8]
or eax, 0xffffffff
test edx, edx
je 0x40a019
jmp 0x40a000
movzx ecx, byte [esi]
xor ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x413050]
inc esi
dec edx
jne 0x40a000
pop esi
ret

Function at 0x40a020
Capabilities:
Encode data using xor

Disassembly:
test edx, edx
je 0x40a06b
mov ecx, edx
push esi
lea esi, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40a030
sub ecx, esi
sar ecx, 1
lea esi, [ecx + ecx]
or eax, 0xffffffff
test esi, esi
je 0x40a069
lea esp, [esp]
movzx ecx, byte [edx]
xor ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x413050]
inc edx
dec esi
jne 0x40a050
pop esi
ret
xor eax, eax
ret
Function at 0x40b1ac
Capabilities:
Check if file exists
Create directory
Delete file
Execute vbscript javascript or jscript in memory
Extract resource via kernel32 functions
Get common file path
Set current directory
Terminate process
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70c
push esi
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x134], 0
mov dword [ebp - 8], 1
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [0x412be0], eax
push 0x208
push 0
mov eax, dword [0x412be0]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x260], eax
cmp dword [ebp - 0x260], 0
jne 0x40b208
jmp 0x4180b2
push 0x104
lea ecx, [ebp - 0x36c]
push ecx
push 1
mov edx, dword [ebp - 0x13c]
push edx
call dword [sym.imp.USER32.dll_LoadStringA]
push 8
lea eax, [ebp - 0x14]
push eax
push 0x11
mov ecx, dword [ebp - 0x13c]
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
push 0x79
push 5
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x268], eax
cmp dword [ebp - 0x268], 0
je 0x40b2c1
mov edx, dword [ebp - 0x268]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x3d0], eax
cmp dword [ebp - 0x3d0], 0
je 0x40b2c1
mov eax, dword [ebp - 0x3d0]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x4dc], eax
cmp dword [ebp - 0x4dc], 0
je 0x40b2c1
mov ecx, dword [ebp - 0x268]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x378], eax
cmp dword [ebp - 0x378], 1
jne 0x40b2c1
mov edx, dword [ebp - 0x4dc]
xor eax, eax
mov al, byte [edx]
cmp eax, 1
jne 0x40b2c1
mov dword [ebp - 8], 0
mov byte [ebp - 0x240], 0
push 0x204
push 0
mov ecx, dword [0x412be0]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x1c], eax
push 0x79
push 3
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x268], eax
cmp dword [ebp - 0x268], 0
je 0x40b3f6
mov edx, dword [ebp - 0x268]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x3d0], eax
cmp dword [ebp - 0x3d0], 0
jne 0x40b324
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [ebp - 0x3d0]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x4dc], eax
cmp dword [ebp - 0x4dc], 0
jne 0x40b348
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 0x268]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x600], eax
cmp dword [ebp - 0x600], 0x100
jbe 0x40b371
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x100
push 0
lea edx, [ebp - 0x5e8]
push edx
call 0x4183e4
add esp, 0xc
push str.Everstrike_Software
lea eax, [ebp - 0x5e8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x100
lea ecx, [ebp - 0x5e8]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call fcn.0040ca25
add esp, 0xc
mov eax, dword [ebp - 0x600]
mov byte [ebp + eax - 0x240], 0
invalid
invalid
Function at 0x40b5cc
Capabilities:
Check if file exists
Create directory
Delete file
Execute vbscript javascript or jscript in memory
Extract resource via kernel32 functions
Get common file path
Set current directory
Terminate process
Write and execute a file
Write file on windows

Disassembly:
les ecx, [eax*4 + 0x6a0875c0]
add edi, edi
adc eax, sym.imp.KERNEL32.dll_ExitProcess
Function at 0x40b7ba
Capabilities:
Check if file exists
Create directory
Delete file
Execute vbscript javascript or jscript in memory
Extract resource via kernel32 functions
Get common file path
Set current directory
Terminate process
Write and execute a file
Write file on windows

Disassembly:
inc eax
add byte [ebx - 0x167c1fb3], cl
add al, 0x51
mov edx, dword [ebp - 0x4dc]
add edx, 4
push edx
mov eax, dword [ebp - 0x25c]
push eax
call 0x4188e5
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x20]
sub edx, 4
push edx
mov eax, dword [ebp - 0x25c]
push eax
call 0x4163cc
add esp, 0xc
mov ecx, dword [ebp - 0x4dc]
mov edx, dword [ecx]
mov dword [ebp - 0x20], edx
loopne 0x40b78d
test dword [ebp + edi*8 + 0x4503ffff], esp
loopne 0x40b7d1
add byte [eax], al
push 0x79
push 1
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x268], eax
cmp dword [ebp - 0x268], 0
jne 0x40b859
mov ecx, dword [ebp - 0x25c]
push ecx
push 0
mov edx, dword [0x412be0]
push edx
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 0x1c]
push eax
push 0
mov ecx, dword [0x412be0]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapFree]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov edx, dword [ebp - 0x268]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x3d0], eax
cmp dword [ebp - 0x3d0], 0
jne 0x40b8a7
mov eax, dword [ebp - 0x25c]
push eax
push 0
mov ecx, dword [0x412be0]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edx, dword [ebp - 0x1c]
push edx
push 0
mov eax, dword [0x412be0]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 0x3d0]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x4dc], eax
cmp dword [ebp - 0x4dc], 0
jne 0x40b8f3
mov edx, dword [ebp - 0x25c]
push edx
push 0
mov eax, dword [0x412be0]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [ebp - 0x1c]
push ecx
push 0
mov edx, dword [0x412be0]
push edx
call dword [sym.imp.KERNEL32.dll_HeapFree]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [ebp - 0x268]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x4e4], eax
mov ecx, dword [ebp - 0x4e4]
add ecx, 1
push ecx
push 0
mov edx, dword [0x412be0]
push edx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x264], eax
cmp dword [ebp - 0x264], 0
jne 0x40b960
mov eax, dword [ebp - 0x25c]
push eax
push 0
mov ecx, dword [0x412be0]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edx, dword [ebp - 0x1c]
push edx
push 0
mov eax, dword [0x412be0]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 0x4e4]
push ecx
mov edx, dword [ebp - 0x4dc]
push edx
mov eax, dword [ebp - 0x264]
push eax
call 0x418a86
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
in al, 0x51
Function at 0x40b800
Capabilities:
Check if file exists
Create directory
Delete file
Execute vbscript javascript or jscript in memory
Extract resource via kernel32 functions
Get common file path
Set current directory
Terminate process
Write and execute a file
Write file on windows

Disassembly:
inc eax
add byte [ebx - 0x167c1fb3], cl
add al, 0x51
mov edx, dword [ebp - 0x4dc]
add edx, 4
push edx
mov eax, dword [ebp - 0x25c]
push eax
call 0x4188e5
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x20]
sub edx, 4
push edx
mov eax, dword [ebp - 0x25c]
push eax
call 0x4163cc
add esp, 0xc
mov ecx, dword [ebp - 0x4dc]
mov edx, dword [ecx]
mov dword [ebp - 0x20], edx
loopne 0x40b78d
test dword [ebp + edi*8 + 0x4503ffff], esp
loopne 0x40b7d1
add byte [eax], al
push 0x79
push 1
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x268], eax
cmp dword [ebp - 0x268], 0
jne 0x40b859
mov ecx, dword [ebp - 0x25c]
push ecx
push 0
mov edx, dword [0x412be0]
push edx
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 0x1c]
push eax
push 0
mov ecx, dword [0x412be0]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapFree]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov edx, dword [ebp - 0x268]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x3d0], eax
cmp dword [ebp - 0x3d0], 0
jne 0x40b8a7
mov eax, dword [ebp - 0x25c]
push eax
push 0
mov ecx, dword [0x412be0]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edx, dword [ebp - 0x1c]
push edx
push 0
mov eax, dword [0x412be0]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 0x3d0]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x4dc], eax
cmp dword [ebp - 0x4dc], 0
jne 0x40b8f3
mov edx, dword [ebp - 0x25c]
push edx
push 0
mov eax, dword [0x412be0]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [ebp - 0x1c]
push ecx
push 0
mov edx, dword [0x412be0]
push edx
call dword [sym.imp.KERNEL32.dll_HeapFree]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [ebp - 0x268]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x4e4], eax
mov ecx, dword [ebp - 0x4e4]
add ecx, 1
push ecx
push 0
mov edx, dword [0x412be0]
push edx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x264], eax
cmp dword [ebp - 0x264], 0
jne 0x40b960
mov eax, dword [ebp - 0x25c]
push eax
push 0
mov ecx, dword [0x412be0]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edx, dword [ebp - 0x1c]
push edx
push 0
mov eax, dword [0x412be0]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 0x4e4]
push ecx
mov edx, dword [ebp - 0x4dc]
push edx
mov eax, dword [ebp - 0x264]
push eax
call 0x418a86
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
in al, 0x51