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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov word [ebp - 4], cx
mov byte [ebp - 1], dl
xor eax, eax
push ebp
push 0x6dbd6b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404cd0
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x42078b
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x4207a4
lea eax, [ebp - 0x10]
mov edx, dword [0x6f973c]
mov edx, dword [edx]
mov edx, dword [edx + 0x14]
call fcn.00404d30
jmp 0x4207b7
lea eax, [ebp - 0x10]
mov edx, dword [0x6f973c]
mov edx, dword [edx]
mov edx, dword [edx + 0x18]
call fcn.00404d30
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x4207c3
adc edx, 0
mov edx, dword [edx*4 + 0x6f8538]
call fcn.00404f20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404f04
push eax
call fcn.00406b1c
mov esi, eax
cmp esi, 0xffffffff
je 0x42093d
mov eax, 0x40
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x40
push edi
push esi
call fcn.00406d8c
test eax, eax
je 0x420930
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x420930
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406dec
mov eax, edi
call fcn.00403288
mov eax, 0x18
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x18
push edi
push esi
call fcn.00406d8c
test eax, eax
je 0x420930
mov eax, edi
cmp dword [eax], 0x4550
jne 0x420930
add eax, 4
mov dword [ebp - 0xc], eax
cmp byte [ebp - 1], 0
je 0x4208ce
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x8664
jne 0x4208ce
mov eax, edi
call fcn.00403288
mov eax, 0xf0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xf0
push edi
push esi
call fcn.00406d8c
test eax, eax
je 0x4208ce
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x4208ce
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
cmp byte [ebp - 1], 0
jne 0x420930
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x14c
jb 0x420930
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x150
ja 0x420930
mov eax, edi
call fcn.00403288
mov eax, 0xe0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xe0
push edi
push esi
call fcn.00406d8c
test eax, eax
je 0x420930
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x420930
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
mov eax, edi
call fcn.00403288
push esi
call fcn.00406ad4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.0040502c
jne 0x420955
inc ebx
cmp ebx, 0x19
jne 0x42077d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6dbd72
lea eax, [ebp - 0x10]
call fcn.00404cd0
ret
Function at 0x100cb30
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x1010004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x20019
xor esi, esi
push 0x1002528
mov dword [ebp - 0x90], ecx
push 0x80000002
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x9c], esi
mov dword [ebp - 0x98], esi
mov dword [ebp - 0x94], esi
call fcn.0100a16e
test eax, eax
jne 0x100cc1d
push ebx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x84]
push eax
push esi
push dword [ebp - 0x9c]
mov dword [ebp - 0x8c], 0x40
mov dword [ebp - 0x88], esi
call edi
mov ebx, 0x103
jmp 0x100cc17
lea eax, [ebp - 0x84]
push eax
call fcn.0100a8ec
mov dword [ebp - 0xa0], eax
cmp eax, esi
je 0x100cbe7
mov ecx, dword [ebp - 0x90]
lea eax, [ebp - 0xa0]
push eax
add ecx, 0x54
call fcn.0100cb01
inc dword [ebp - 0x88]
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x84]
push eax
push dword [ebp - 0x88]
mov dword [ebp - 0x8c], 0x40
push dword [ebp - 0x9c]
call edi
cmp eax, ebx
jne 0x100cbbc
pop edi
pop ebx
lea ecx, [ebp - 0x9c]
call fcn.0100a150
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x90]
xor ecx, ebp
add eax, 0x54
pop esi
call fcn.01009ae9
leave
ret

Function at 0x100d081
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x100d08c
sub eax, edx
sar eax, 1
cmp eax, 0x7fffffff
jae 0x100d0bb
lea eax, [eax + eax + 2]
push eax
push dword [ebp + 0x14]
push 1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call sub.SHLWAPI.dll_SHSetValueW
jmp 0x100d0c0
mov eax, 0x216
test eax, eax
jle 0x100d0ce
and eax, 0xffff
or eax, 0x80070000
pop ebp
ret 0x10

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

Disassembly:
pushal
mov eax, section..text
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x195c3d2e
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
loop 0x433060
nop
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x1d6219d1
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
loop 0x4330c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x10001d06
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x5c
mov eax, dword [ebp + 8]
mov dword [0x10011bf4], 0x1234
mov dword [0x10011bf8], 0x118d
mov dword [ebp - 0x10], eax
call fcn.10002067
xor ecx, ecx
mov edx, eax
mov esi, dword [0x10011bf8]
mov edi, dword [eax + 0x3c]
mov ebx, edx
add ebx, edi
mov edi, dword [eax + edi]
cmp edi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
je 0x10001d5f
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x20]
add ecx, 0x21fc
mov dword [0x10011bf8], ecx
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov esi, dword [edx + eax + 0x24]
mov dword [0x10011bf4], 0x62
mov edi, dword [edx + eax + 0x18]
cmp edi, 0
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
je 0x10001eba
jmp 0x10001dda
mov eax, dword [ebp - 0x3c]
add eax, 1
mov cl, byte [ebp - 0x3d]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x3e]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x44], eax
jne 0x10001e14
jmp 0x10001e41
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x30]
add eax, ecx
mov dword [ebp - 0x48], eax
xor eax, eax
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
xor edx, edx
mov esi, dword [ebp - 0x2c]
mov edi, dword [esi + ecx*4]
mov dword [0x10011bf4], 0x1234
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x44]
mov ecx, eax
mov edx, dword [ebp - 0x5c]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x3d], bh
mov byte [ebp - 0x3e], cl
jne 0x10001db0
mov al, byte [ebp - 0x3e]
test al, 1
jne 0x10001e8b
jmp 0x10001e4a
mov eax, dword [ebp - 0x54]
add eax, 2
mov ecx, dword [ebp - 0x58]
add ecx, 1
mov edx, dword [ebp - 0x34]
cmp ecx, edx
setb bl
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x64], ecx
mov byte [ebp - 0x65], bl
xor eax, eax
mov cl, byte [ebp - 0x65]
test cl, 1
mov edx, dword [ebp - 0x64]
mov esi, dword [ebp - 0x60]
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x38], eax
jne 0x10001df0
jmp 0x10001eba
mov eax, dword [ebp - 0x54]
movzx ecx, word [eax]
mov dword [0x10011bf8], 0x185c
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x28]
add edx, dword [edx + esi + 0x1c]
mov ecx, dword [edx + ecx*4]
mov dword [0x10011bf4], 0x6ff
mov edx, dword [ebp - 0x1c]
add edx, ecx
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
add esp, 0x5c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100022be
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [0x10011bf4], 0x107
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x10011bf8], 0xa4
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edx
je 0x10002357
jmp 0x10002336
mov dword [0x10011bf8], 0xffffe667
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x100023bf
jmp 0x100023d6
mov dword [0x10011bf8], 0x1707
mov eax, dword [ebp - 0x14]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], eax
jl 0x100022fc
mov eax, dword [ebp - 0x18]
mov dword [0x10011bf4], 0xffffff39
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x1c], eax
jne 0x100023d6
mov dword [0x10011bf4], 0x8c4
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x100023d6
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x100023d6
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x100023d6
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x10002314
jmp 0x100023d6
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x20], eax
je 0x100023e5
xor eax, eax
mov dword [0x10011bf4], 0x1c0f
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
add esp, 0x20
pop ebp
ret
Function at 0x10002562
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x10011bf8], 0x1c22
mov esi, dword [0x10011bf4]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
mov cl, byte [eax + 0x10005262]
mov dl, byte [eax + 0x10005233]
sub dl, cl
mov byte [ebp + eax - 0x24], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x34], eax
jne 0x1000258d
lea eax, [ebp - 0x24]
mov ecx, dword [ebp - 0x30]
add ecx, 0x38a
mov dword [0x10011bf8], ecx
mov dword [0x10011bf4], 0x2676
mov dword [ebp - 0x38], eax
call fcn.10002d9e
mov dword [esp], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 4], eax
call fcn.10001ec5
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
je 0x100026a5
mov eax, dword [ebp - 0x3c]
mov dword [0x10011bf8], 0xdf2
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [0x10011bf8], 0x23a4
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x44], eax
call fcn.100030db
xor eax, eax
mov ecx, dword [ebp - 0x44]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xc0
mov dword [ecx + 0xc0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x24], ecx
mov dword [0x10011bf4], 0x2677
mov ecx, dword [ebp - 0x44]
mov dword [edx + 0x1c], ecx
mov dword [0x10011bf8], 0x680
cmp ecx, 0
mov dword [ebp - 0x40], eax
je 0x100026a5
mov eax, dword [ebp - 0x44]
add eax, 0x1021
mov dword [0x10011bf4], 0x1906
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
add esp, 0x50
pop esi
pop ebp
ret
Function at 0x100029d5
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x98
call fcn.1000109a
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
jne 0x10002b2e
lea eax, [esp + 0x38]
mov dword [0x10011bf4], 0x142d
mov dword [esp + 0x20], eax
call fcn.100022be
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x1c], ecx
jne 0x10002b26
lea eax, [esp + 0x28]
mov dword [esp], eax
call fcn.100026ae
lea ecx, [0x10002509]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x48], edx
mov dword [esp + 0x50], 0x125400
mov edx, dword [0x10011be0]
mov dword [esp + 0x70], edx
mov edx, dword [0x10011be4]
mov dword [esp + 0x78], edx
mov edx, dword [0x10011be8]
mov dword [esp + 0x80], edx
mov edx, dword [0x10011bec]
mov dword [esp + 0x38], edx
mov edx, dword [0x10011bf0]
mov dword [esp + 0x3c], edx
mov dword [0x10011bf4], 0xca7
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
jne 0x10002aac
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
je 0x10002aca
mov dword [0x10011bf8], 0xfffff8b4
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x10002a89
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x74], ecx
mov edx, dword [esp + 0xc]
mov esi, dword [ecx + edx + 0x50]
mov dword [esp + 0x68], esi
mov dword [0x10011bf4], 0x2489
mov dword [0x10011bf8], 0xae5
mov esi, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.10002562
mov dword [0x10011bf8], 0x74c
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x10002b38
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x10011bfc], 0
mov dword [0x10011c00], 0
mov dword [0x10011c0c], 0
mov edi, dword [0x10011bf8]
add edi, 0xffffeb05
mov dword [0x10011bf4], edi
cmp eax, 0
sete bl
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov byte [ebp - 0x1d], bl
xor eax, eax
mov cl, byte [ebp - 0x1d]
test cl, 1
mov edx, eax
mov esi, eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], eax
jne 0x10002cd3
jmp 0x10002bb1
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov esi, 0x100
mov edi, eax
add edi, 1
mov dword [0x10011bf4], 0x1641
add edx, 1
mov dword [0x10011bf8], 0xf08
mov dword [ebp - 0x30], eax
mov eax, edx
cdq
idiv esi
mov dword [0x10011bfc], edx
mov ebx, dword [ebp - 0x1c]
movzx ebx, byte [ebx + edx]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x10011c00], edx
mov dword [0x10011bf4], 0x160e
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x10011c04], cl
mov ebx, dword [ebp - 0x1c]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x10011c04]
mov edx, dword [0x10011c00]
mov byte [ebx + edx], cl
mov edx, dword [0x10011bfc]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x10011c00]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x10011c0c], ecx
mov dword [0x10011bf4], 0x2a72
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x30]
mov ch, byte [edx + esi]
mov edx, dword [0x10011bf8]
add edx, 0xfffff0cb
mov dword [0x10011bf8], edx
mov dl, cl
add dl, byte [0x10011c11]
mov byte [0x10011c10], dl
mov byte [0x10011c11], ch
mov byte [0x10011c12], cl
xor ch, cl
mov edx, dword [ebp - 0x18]
mov byte [edx + esi], ch
mov dword [0x10011bf4], 0x138b
mov edx, dword [ebp - 0x10]
cmp edi, edx
mov dword [ebp - 0x38], edi
je 0x10002cd3
mov eax, dword [0x10011bfc]
mov ecx, dword [0x10011c00]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x2c], edx
jmp 0x10002bb1
mov dword [0x10011bf8], 0x232
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10002ee8
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [0x10011bf8], 0x2446
mov dword [0x10011c00], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
xor eax, eax
mov byte [0x10011c04], 0
mov dword [0x10011bfc], 0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x10011bf4]
add eax, 0xcff
mov dword [0x10011bf8], eax
mov eax, dword [0x10011bfc]
add eax, 1
mov dword [0x10011bfc], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10002f2d
xor eax, eax
mov dword [0x10011bf4], 0x1e5b
mov dword [0x10011bfc], 0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x10011c08], 0
mov dword [0x10011bf8], 0x1a8e
mov edx, dword [0x10011c00]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
mov dword [ebp - 0x24], eax
xor edx, edx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov dword [0x10011c08], edi
mov dword [0x10011bf4], 0x1721
mov eax, edi
cdq
idiv ecx
mov dword [0x10011c00], edx
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x10011c04], cl
mov dword [0x10011bf4], 0x1c4e
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov cl, byte [0x10011c04]
mov edx, dword [0x10011c00]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov dword [0x10011bf8], 0x257f
mov edx, dword [0x10011bfc]
add edx, 1
mov dword [0x10011bfc], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x10002f7b
mov dword [0x10011bf4], 0x1a3f
mov dword [0x10011bf8], 0x213
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40c8e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
mov eax, dword [0x430328]
push edi
test eax, eax
jne 0x40c987
mov eax, dword [esi + 0x24]
cmp eax, 0xffffffff
jne 0x40c961
push 0x11
push 0
push str.C:TSLOG_CONFIG_
call dword [sym.imp.KERNEL32.dll_FindFirstChangeNotificationW]
mov dword [esi + 0x24], eax
cmp eax, 0xffffffff
je 0x40c9be
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push str.C:TSLOG_CONFIGTSLOG.ini
call edi
cmp eax, 0xffffffff
jne 0x40c94e
push str.C:TSLOG_CONFIGTSLOG.txt
call edi
cmp eax, 0xffffffff
jne 0x40c94e
push str.C:TSLOG_CONFIGTSLOG.ini
call edi
cmp eax, 0xffffffff
jne 0x40c94e
push str.C:TSLOG_CONFIGTSLOG.txt
call edi
cmp eax, 0xffffffff
je 0x40c987
push 0
mov ecx, esi
call fcn.0040be60
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x40c98e
cmp eax, 0x102
je 0x40c987
push 0x11
push 0
push str.C:TSLOG_CONFIG_
call dword [sym.imp.KERNEL32.dll_FindFirstChangeNotificationW]
mov dword [esi + 0x24], eax
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_FindCloseChangeNotification]
push 0
mov ecx, esi
mov dword [esi + 0x24], 0xffffffff
call fcn.0040be60
test eax, eax
je 0x40c9be
push 0x11
push 0
push str.C:TSLOG_CONFIG_
call dword [sym.imp.KERNEL32.dll_FindFirstChangeNotificationW]
mov dword [esi + 0x24], eax
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x40df80
Capabilities:
Set thread local storage value

Disassembly:
mov eax, dword [0x42d144]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_TlsSetValue]
push 0
push eax
call esi
mov ecx, dword [0x42d148]
push 0
push ecx
call esi
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
push 0
push 0
lea edx, [esp + 0x18]
push edx
push eax
push 6
call fcn.0040da70
pop esi
ret
Function at 0x52643a
Capabilities:
Encode data using xor

Disassembly:
sbb al, 0x8b
add dword [eax], edx
push dword [ebx - 0x50f0cfdd]
mov bl, 0x23
xor byte [edi], cl
scasd eax, dword es:[edi]
mov ecx, eax
push cs
je 0x52643f
mov dword [edx], ecx
mov eax, edx
ret

Function at 0x60e780
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xfb000]
push edi
or ebp, 0xffffffff
jmp 0x60e7a2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x60e7a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x60e798
mov eax, 1
add ebx, ebx
jne 0x60e7bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x60e7b0
jne 0x60e7cc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x60e7b0
xor ecx, ecx
sub eax, 3
jb 0x60e7e0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x60e852
mov ebp, eax
add ebx, ebx
jne 0x60e7eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x60e7f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x60e81c
inc ecx
add ebx, ebx
jne 0x60e808
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x60e7fd
jne 0x60e819
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x60e7fd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x60e83c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x60e82d
jmp 0x60e79e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x60e83c
add edi, ecx
jmp 0x60e79e
pop esi
mov edi, esi
mov ecx, 0x4cf
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x60e85a
cmp byte [edi], 7
jne 0x60e85a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x60e85f
lea edi, [esi + 0x20c000]
mov eax, dword [edi]
or eax, eax
je 0x60e8ce
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2180d4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x218110]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x60e88c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x218114]
or eax, eax
je 0x60e8c8
mov dword [ebx], eax
add ebx, 4
jmp 0x60e8a9
call dword [esi + 0x218124]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x60e8ff
cmp al, 0xef
ja 0x60e8f2
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x60e8d4
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x60e8e1
mov ebp, dword [esi + 0x218118]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x60e933
sub esp, 0xffffff80
jmp 0x402aa9