joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1005b08e
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0xcc
je 0x1005b0c8
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x198]
mov ecx, dword [eax]
call ecx
add esp, 4
mov edx, dword [ebp + 8]
mov dword [edx + 0x78], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0xcc
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x198]
movzx eax, byte [edx + 8]
test eax, eax
je 0x1005b195
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x78]
cmp eax, dword [edx + 0x60]
jae 0x1005b15d
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 0
je 0x1005b123
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x78]
mov dword [eax + 4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x60]
mov dword [ecx + 8], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov ecx, dword [eax]
call ecx
add esp, 4
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x78]
mov dword [ebp - 8], eax
push 0
mov ecx, dword [ebp + 8]
add ecx, 0x78
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x19c]
mov edx, dword [ecx + 4]
call edx
add esp, 0x10
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x78]
cmp ecx, dword [ebp - 8]
jne 0x1005b15b
xor al, al
jmp 0x1005b1bb
jmp 0x1005b0dd
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x198]
mov edx, dword [ecx + 4]
call edx
add esp, 4
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x198]
mov eax, dword [edx]
call eax
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x78], 0
jmp 0x1005b0c8
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x41]
test eax, eax
je 0x1005b1a9
mov dword [ebp - 4], 0xce
jmp 0x1005b1b0
mov dword [ebp - 4], 0xcd
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
mov dword [ecx + 0x14], edx
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x1008b2ce
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ecx + 4]
jae 0x1008b366
mov byte [ebp - 0xd], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ecx + edx*4]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
and ecx, 0x7f
movzx edx, byte [ebp - 0xd]
mov byte [ebp + edx - 0xc], cl
mov al, byte [ebp - 0xd]
add al, 1
mov byte [ebp - 0xd], al
mov ecx, dword [ebp - 0x18]
shr ecx, 7
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
jbe 0x1008b276
mov edx, dword [ebp - 0x18]
and edx, 0x7f
or edx, 0x80
movzx eax, byte [ebp - 0xd]
mov byte [ebp + eax - 0xc], dl
mov cl, byte [ebp - 0xd]
add cl, 1
mov byte [ebp - 0xd], cl
mov edx, dword [ebp - 0x18]
shr edx, 7
mov dword [ebp - 0x18], edx
jmp 0x1008b248
movzx eax, word [ebp - 0x14]
movzx ecx, byte [ebp - 0xd]
add eax, ecx
cmp eax, 0xffff
jle 0x1008b31d
movzx edx, byte [ebp - 0xe]
cmp edx, 0xff
jne 0x1008b2b1
push 0x10106ff8
push 1
mov eax, dword [ebp + 0x18]
push eax
call fcn.100b9cf8
add esp, 0xc
xor eax, eax
jmp 0x1008b389
push 2
movzx ecx, word [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x20]
push edx
call fcn.100bc858
add esp, 0xc
push 2
push 0xff58
mov eax, dword [ebp + 0x10]
push eax
call fcn.100bc858
add esp, 0xc
mov ecx, dword [ebp + 0x10]
add ecx, 2
mov dword [ebp + 0x10], ecx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp + 0x10]
add eax, 2
mov dword [ebp + 0x10], eax
mov cl, byte [ebp - 0xe]
add cl, 1
mov byte [ebp - 0xe], cl
push 1
movzx edx, byte [ebp - 0xe]
push edx
mov eax, dword [ebp + 0x10]
push eax
call fcn.100bc858
add esp, 0xc
mov ecx, dword [ebp + 0x10]
add ecx, 1
mov dword [ebp + 0x10], ecx
mov edx, 3
mov word [ebp - 0x14], dx
movzx eax, word [ebp - 0x14]
movzx ecx, byte [ebp - 0xd]
add eax, ecx
mov word [ebp - 0x14], ax
jmp 0x1008b336
mov dl, byte [ebp - 0xd]
sub dl, 1
mov byte [ebp - 0xd], dl
movzx eax, byte [ebp - 0xd]
test eax, eax
jle 0x1008b361
push 1
movzx ecx, byte [ebp - 0xd]
movzx edx, byte [ebp + ecx - 0xd]
push edx
mov eax, dword [ebp + 0x10]
push eax
call fcn.100bc858
add esp, 0xc
mov ecx, dword [ebp + 0x10]
add ecx, 1
mov dword [ebp + 0x10], ecx
jmp 0x1008b32d
jmp 0x1008b1fe
mov edx, dword [ebp + 0x10]
sub edx, dword [ebp - 0x24]
mov eax, dword [ebp + 0x14]
mov dword [eax], edx
push 2
movzx ecx, word [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x20]
push edx
call fcn.100bc858
add esp, 0xc
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100d35bc
mov esp, ebp
pop ebp
ret
Function at 0x10095d46
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp dword [ebp - 0x14], 0
jne 0x10095d94
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x10]
movzx ecx, byte [eax + 1]
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x10]
movzx ecx, byte [eax]
cmp ecx, 0xff
jne 0x10095d72
cmp dword [ebp - 0x64], 0x8f
jbe 0x10095d4e
mov edx, dword [ebp - 8]
add edx, 0xff00
mov dword [ebp - 8], edx
mov dword [ebp - 0x14], 8
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0xc]
add ecx, 1
mov edx, dword [ebp - 0xc]
mov dword [edx + 0xc], ecx
jmp 0x10095d70
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x10]
add ecx, 1
add dword [ebx + 0x4a89f455], ecx
adc byte [ebx - 0x1f3e63bb], cl
or dword [ebx], eax
inc ebp
clc
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 7
jmp 0x10095d94
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x10]
add edx, 1
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x10], edx
mov ecx, dword [ebp - 0x64]
shl ecx, 8
add ecx, dword [ebp - 8]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x14], 8
mov edx, dword [ebp - 0x10]
shl edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
shl eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x14]
sub ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x10], 0x8000
jb 0x10095cf9
jmp 0x10095f09

Function at 0x10095d48
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp dword [ebp - 0x14], 0
jne 0x10095d94
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x10]
movzx ecx, byte [eax + 1]
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x10]
movzx ecx, byte [eax]
cmp ecx, 0xff
jne 0x10095d72
cmp dword [ebp - 0x64], 0x8f
jbe 0x10095d4e
mov edx, dword [ebp - 8]
add edx, 0xff00
mov dword [ebp - 8], edx
mov dword [ebp - 0x14], 8
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0xc]
add ecx, 1
mov edx, dword [ebp - 0xc]
mov dword [edx + 0xc], ecx
jmp 0x10095d70
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x10]
add ecx, 1
add dword [ebx + 0x4a89f455], ecx
adc byte [ebx - 0x1f3e63bb], cl
or dword [ebx], eax
inc ebp
clc
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 7
jmp 0x10095d94
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x10]
add edx, 1
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x10], edx
mov ecx, dword [ebp - 0x64]
shl ecx, 8
add ecx, dword [ebp - 8]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x14], 8
mov edx, dword [ebp - 0x10]
shl edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
shl eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x14]
sub ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x10], 0x8000
jb 0x10095cf9
jmp 0x10095f09
Function at 0x10095d56
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp dword [ebp - 0x14], 0
jne 0x10095d94
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x10]
movzx ecx, byte [eax + 1]
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x10]
movzx ecx, byte [eax]
cmp ecx, 0xff
jne 0x10095d72
cmp dword [ebp - 0x64], 0x8f
jbe 0x10095d4e
mov edx, dword [ebp - 8]
add edx, 0xff00
mov dword [ebp - 8], edx
mov dword [ebp - 0x14], 8
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0xc]
add ecx, 1
mov edx, dword [ebp - 0xc]
mov dword [edx + 0xc], ecx
jmp 0x10095d70
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x10]
add ecx, 1
add dword [ebx + 0x4a89f455], ecx
adc byte [ebx - 0x1f3e63bb], cl
or dword [ebx], eax
inc ebp
clc
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 7
jmp 0x10095d94
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x10]
add edx, 1
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x10], edx
mov ecx, dword [ebp - 0x64]
shl ecx, 8
add ecx, dword [ebp - 8]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x14], 8
mov edx, dword [ebp - 0x10]
shl edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
shl eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x14]
sub ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x10], 0x8000
jb 0x10095cf9
jmp 0x10095f09

Function at 0x10095ef6
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp dword [ebp - 0x14], 0
jne 0x10095ed6
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x10]
movzx edx, byte [ecx + 1]
mov dword [ebp - 0x68], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x10]
movzx edx, byte [ecx]
cmp edx, 0xff
jne 0x10095eb4
cmp dword [ebp - 0x68], 0x8f
jbe 0x10095e90
mov eax, dword [ebp - 8]
add eax, 0xff00
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 8
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0xc]
add edx, 1
mov eax, dword [ebp - 0xc]
mov dword [eax + 0xc], edx
jmp 0x10095eb2
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x10]
add edx, 1
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x10], edx
mov ecx, dword [ebp - 0x68]
shl ecx, 9
add ecx, dword [ebp - 8]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x14], 7
add byte [eax], al
jmp 0x10095ed6
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x10]
add eax, 1
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
shl eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
shl ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x14]
sub edx, 1
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x10], 0x8000
jb 0x10095e3c
jmp 0x10095f09
Function at 0x100e73fe
Capabilities:
Encrypt data using rc4 prga

Disassembly:
add dword [ecx - 0x774f7ba], ecx
or byte [esi + 0x37], 0x20
mov dl, byte [eax]
xor ebx, ebx
mov dword [ebp - 8], ebx
cmp dl, 0x5d
je 0x100e73cc
mov ebx, edi
test dl, dl
je 0x100e73c7
cmp dl, 0x2d
jne 0x100e73a0
lea eax, [ebx - 1]
cmp eax, dword [ebp - 8]
je 0x100e73a0
cmp ebx, edi
je 0x100e73a0
lea eax, [ebx + 1]
mov cl, byte [eax]
cmp cl, 0x5d
je 0x100e73a0
mov bh, byte [ebx - 1]
mov dword [ebp - 8], eax
cmp bh, cl
jbe 0x100e7376
mov al, bh
mov bh, cl
mov cl, al
inc cl
mov byte [ebp - 1], cl
cmp bh, cl
je 0x100e73b7
mov bl, cl
mov dh, 0x44
xor dword [edi + ecx], ebp
stosd dword es:[edi], eax
sar dh, 1
invalid
movzx edx, dl
mov ecx, edx
and edx, 7
shr ecx, 3
movzx eax, byte [ecx + esi + 0x2c]
sub al, 0xf
stosd dword es:[edi], eax
dec ebx
jae 0x100e735f
popal
dec esp
inc esi
or byte [eax - 0x75], al
fmul dword [ecx + 0x138a0846]
cmp dl, 0x5d
jne 0x100e738d
mov cl, byte [ebp - 2]
xor ebx, ebx
cmp byte [eax], 0
pop edi
jne 0x100e742a
mov word [esi + 0x14], 0
mov dword [esi + 0xc], 0x16
jmp 0x100e732b
cmp cl, 0x5e
jne 0x100e743a
lea ecx, [esi + 0x2c]
call fcn.100e6bcd
mov eax, dword [esi + 8]
inc eax
mov dword [esi + 8], eax
mov al, 1
pop esi
pop ebx
leave
ret

Function at 0x48ac0b
Capabilities:
Encode data using xor

Disassembly:
ljmp 0x43c0:0xe565a384
iretd
les eax, [ecx + 0x6fae6f20]
and byte [edi - 0x52], ch
outsd dx, dword [esi]
inc esp
pop es
jns 0x48ab48
sbb al, 0x11
mov al, byte [0xb8cc22f]
jnp 0x48abbc
pop edi
adc ebp, ebp
mov cl, 0xd3
std
mov esi, 0x4b537e32
xchg edi, eax
and al, 0xbf
inc ebx
cmpsd dword [esi], dword es:[edi]
and dword [ecx - 0x75], esi
jno 0x48ab6e
popal
dec ebp
fstp qword [ebx - 0x394ff4be]
pushfd
sbb eax, 0x7eda1205
adc ebx, dword [esi + 0x72187709]
invalid
fidivr dword [esi + 0x13]
sahf
or dword [edi + 0x18], esi
jb 0x48abbe
insb byte es:[edi], dx
mov word [ebp - 0x271228b1], cs
lahf
xor eax, 0x18fde377
aam 0x31
test eax, 0xf957ec8b
stc
stc
inc esp
pop ds
push ecx
mov esp, 0x141182e7
or ecx, ebx
push 0x26
nop
add ecx, dword [edi]
mov ebx, 0x50f050d0
sti
jns 0x48abef
pop ebp
scasb al, byte es:[edi]
or eax, 0xd7e37cb2
bswap edi
or ecx, dword [eax + 0xf]
test byte [edi], ch
jo 0x48abe1
iretd

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x10003d32
Capabilities:
Terminate process

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

Function at 0x10003eae
Capabilities:
Query environment variable

Disassembly:
jmp 0x100d42ae
mov edi, edi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x100d42c2
xor edi, edi
jmp 0x100d42f9
push ebx
push esi
call fcn.100d41b8
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.1000494e
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x100d42e9
push ebx
push esi
push edi
call fcn.10006591
add esp, 0xc
push 0
call fcn.10007356
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
pop ebx
mov eax, edi
pop edi
pop esi
ret
Function at 0x100254e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e88f6
mov eax, dword fs:[0]
push eax
sub esp, 0x184
push esi
push edi
lea edi, [ebp - 0x190]
mov ecx, 0x61
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x10120764]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x10122c64], 1
jne 0x10025573
push 1
push 0x40
push 8
push 0x100f35bc
lea ecx, [ebp - 0xc0]
call fcn.10005fc9
mov dword [ebp - 4], 0
push str._n_HTTP_Server_connection_fail_
lea eax, [ebp - 0xc0]
push eax
call fcn.10003bcf
add esp, 8
lea ecx, [ebp - 0xc0]
call fcn.10002f0e
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc0]
call fcn.10001447
cmp dword [0x10122c74], 1
jne 0x10025639
lea ecx, [ebp - 0xd0]
push ecx
call fcn.100250f0
add esp, 4
lea edx, [ebp - 0xd0]
push edx
call fcn.100250d0
add esp, 4
mov dword [ebp - 0xd8], eax
push 1
push 0x40
push 8
push 0x100f35ec
lea ecx, [ebp - 0x18c]
call fcn.10005fc9
mov dword [ebp - 4], 1
push 0x100f35f0
lea eax, [ebp - 0x18c]
push eax
call fcn.10003bcf
add esp, 8
mov ecx, dword [ebp - 0xd8]
push ecx
call fcn.10005358
add esp, 4
push eax
lea edx, [ebp - 0x18c]
push edx
call fcn.10003bcf
add esp, 8
push 0x100f3600
lea eax, [ebp - 0x18c]
push eax
call fcn.10003bcf
add esp, 8
push 0x100f3620
lea ecx, [ebp - 0x18c]
push ecx
call fcn.10003bcf
add esp, 8
lea ecx, [ebp - 0x18c]
call fcn.10002f0e
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18c]
call fcn.10001447
cmp dword [0x10122c68], 1
je 0x10025654
cmp dword [0x10122c68], 3
je 0x10025654
cmp dword [0x10122c68], 4
jne 0x10025697
mov esi, esp
push 0
push 0
push 0
push 0x100023a1
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp esi, esp
call fcn.10004ead
mov esi, esp
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, esp
call fcn.10004ead
mov esi, esp
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp dword [0x10122c68], 2
jne 0x100256e3
mov esi, esp
push 0
push 0
push 0
push 0x10004755
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp esi, esp
call fcn.10004ead
mov esi, esp
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, esp
call fcn.10004ead
mov esi, esp
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp dword [0x10122c68], 0
jne 0x100256ff
mov esi, esp
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esi, esp
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x1004f970
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1234
call fcn.10002031
push esi
push edi
lea edi, [ebp - 0x1234]
mov ecx, 0x48d
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x10120764]
xor eax, ebp
mov dword [ebp - 4], eax
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, esp
call fcn.10004ead
mov dword [ebp - 8], eax
mov esi, esp
mov eax, dword [ebp - 8]
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp esi, esp
call fcn.10004ead
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x1004f9d7
xor al, al
jmp 0x1004fa93
lea ecx, [ebp - 0x101c]
push ecx
push 0x1000
lea edx, [ebp - 0x1010]
push edx
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.dll_K32EnumProcessModules
test eax, eax
je 0x1004fa7e
mov dword [ebp - 0x1024], 0
jmp 0x1004fa16
mov ecx, dword [ebp - 0x1024]
add ecx, 1
mov dword [ebp - 0x1024], ecx
mov edx, dword [ebp - 0x101c]
shr edx, 2
cmp dword [ebp - 0x1024], edx
jae 0x1004fa7e
push 0x104
lea eax, [ebp - 0x1230]
push eax
mov ecx, dword [ebp - 0x1024]
mov edx, dword [ebp + ecx*4 - 0x1010]
push edx
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.dll_K32GetModuleFileNameExW
test eax, eax
je 0x1004fa7c
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x1230]
push edx
call fcn.1000650f
add esp, 8
test eax, eax
je 0x1004fa7c
mov esi, esp
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.10004ead
mov al, 1
jmp 0x1004fa93
jmp 0x1004fa07
mov esi, esp
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.10004ead
xor al, al
push edx
mov ecx, ebp
push eax
lea edx, [0x1004fac4]
call fcn.10004543
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10003675
add esp, 0x1234
cmp ebp, esp
call fcn.10004ead
mov esp, ebp
pop ebp
ret
Function at 0x401000
Capabilities:
Allocate thread local storage

Disassembly:
push 0x8c
push 0
push 0x454a34
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0
call sub.KERNEL32.dll_GetModuleHandleW
mov dword [0x454a38], eax
push 0
push 0x1000
push 0
call sub.KERNEL32.dll_HeapCreate
mov dword [0x454a34], eax
call section..text
call fcn.0040cd40
call fcn.0040bddf
call fcn.0040b827
call fcn.0040b050
call fcn.0040aa67
call fcn.0040aa5b
call fcn.0040a890
call fcn.0040a3d0
call fcn.0040850c
call fcn.00407db0
call fcn.004072d1
call fcn.00407248
call fcn.00406f17
call fcn.00405487
call fcn.00404e08
call fcn.00404a27
call fcn.00403ad8
call fcn.004038d6
call fcn.004036a8
call fcn.004041e4
mov edx, str.Error
lea ecx, [0x454a88]
call fcn.00403068
mov dword [0x454a70], 0
mov dword [0x454a3c], 0x7a120
mov dword [0x454a40], 0
call fcn.0040377b
mov dword [0x454a8c], eax
lea eax, [0x401551]
push eax
call fcn.00404b20
call fcn.00402b71
call fcn.004015bf
push 0
call 0x401115
call fcn.0040cd70
push dword [0x454a34]
call sub.KERNEL32.dll_HeapDestroy
call sub.KERNEL32.dll_ExitProcess
call fcn.00403666
call fcn.00404a1b
call fcn.00404b40
call fcn.00404ded
call fcn.00405464
call fcn.00406f0a
call fcn.0040723c
call fcn.0040a3f0
call fcn.0040aaf5
call fcn.0040abe6
call fcn.0040b040
call fcn.0040b809
call fcn.0040c3e2
call fcn.0040a880
ret

Function at 0x4015bf
Capabilities:
Delete directory

Disassembly:
push ebx
call fcn.0040cdd0
push 1
call fcn.0040b420
and eax, eax
je 0x4015dd
push 1
call fcn.0040af80
push 2
call fcn.0040b420
and eax, eax
je 0x4015f5
push 2
call fcn.0040af80
push dword [0x454ab4]
call fcn.0040ac24
push dword [0x454aa8]
call fcn.0040ac24
mov ebx, dword [0x454a68]
cmp ebx, 1
jne 0x401621
push dword [0x454ab0]
call fcn.0040ac24
push dword [0x454aa0]
call sub.KERNEL32.dll_RemoveDirectoryW
jmp 0x4010f6

Function at 0x401635
Capabilities:
Hide graphical window

Disassembly:
push ebx
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0040cdd0
mov edx, dword [esp + 0x1c]
lea ecx, [esp]
call fcn.00403060
push dword [0x454a84]
call fcn.00403b07
mov dword [esp + 4], eax
mov ebx, dword [esp + 8]
inc ebx
mov dword [esp + 8], ebx
push dword [esp]
push 0
call sub.USER32.DLL_FindWindowW
mov dword [esp + 0xc], eax
mov ebx, dword [esp + 8]
cmp ebx, 0xc8
jne 0x401685
jmp 0x4016f4
mov ebx, dword [esp + 0xc]
and ebx, ebx
jle 0x4016e5
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x10]
call sub.USER32.DLL_GetWindowThreadProcessId
mov ebx, dword [esp + 0x10]
cmp ebx, dword [esp + 4]
jne 0x4016e5
push 1
push dword [esp + 0x10]
call sub.USER32.DLL_ShowWindow
push 3
push 0
push 0
push 0
push 0
push 0
push dword [esp + 0x24]
call sub.USER32.DLL_SetWindowPos
push dword [esp + 0xc]
call sub.USER32.DLL_SetForegroundWindow
jmp 0x4016f4
push 0x14
call fcn.004053c4
jmp 0x40165d
jmp 0x4016f8
push dword [esp]
call fcn.0040ce30
add esp, 0x14
pop ebx
ret 4
Function at 0x401707
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov edx, 7
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x40170d
call fcn.0040cdd0
mov edx, dword [esp + 0x24]
lea ecx, [esp]
call fcn.00403060
push dword [0x454a84]
call fcn.00403b07
mov dword [esp + 4], eax
mov ebx, dword [esp + 8]
inc ebx
mov dword [esp + 8], ebx
push dword [esp]
push 0
call sub.USER32.DLL_FindWindowW
mov dword [esp + 0xc], eax
mov ebx, dword [esp + 8]
cmp ebx, 0xc8
jne 0x401765
jmp 0x401848
mov ebx, dword [esp + 0xc]
and ebx, ebx
jle 0x401839
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x10]
call sub.USER32.DLL_GetWindowThreadProcessId
mov ebx, dword [esp + 0x10]
cmp ebx, dword [esp + 4]
jne 0x401839
push 1
push edx
call fcn.0040ce60
pop edx
push eax
push edx
call fcn.0040ce60
pop edx
push eax
push edx
call fcn.0040ce60
pop edx
push eax
call fcn.00403b11
call fcn.004031e2
add dword [esp], edx
call sub.KERNEL32.dll_GetModuleHandleW
call fcn.00403200
push eax
call sub.USER32.DLL_LoadIconW
mov dword [esp + 0x14], eax
push dword [esp + 0x14]
push 0
push pe_nt_image_headers32
push dword [esp + 0x18]
call sub.USER32.DLL_SendMessageW
mov ebx, dword [0x454a7c]
and ebx, ebx
jne 0x4017f9
push dword [esp + 0x18]
push dword [esp + 0x10]
call fcn.00402997
push 1
push dword [esp + 0x10]
call sub.USER32.DLL_ShowWindow
push 3
push 0
push 0
push 0
push 0
push 0
push dword [esp + 0x24]
call sub.USER32.DLL_SetWindowPos
push dword [esp + 0xc]
call sub.USER32.DLL_SetForegroundWindow
jmp 0x401848
push 0x14
call fcn.004053c4
jmp 0x40173a
jmp 0x40184c
push dword [esp]
call fcn.0040ce30
add esp, 0x1c
pop ebx
ret 4