joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10107f16
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
push ebx
mov dword [ebp - 0x10], ecx
mov ebx, dword [eax + 0x20]
mov eax, dword [edx + 0x6c]
imul eax, dword [edx + 0x60]
mov ecx, dword [edx + 0x20]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ecx
add eax, ecx
mov dword [ebp - 0x24], eax
cmp ecx, eax
jae 0x10108057
push esi
push edi
mov eax, dword [edx + 0x68]
mov edi, ecx
mov esi, dword [edx + 0x60]
add esi, ecx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], edi
lea eax, [ecx + eax*2]
mov dword [ebp - 8], esi
mov dword [ebp - 0x20], eax
cmp ecx, eax
jae 0x10108037
mov eax, dword [ebp - 4]
movzx edx, word [esi + 2]
movzx esi, word [esi]
and edx, 0xe3
movzx edi, word [edi + 2]
movzx ebx, word [eax]
mov eax, esi
and eax, 0xe3
mov ecx, ebx
and ecx, 0xe3
add ecx, eax
mov eax, edi
and eax, 0xe3
add eax, 0x42
add ecx, eax
mov eax, esi
add edx, ecx
and eax, 0xff1c
mov ecx, ebx
shr edx, 2
and ecx, 0xff1c
add ecx, eax
mov eax, edi
and eax, 0xff1c
add ecx, eax
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 8]
movzx eax, word [ecx + 2]
mov ecx, dword [ebp - 0x1c]
and eax, 0xff1c
add ecx, 0x208
add eax, ecx
mov ecx, 0xff1c
shr eax, 2
and esi, ecx
xor edx, eax
and ebx, ecx
add ebx, esi
and edi, ecx
mov esi, dword [ebp - 8]
add ebx, edi
mov edi, dword [ebp - 4]
and edx, 0xe3
add edi, 4
mov dword [ebp - 4], edi
movzx eax, word [esi + 2]
add esi, 4
and eax, ecx
mov dword [ebp - 8], esi
add eax, 0x208
add eax, ebx
shr eax, 2
xor edx, eax
mov eax, dword [ebp - 0xc]
mov word [eax], dx
add eax, 2
mov dword [ebp - 0xc], eax
cmp edi, dword [ebp - 0x20]
jb 0x10107f6a
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
mov edx, dword [eax]
jmp 0x1010803a
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
add ebx, dword [eax + 0x60]
mov eax, dword [edx + 0x60]
mov dword [ebp - 0x14], ebx
lea ecx, [ecx + eax*2]
mov dword [ebp - 0x18], ecx
cmp ecx, dword [ebp - 0x24]
jb 0x10107f49
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10108170
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
push ebx
push edi
mov ebx, dword [eax + 0x20]
mov eax, dword [edx + 0x6c]
imul eax, dword [edx + 0x60]
mov edi, dword [edx + 0x20]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], edi
add eax, edi
mov dword [ebp - 0x20], eax
cmp edi, eax
jae 0x10108295
push esi
Function at 0x1010829d
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
push ebx
mov dword [ebp - 0x18], ecx
mov ebx, dword [eax + 0x20]
mov eax, dword [edx + 0x6c]
imul eax, dword [edx + 0x60]
mov ecx, dword [edx + 0x20]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ecx
add eax, ecx
mov dword [ebp - 0x28], eax
cmp ecx, eax
jae 0x101083b2
push esi
push edi
mov eax, dword [edx + 0x68]
mov edi, dword [edx + 0x60]
add eax, ecx
add edi, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x24], eax
cmp ecx, eax
jae 0x10108392
movzx edx, byte [ecx + 1]
movzx esi, byte [edi + 1]
movzx eax, byte [edi]
movzx edi, byte [ecx]
mov dword [ebp - 8], eax
mov ecx, edi
mov dword [ebp - 0xc], edx
push 0xf
pop ebx
and eax, ebx
and ecx, ebx
add ecx, eax
and edx, ebx
add edx, 2
and ebx, esi
add ecx, edx
mov eax, 0xf0
add ebx, ecx
mov edx, edi
mov ecx, dword [ebp - 8]
and edx, eax
and ecx, eax
shr ebx, 2
mov eax, dword [ebp - 0xc]
add ecx, esi
and eax, 0xf0
add ecx, edx
add eax, 0x20
mov edx, 0xf0
add eax, ecx
and edi, edx
mov ecx, dword [ebp - 0xc]
shr eax, 2
and ecx, edx
xor bl, al
add ecx, 0x20
mov eax, dword [ebp - 8]
and bl, 0xf
and eax, edx
add eax, esi
add eax, edi
mov edi, dword [ebp - 0x14]
add eax, ecx
add edi, 2
mov ecx, dword [ebp - 4]
shr eax, 2
add ecx, 2
xor bl, al
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], edi
mov byte [eax], bl
inc eax
mov dword [ebp - 0x10], eax
cmp ecx, dword [ebp - 0x24]
jb 0x101082ee
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
mov edx, dword [eax]
jmp 0x10108395
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 4]
add ebx, dword [eax + 0x60]
mov eax, dword [edx + 0x60]
mov dword [ebp - 0x1c], ebx
lea ecx, [ecx + eax*2]
mov dword [ebp - 0x20], ecx
cmp ecx, dword [ebp - 0x28]
jb 0x101082d0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10142e2b
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
lea eax, [ebp - 4]
mov dword [ebp - 8], 4
push eax
push 0x2000000
xor edi, edi
mov esi, edx
push edi
push 0x10026df4
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10142e91
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
push edi
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x10142e8d
cmp dword [ebp - 0xc], 4
jne 0x10142e8d
inc edi
mov eax, edi
jmp 0x10142e93
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x1014543d
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
push esi
mov esi, ecx
lea eax, [ebp - 0x24]
push edi
xor edi, edi
push eax
mov dword [esi], edi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x20]
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
lea edx, [eax - 1]
add eax, 0xffff
not edx
and edx, eax
pop edi
mov dword [esi + 4], edx
lea ecx, [edx - 1]
lea eax, [edx + 0xfffff]
not ecx
and ecx, eax
mov eax, esi
mov dword [esi + 0x14], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x1016643c
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x101cc284]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0xc], ecx
mov eax, dword [edi + 0x34]
push eax
mov edx, dword [eax]
mov esi, dword [edx + 0xc]
mov ecx, esi
call dword [0x101d13b0]
call esi
mov ecx, dword [ebp + 8]
mov ebx, eax
mov dword [ebp - 0x24], ebx
lea eax, [ebp - 0x34]
mov edx, dword [ebx + 4]
mov esi, dword [ebx + 0xc]
add esi, dword [ecx]
xor ecx, ecx
mov dword [ebp - 0x28], edx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x10], ecx
test byte [edx + 0x134], 1
jne 0x101664ca
cmp dword [ebp + 0x10], ecx
je 0x101664ca
push ecx
push ecx
call dword [sym.imp.msvcrt.dll__controlfp]
mov ecx, dword [ebp - 0xc]
push 0x30000
push 0
mov dword [ecx + 0x130], eax
call dword [sym.imp.msvcrt.dll__controlfp]
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x34]
mov ecx, dword [ebp - 0x10]
add esp, 0x10
or dword [edx + 0x134], 1
cmp dword [edi + 0x38], 0
je 0x101665b8
mov eax, dword [ebp + 8]
mov ecx, dword [ebx + 0x10]
and dword [ebp - 0x10], 0
mov eax, dword [eax]
lea esi, [eax + ecx]
mov dword [ebp - 0x1c], esi
mov esi, dword [ebx + 0x14]
add esi, eax
mov dword [ebp - 0x20], esi
mov esi, dword [ebx + 0x18]
add esi, eax
mov dword [ebp - 0x14], esi
xor esi, esi
cmp si, word [edi + 0x4a]
mov esi, dword [ebp - 0x18]
jae 0x101665b3
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x14]
movzx eax, si
imul ecx, eax, 0x18
add ecx, dword [edi + 0x30]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [eax + 8]
mov eax, dword [eax]
cmp eax, dword [edx + 0x34]
jbe 0x1016659a
mov ecx, dword [ecx + 8]
movzx eax, word [ecx + 4]
sub eax, 0
je 0x10166576
sub eax, 1
je 0x1016655d
sub eax, 1
jne 0x1016659a
push ecx
lea eax, [ebp - 0x10]
push eax
movzx eax, word [ecx + 8]
push ecx
push dword [edi + 0x38]
push eax
movzx eax, word [ecx + 6]
shl eax, 5
add eax, dword [ebp - 0x1c]
push eax
push dword [ebp - 0x14]
call fcn.1016d595
jmp 0x10166597
push ecx
lea eax, [ebp - 0x10]
push eax
movzx eax, word [ecx + 8]
push ecx
push dword [edi + 0x38]
push eax
movzx eax, word [ecx + 6]
shl eax, 5
add eax, ebx
jmp 0x10166552
push ecx
lea eax, [ebp - 0x10]
push eax
movzx eax, word [ecx + 8]
push ecx
push dword [edi + 0x38]
push eax
movzx eax, word [ecx + 6]
mov ecx, dword [ebp - 0x20]
lea eax, [ecx + eax*8]
push eax
push dword [ebp - 0x14]
call fcn.1016d963
mov edx, dword [ebp - 0xc]
inc esi
cmp si, word [edi + 0x4a]
jb 0x1016650b
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebx + 0x10]
mov eax, dword [eax]
add eax, ecx
mov ecx, dword [ebx + 8]
mov edx, dword [ebp - 0x28]
push edx
push edx
push edx
mov edx, dword [edi + 0x40]
push ecx
push ecx
push 0
push esi
push esi
push esi
push ecx
mov ecx, dword [edi + 0x3c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.10114d4a
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101b6170
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10170b03
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
xor eax, eax
push ebx
push edi
mov edi, edx
mov ebx, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor edi, edi
cmp dword [ebx + 4], edi
je 0x10170b27
mov eax, dword [ebx]
mov eax, dword [eax + 8]
add eax, dword [ebx + 4]
jmp 0x10170b29
mov eax, edi
mov dword [edx], eax
movzx eax, word [ebx + 8]
mov dword [edx + 4], eax
movzx eax, word [ebx + 0xa]
mov dword [edx + 8], eax
movzx eax, word [ebx + 0xc]
mov dword [edx + 0xc], eax
mov eax, dword [ebx + 0x18]
push esi
mov edi, dword [ebp + 8]
push 0
movzx eax, word [eax]
mov dword [edx + 0x10], eax
mov eax, dword [ebx + 0x18]
movzx eax, word [eax + 2]
mov dword [edx + 0x14], eax
mov eax, dword [ebx + 0x18]
movzx esi, word [eax + 4]
mov dword [edx + 0x18], esi
mov eax, dword [ebx + 0x18]
movzx ecx, word [eax + 6]
mov dword [edx + 0x1c], ecx
mov eax, dword [ebx + 0x18]
movzx edx, word [eax + 8]
mov eax, dword [ebp + 8]
mov dword [eax + 0x20], edx
mov eax, dword [ebx + 0x18]
imul edx, ecx
mov ecx, edi
movzx eax, word [eax + 0xa]
mov dword [edi + 0x24], eax
imul edx, esi
pop edi
pop esi
shl edx, 2
mov dword [ecx + 0x28], edx
mov edx, dword [ebx + 0x14]
test edx, edx
je 0x10170ba2
mov eax, dword [ebx]
mov edi, dword [eax + 8]
add edi, edx
mov dword [ecx + 0x2c], edi
xor eax, eax
pop edi
pop ebx
pop ebp
ret 4
Function at 0x101b6390
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x101b63ce
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x101b63c6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x101b63d0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x101b63b6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x101b64a0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x101b64b6
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x101b64d1
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

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

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

Disassembly:
pushal
clc
nop
jae 0x40e092
call 0x41c569
out dx, eax
je 0x40c7c0
bound eax, qword [eax]
mov ecx, ebx
xor dword [esp], eax
push edi
mov ecx, ebx
wait
cld
nop
jmp 0x40f34b
mov ecx, dword [ecx + 0x3c]
clc
nop
jae 0x40da85
xor ebp, dword [edx + ebx*8 + 0x1500fd00]
movsd dword es:[edi], dword [esi]
lodsd eax, dword [esi]
mov eax, 0x123a6781
clc
nop
jae 0x40d227
fiadd dword [eax]
add byte [esi + 0x6a], bl
add ecx, dword [ebx + 0x3c]
clc
nop
jae 0x40e98e
add al, byte [eax]
jp 0x40f358
add byte [edx - 3], bh
Function at 0x40800b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x417400]
jne 0x408015
repz ret
jmp fcn.0040dc97

Function at 0x40ae1c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x417400]
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.00406429
and dword [ebp - 0x14], 0
cmp dword [0x448e34], 0
mov dword [ebp - 0x18], eax
jne 0x40aecf
push 0x402228
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40af77
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40221c
push ebx
call edi
test eax, eax
je 0x40af77
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x40220c
push ebx
mov dword [0x448e34], eax
call edi
push eax
call esi
push 0x4021f8
push ebx
mov dword [0x448e38], eax
call edi
push eax
call esi
push 0x4021dc
push ebx
mov dword [0x448e3c], eax
call edi
push eax
call esi
mov dword [0x448e44], eax
test eax, eax
je 0x40aecf
push 0x4021c4
push ebx
call edi
push eax
call esi
mov dword [0x448e40], eax
mov eax, dword [0x448e40]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40af28
cmp dword [0x448e44], ecx
je 0x40af28
push eax
call esi
push dword [0x448e44]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40af28
test ebx, ebx
je 0x40af28
call edi
test eax, eax
je 0x40af1f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40af1f
test byte [ebp - 8], 1
jne 0x40af28
or dword [ebp + 0x10], 0x200000
jmp 0x40af5b
mov eax, dword [0x448e38]
cmp eax, dword [ebp - 0x18]
je 0x40af5b
push eax
call esi
test eax, eax
je 0x40af5b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40af5b
mov eax, dword [0x448e3c]
cmp eax, dword [ebp - 0x18]
je 0x40af5b
push eax
call esi
test eax, eax
je 0x40af5b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x448e34]
call esi
test eax, eax
je 0x40af77
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40af79
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040800b
leave
ret
Function at 0x4147b0
Capabilities:
Access the windows event log
Connect pipe
Delete directory
Delete file
Get common file path
Manipulate console buffer
Read pipe
Write pipe

Disassembly:
mov eax, 0x1414
call fcn.0040eb70
cmp dword [0x7f8914], 0x37
jne 0x414884
push 0x40347c
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetLocaleInfoA]
push 0
lea eax, [esp + 0xc18]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0
lea ecx, [esp + 8]
push ecx
push 0
lea edx, [esp + 0x20]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CallNamedPipeA]
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
lea eax, [esp + 0x818]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x40348c
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 8]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTapePosition]
push 0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push 0
lea edx, [esp + 0x418]
push edx
push 0x4034a0
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointA]
mov eax, dword [0x7f8d28]
mov edx, dword [0x7f83f8]
mov cl, byte [eax + esi + 0x38d6]
mov byte [edx + esi], cl
add esp, 0x1414
ret
Function at 0x414ee0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [0x7f8914]
sub esp, 0x484
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsW]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetDateFormatA]
mov ebp, 0x2443831
cmp eax, 0x47
jne 0x414f66
xor eax, eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x78]
push ecx
push 0x403770
mov dword [esp + 0x6c], 0
call esi
xor eax, eax
push eax
mov dword [esp + 0x56], eax
mov dword [esp + 0x5a], eax
mov dword [esp + 0x5e], eax
mov word [esp + 0x62], ax
lea eax, [esp + 0x94]
push eax
push 0x4037c4
xor edx, edx
lea ecx, [esp + 0x5c]
push ecx
push edx
push edx
mov word [esp + 0x68], dx
call edi
dec ebp
mov eax, dword [0x4484e0]
mov dword [0x7f8914], eax
jne 0x414f05
mov dword [esp + 0x20], 0x764d11c7
mov dword [esp + 0x4c], 0x26b44f20
mov dword [esp + 0x24], 0x1f33c7de
mov dword [esp + 0x10], 0x2e56cff9
mov dword [esp + 0x28], 0x6cde8df8
mov dword [esp + 0x14], 0x796abd53
mov dword [esp + 0x34], 0x3ce56ad4
mov dword [esp + 0x1c], 0x581868fc
mov dword [esp + 0x18], 0xc596c70
mov dword [esp + 0x3c], 0x6d5e9115
mov dword [esp + 0x30], 0x22f372d9
mov dword [esp + 0x40], 0x2ad541d0
mov dword [esp + 0x38], 0x7a5f7c43
mov dword [esp + 0x2c], 0x28d520e
mov dword [esp + 0x48], 0x73f3bc07
mov dword [esp + 0x44], 0x51f578e1
add dword [esp + 0x4c], 0x73e38130
mov eax, 0x3a9c3a87
mul dword [esp + 0x20]
mov eax, dword [esp + 0x20]
add dword [esp + 0x24], 0x6b053f58
add dword [esp + 0x20], 0x2818faf9
add dword [esp + 0x4c], 0x3ab2fc3
sub dword [esp + 0x20], 0x30ad2d47
sub dword [esp + 0x20], 0x4442fc9b
sub dword [esp + 0x28], 0x2285667
add dword [esp + 0x4c], 0x262c99c6
sub dword [esp + 0x14], 0x4dc74448
mov eax, 0x53cf4e1b
mul dword [esp + 0x24]
mov eax, dword [esp + 0x24]
add dword [esp + 0x24], 0x1b067f32
mov eax, 0x67698c83
mul dword [esp + 0x14]
mov eax, dword [esp + 0x14]
sub dword [esp + 0x28], 0x7674af1e
mov eax, 0x173863dd
mul dword [esp + 0x28]
mov eax, dword [esp + 0x28]
mov eax, 0x3d786fdd
mul dword [esp + 0x3c]
mov eax, dword [esp + 0x3c]
mov eax, 0x38471b91
mul dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov eax, 0x45f07edf
mul dword [esp + 0x4c]
mov eax, dword [esp + 0x4c]
add dword [esp + 0x18], 0x6fea1ecd
sub dword [esp + 0x34], 0x32f1f16e
add dword [esp + 0x34], 0x6e380599
sub dword [esp + 0x18], 0x3ca08c1e
add dword [esp + 0x30], 0x154e8e1
add dword [esp + 0x14], 0x53bb032d
sub dword [esp + 0x14], 0x11166d6c
sub dword [esp + 0x18], 0x2a6a1594
add dword [esp + 0x14], 0x4fb1fe05
mov eax, 0x4b3ce8e6
mul dword [esp + 0x34]
mov eax, dword [esp + 0x34]
add dword [esp + 0x3c], 0x1bc84bb6
sub dword [esp + 0x30], 0x687c0c2b
add dword [esp + 0x48], 0x36e578c2
sub dword [esp + 0x10], 0x7b5e58ec
mov eax, 0x38d0a1fb
mul dword [esp + 0x48]
mov eax, dword [esp + 0x48]
sub dword [esp + 0x40], 0x15793cf4
mov edx, dword [0x4484d4]
mov dword [0x7f8d28], edx
call fcn.00414b10
pop edi
xor eax, eax
pop esi
pop ebp
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1af0058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.01af01a8
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 0x1af007e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1af006a
add dl, dl
jne 0x1af0089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1af00dc
xor eax, eax
add dl, dl
jne 0x1af0096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1af017d
add dl, dl
jne 0x1af00a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1af00b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1af00bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1af00c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x1af00d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1af0075
mov eax, 1
add dl, dl
jne 0x1af00ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1af00f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1af00e1
sub eax, ebx
mov ebx, 1
jne 0x1af0128
mov ecx, 1
add dl, dl
jne 0x1af010e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1af0119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1af0105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1af0075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1af013f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1af014a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1af0136
cmp eax, 0x7d00
jae 0x1af016d
cmp eax, 0x500
jb 0x1af0168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1af0075
cmp eax, 0x7f
ja 0x1af0170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1af0075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1af019e
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 0x1af0075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10