joyce8/EMBER2024-capa huggingface dataset:
Function at 0x102bcbef
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov dword [ebp - 0x10], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 0x10], eax
xor ecx, ecx
mov edx, dword [0x102e59a4]
add edx, 0xffffda67
mov dword [0x102e59a8], edx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x102e59a4], 0x2653
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], ecx
jmp 0x102bccda
mov dword [0x102e59a4], 0x59b
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x102bcd3e
jmp 0x102bcd74
mov eax, dword [ebp - 0x24]
mov dword [0x102e59a8], 0x2ce7
mov dword [0x102e59a4], 0x711
mov ecx, dword [ebp - 0x18]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x20], eax
je 0x102bcd10
jmp 0x102bcd74
mov eax, 0x198e
mov ecx, 0x1f4c
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x20]
mov di, word [edx + esi*2 - 0xe]
cmp di, 0x6c
sete bl
cmp di, 0x6c
mov byte [ebp - 0x25], bl
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], eax
je 0x102bccc1
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [0x102e59a4], eax
mov cl, byte [ebp - 0x25]
and cl, 1
movzx eax, cl
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x24], edx
je 0x102bcc5f
mov eax, dword [ebp - 0x34]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x1c], eax
jl 0x102bccda
jmp 0x102bcc5f
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x102bcd74
mov dword [0x102e59a4], 0x1a80
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x102bcc3d
jmp 0x102bcd74
mov dword [0x102e59a4], 0x15f7
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x102bcd74
mov dword [0x102e59a8], 0xfffff470
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x102bcc8e
xor eax, eax
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x102bcd7e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov eax, dword [ebp + 8]
mov dword [0x102e59a4], 0x77
mov dword [ebp - 0x10], eax
call fcn.102bd6ed
xor ecx, ecx
mov edx, eax
mov dword [0x102e59a8], 0x265c
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x102bcdce
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov dword [0x102e59a4], 0x16b1
mov esi, dword [edx + eax + 0x18]
cmp esi, 0
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
je 0x102bcee1
jmp 0x102bce5e
mov al, byte [ebp - 0x31]
test al, 1
jne 0x102bce40
jmp 0x102bcebd
mov eax, dword [ebp - 0x38]
mov ecx, eax
mov edx, dword [ebp - 0x3c]
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 - 0x40], eax
mov byte [ebp - 0x41], bh
mov byte [ebp - 0x31], cl
je 0x102bce09
jmp 0x102bce8c
mov eax, dword [ebp - 0x48]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [ebp - 0x30], edi
jmp 0x102bcee1
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edx
jmp 0x102bce15
mov eax, dword [ebp - 0x40]
add eax, 1
mov cl, byte [ebp - 0x41]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x31]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x38], eax
jne 0x102bce15
jmp 0x102bce09
xor eax, eax
mov ecx, dword [ebp - 0x54]
add ecx, 1
mov edx, dword [ebp - 0x48]
add edx, 2
mov esi, dword [ebp - 0x2c]
cmp ecx, esi
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x30], eax
jb 0x102bce70
mov eax, dword [ebp - 0x30]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x102bd4b7
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x102e59a8], 0x102f
mov dword [0x102e59b0], 0
mov byte [0x102e59b4], 0
mov dword [0x102e59a4], 0x194
mov dword [0x102e59ac], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x102bd5d4
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov edx, 0x100
mov dword [ebp - 0x28], eax
xor esi, esi
mov dword [ebp - 0x2c], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
div esi
mov edi, ecx
add edi, 0x8b2
add ecx, 0xffffeb81
mov dword [0x102e59b8], 0
mov dword [0x102e59a8], ecx
mov ecx, dword [0x102e59b0]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x28]
movzx esi, byte [ebx + esi]
add esi, ecx
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx + edx]
add esi, edx
mov dword [0x102e59b8], esi
mov eax, esi
cdq
mov esi, dword [ebp - 0x2c]
idiv esi
mov dword [0x102e59b0], edx
mov dword [0x102e59a4], edi
mov edi, dword [ebp - 0x28]
mov cl, byte [ebx + edi]
mov byte [0x102e59b4], cl
mov dword [0x102e59a8], 0xf5e
mov cl, byte [ebx + edx]
mov byte [ebx + edi], cl
mov edx, dword [0x102e59a4]
add edx, 0xffffe36b
mov dword [0x102e59a4], edx
mov cl, byte [0x102e59b4]
mov edx, dword [0x102e59b0]
mov byte [ebx + edx], cl
mov edx, dword [0x102e59ac]
add edx, 1
mov dword [0x102e59ac], edx
cmp edx, 0x100
mov dword [ebp - 0x30], edx
jl 0x102bd62a
jmp 0x102bd63d
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x102e59a4], 0x540
mov eax, dword [0x102e59ac]
add eax, 1
mov dword [0x102e59ac], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x102bd5d4
mov eax, 0x225b
xor ecx, ecx
mov dword [0x102e59a8], 0x225b
mov dword [0x102e59ac], 0
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
jmp 0x102bd50b
mov eax, dword [0x102e59a8]
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
jmp 0x102bd50b
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x102bd869
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x38
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, 0x2d17
xor ebx, ebx
mov dword [ebp - 0x10], eax
mov eax, 0xb8c
mov dword [0x102e59ac], 0
mov dword [0x102e59b0], 0
mov dword [0x102e59bc], 0
mov dword [ebp - 0x14], eax
mov eax, dword [0x102e59a4]
add eax, 0xffffdbca
mov dword [0x102e59a8], eax
mov dword [0x102e59a4], 0xb8c
mov eax, dword [ebp - 0x10]
cmp eax, 0
mov eax, ebx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, ebx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], edi
je 0x102bda1c
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
mov edi, 0x100
add edx, 0xffffe6cf
mov ebx, ecx
add ebx, 1
add eax, 1
mov dword [ebp - 0x38], edx
cdq
idiv edi
mov dword [0x102e59ac], edx
mov dword [0x102e59a8], 0x2089
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x2c]
movzx ecx, byte [ecx + edx]
add ecx, esi
mov eax, ecx
mov dword [ebp - 0x40], edx
cdq
idiv edi
mov dword [0x102e59b0], edx
mov ecx, dword [ebp - 0x38]
mov dword [0x102e59a8], ecx
mov ecx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x40]
mov cl, byte [ecx + esi]
mov byte [0x102e59b4], cl
mov dword [0x102e59a4], 0x136f
mov edi, dword [ebp - 0x2c]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov dword [0x102e59a8], 0xf56
mov cl, byte [0x102e59b4]
mov edx, dword [0x102e59b0]
mov byte [edi + edx], cl
mov dword [0x102e59a4], 0x2311
mov edx, dword [0x102e59ac]
movzx edx, byte [edi + edx]
mov ecx, dword [0x102e59b0]
movzx ecx, byte [edi + ecx]
add ecx, edx
mov dword [0x102e59a8], 0xa5a
and ecx, 0xff
mov dword [0x102e59bc], ecx
mov cl, byte [edi + ecx]
mov edx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x3c]
mov ch, byte [edx + esi]
mov dword [0x102e59a4], 0x6f8
xor ch, cl
mov edx, dword [ebp - 0x28]
mov byte [edx + esi], ch
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x44], ebx
je 0x102bda0f
mov eax, dword [0x102e59b0]
mov ecx, dword [0x102e59a4]
mov edx, dword [0x102e59ac]
mov esi, dword [ebp - 0x44]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x30], edx
jmp 0x102bd8f4
mov eax, dword [0x102e59a4]
add eax, 0x218b
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [0x102e59a8], eax
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x102bda2c
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x20]
lea ecx, [esp + 0x30]
mov dword [0x102e59a4], 0x1c0e
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.102bd04d
lea ecx, [0x102bd375]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x40], edx
mov dword [esp + 0x78], 0x15a600
mov edx, dword [0x102e5990]
mov dword [esp + 0x44], edx
mov edx, dword [0x102e5994]
mov dword [esp + 0x68], edx
mov edx, dword [0x102e5998]
mov dword [esp + 0x5c], edx
mov edx, dword [0x102e599c]
mov dword [esp + 0x8c], edx
mov edx, dword [0x102e59a0]
mov dword [esp + 0x30], edx
mov dword [0x102e59a4], 0x1fcb
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 0x102bdad6
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
je 0x102bdaea
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x102bdab3
mov eax, dword [esp + 0x10]
mov dword [esp + 0x7c], eax
mov dword [0x102e59a4], 0xe25
mov dword [0x102e59a8], 0x265c
mov ecx, dword [esp + 0xc]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x70], edx
call fcn.102bcbef
xor ecx, ecx
cmp eax, 0
mov dword [esp + 8], ecx
jne 0x102bdb62
lea eax, [esp + 0x30]
mov dword [0x102e59a4], 0x1c67
mov ecx, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.102bca90
mov ecx, esp
lea edx, [esp + 0x30]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [0x102e59a4], 0x1592
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov esp, ebp
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x6bf20239
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
mov ecx, 0xf8a29d0
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x40168c
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.0040183c
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x40178a
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x40172d
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x401770
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x401744
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x40175f
test al, 0x40
je 0x401756
mov ecx, dword [edi + 0x20]
jmp 0x40175d
test al, 0x80
je 0x401770
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x401770
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x4016fc
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x410361
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 1
mov eax, str.SeDebugPrivilege
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 1
push dword [ebp + 8]
call fcn.004103a3
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x410395
push ebx
call fcn.0043903c
add esp, 4
mov eax, dword [ebp - 8]
jmp 0x41039d
mov esp, ebp
pop ebp
ret 8
Function at 0x43af30
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, 1
jle 0x43af4e
push esi
lea ecx, [esp + 0x18]
dec edx
mov esi, dword [ecx]
add ecx, 0xc
xor eax, esi
dec edx
jne 0x43af43
pop esi
ret

Function at 0x65bbf0
Capabilities:
Contain obfuscated stackstrings
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
sub esp, 0x48
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
push edi
mov edi, dword [ebp + 0x10]
cmp ebx, esi
je 0x65bd52
cmp edi, esi
je 0x65bd52
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
add eax, edi
mov dword [ebp - 0x48], 0x44434241
mov dword [ebp - 0x44], 0x48474645
mov dword [ebp - 0x40], 0x4c4b4a49
mov dword [ebp - 0x3c], 0x504f4e4d
mov dword [ebp - 0x38], 0x54535251
mov dword [ebp - 0x34], 0x58575655
mov dword [ebp - 0x30], 0x62615a59
mov dword [ebp - 0x2c], 0x66656463
mov dword [ebp - 0x28], 0x6a696867
mov dword [ebp - 0x24], 0x6e6d6c6b
mov dword [ebp - 0x20], 0x7271706f
mov dword [ebp - 0x1c], 0x76757473
mov dword [ebp - 0x18], 0x7a797877
mov dword [ebp - 0x14], 0x33323130
mov dword [ebp - 0x10], 0x37363534
mov dword [ebp - 0xc], 0x2f2b3938
mov dword [ebp - 4], esi
mov ecx, edi
mov dword [ebp - 8], eax
cmp edx, esi
jbe 0x65bd42
add edi, 4
jmp 0x65bca3
mov ebx, dword [ebp + 8]
movzx eax, byte [esi + ebx]
inc esi
shl eax, 0x10
cmp esi, edx
jne 0x65bcb8
mov dword [ebp - 4], 2
jmp 0x65bcd9
movzx ebx, byte [esi + ebx]
shl ebx, 8
inc esi
or eax, ebx
cmp esi, edx
jne 0x65bccf
mov dword [ebp - 4], 1
jmp 0x65bcd9
mov edx, dword [ebp + 8]
movzx edx, byte [esi + edx]
or eax, edx
inc esi
mov edx, eax
and edx, 0x3f
cmp edi, dword [ebp - 8]
ja 0x65bd52
mov ebx, eax
shr ebx, 0x12
and ebx, 0x3f
movzx ebx, byte [ebp + ebx - 0x48]
mov byte [ecx], bl
mov ebx, eax
shr ebx, 0xc
and ebx, 0x3f
movzx ebx, byte [ebp + ebx - 0x48]
mov byte [ecx + 1], bl
mov ebx, dword [ebp - 4]
cmp ebx, 1
jbe 0x65bd10
mov byte [ecx + 2], 0x3d
jmp 0x65bd1d
shr eax, 6
and eax, 0x3f
mov al, byte [ebp + eax - 0x48]
mov byte [ecx + 2], al
add ecx, 3
add edi, 3
test ebx, ebx
je 0x65bd2c
mov byte [ecx], 0x3d
jmp 0x65bd32
mov dl, byte [ebp + edx - 0x48]
mov byte [ecx], dl
mov edx, dword [ebp + 0xc]
inc ecx
inc edi
cmp esi, edx
jb 0x65bca0
mov edi, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
sub ecx, edi
pop edi
pop esi
mov dword [eax], ecx
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x818058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.008181a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x81807e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x81806a
add dl, dl
jne 0x818089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8180dc
xor eax, eax
add dl, dl
jne 0x818096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x81817d
add dl, dl
jne 0x8180a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8180b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8180bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8180c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x8180d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x818075
mov eax, 1
add dl, dl
jne 0x8180ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8180f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8180e1
sub eax, ebx
mov ebx, 1
jne 0x818128
mov ecx, 1
add dl, dl
jne 0x81810e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x818119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x818105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x818075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x81813f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x81814a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x818136
cmp eax, 0x7d00
jae 0x81816d
cmp eax, 0x500
jb 0x818168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x818075
cmp eax, 0x7f
ja 0x818170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x818075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x81819e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x818075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

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 0x15440c2
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x15440c8
pop ebp
sub ebp, 0x10
sub ebp, 0x11440b8
jmp 0x15440de
mov eax, 0x11440b8
add eax, ebp
add eax, 0x4c
mov ecx, 0x5f8
mov edx, 0xc6848b28
xor byte [eax], dl
inc eax
dec ecx
jne 0x15440f5
jmp 0x1544108
mov dword [0x14a1a3e5], eax
sub byte [eax], ch
sub byte [ecx + 0x2828d0e9], ch
sub byte [ebx], ch
in eax, 0x90
and ch, byte [eax]
sub byte [eax], ch
xchg edx, eax
add byte [eax], ch
sub byte [eax], ch
invalid
Function at 0x402060
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x405408
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x405400]
sub esp, 4
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
je 0x4020b5
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x4020ae
test esi, esi
je 0x4020ae
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x402090
mov dword [esp], 0x405408
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x4022d0
Capabilities:
Enumerate pe sections

Disassembly:
push esi
push ebx
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
add edx, dword [edx + 0x3c]
movzx esi, word [edx + 6]
movzx eax, word [edx + 0x14]
test esi, esi
lea eax, [edx + eax + 0x18]
je 0x402308
xor ecx, ecx
nop
mov edx, dword [eax + 0xc]
cmp edx, ebx
ja 0x4022fe
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x40230a
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x4022f0
xor eax, eax
pop ebx
pop esi
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 0x43941b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x43942a
pop dword [ebp - 0x18]
mov eax, 0x43942a
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0x7ed55f83
sub dword [ebp - 0x28], 0x30831a38
mov dword [ebp - 0x24], 0xef302edb
sub dword [ebp - 0x24], 0xbcfce296
mov dword [ebp - 0x20], 0x560221ab
sub dword [ebp - 0x20], 0x9b5dd7d
mov dword [ebp - 0x1c], 0xdd1aa5c1
sub dword [ebp - 0x1c], 0xdd1aa5c1
lea eax, [ebp - 0x28]
push eax
mov eax, 0xdbc902b4
sub eax, 0xdb85308c
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0x239f1d9f
sub dword [ebp - 0x28], 0xaf2cb449
mov dword [ebp - 0x24], 0xf28fc69a
sub dword [ebp - 0x24], 0xb1236525
mov dword [ebp - 0x20], 0xdc51f5d0
add dword [ebp - 0x20], 0x871d769c
mov dword [ebp - 0x1c], 0xba869d6e
sub dword [ebp - 0x1c], 0xba869d6e
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, 0x5dbe3c46
sub eax, 0x5d7a6952
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x47271
push 0
call eax
mov ecx, 0x63548e1e
sub ecx, 0x63544215
mov ebx, eax
mov esi, 0xd93c682
sub esi, 0xd4c5282
add esi, dword [ebp - 0x18]
mov edx, 0xc577d4c2
sub edx, 0xcfd4c528
mov dword [ebp - 0x10], 0x744600d6
mov edi, dword [esi]
xor dword [ebp - 8], ecx
sub edi, edx
mov dword [ebp - 8], 0x31dc9136
mov dword [ebx], edi
sub dword [ebp - 4], edi
add ebx, 0xf5e85eb7
sub ebx, 0xf5e85eb3
add esi, 0x9b303cb0
add esi, 0x64cfc354
loop 0x439547
add eax, 0xc2959d12
sub eax, 0xc2947a1b
xor ebx, ebx
add ebx, eax
add eax, 0x9cf99dbb
add eax, 0x6306624a
mov ecx, 0xbc679b5
sub ecx, 0xb8679b5
add ecx, dword [ebp - 0x18]
call ebx
leave
ret