joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a2b47
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x108
mov eax, dword [0x10199c20]
xor eax, esp
mov dword [esp + 0x104], eax
push esi
mov esi, dword [esp + 0x110]
test dword [esi + 0xa8c], 0x4000000
jne 0x4a2b7c
cmp dword [esi + 0x5a0], 0
je 0x4a2c6e
mov ecx, dword [esp + 0x114]
lea eax, [esp + 0x118]
push eax
push ecx
lea edx, [esp + 0xc]
push 0x100
push edx
call fcn.004ae957
lea eax, [esp + 0x14]
add esp, 0x10
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4a2ba7
sub eax, edx
mov edx, dword [esi + 0x5a0]
push edi
mov edi, eax
test edx, edx
je 0x4a2bdb
test byte [esi + 0xf6c], 8
jne 0x4a2bdb
lea ecx, [esp + 8]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x4a2bca
or dword [esi + 0xf6c], 8
test dword [esi + 0xa8c], 0x4000000
je 0x4a2c6d
mov byte [esp + edi + 8], 0xa
inc edi
cmp dword [esi + 0x608], 0
mov byte [esp + edi + 8], 0
je 0x4a2c41
push 1
push esi
call fcn.004b9c57
mov eax, dword [esi + 0x59c]
mov edx, dword [esi + 0x608]
push eax
push edi
lea ecx, [esp + 0x18]
push ecx
push 0
push esi
call edx
push 0
push esi
call fcn.004b9c57
add esp, 0x24
pop edi
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.005b6fd5
add esp, 0x108
ret
mov eax, dword [esi + 0x598]
push eax
push 1
push 2
push 0x1013678c
call fcn.005b92fb
mov ecx, dword [esi + 0x598]
push ecx
push 1
lea edx, [esp + 0x20]
push edi
push edx
call fcn.005b92fb
add esp, 0x20
pop edi
mov ecx, dword [esp + 0x108]
pop esi
xor ecx, esp
call fcn.005b6fd5
add esp, 0x108
ret

Function at 0x4a2c4a
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x108
mov eax, dword [0x10199c20]
xor eax, esp
mov dword [esp + 0x104], eax
push esi
mov esi, dword [esp + 0x110]
test dword [esi + 0xa8c], 0x4000000
jne 0x4a2b7c
cmp dword [esi + 0x5a0], 0
je 0x4a2c6e
mov ecx, dword [esp + 0x114]
lea eax, [esp + 0x118]
push eax
push ecx
lea edx, [esp + 0xc]
push 0x100
push edx
call fcn.004ae957
lea eax, [esp + 0x14]
add esp, 0x10
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4a2ba7
sub eax, edx
mov edx, dword [esi + 0x5a0]
push edi
mov edi, eax
test edx, edx
je 0x4a2bdb
test byte [esi + 0xf6c], 8
jne 0x4a2bdb
lea ecx, [esp + 8]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x4a2bca
or dword [esi + 0xf6c], 8
test dword [esi + 0xa8c], 0x4000000
je 0x4a2c6d
mov byte [esp + edi + 8], 0xa
inc edi
cmp dword [esi + 0x608], 0
mov byte [esp + edi + 8], 0
je 0x4a2c41
push 1
push esi
call fcn.004b9c57
mov eax, dword [esi + 0x59c]
mov edx, dword [esi + 0x608]
push eax
push edi
lea ecx, [esp + 0x18]
push ecx
push 0
push esi
call edx
push 0
push esi
call fcn.004b9c57
add esp, 0x24
pop edi
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.005b6fd5
add esp, 0x108
ret
mov eax, dword [esi + 0x598]
push eax
push 1
push 2
push 0x1013678c
call fcn.005b92fb
mov ecx, dword [esi + 0x598]
push ecx
push 1
lea edx, [esp + 0x20]
push edi
push edx
call fcn.005b92fb
add esp, 0x20
pop edi
mov ecx, dword [esp + 0x108]
pop esi
xor ecx, esp
call fcn.005b6fd5
add esp, 0x108
ret
Function at 0x4c7c07
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push 0
push 0
push eax
push ecx
push 0
push 0
call fcn.005ba17d
add esp, 0x18
test eax, eax
je 0x4c7c2a
cmp eax, 0xffffffff
jne 0x4c7c2c
xor eax, eax
ret

Function at 0x4d7932
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x1b8
mov eax, dword [0x10199c20]
xor eax, esp
mov dword [esp + 0x1b4], eax
cmp dword [0x1019b144], 0
push esi
mov esi, ecx
mov dword [esp + 0x18], esi
jne 0x4d794e
call fcn.0050b117
test eax, eax
je 0x4d7966
mov dword [0x1019b144], 1
xor eax, eax
pop esi
mov ecx, dword [esp + 0x1b4]
xor ecx, esp
call fcn.005b6fd5
add esp, 0x1b8
ret
mov eax, dword [esi + 0x9c0]
test eax, eax
je 0x4d7987
push 0x400
push eax
call fcn.0050b137
add esp, 8
call fcn.0050b117
test eax, eax
jne 0x4d794e
push ebx
push ebp
push edi
mov esi, 2
lea edi, [esp + 0x84]
mov dword [esp + 0x20], 4
jmp 0x4d79a7
lea eax, [esp + 0x34]
push eax
call fcn.00498c67
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ebx, dword [eax]
mov ebp, dword [eax + 4]
push 1
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
call fcn.004be717
add esp, 8
push ebp
push ebx
lea eax, [esi - 1]
push 0
push eax
call fcn.005b7207
lea ecx, [esp + 0x74]
mov ebx, esi
imul ebx, dword [esp + 0x18]
push ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
call fcn.00498c67
mov eax, dword [eax + 8]
cdq
mov dword [esp + 0x34], edx
lea edx, [esp + 0x68]
push edx
mov ebp, eax
call fcn.00498c67
mov ecx, dword [esp + 0x38]
add esp, 8
add ebp, dword [eax]
push 0
adc ecx, dword [eax + 4]
lea edx, [esi + 1]
push edx
push ecx
push ebp
mov dword [esp + 0x38], edx
call fcn.005b7207
shld edx, eax, 8
xor dword [esp + 0x14], edx
shl eax, 8
xor dword [esp + 0x10], eax
lea eax, [esp + 0x44]
push eax
call fcn.00498c67
lea ecx, [esp + 0x58]
push ecx
lea ebp, [eax + 8]
call fcn.00498c67
mov edx, dword [ebp]
add edx, dword [eax]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
add esi, 2
imul edx, esi
mov esi, dword [esp + 0x30]
shl edx, 0x10
mov dword [edi], eax
xor ebx, edx
mov edx, dword [esp + 0x24]
mov dword [edi + 4], ecx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], edx
add esp, 8
add edi, 0x10
dec dword [esp + 0x20]
jne 0x4d79a7
fld qword [0x1013e2f8]
sub esp, 8
fstp qword [esp]
lea eax, [esp + 0x8c]
push 0x40
push eax
call fcn.0050b0b7
add esp, 0x10
call fcn.0050b117
test eax, eax
je 0x4d798a
lea ecx, [esp + 0xc4]
push 0x100
push ecx
mov byte [esp + 0xcc], 0
call fcn.0050b2b7
add esp, 8
cmp byte [esp + 0xc4], 0
pop edi
pop ebp
pop ebx
je 0x4d7afd
lea edx, [esp + 0xb8]
push 0x400
push edx
call fcn.0050b137
add esp, 8
call fcn.0050b117
test eax, eax
jne 0x4d794e
mov eax, dword [esp + 0x18]
push 0x1013e2c8
push eax
call fcn.004a29f7
add esp, 8
call fcn.0050b117
mov ecx, dword [esp + 0x1b8]
neg eax
sbb eax, eax
and eax, 0xffffffdd
pop esi
xor ecx, esp
add eax, 0x23
call fcn.005b6fd5
add esp, 0x1b8
ret
Function at 0x50b137
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
mov eax, 0x474
call fcn.005b84b7
mov eax, dword [0x10199c20]
xor eax, esp
mov dword [esp + 0x470], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [esp + 0x3c], 0
test eax, eax
jne 0x50b17e
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x470]
xor ecx, esp
call fcn.005b6fd5
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x50b167
push 0x1013d700
push eax
call fcn.0053f757
mov esi, eax
add esp, 8
mov dword [esp + 0x40], esi
test esi, esi
je 0x50b29b
push 0x30
lea eax, [esp + 0x4c]
push 0
push eax
call fcn.005b94a7
add esp, 0xc
lea ecx, [esp + 0x48]
push ecx
push esi
call fcn.005bb3ae
add esp, 4
push eax
call fcn.005bb05c
add esp, 8
test eax, eax
js 0x50b292
mov eax, 8
call fcn.005b84b7
fldz
fstp qword [esp]
lea edx, [esp + 0x50]
push 0x30
push edx
call fcn.0050b0b7
add esp, 0x10
test dword [esp + 0x4e], 0x2000
je 0x50b21b
cmp edi, 0xffffffff
jne 0x50b203
mov edi, 0x800
push 0
push esi
call fcn.005bb034
add esp, 8
jmp 0x50b21b
mov esi, dword [esp + 0x40]
test edi, edi
jle 0x50b229
mov ebx, edi
cmp edi, 0x400
jl 0x50b22e
mov ebx, 0x400
push esi
push ebx
lea eax, [esp + 0x80]
push 1
push eax
call fcn.005b81dc
mov esi, eax
add esp, 0x10
mov dword [esp + 0x44], esi
test esi, esi
jle 0x50b27c
fild dword [esp + 0x44]
mov eax, 8
call fcn.005b84b7
lea ecx, [esp + 0x80]
fstp qword [esp]
push esi
push ecx
call fcn.0050b0b7
add dword [esp + 0x4c], esi
add esp, 0x10
test edi, edi
jle 0x50b217
sub edi, ebx
test edi, edi
jg 0x50b217
lea edx, [esp + 0x78]
push 0x400
push edx
call fcn.00522f37
mov esi, dword [esp + 0x48]
add esp, 8
push esi
call fcn.005b8e0f
add esp, 4
mov ecx, dword [esp + 0x47c]
mov eax, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005b6fd5
mov esp, ebp
pop ebp
ret

Function at 0x521447
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
xor cl, cl
test edi, edi
je 0x52146c
sub esi, eax
push ebx
mov dl, byte [esi + eax]
mov bl, byte [eax]
xor dl, bl
or cl, dl
inc eax
dec edi
jne 0x52145e
pop ebx
pop edi
movzx eax, cl
pop esi
ret
Function at 0x539b97
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0xf3bcc908
mov dword [eax + 4], 0x6a09e667
mov dword [eax + 8], 0x84caa73b
mov dword [eax + 0xc], 0xbb67ae85
mov dword [eax + 0x10], 0xfe94f82b
mov dword [eax + 0x14], 0x3c6ef372
mov dword [eax + 0x18], 0x5f1d36f1
mov dword [eax + 0x1c], 0xa54ff53a
mov dword [eax + 0x20], 0xade682d1
mov dword [eax + 0x24], 0x510e527f
mov dword [eax + 0x28], 0x2b3e6c1f
mov dword [eax + 0x2c], 0x9b05688c
mov dword [eax + 0x30], 0xfb41bd6b
mov dword [eax + 0x34], 0x1f83d9ab
mov dword [eax + 0x38], 0x137e2179
mov dword [eax + 0x3c], 0x5be0cd19
mov dword [eax + 0x40], ecx
mov dword [eax + 0x44], ecx
mov dword [eax + 0x48], ecx
mov dword [eax + 0x4c], ecx
mov dword [eax + 0xd0], ecx
mov dword [eax + 0xd4], 0x40
lea eax, [ecx + 1]
ret
Function at 0x54dc67
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, dword [esp + 4]
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, edi
mov ecx, ebp
cmp edi, 4
jb 0x54dc8f
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x54dc93
sub esi, 4
add ecx, 4
add edx, 4
cmp esi, 4
jae 0x54dc7b
test esi, esi
je 0x54dced
movzx eax, byte [edx]
movzx ebx, byte [ecx]
sub eax, ebx
jne 0x54dcce
cmp esi, 1
jbe 0x54dced
movzx eax, byte [edx + 1]
movzx ebx, byte [ecx + 1]
sub eax, ebx
jne 0x54dcce
cmp esi, 2
jbe 0x54dced
movzx eax, byte [edx + 2]
movzx ebx, byte [ecx + 2]
sub eax, ebx
jne 0x54dcce
cmp esi, 3
jbe 0x54dced
movzx eax, byte [edx + 3]
movzx ecx, byte [ecx + 3]
sub eax, ecx
sar eax, 0x1f
or eax, 1
jle 0x54dced
push 0x159
push 0x10166a50
push 0x10166a20
call fcn.00521417
add esp, 0xc
mov ebx, dword [esp + 0x10]
xor edx, edx
test edi, edi
jle 0x54dd0a
mov esi, ebx
mov eax, ebp
sub esi, ebp
mov cl, byte [esi + eax]
cmp cl, byte [eax]
jne 0x54dd0a
inc edx
inc eax
cmp edx, edi
jl 0x54dcfd
lea eax, [edi - 1]
test eax, eax
js 0x54dd27
mov esi, ebx
lea ecx, [eax + ebp]
sub esi, ebp
cmp byte [ecx + esi], 0
jne 0x54dd27
cmp byte [ecx], 0xff
jne 0x54dd27
dec ecx
dec eax
jns 0x54dd18
cmp edx, eax
jl 0x54dd9f
jle 0x54dd38
pop esi
pop ebp
lea eax, [edx*8]
pop ebx
ret
mov cl, byte [edx + ebx]
mov bl, byte [edx + ebp]
mov al, bl
xor al, cl
mov byte [esp + 0x10], cl
movzx ecx, al
dec ecx
cmp ecx, 0x7e
ja 0x54dd9f
movzx ecx, byte [ecx + 0x100b6a20]
jmp dword [ecx*4 + 0x100b6a00]
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret
Function at 0x5683c7
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x28
call fcn.005b84b7
mov eax, dword [esp + 0x2c]
push ebx
push ebp
mov ebp, dword [esp + 0x38]
push esi
push edi
mov edi, edx
push ebp
mov esi, 1
push eax
mov ebx, ecx
shl esi, cl
mov dword [esp + 0x18], edi
call fcn.0052f7c7
add esp, 8
test eax, eax
jne 0x568402
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
cmp ebx, 3
jg 0x568464
xor ebx, ebx
test ebp, ebp
jle 0x5685c7
lea ebx, [ebx]
xor edx, edx
xor ecx, ecx
test esi, esi
jle 0x568446
mov eax, ecx
xor eax, dword [esp + 0x44]
inc ecx
lea ebp, [eax - 1]
shr ebp, 0x1f
not eax
shr eax, 0x1f
and ebp, eax
mov eax, dword [edi + ecx*4 - 4]
neg ebp
and ebp, 1
neg ebp
and ebp, eax
or edx, ebp
cmp ecx, esi
jl 0x56841f
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx]
mov dword [eax + ebx*4], edx
lea eax, [esi*4]
inc ebx
add edi, eax
cmp ebx, dword [esp + 0x40]
jl 0x568417
jmp 0x5685c7
mov edx, dword [esp + 0x44]
lea ecx, [ebx - 2]
mov eax, edx
sar eax, cl
mov edi, 1
shl edi, cl
lea ebx, [eax - 1]
shr ebx, 0x1f
lea ecx, [edi - 1]
and edx, ecx
mov dword [esp + 0x44], edx
mov edx, eax
not edx
shr edx, 0x1f
and ebx, edx
mov ecx, eax
xor ecx, 1
lea edx, [ecx - 1]
not ecx
shr ecx, 0x1f
shr edx, 0x1f
and edx, ecx
mov ecx, eax
xor ecx, 2
lea ebp, [ecx - 1]
not ecx
shr ecx, 0x1f
shr ebp, 0x1f
and ebp, ecx
xor eax, 3
lea ecx, [eax - 1]
shr ecx, 0x1f
not eax
shr eax, 0x1f
and ecx, eax
neg ebx
neg edx
neg ebp
neg ecx
and ebx, 1
and edx, 1
and ebp, 1
and ecx, 1
xor eax, eax
neg edx
neg ebp
neg ecx
neg ebx
mov dword [esp + 0x30], edx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x40], eax
jle 0x5685c7
lea edx, [esi*4]
mov dword [esp + 0x34], edx
mov edi, edi
xor esi, esi
mov dword [esp + 0x20], esi
cmp edi, esi
jle 0x5685a3
mov eax, dword [esp + 0x10]
lea edx, [eax + edi*4]
mov dword [esp + 0x1c], edx
lea edx, [eax + edi*8]
mov dword [esp + 0x18], edx
lea edx, [edi + edi*2]
lea eax, [eax + edx*4]
mov dword [esp + 0x14], eax
lea ebx, [ebx]
mov edx, dword [esp + 0x14]
mov edx, dword [edx]
and edx, ecx
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx]
and ecx, ebp
or ecx, edx
mov edx, dword [esp + 0x1c]
mov edx, dword [edx]
and edx, dword [esp + 0x30]
mov ebp, dword [esp + 0x24]
or edx, ecx
mov eax, esi
xor eax, dword [esp + 0x44]
inc esi
lea ecx, [eax - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
and ecx, eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax + esi*4 - 4]
neg ecx
and ecx, 1
and eax, ebx
neg ecx
or eax, edx
and ecx, eax
or dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x28]
mov eax, 4
add dword [esp + 0x14], eax
add dword [esp + 0x18], eax
add dword [esp + 0x1c], eax
cmp esi, edi
jl 0x568537
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x3c]
mov edx, dword [edx]
mov esi, dword [esp + 0x20]
mov dword [edx + eax*4], esi
mov edx, dword [esp + 0x34]
add dword [esp + 0x10], edx
inc eax
mov dword [esp + 0x2c], eax
cmp eax, dword [esp + 0x40]
jl 0x568507
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
push eax
mov dword [eax + 4], ecx
call fcn.0052f377
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x28
ret
Function at 0x5b1c6e
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xa0
call fcn.005b84b7
mov eax, dword [0x10199c20]
xor eax, esp
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xa8]
push ebp
mov ebp, dword [esp + 0xa8]
push esi
mov esi, ecx
test eax, eax
je 0x5b1dd1
push ebx
dec eax
push edi
lea edi, [ebp + 0xc]
shr eax, 3
add ebp, 0x14
inc eax
mov dword [esp + 0x18], eax
movzx eax, byte [esi + 1]
movzx ebx, byte [esi]
movzx ecx, byte [esi + 2]
movzx edx, byte [esi + 3]
shl eax, 8
or ebx, eax
movzx eax, byte [esi + 4]
shl ecx, 0x10
or ebx, ecx
movzx ecx, byte [esi + 5]
shl edx, 0x18
or ebx, edx
movzx edx, byte [esi + 6]
shl ecx, 8
or eax, ecx
movzx ecx, byte [esi + 7]
shl edx, 0x10
or eax, edx
mov dl, byte [edi]
shl ecx, 0x18
or eax, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], eax
mov al, byte [ebp]
and dl, 0xdf
and al, 0xbf
or dl, 0x40
or al, 0x20
push edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
add esi, 8
mov byte [edi], dl
mov byte [ebp], al
call fcn.00506d07
lea ecx, [esp + 0x30]
push ecx
push edi
call fcn.00506dd7
push 1
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x38]
push eax
call fcn.0053c037
push ebp
call fcn.00506d07
lea ecx, [esp + 0x48]
push ecx
push ebp
call fcn.00506dd7
push 1
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x48]
push eax
call fcn.0053c037
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
xor eax, dword [esp + 0x40]
mov edx, dword [esp + 0x58]
xor dword [esp + 0x40], edx
xor ecx, ebx
xor ebx, dword [esp + 0x54]
mov dword [esp + 0x44], eax
mov eax, edi
mov byte [eax], bl
mov edx, ebx
shr edx, 8
mov byte [eax + 1], dl
mov edx, ebx
shr edx, 0x10
mov byte [eax + 2], dl
mov edx, dword [esp + 0x44]
shr ebx, 0x18
mov byte [eax + 3], bl
mov ebx, edx
add esp, 0x30
mov byte [eax + 4], dl
shr ebx, 8
mov byte [eax + 5], bl
mov ebx, edx
shr edx, 0x18
shr ebx, 0x10
mov byte [eax + 6], bl
mov byte [eax + 7], dl
mov eax, ebp
mov byte [eax], cl
mov edx, ecx
shr edx, 8
mov byte [eax + 1], dl
mov edx, ecx
shr edx, 0x10
mov byte [eax + 2], dl
shr ecx, 0x18
mov byte [eax + 3], cl
mov ecx, dword [esp + 0x10]
mov edx, ecx
shr edx, 8
mov byte [eax + 4], cl
mov byte [eax + 5], dl
mov edx, ecx
shr edx, 0x10
shr ecx, 0x18
dec dword [esp + 0x18]
mov byte [eax + 6], dl
mov byte [eax + 7], cl
jne 0x5b1c8a
pop edi
pop ebx
mov ecx, dword [esp + 0xa4]
pop esi
pop ebp
xor ecx, esp
call fcn.005b6fd5
add esp, 0xa0
ret
Function at 0x55e0f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x107000]
push edi
jmp 0x55e10a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x55e111
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x55e100
mov eax, 1
add ebx, ebx
jne 0x55e123
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x55e134
jne 0x55e153
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x55e153
dec eax
add ebx, ebx
jne 0x55e140
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x55e118
add ebx, ebx
jne 0x55e14f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x55e1a5
xor ecx, ecx
sub eax, 3
jb 0x55e16b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x55e1da
sar eax, 1
mov ebp, eax
jmp 0x55e176
add ebx, ebx
jne 0x55e176
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x55e144
inc ecx
add ebx, ebx
jne 0x55e184
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x55e144
add ebx, ebx
jne 0x55e191
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x55e186
jne 0x55e1a2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x55e186
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x55e1c4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x55e1b6
jmp 0x55e106
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x55e1c4
add edi, ecx
jmp 0x55e106
pop esi
mov edi, esi
mov ecx, 0x3ea9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x55e1e2
cmp byte [edi], 0x11
jne 0x55e1e2
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 0x55e1e7
lea edi, [esi + 0x157000]
mov eax, dword [edi]
or eax, eax
je 0x55e25f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1e3244]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1e33c0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x55e214
mov ecx, edi
jns 0x55e243
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1e33c4]
or eax, eax
je 0x55e259
mov dword [ebx], eax
add ebx, 4
jmp 0x55e231
call dword [esi + 0x1e33d4]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x55e290
cmp al, 0xef
ja 0x55e283
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x55e265
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x55e272
mov ebp, dword [esi + 0x1e33c8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x55e2c4
sub esp, 0xffffff80
jmp 0x42800a
Function at 0x1000dbe7
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10020170]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.1000d0ad
and dword [ebp - 0x14], 0
cmp dword [0x100217c0], 0
mov dword [ebp - 0x18], eax
jne 0x1000dc9a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x1000dd42
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1001ce50
push ebx
call edi
test eax, eax
je 0x1000dd42
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x100217c0], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x100217c4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x100217c8], eax
call edi
push eax
call esi
mov dword [0x100217d0], eax
test eax, eax
je 0x1000dc9a
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x100217cc], eax
mov eax, dword [0x100217cc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x1000dcf3
cmp dword [0x100217d0], ecx
je 0x1000dcf3
push eax
call esi
push dword [0x100217d0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x1000dcf3
test ebx, ebx
je 0x1000dcf3
call edi
test eax, eax
je 0x1000dcea
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x1000dcea
test byte [ebp - 8], 1
jne 0x1000dcf3
or dword [ebp + 0x10], 0x200000
jmp 0x1000dd26
mov eax, dword [0x100217c4]
cmp eax, dword [ebp - 0x18]
je 0x1000dd26
push eax
call esi
test eax, eax
je 0x1000dd26
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1000dd26
mov eax, dword [0x100217c8]
cmp eax, dword [ebp - 0x18]
je 0x1000dd26
push eax
call esi
test eax, eax
je 0x1000dd26
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x100217c0]
call esi
test eax, eax
je 0x1000dd42
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x1000dd44
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10007b8d
leave
ret

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 0x401010
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
mov edx, dword [esp + 0x5c]
push edi
xor eax, eax
mov ecx, 0x11
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
xor ecx, ecx
test edx, edx
mov edx, dword [esp + 0x5c]
setne cl
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov eax, dword [edx]
lea edx, [esp + 0x14]
dec ecx
and ecx, 0xa
mov word [esp + 0x44], cx
lea ecx, [esp + 4]
push ecx
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
mov edi, 1
push 0
mov dword [esp + 0x3c], 0x44
mov dword [esp + 0x68], edi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x4010c9
cmp dword [esp + 0x64], edi
jne 0x4010a2
mov eax, dword [esp + 4]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 4]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [esp + 8]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 8]
push ecx
call esi
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x6c]
mov dword [edx], eax
pop esi
mov eax, edi
pop edi
add esp, 0x54
ret
xor eax, eax
pop edi
add esp, 0x54
ret