joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411dd0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
push ebx
push esi
push edi
lea edi, [ebp - 0x18]
mov ecx, 6
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov ecx, 0x421004
call fcn.00411361
mov byte [ebp - 5], 0
jmp 0x411e03
mov al, byte [ebp - 5]
add al, 1
mov byte [ebp - 5], al
movzx eax, byte [ebp - 5]
cmp eax, 4
jge 0x411e68
mov byte [ebp - 0x11], 0
jmp 0x411e1a
mov al, byte [ebp - 0x11]
add al, 1
mov byte [ebp - 0x11], al
movzx eax, byte [ebp - 0x11]
cmp eax, 4
jge 0x411e66
movzx eax, byte [ebp - 5]
mov ecx, dword [ebp + 0xc]
lea edx, [ecx + eax*4]
movzx eax, byte [ebp - 0x11]
movzx ecx, byte [ebp + 8]
shl ecx, 2
movzx esi, byte [ebp - 5]
shl esi, 2
lea ecx, [esi + ecx*4]
movzx esi, byte [ebp - 0x11]
add esi, dword [ebp + 0x10]
movzx ecx, byte [esi + ecx]
movzx edx, byte [edx + eax]
xor edx, ecx
movzx eax, byte [ebp - 0x11]
movzx ecx, byte [ebp - 5]
mov esi, dword [ebp + 0xc]
lea ecx, [esi + ecx*4]
mov byte [ecx + eax], dl
jmp 0x411e12
jmp 0x411dfb
pop edi
pop esi
pop ebx
add esp, 0xd8
cmp ebp, esp
call fcn.0041126c
mov esp, ebp
pop ebp
ret

Function at 0x4130e0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
push ebx
push esi
push edi
lea edi, [ebp - 0x18]
mov ecx, 6
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov ecx, 0x421004
call fcn.00411361
mov byte [ebp - 5], 0
jmp 0x413113
mov al, byte [ebp - 5]
add al, 1
mov byte [ebp - 5], al
movzx eax, byte [ebp - 5]
cmp eax, 4
jge 0x413160
mov byte [ebp - 0x11], 0
jmp 0x41312a
mov al, byte [ebp - 0x11]
add al, 1
mov byte [ebp - 0x11], al
movzx eax, byte [ebp - 0x11]
cmp eax, 4
jge 0x41315e
movzx eax, byte [ebp - 0x11]
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax*4]
movzx eax, byte [ebp - 5]
movzx ecx, byte [edx + eax]
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp + 8]
lea edx, [eax + edx*4]
movzx eax, byte [ebp - 5]
mov cl, byte [ecx + 0x41cc30]
mov byte [edx + eax], cl
jmp 0x413122
jmp 0x41310b
pop edi
pop esi
pop ebx
add esp, 0xd8
cmp ebp, esp
call fcn.0041126c
mov esp, ebp
pop ebp
ret
Function at 0x413c60
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
push ebx
push esi
push edi
lea edi, [ebp - 0x18]
mov ecx, 6
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov ecx, 0x421004
call fcn.00411361
mov byte [ebp - 5], 0
jmp 0x413c93
mov al, byte [ebp - 5]
add al, 1
mov byte [ebp - 5], al
movzx eax, byte [ebp - 5]
cmp eax, 4
jge 0x413ce0
mov byte [ebp - 0x11], 0
jmp 0x413caa
mov al, byte [ebp - 0x11]
add al, 1
mov byte [ebp - 0x11], al
movzx eax, byte [ebp - 0x11]
cmp eax, 4
jge 0x413cde
movzx eax, byte [ebp - 0x11]
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax*4]
movzx eax, byte [ebp - 5]
movzx ecx, byte [edx + eax]
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp + 8]
lea edx, [eax + edx*4]
movzx eax, byte [ebp - 5]
mov cl, byte [ecx + str.cw]
mov byte [edx + eax], cl
jmp 0x413ca2
jmp 0x413c8b
pop edi
pop esi
pop ebx
add esp, 0xd8
cmp ebp, esp
call fcn.0041126c
mov esp, ebp
pop ebp
ret

Function at 0x413d20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
push ebx
push esi
push edi
lea edi, [ebp - 0xc]
mov ecx, 3
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov ecx, 0x421004
call fcn.00411361
mov byte [ebp - 5], 0
jmp 0x413d53
mov al, byte [ebp - 5]
add al, 1
mov byte [ebp - 5], al
movzx eax, byte [ebp - 5]
cmp eax, 0x10
jge 0x413d80
movzx eax, byte [ebp - 5]
movzx ecx, byte [ebp - 5]
mov edx, dword [ebp + 0xc]
movzx ecx, byte [edx + ecx]
mov edx, dword [ebp + 8]
movzx eax, byte [edx + eax]
xor eax, ecx
movzx ecx, byte [ebp - 5]
mov edx, dword [ebp + 8]
mov byte [edx + ecx], al
jmp 0x413d4b
pop edi
pop esi
pop ebx
add esp, 0xcc
cmp ebp, esp
call fcn.0041126c
mov esp, ebp
pop ebp
ret
Function at 0x474e69
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x474e97
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x474eb5
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00474dd3
jmp 0x474eb5
mov eax, dword [esi + 0x14]
test eax, eax
je 0x474eb5
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00474dd3
test edi, edi
mov eax, edi
jne 0x474e9f
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x4bea44]
test ecx, ecx
je 0x474f68
jmp 0x474e68
ret 8

Function at 0x47f860
Capabilities:
Encode data using xor

Disassembly:
test eax, 0x38780a65
invalid
cdq
loop 0x47f7e6
pop ds
mov word [eax - 0x4036340f], es
push ebp
inc edx
invalid
inc ebp
adc al, byte [ecx + 0x24]
mov bl, 0xdf
jnp 0x47f817
sub byte fs:[esi + 0x23], bl
add ebx, ebp
pop esi
xchg edi, eax
mov ch, 0xbf
dec eax
aas
cmpsb byte [esi], byte es:[edi]
dec ecx
int3

Function at 0x485940
Capabilities:
Check for software breakpoints

Disassembly:
cmc
mov dh, 0xf9
lea edx, [edi + 0x55]
lodsd eax, dword [esi]
jno 0x4859b6
scasb al, byte es:[edi]
xchg edi, eax
and dword [eax + 0x231107a8], ecx
pop ss
invalid
sbb eax, dword [ebx]
xor al, 0x2c
adc bh, byte [ebp - 0x6a]
mov edi, 0xbca84e55
in eax, 0xf2
inc esp
pushal
xchg esi, eax
mov edi, 0x886817e7
mov byte [0xae799baf], al
mov byte [edx - 0x51866451], ah
invalid
loope 0x4859cf
movsb byte es:[edi], byte [esi]
loope 0x485a33
ja 0x485999
lodsd eax, dword [esi]
invalid
xor eax, 0xa60b2074
mov bh, 0x29
test dword [ebx - 0x29260f67], ebx
inc edx
loope 0x4859ff
jne 0x4859ae
das
push ds
bound edx, qword [ecx - 0x3cd3dd3d]
out 0x1b, al
sbb ch, cl
test bl, dl
outsd dx, dword [esi]
invalid
dec esi
jns 0x485a55
insb byte es:[edi], dx
invalid
or al, byte [ecx]
mov edi, 0xf2328879
aaa
mov edx, 0xcd096588
inc edi
cli
in al, dx
and ah, byte [0x811b8745]
mov bh, 0x6b
and eax, ebx
cdq
jo 0x485a97
fistp dword [ecx + esi + 0x6e]
jmp 0x95c8b0cb
adc al, 0xb9
pop edx
lds esi, [esi]
test dword [0x4eafb645], eax
test dword ss:[0x4eafb645], eax
sbb byte [edx], ah
pop ebx
test dword [edi + 0x2f40f38], 0x9b314af1
loop 0x485aa5
xor byte [ebx + 0x67], ah
mov al, 0x77
xchg esp, eax
mov word [esp + ebp*8 + 0x31], fs
je 0x485a00
in al, dx
xor dword [esi + 0x74], esp
cmpsb byte [esi], byte es:[edi]
mov al, byte [0xe54627ff]
into
out dx, al
jo 0x485a0b
js fcn.00485aa0
and al, 0xf
call 0x12291349
loopne 0x485a7d
cmp ecx, esi
mov ebp, 0xc2f848c
arpl word cs:[edi + 0x56], cx
xor ch, 0x72
adc eax, 0xad0133c3
ret 0x1256
add dword [ebp - 0x31eda93e], ebp
js 0x485a37
and dword [ecx + ebx + 0x424de03e], ecx
sub ah, byte [edx + 0x39]
xchg esp, eax
in al, 0xd5
out 0x3b, eax
add cl, byte [ecx - 0x5b]
pop edx
aaa
cmc
pop esp
mov byte [0x7377bdf7], al
jae 0x485ab3
inc esp
sub eax, 0xe7f87401
jnp 0x485a6a
inc eax
sbb al, 0x84
ficom dword gs:[ecx - 0x21]
xchg byte [ebx], cl
invalid
Function at 0x55bd4b
Capabilities:
Encode data using xor

Disassembly:
pushal
stc
cmp dword [ebp + 0x14], ecx
pushal
jmp 0x5a0f74
jmp 0x5a139b
lea esp, [esp + 0x44]
ja 0x59251d
call fcn.0054cfc3
adc dword [esi], 0xffffffd7
or dword [esi - 0x7d7d8893], edi
sal esi, 1
mov ds, word [ebp - 0x15]
xchg esp, eax
push eax
out 0x49, eax
cwde
adc eax, 0x4600fffb
mov ecx, 0x99dd8ba9
invalid
pushfd
jmp 0x58bf2e
lea esp, [esp + 0x30]
jne 0x54d3e6
setle cl
mov ecx, dword [ebp - 4]
jmp 0x4fe100
Function at 0x7ef7f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x7ef850
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], 0
je 0x7ef847
mov edx, dword [0x85ca88]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x7ef83b
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x7ef820
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov al, 1
jmp 0x7ef849
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x7f61c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xf8
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + 0x78]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
add edx, dword [ecx + 0x20]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + 0x1c]
mov dword [ebp - 8], eax
mov dword [ebp - 0x24], 0
jmp 0x7f622c
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
cmp eax, dword [edx + 0x18]
jae 0x7f6273
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.00820878
add esp, 8
test eax, eax
jne 0x7f6271
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
movzx edx, word [ecx + eax*2]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + edx*4]
mov eax, ecx
jmp 0x7f6275
jmp 0x7f6223
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x803a70
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d8
mov eax, dword [0x84e300]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call fcn.007fef80
add esp, 4
movzx edx, al
test edx, edx
je 0x803b01
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0x2cc
push 0
lea ecx, [ebp - 0x2d8]
push ecx
call fcn.00815610
add esp, 0xc
mov dword [ebp - 0x2d8], 0x10001
lea edx, [ebp - 0x2d8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x803aff
mov edx, dword [ebp - 0x220]
cmp edx, dword [ebp + 0xc]
jne 0x803aff
jmp 0x803b01
jmp 0x803a83
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00815d65
mov esp, ebp
pop ebp
ret
Function at 0x8069b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x82a9f7
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x84e300]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.008050d0
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xa4
call fcn.008050d0
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x104
call fcn.008050d0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
mov dword [eax], 0x44
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.008063b0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xa4
call fcn.008063b0
mov edx, dword [ebp - 0x10]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x104
call fcn.008063b0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov dword [edx + 0x10], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
mov dword [edx + 0x14], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
mov dword [edx + 0x18], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1c]
mov dword [edx + 0x1c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
mov dword [edx + 0x20], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x24]
mov dword [edx + 0x24], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x28]
mov dword [edx + 0x28], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2c]
mov dword [edx + 0x2c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov cx, word [eax + 0x30]
mov word [edx + 0x30], cx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov cx, word [eax + 0x32]
mov word [edx + 0x32], cx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x38]
mov dword [edx + 0x38], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
mov dword [edx + 0x3c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x40]
mov dword [edx + 0x40], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x806bf0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x82aaa7
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x84e300]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.00804f90
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xa4
call fcn.00804f90
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x104
call fcn.00804f90
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
mov dword [eax], 0x44
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.008063d0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xa4
call fcn.008063d0
mov edx, dword [ebp - 0x10]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x104
call fcn.008063d0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov dword [edx + 0x10], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
mov dword [edx + 0x14], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
mov dword [edx + 0x18], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1c]
mov dword [edx + 0x1c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
mov dword [edx + 0x20], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x24]
mov dword [edx + 0x24], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x28]
mov dword [edx + 0x28], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2c]
mov dword [edx + 0x2c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov cx, word [eax + 0x30]
mov word [edx + 0x30], cx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov cx, word [eax + 0x32]
mov word [edx + 0x32], cx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x38]
mov dword [edx + 0x38], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
mov dword [edx + 0x3c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x40]
mov dword [edx + 0x40], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x810b9e
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [edi + 0x2c]
push esi
mov esi, dword [edi + 0x3c]
sub esi, dword [edi + 0x74]
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x2c]
lea ecx, [ebx + ecx - 0x106]
sub esi, eax
cmp eax, ecx
jb 0x810c23
mov eax, dword [edi + 0x38]
push ebx
lea ecx, [eax + ebx]
push ecx
push eax
call fcn.00815690
mov eax, dword [edi + 0x4c]
mov ecx, dword [edi + 0x44]
sub dword [edi + 0x70], ebx
sub dword [edi + 0x6c], ebx
add esp, 0xc
sub dword [edi + 0x5c], ebx
mov dword [ebp - 4], eax
lea eax, [ecx + eax*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0x810be6
mov eax, dword [edi + 0x40]
mov dword [ebp - 4], ebx
lea eax, [eax + ebx*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0x810c08
add esi, ebx
mov eax, dword [edi]
cmp dword [eax + 4], 0
je 0x810c7e
mov ecx, dword [edi + 0x74]
add ecx, dword [edi + 0x6c]
push esi
add ecx, dword [edi + 0x38]
mov esi, eax
push ecx
call fcn.0081096c
add dword [edi + 0x74], eax
mov esi, dword [edi + 0x74]
cmp esi, 3
pop ecx
pop ecx
jb 0x810c6a
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x38]
lea edx, [eax + ecx]
movzx eax, byte [edx]
mov ecx, dword [edi + 0x58]
mov dword [edi + 0x48], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [edi + 0x54]
mov dword [edi + 0x48], eax
cmp esi, 0x106
jae 0x810c7e
mov eax, dword [edi]
cmp dword [eax + 4], 0
jne 0x810ba7
pop esi
pop ebx
leave
ret
Function at 0x815d65
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x84e300]
jne 0x815d6f
repz ret
jmp fcn.0081c4a4

Function at 0x81cdb8
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x84e600]
je 0x81cdd3
inc edi
cmp edi, 0x17
jb 0x81cdc4
cmp edi, 0x17
jae 0x81cf53
push ebp
push 3
call fcn.008231b4
cmp eax, 1
pop ecx
je 0x81cf1f
push 3
call fcn.008231b4
test eax, eax
pop ecx
jne 0x81ce07
cmp dword [0x84e440], 1
je 0x81cf1f
cmp ebx, 0xfc
je 0x81cf52
push 0x855234
mov ebx, 0x314
push ebx
mov ebp, 0x85e180
push ebp
call fcn.0081cc4c
add esp, 0xc
test eax, eax
je 0x81ce3d
push esi
push esi
push esi
push esi
push esi
call fcn.00817f8b
add esp, 0x14
push 0x104
mov esi, 0x85e199
push esi
push 0
mov byte [0x85e29d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x81ce81
push 0x85521c
push 0x2fb
push esi
call fcn.0081cc4c
add esp, 0xc
test eax, eax
je 0x81ce81
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00817f8b
add esp, 0x14
push esi
call fcn.00817a60
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x81cec6
push esi
call fcn.00817a60
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x85e494
push 0x855218
sub ecx, eax
push ecx
push eax
call fcn.00821cfb
add esp, 0x14
test eax, eax
je 0x81cec6
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00817f8b
add esp, 0x14
jmp 0x81cec8
xor esi, esi
push 0x84fac8
push ebx
push ebp
call fcn.00821c8a
add esp, 0xc
test eax, eax
je 0x81cee8
push esi
push esi
push esi
push esi
push esi
call fcn.00817f8b
add esp, 0x14
push dword [edi*8 + 0x84e604]
push ebx
push ebp
call fcn.00821c8a
add esp, 0xc
test eax, eax
je 0x81cf0a
push esi
push esi
push esi
push esi
push esi
call fcn.00817f8b
add esp, 0x14
push 0x12010
push 0x8551f0
push ebp
call fcn.00822ff7
add esp, 0xc
jmp 0x81cf52
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x81cf52
cmp ebp, 0xffffffff
je 0x81cf52
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x84e604]
push dword [esi]
call fcn.00817a60
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x822ff7
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0081c682
xor ebx, ebx
cmp dword [0x85e860], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x8230cd
push 0x856344
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x8231ad
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x856338
push edi
call esi
cmp eax, ebx
je 0x8231ad
push eax
call fcn.0081c614
mov dword [esp], 0x856328
push edi
mov dword [0x85e860], eax
call esi
push eax
call fcn.0081c614
mov dword [esp], 0x856314
push edi
mov dword [0x85e864], eax
call esi
push eax
call fcn.0081c614
mov dword [0x85e868], eax
lea eax, [ebp - 0xc]
push eax
call fcn.008182c0
test eax, eax
pop ecx
pop ecx
je 0x82309b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00817f8b
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x8230cd
push 0x8562f8
push edi
call esi
push eax
call fcn.0081c614
cmp eax, ebx
pop ecx
mov dword [0x85e870], eax
je 0x8230cd
push 0x8562e0
push edi
call esi
push eax
call fcn.0081c614
pop ecx
mov dword [0x85e86c], eax
mov eax, dword [0x85e86c]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x823152
cmp dword [0x85e870], ecx
je 0x823152
push eax
call fcn.0081c68b
push dword [0x85e870]
mov esi, eax
call fcn.0081c68b
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x823152
cmp edi, ebx
je 0x823152
call esi
cmp eax, ebx
je 0x82311f
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x82311f
test byte [ebp - 0x18], 1
jne 0x823152
lea eax, [ebp - 0x10]
push eax
call fcn.008182f7
test eax, eax
pop ecx
je 0x82313a
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00817f8b
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x823149
or dword [ebp + 0x10], 0x200000
jmp 0x82318d
or dword [ebp + 0x10], 0x40000
jmp 0x82318d
mov eax, dword [0x85e864]
cmp eax, dword [ebp - 8]
je 0x82318d
push eax
call fcn.0081c68b
cmp eax, ebx
pop ecx
je 0x82318d
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x82318d
mov eax, dword [0x85e868]
cmp eax, dword [ebp - 8]
je 0x82318d
push eax
call fcn.0081c68b
cmp eax, ebx
pop ecx
je 0x82318d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x85e860]
call fcn.0081c68b
cmp eax, ebx
pop ecx
je 0x8231ad
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x8231af
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401370
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x4d6750]
xor eax, ebp
mov dword [ebp - 4], eax
push ecx
mov edx, ecx
lea ecx, [ebp - 0x20]
call fcn.00402fa0
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x401396
mov eax, dword [eax]
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
movdqu xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x38], eax
mov ecx, 0x254
push ebx
lea eax, [ebp - 0x40]
movq qword [ebp - 0x2c], xmm0
push eax
mov word [ebp - 0x24], 0
mov word [ebp - 0x30], cx
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x3c], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
sete bl
cmp dword [ebp - 0xc], 8
jb 0x4013eb
push dword [ebp - 0x20]
call fcn.00488361
add esp, 4
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00488366
mov esp, ebp
pop ebp
ret