joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10152486
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x3c
mov eax, dword [ebp + 8]
mov ecx, dword [0x101ea874]
add ecx, 0xf46
mov dword [0x101ea874], ecx
mov dword [ebp - 0x10], eax
call fcn.1015274c
mov ecx, eax
mov eax, dword [eax + 0x3c]
add eax, 0x78
mov edx, ecx
add edx, eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
xor eax, eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov dword [0x101ea874], 0x6e4
mov esi, dword [ebp - 0x14]
add esi, dword [esi + edx + 0x20]
mov edi, dword [ebp - 0x14]
mov ebx, dword [edi + edx + 0x18]
cmp ebx, 0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], eax
je 0x101525ca
xor eax, eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
xor edx, edx
mov esi, dword [ebp - 0x24]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x40]
mov ecx, eax
mov edx, dword [ebp - 0x3c]
add ecx, edx
mov esi, dword [ebp - 0x14]
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 - 0x44], eax
mov byte [ebp - 0x45], bh
mov byte [ebp - 0x46], cl
je 0x10152574
mov eax, dword [ebp - 0x44]
add eax, 1
mov cl, byte [ebp - 0x45]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x46]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x40], eax
jne 0x10152523
mov al, byte [ebp - 0x46]
test al, 1
jne 0x101525a7
jmp 0x1015257d
xor eax, eax
mov ecx, dword [ebp - 0x38]
add ecx, 2
mov edx, dword [ebp - 0x34]
add edx, 1
mov esi, dword [ebp - 0x1c]
cmp edx, esi
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], eax
jb 0x10152509
jmp 0x101525ca
mov eax, dword [ebp - 0x38]
movzx ecx, word [eax]
mov dword [0x101ea874], 0x338
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x14]
add edi, dword [edx + ecx*4]
mov dword [ebp - 0x28], edi
mov eax, dword [ebp - 0x28]
add esp, 0x3c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10152962
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [0x101ea874], 0x332
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
mov ecx, dword [0x101ea874]
add ecx, 0xfffff07e
mov dword [0x101ea874], ecx
mov ecx, dword [ebp - 4]
add ecx, 0x10
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], ecx
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], eax
jmp 0x101529f8
mov eax, dword [ebp - 0x18]
mov dword [0x101ea878], 0x346
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x1c], eax
je 0x10152a27
jmp 0x10152aa8
mov dword [0x101ea874], 0x1be
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x10152a78
jmp 0x10152aa8
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], edx
je 0x101529b5
mov eax, dword [ebp - 0x20]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
jl 0x101529f8
jmp 0x101529b5
mov dword [0x101ea878], 0x1343
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x10152aa8
mov dword [0x101ea874], 0xfffff99d
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x10152aa8
mov dword [0x101ea874], 0x1089
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x101529d6
jmp 0x10152aa8
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x10152aa8
mov eax, 1
mov dword [0x101ea874], 0x9b4
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x24], eax
je 0x10152aaf
xor eax, eax
mov dword [ebp - 0x24], eax
jmp 0x10152aaf
mov eax, dword [ebp - 0x24]
add esp, 0x24
pop ebp
ret
Function at 0x10152c33
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x54
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov esi, dword [0x101ea874]
mov dword [0x101ea878], 0x50b
add esi, 0x58f
mov dword [0x101ea874], esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
jmp 0x10152c71
xor eax, eax
add esp, 0x54
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x30]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x1015b23e]
mov dh, byte [eax + 0x1015b20f]
sub dh, dl
mov byte [ebp + eax - 0x24], dh
cmp ecx, 0xe
mov dword [ebp - 0x30], ecx
jne 0x10152c71
lea eax, [ebp - 0x24]
mov dword [0x101ea878], 0x43d
mov dword [ebp - 0x34], eax
call fcn.1015341b
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.101525d5
cmp eax, 0
mov dword [ebp - 0x38], eax
je 0x10152c69
mov eax, dword [ebp - 0x38]
mov ecx, dword [0x101ea874]
add ecx, 0x13a5
mov dword [0x101ea878], ecx
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 ecx, dword [0x101ea874]
add ecx, 0x1367
mov dword [0x101ea878], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.10153721
mov eax, dword [ebp - 0x3c]
mov word [eax], 0x5a4d
mov dword [eax + 0x3c], 0xc0
mov dword [eax + 0xc0], 0x4550
add eax, 0xffc00000
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0x1c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ecx + 0x3c], eax
mov dword [0x101ea874], 0x51f
cmp eax, 0
sete dl
mov byte [ebp - 0x3d], dl
xor eax, eax
mov ecx, dword [ebp - 0x3c]
add ecx, 0x2650
mov dl, byte [ebp - 0x3d]
test dl, 1
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], eax
jne 0x10152d82
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
add esp, 0x54
pop esi
pop ebp
ret
Function at 0x1015308b
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x98
mov dword [0x101ea874], 0x85f
call fcn.10001083
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
je 0x10153131
jmp 0x10153209
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x3c]
add eax, ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
cmp dword [eax], 0x4550
jne 0x101531ed
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x4c], ecx
mov edx, dword [esp + 0x1c]
mov esi, dword [ecx + edx + 0x50]
mov dword [esp + 0x7c], esi
mov dword [0x101ea874], 0x1aa2
mov esi, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.10152c33
mov dword [0x101ea878], 0x80f
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [esp + 0x14], eax
jmp 0x10153201
lea eax, [esp + 0x38]
mov ecx, dword [0x101ea878]
add ecx, 0xffffff68
mov dword [0x101ea878], ecx
mov dword [esp + 0x10], eax
call fcn.10152962
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x14], ecx
jne 0x10153201
lea eax, [esp + 0x28]
mov dword [esp], eax
call fcn.10152d8b
lea ecx, [0x10152be4]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x78], edx
mov dword [0x101ea878], 0x2662
mov dword [esp + 0x38], 0x132000
mov edx, dword [0x101ea860]
mov dword [esp + 0x88], edx
mov edx, dword [0x101ea864]
mov dword [esp + 0x64], edx
mov edx, dword [0x101ea868]
mov dword [esp + 0x68], edx
mov edx, dword [0x101ea86c]
mov dword [esp + 0x84], edx
mov edx, dword [0x101ea870]
mov dword [esp + 0x80], edx
mov dword [0x101ea874], 0x18f4
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
mov eax, dword [esp + 8]
cmp word [eax], 0x5a4d
mov dword [esp + 0x20], eax
je 0x101530b9
mov eax, dword [esp + 0x20]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 8], eax
jmp 0x101531da
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x10153213
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]
xor edi, edi
mov dword [0x101ea878], 0x123
mov dword [0x101ea87c], 0
mov dword [0x101ea880], 0
mov dword [0x101ea88c], 0
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
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
mov dword [ebp - 0x28], edi
je 0x1015338c
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov edi, eax
add edi, 1
add ecx, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x101ea87c], edx
mov dword [0x101ea874], 0xfe6
mov ecx, dword [ebp - 0x20]
movzx ebx, byte [ecx + edx]
mov ecx, dword [ebp - 0x30]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x101ea880], edx
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x101ea884], cl
mov dword [0x101ea874], 0x3d8
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x101ea884]
mov edx, dword [0x101ea880]
mov byte [ebx + edx], cl
mov edx, dword [0x101ea87c]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x101ea880]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x101ea88c], ecx
mov dword [0x101ea874], 0x24f
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x2c]
mov ch, byte [edx + esi]
mov dl, cl
add dl, byte [0x101ea891]
mov byte [0x101ea890], dl
mov byte [0x101ea891], ch
mov byte [0x101ea892], cl
xor ch, cl
mov dword [0x101ea874], 0x273
mov edx, dword [ebp - 0x1c]
mov byte [edx + esi], ch
mov dword [0x101ea878], 0x17cb
mov edx, dword [ebp - 0x10]
cmp edi, edx
mov dword [ebp - 0x38], edi
je 0x1015338c
mov eax, dword [0x101ea87c]
mov ecx, dword [0x101ea880]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], edx
jmp 0x10153276
mov dword [0x101ea874], 0x1708
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1015354e
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]
mov dword [0x101ea880], 0
mov byte [0x101ea884], 0
mov dword [0x101ea874], 0x1066
mov dword [0x101ea87c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
xor eax, eax
mov dword [ebp - 0x1c], eax
jmp 0x101535bd
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
mov dword [0x101ea87c], 0
mov ecx, dword [0x101ea878]
add ecx, 0x24dd
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], eax
jmp 0x101535ef
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x101ea874], 0x14c8
mov eax, dword [0x101ea87c]
add eax, 1
mov dword [0x101ea87c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x101535bd
jmp 0x1015359d
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov edx, 0x31a6
mov esi, 0x100
mov dword [ebp - 0x28], eax
xor edi, edi
mov dword [ebp - 0x2c], edx
mov edx, edi
mov edi, dword [ebp - 0x10]
div edi
mov dword [0x101ea888], 0
mov ebx, dword [0x101ea880]
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x28]
movzx ecx, byte [edi + ecx]
add ecx, ebx
mov ebx, dword [ebp - 0x14]
movzx edx, byte [ebx + edx]
add ecx, edx
mov dword [0x101ea888], ecx
mov edx, dword [ebp - 0x30]
mov dword [0x101ea874], edx
mov eax, ecx
cdq
idiv esi
mov dword [0x101ea880], edx
mov ecx, dword [ebp - 0x28]
mov cl, byte [edi + ecx]
mov byte [0x101ea884], cl
mov cl, byte [edi + edx]
mov edx, dword [ebp - 0x28]
mov byte [edi + edx], cl
mov cl, byte [0x101ea884]
mov esi, dword [0x101ea880]
mov byte [edi + esi], cl
mov dword [0x101ea874], 0xe81
mov dword [0x101ea878], 0xcc9
mov esi, dword [0x101ea87c]
add esi, 1
mov dword [0x101ea87c], esi
cmp esi, 0x100
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], esi
jl 0x101535ef
jmp 0x10153595
Function at 0x8ad080
Capabilities:
Get common file path

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0x8ad0c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0x8d2458
push ecx
call fcn.008bd1e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.008bd1e1
add esp, 0x10
jmp 0x8ad0d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.008bd20b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.008bcdff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.008ad050
mov eax, dword [0x8d7728]
xor esi, esi
add esp, 0x14
lea edx, [esp + 0x20]
cmp eax, esi
mov dword [esp + 8], 0x18
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
jne 0x8ad13b
push esi
call fcn.008acfb0
add esp, 4
mov dword [0x8d7728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0x8ad14c
mov ecx, 1
mov edx, dword [esp + 0x458]
push esi
push esi
push 0x20
push ecx
mov ecx, dword [esp + 0x45c]
push ecx
push edx
lea ecx, [esp + 0x40]
push esi
push ecx
mov ecx, dword [esp + 0x468]
lea edx, [esp + 0x28]
or ecx, 0x100000
push edx
lea edx, [esp + 0x28]
push ecx
push edx
push eax
call fcn.008acff0
mov ecx, dword [esp + 0x34]
add esp, 0x30
neg eax
sbb eax, eax
pop esi
not eax
and eax, ecx
add esp, 0x43c
ret

Function at 0x8b0440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0x8b04b7
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0x8b048e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x8b0471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x8b047e
add edx, ecx
cmp ebx, edx
jb 0x8b048a
inc edi
add eax, 0x28
cmp edi, esi
jb 0x8b0467
xor ecx, ecx
jmp 0x8b04a2
test eax, eax
jne 0x8b0492
xor ecx, ecx
jmp 0x8b04a2
mov ecx, dword [eax + 0x14]
mov esi, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
sub ecx, esi
add ecx, ebx
add ecx, eax
mov edx, dword [esp + 0x18]
push edx
push 0
push 0
push ecx
push ecx
call fcn.008b03c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0x8b08f0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebx
mov eax, dword [esp + 8]
push ebp
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x8b0921
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebp, eax
test ebp, ebp
jne 0x8b0946
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 4
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
jne 0x8b096e
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0x18]
mov dword [ecx], esi
mov dword [ecx + 4], eax
cmp word [esi], 0x5a4d
jne 0x8b0993
push ecx
push esi
call fcn.008b04c0
add esp, 8
mov bl, al
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
mov al, bl
pop ebp
pop ebx
ret
Function at 0x8b7e00
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x8cd8f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov ecx, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x24]
lea eax, [esp + 4]
push edi
xor edi, edi
push eax
push 0x20019
push edi
push esi
push ecx
mov dword [esp + 0x1c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
je 0x8b7ed2
lea edx, [esp + 0x24]
push eax
push edx
call fcn.008b47a0
add esp, 8
mov eax, dword [esp + 0x24]
mov dword [esp + 0x1c], edi
cmp eax, edi
je 0x8b7e61
mov edx, dword [eax]
jmp 0x8b7e63
xor edx, edx
xor ecx, ecx
push edi
xor eax, eax
push edx
push ecx
mov ecx, dword [esp + 0x38]
push eax
lea eax, [esp + 0x1c]
mov edx, dword [ecx + 4]
push eax
push esi
push 2
push edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
call fcn.008b6050
mov eax, dword [esp + 0x44]
add esp, 0x20
cmp eax, edi
mov dword [esp + 0x1c], 0xffffffff
je 0x8b7ebf
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x8b7ebf
cmp esi, edi
je 0x8b7ebf
mov ecx, esi
call fcn.008afa00
push esi
call fcn.008bd1c8
add esp, 4
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
push edi
lea eax, [esp + 0x2c]
push edi
push eax
call fcn.008b4990
add esp, 0xc
mov eax, dword [esp + 0x28]
mov dword [esp + 0x1c], 1
cmp eax, edi
je 0x8b7ef5
mov eax, dword [eax]
jmp 0x8b7ef7
xor eax, eax
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x2c]
push ebx
push esi
push eax
push ecx
push edx
call fcn.008b3640
add esp, 0x10
mov bl, al
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x2c]
cmp eax, edi
je 0x8b7f25
mov eax, dword [eax]
jmp 0x8b7f27
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x20], 0xffffffff
cmp esi, edi
je 0x8b7f76
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x8b7f76
cmp esi, edi
je 0x8b7f76
mov eax, dword [esi]
cmp eax, edi
je 0x8b7f5d
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, edi
je 0x8b7f6d
push eax
call fcn.008bd1c8
add esp, 4
push esi
call fcn.008bd1c8
add esp, 4
mov ecx, dword [esp + 0x18]
mov al, bl
pop ebx
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x8b8f10
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x8cd9fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, dword [esp + 0x2c]
xor ebp, ebp
mov dword [esp + 0x10], eax
xor ebx, ebx
mov eax, 1
mov ecx, ebx
shl eax, cl
mov ecx, dword [esp + 0x10]
test ecx, eax
je 0x8b9002
lea edx, [ebx + 0x41]
lea eax, [esp + 0x14]
push edx
push str._c:_
push eax
call fcn.008bcdff
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x8b9002
lea edx, [esp + 0x14]
push edx
push str.Mounting__s_n
call fcn.008b46e0
lea eax, [esp + 0x1c]
lea edi, [esi + 0x1048]
push eax
push edi
mov word [esp + 0x28], bp
call fcn.008bd20b
push 0x10
call fcn.008bd1d3
add esp, 0x14
mov dword [esp + 0x2c], eax
cmp eax, ebp
mov dword [esp + 0x24], ebp
je 0x8b8fc5
mov cx, word [edi]
push ecx
mov ecx, eax
call fcn.008a91c0
jmp 0x8b8fc7
xor eax, eax
push esi
mov dword [esp + 0x28], 0xffffffff
mov dword [esi], eax
call fcn.008b8b80
mov edi, dword [esi]
add esp, 4
cmp edi, ebp
je 0x8b8ff0
mov ecx, edi
call fcn.008a92c0
push edi
call fcn.008bd1c8
add esp, 4
mov edx, dword [esi + 0x1024]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x8b9021
inc ebx
cmp ebx, 0x20
jb 0x8b8f3e
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x8bb000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x8bb131
push esi
call fcn.008be145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.008ad080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0x8bb131
push 0
push ebp
call fcn.008ad3a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.008ad260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0x8bb08b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.008ad2f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x8bb121
push 0x8d3918
push edi
call fcn.008bc3f0
push eax
push ebx
push esi
call fcn.008baf60
push 0x8d38f8
push edi
call fcn.008bc3f0
push eax
push ebx
push esi
call fcn.008baf60
push 0x8d38d8
push edi
call fcn.008bc3f0
push eax
push ebx
push esi
call fcn.008baf60
push 0x8d38c0
push edi
call fcn.008bc3f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.008baf60
push 0x8d38a0
push edi
call fcn.008bc3f0
push eax
push ebx
push esi
call fcn.008baf60
push 0x8d3888
push edi
call fcn.008bc3f0
push eax
push ebx
push esi
call fcn.008baf60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0xed4058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00ed41a8
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 0xed407e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xed406a
add dl, dl
jne 0xed4089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xed40dc
xor eax, eax
add dl, dl
jne 0xed4096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xed417d
add dl, dl
jne 0xed40a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xed40b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xed40bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xed40c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xed40d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xed4075
mov eax, 1
add dl, dl
jne 0xed40ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xed40f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xed40e1
sub eax, ebx
mov ebx, 1
jne 0xed4128
mov ecx, 1
add dl, dl
jne 0xed410e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xed4119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xed4105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xed4075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xed413f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xed414a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xed4136
cmp eax, 0x7d00
jae 0xed416d
cmp eax, 0x500
jb 0xed4168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xed4075
cmp eax, 0x7f
ja 0xed4170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xed4075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xed419e
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 0xed4075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10