joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b99b
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x42b9c9
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x42b9d0
cmp ebx, dword [eax + 4]
jae 0x42b9d0
xor eax, eax
jmp 0x42bbc0
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x42b9e1
xor eax, eax
inc eax
jmp 0x42bbbf
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x42b9f7
cmp ecx, edx
jae 0x42bb3c
cmp dword [eax + 4], 0
je 0x42ba00
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x42b9e8
cmp dword [ebp + 8], 0
je 0x42ba22
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x42bb3c
cmp eax, esi
jae 0x42bb3c
mov eax, dword [0x436040]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x42ba47
cmp dword [esi*4 + 0x436048], edi
je 0x42bb40
inc esi
cmp esi, eax
jl 0x42ba35
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x42bbbc
cmp dword [ebp - 8], 0x1000000
jne 0x42bbbc
test byte [ebp - 0xc], 0xcc
je 0x42bac5
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x42bbbc
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x42bbbc
cmp word [eax + 0x18], 0x10b
jne 0x42bbbc
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x42bbbc
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x42bac5
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x42bac5
test byte [ecx + 0x27], 0x80
jne 0x42bb3c
push 1
push 0x436088
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
jne 0x42b9d9
mov ecx, dword [0x436040]
test ecx, ecx
mov edx, ecx
jle 0x42baf9
lea eax, [ecx*4 + 0x436044]
cmp dword [eax], edi
je 0x42baf9
dec edx
sub eax, 4
test edx, edx
jg 0x42baed
test edx, edx
jne 0x42bb2a
push 0xf
pop ebx
cmp ecx, ebx
jg 0x42bb06
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x42bb1e
lea eax, [edx*4 + 0x436048]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x42bb0c
cmp ecx, 0x10
jge 0x42bb2a
inc ecx
mov dword [0x436040], ecx
push 0
push 0x436088
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x42b9d9
xor eax, eax
jmp 0x42bbbf
test esi, esi
jle 0x42b9d9
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 1
push 0x436088
call ebx
test eax, eax
jne 0x42b9d9
cmp dword [esi*4 + 0x436048], edi
je 0x42bb96
mov eax, dword [0x436040]
lea esi, [eax - 1]
test esi, esi
jl 0x42bb84
cmp dword [esi*4 + 0x436048], edi
je 0x42bb80
dec esi
jns 0x42bb74
test esi, esi
jge 0x42bb94
cmp eax, 0x10
jge 0x42bb8f
inc eax
mov dword [0x436040], eax
lea esi, [eax - 1]
jmp 0x42bb96
je 0x42bbae
xor ecx, ecx
test esi, esi
jl 0x42bbae
lea eax, [ecx*4 + 0x436048]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x42bb9c
push 0
push 0x436088
call ebx
jmp 0x42b9d9
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42bbc4
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x43608c], ebx
push esi
push edi
jne 0x42bc44
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x42bc7f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4324a4
push edi
call esi
test eax, eax
mov dword [0x43608c], eax
je 0x42bc7f
push 0x432494
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0x436090], eax
call esi
cmp dword [0x435e24], 2
mov dword [0x436094], eax
jne 0x42bc44
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x43609c], eax
je 0x42bc44
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x436098], eax
mov eax, dword [0x436098]
test eax, eax
je 0x42bc89
call eax
test eax, eax
je 0x42bc70
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x43609c]
test eax, eax
je 0x42bc70
test byte [ebp - 8], 1
jne 0x42bc89
cmp dword [0x435e30], 4
jb 0x42bc83
or byte [ebp + 0x12], 0x20
jmp 0x42bca8
xor eax, eax
jmp 0x42bcb8
or byte [ebp + 0x12], 4
jmp 0x42bca8
mov eax, dword [0x436090]
test eax, eax
je 0x42bca8
call eax
mov ebx, eax
test ebx, ebx
je 0x42bca8
mov eax, dword [0x436094]
test eax, eax
je 0x42bca8
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x43608c]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42bd59
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.00421eb0
mov eax, dword [0x43455c]
push ebx
mov ebx, dword [ebp + 8]
xor eax, ebp
push esi
xor esi, esi
cmp ebx, dword [0x437308]
mov dword [ebp - 4], eax
jae 0x42bea4
mov eax, ebx
sar eax, 5
mov eax, dword [eax*4 + 0x437320]
mov ecx, ebx
and ecx, 0x1f
test byte [eax + ecx*8 + 4], 1
je 0x42bea4
push 1
push esi
push ebx
call fcn.00422545
add esp, 0xc
cmp eax, 0xffffffff
mov dword [ebp - 0x1008], eax
je 0x42beae
push 2
push esi
push ebx
call fcn.00422545
add esp, 0xc
cmp eax, 0xffffffff
je 0x42beae
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
test edi, edi
jle 0x42be4e
push 0x1000
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.004284c0
push 0x8000
push ebx
call fcn.0042c743
add esp, 0x14
mov dword [ebp - 0x100c], eax
mov eax, 0x1000
cmp edi, eax
jge 0x42be0a
mov eax, edi
push eax
lea eax, [ebp - 0x1004]
push eax
push ebx
call fcn.00424ab1
add esp, 0xc
cmp eax, 0xffffffff
je 0x42be28
sub edi, eax
test edi, edi
jg 0x42bdff
jmp 0x42be3e
cmp dword [0x435e1c], 5
jne 0x42be3b
mov dword [0x435e18], 0xd
or esi, 0xffffffff
push dword [ebp - 0x100c]
push ebx
call fcn.0042c743
pop ecx
pop ecx
jmp 0x42be8e
jge 0x42be8e
push 0
push dword [ebp + 0xc]
push ebx
call fcn.00422545
push ebx
call fcn.00429771
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov esi, eax
neg esi
sbb esi, esi
neg esi
dec esi
cmp esi, 0xffffffff
jne 0x42be8e
mov dword [0x435e18], 0xd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x435e1c], eax
push 0
push dword [ebp - 0x1008]
push ebx
call fcn.00422545
add esp, 0xc
mov eax, esi
pop edi
jmp 0x42beb1
mov dword [0x435e18], 9
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00428649
leave
ret
Function at 0x409936
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x417004]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [ebp + 0xc]
lea ecx, [ebp - 0x6c]
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push ecx
push 0x20019
push ebx
movzx eax, al
push 0x406e10
sub eax, 0x7fffffff
mov dword [ebp - 0x6c], ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x409998
push 0x406dcc
mov ecx, esi
call fcn.00409e33
cmp dword [ebp - 0x6c], ebx
je 0x409a40
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x409a40
push edi
push 0x64
lea eax, [ebp - 0x68]
mov dword [ebp - 0x70], ebx
push ebx
push eax
call fcn.0040d000
add esp, 0xc
lea eax, [ebp - 0x74]
push eax
push ebx
lea eax, [ebp - 0x70]
push eax
push ebx
push 0x406db8
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x409a25
mov edi, dword [ebp - 0x74]
test edi, edi
je 0x409a25
cmp dword [ebp - 0x70], 1
jne 0x409a25
shr edi, 1
cmp edi, 0x32
jae 0x409a25
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x70]
push eax
push ebx
push 0x406db8
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [edi + edi]
mov edx, eax
cmp word [ebp + ecx - 0x6a], bx
je 0x409a16
lea eax, [edi + 1]
cmp eax, 0x32
jae 0x409a16
cmp ecx, 0x64
jae 0x409a52
xor eax, eax
mov word [ebp + ecx - 0x68], ax
lea eax, [ebp - 0x68]
test edx, edx
je 0x409a22
mov eax, 0x406dcc
push eax
jmp 0x409a2a
push 0x406dcc
mov ecx, esi
call fcn.00409e33
cmp dword [ebp - 0x6c], ebx
je 0x409a3f
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b323
leave
ret 8
call fcn.0040b453
int3

Function at 0x40bde6
Capabilities:
Parse pe header

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

Function at 0x40d811
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x40d84c
Function at 0x40de51
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x40de85
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x40de80
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
add byte [eax], dh
add byte [eax], al
jne 0x40de6a
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x40de72
cmp edx, ebx
jne 0x40dfc0
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x40de41
add eax, dword [eax + 4]
jmp 0x40de2e
mov dword [ebp + 0xc], ebx
jmp 0x40de90
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x40dea8
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x40dec6
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x40df24
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x40df0b
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x40df14
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x40df1e
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x40df00
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x40de8a
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x40df71
dec eax
je 0x40df68
sub eax, 3
je 0x40df5f
mov dword [ebp - 4], 0x40
jmp 0x40df8e
mov dword [ebp - 4], 4
jmp 0x40df74
mov dword [ebp - 4], 0x20
jmp 0x40df74
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x40dfc0
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x40df40
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.0040d7d1
hlt
Function at 0x40de64
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x40de85
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x40de80
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
add byte [eax], dh
add byte [eax], al
jne 0x40de6a
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x40de72
cmp edx, ebx
jne 0x40dfc0
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x40de41
add eax, dword [eax + 4]
jmp 0x40de2e
mov dword [ebp + 0xc], ebx
jmp 0x40de90
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x40dea8
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x40dec6
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x40df24
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x40df0b
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x40df14
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x40df1e
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x40df00
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x40de8a
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x40df71
dec eax
je 0x40df68
sub eax, 3
je 0x40df5f
mov dword [ebp - 4], 0x40
jmp 0x40df8e
mov dword [ebp - 4], 4
jmp 0x40df74
mov dword [ebp - 4], 0x20
jmp 0x40df74
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x40dfc0
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x40df40
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.0040d7d1
hlt

Function at 0x40f17c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [eax], al
lea eax, [ebp - 0x230]
mov dword [ebp - 0x3a0], eax
cmp dword [ebp - 0x6fc], 0
jne 0x40f34c
and byte [ebp - 0x77c], 0
and byte [ebp - 0x77b], 0

Function at 0x416610
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41663d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41663d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x10009e30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x10009e3f
pop dword [ebp - 0x1c]
mov eax, 0x1fbf2dbd
sub eax, 0xfbe8f7e
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0xe9597799
add dword [ebp - 0x2c], 0x64f8cdb2
mov dword [ebp - 0x28], 0xcfc88f39
add dword [ebp - 0x28], 0x626abd0c
mov dword [ebp - 0x24], 0x3ac7c814
sub dword [ebp - 0x24], 0xee7b83e6
mov dword [ebp - 0x20], 0x6db7e6d3
add dword [ebp - 0x20], 0x9248192d
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x1b817c8c
sub eax, 0xb7fbc34
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0xc4f95dcc
sub dword [ebp - 0x2c], 0x5086f476
mov dword [ebp - 0x28], 0x12bb3a80
sub dword [ebp - 0x28], 0xd14ed90b
mov dword [ebp - 0x24], 0xc2571b46
add dword [ebp - 0x24], 0xa1185126
mov dword [ebp - 0x20], 0x26c5cfe6
sub dword [ebp - 0x20], 0x26c5cfe6
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x3b927
push 0
call eax
mov ecx, 0xf1a66275
add ecx, 0xe59e5e3
mov edi, eax
mov ebx, 0x10028800
add ebx, dword [ebp - 0x1c]
mov edx, 0x8a302e10
sub edx, 0x2e53e492
sub dword [ebp - 4], ecx
mov esi, dword [ebx]
mov dword [ebp - 0xc], 0x8abdd3ca
xor esi, edx
xor dword [ebp - 4], 0xe3c614b6
mov dword [edi], esi
sub dword [ebp - 4], ebx
add edi, 0x7b92442f
add edi, 0x846dbbd5
add ebx, 0x6c8a0676
sub ebx, 0x6c8a0672
loop 0x10009f56
add eax, 0x2369a8d9
sub eax, 0x236894a6
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x6a74e8e7
sub ecx, 0x5a74e8e7
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret
Function at 0x43cbb0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [eax - 0x3c35b], al
inc dword [eax]
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
invalid
test dword [edx - 4], edx
invalid
Function at 0x4013f0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x401070
push 0
push 0
call esi
push 0
push 0
push 0
push 0x4010e0
push 0
push 0
call esi
push 0
push 0
push 0
push 0x401280
push 0
push 0
call esi
push 0
push 0
push 0
push section..text
push 0
push 0
call esi
push 0
push 0
push 0
push 0x401140
push 0
push 0
call esi
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
pop esi
ret

Function at 0x401c5d
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401c9c
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401c9c
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401c9c
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401c9c
cmp dword [ecx + 0x74], 0xe
jbe 0x401c9c
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x40287f
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x569eb8
call fcn.004f9534
push ecx
mov eax, dword [0x64d6a8]
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi + 0x20], eax
mov eax, dword [0x64d6a8]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x30], eax
mov eax, dword [0x64d6a8]
mov dword [esi + 0x34], eax
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 2
call fcn.0040291e
push 4
mov edi, 0x65548c
pop eax
lea ecx, [esi + 0x20]
push edi
mov byte [ebp - 4], 3
mov dword [esi], 0x57fa5c
mov dword [esi + 4], 1
mov dword [esi + 8], ebx
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
call fcn.00554c1e
push edi
lea ecx, [esi + 0x30]
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
call fcn.00554c1e
push edi
lea ecx, [esi + 0x34]
call fcn.00554c1e
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x38], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x4029de
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x569f28
call fcn.004f9534
push ecx
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi], 0x57fa5c
and dword [ebp - 4], 0
lea edi, [esi + 0x3c]
mov dword [ebp - 0x14], edi
mov dword [edi], 0x57fa60
lea ecx, [edi + 0x10]
mov byte [ebp - 4], 3
call fcn.00554a87
lea ecx, [edi + 0xc]
mov byte [ebp - 4], 2
call fcn.00554a87
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 1
call fcn.00554a87
and byte [ebp - 4], 0
lea ecx, [esi + 0x30]
call fcn.00554a87
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0x20]
call fcn.00554a87
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x4029ea
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x569f28
call fcn.004f9534
push ecx
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi], 0x57fa5c
and dword [ebp - 4], 0
lea edi, [esi + 0x3c]
mov dword [ebp - 0x14], edi
mov dword [edi], 0x57fa60
lea ecx, [edi + 0x10]
mov byte [ebp - 4], 3
call fcn.00554a87
lea ecx, [edi + 0xc]
mov byte [ebp - 4], 2
call fcn.00554a87
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 1
call fcn.00554a87
and byte [ebp - 4], 0
lea ecx, [esi + 0x30]
call fcn.00554a87
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0x20]
call fcn.00554a87
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x40f4a6
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [ecx]
push dword [esp + 4]
call dword [eax + 0xc8]
mov eax, dword [eax + 0x44]
xor ecx, ecx
cmp dword [eax - 8], ecx
jne 0x40f4c1
or eax, 0xffffffff
jmp 0x40f4d4
push 1
push ecx
push ecx
push eax
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
ret 4

Function at 0x40f784
Capabilities:
Create process on windows

Disassembly:
xor eax, eax
push 1
push eax
push eax
push dword [esp + 0x10]
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
ret 4
Function at 0x41a905
Capabilities:
Check os version

Disassembly:
mov eax, 0x56b4af
call fcn.004f9534
sub esp, 0x118
push ebx
push esi
push edi
xor ebx, ebx
push dword [ebp + 0x1c]
mov esi, ecx
mov dword [ebp - 0x10], esi
push ebx
call fcn.00555465
mov eax, dword [0x64d6a8]
mov dword [ebp - 4], ebx
mov dword [esi + 0x64], eax
cmp dword [ebp + 0x20], ebx
mov byte [ebp - 4], 1
mov dword [esi], 0x584820
jne 0x41a98b
mov edi, 0x114
lea eax, [ebp - 0x124]
push edi
push ebx
push eax
call fcn.004f9640
add esp, 0xc
lea eax, [ebp - 0x124]
mov dword [ebp - 0x124], edi
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 2
jne 0x41a984
cmp dword [ebp - 0x120], 5
mov dword [ebp + 0x20], 0x58
jae 0x41a98b
mov dword [ebp + 0x20], 0x4c
push dword [ebp + 0x20]
call fcn.004fa1fe
cmp eax, ebx
pop ecx
mov dword [esi + 0x5c], eax
jne 0x41a9a0
call fcn.0054e199
push dword [ebp + 0x20]
mov ecx, esi
push ebx
call fcn.0041ab65
push eax
call fcn.004f9640
push 0x200002
call fcn.005512d6
mov dword [esi + 0xe8], eax
mov word [eax], bx
mov eax, dword [ebp + 8]
add esp, 0x10
mov dword [esi + 0x60], eax
lea edi, [esi + 0x68]
neg eax
sbb eax, eax
mov ecx, esi
add eax, 0x7005
mov word [edi], bx
mov dword [esi + 0xec], ebx
mov dword [esi + 0x3c], eax
call fcn.0041ab65
mov ecx, dword [ebp + 0x20]
mov dword [eax], ecx
mov ecx, esi
call fcn.0041ab65
mov ecx, dword [esi + 0xe8]
mov dword [eax + 0x1c], ecx
mov ecx, esi
call fcn.0041ab65
mov ecx, esi
mov dword [eax + 0x20], 0x100000
call fcn.0041ab65
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x3c], ecx
mov ecx, esi
call fcn.0041ab65
mov ecx, esi
mov dword [eax + 0x24], edi
call fcn.0041ab65
mov ecx, esi
mov dword [eax + 0x28], 0x40
call fcn.0041ab65
mov ecx, dword [ebp + 0x14]
add eax, 0x34
or ecx, 0x880020
or dword [eax], ecx
test byte [ebp + 0x14], 0x40
je 0x41aa5d
mov ecx, esi
call fcn.0041ab65
add eax, 0x34
and byte [eax + 2], 0x7f
call fcn.00565de0
mov edi, dword [eax + 0xc]
mov ecx, esi
call fcn.0041ab65
mov ecx, esi
mov dword [eax + 8], edi
call fcn.0041ab65
cmp dword [ebp + 0x10], ebx
mov dword [eax + 0x44], 0x41a78e
je 0x41aa96
push 0x100000
push dword [ebp + 0x10]
push dword [esi + 0xe8]
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
cmp dword [ebp + 0x18], ebx
je 0x41aad5
push dword [ebp + 0x18]
lea edi, [esi + 0x64]
mov ecx, edi
call fcn.00554c1e
push ebx
mov ecx, edi
call fcn.00554ecc
push 0x7c
push eax
call fcn.004fa1d5
pop ecx
cmp eax, ebx
pop ecx
je 0x41aac8
mov word [eax], bx
push 0x7c
add eax, 2
jmp 0x41aab2
mov edi, dword [esi + 0x64]
mov ecx, esi
call fcn.0041ab65
mov dword [eax + 0xc], edi
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x1c