joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10099000
Capabilities:
Check if file exists
Check os version
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x1012c610]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10134a5c]
push ebx
mov ebx, dword [ebp + 0xc]
xor ecx, ecx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push edi
mov dword [ebp - 0x230], ecx
mov dword [ebp - 0x234], ecx
mov edi, 0x114
cmp eax, ecx
jne 0x1009905c
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], edi
call esi
xor eax, eax
cmp dword [ebp - 0x108], 2
sete al
inc eax
mov dword [0x10134a5c], eax
cmp eax, 2
jne 0x10099068
call fcn.10098680
jmp 0x1009906d
call fcn.10098820
mov ebx, eax
test ebx, ebx
jne 0x10099087
pop edi
pop esi
lea eax, [ebx + 7]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007dd84
mov esp, ebp
pop ebp
ret
mov eax, dword [0x10134a5c]
test eax, eax
jne 0x100990b1
lea ecx, [ebp - 0x22c]
push ecx
mov dword [ebp - 0x22c], edi
call esi
xor eax, eax
cmp dword [ebp - 0x21c], 2
sete al
inc eax
mov dword [0x10134a5c], eax
cmp eax, 2
jne 0x100990fe
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea esp, [esp]
push ebx
call edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x100990e2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x234], eax
cmp eax, 5
jne 0x10099142
mov eax, dword [ebp - 0x230]
inc eax
mov dword [ebp - 0x230], eax
cmp eax, 5
jge 0x10099142
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100990c0
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebx
call edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10099126
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x234], eax
cmp eax, 5
jne 0x10099142
mov eax, dword [ebp - 0x230]
inc eax
mov dword [ebp - 0x230], eax
cmp eax, 5
jge 0x10099142
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10099104
push ebx
call fcn.1007e601
add esp, 4
cmp esi, 0xffffffff
jne 0x1009916c
cmp dword [ebp - 0x234], 2
jne 0x1009916c
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007dd84
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 0xa0a
pop ebx
call fcn.1007dd84
mov esp, ebp
pop ebp
ret
Function at 0x100a3c20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 0xc]
lea eax, [esi*8]
push edi
mov edi, dword [ebp + 8]
cmp eax, 0x400
jbe 0x100a3c41
mov esi, 0x80
cmp esi, dword [edi]
jne 0x100a3c4d
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [0x101349a4]
test eax, eax
je 0x100a3c58
call eax
lea ecx, [esi*8]
push ecx
call fcn.100a3300
mov esi, eax
mov eax, dword [0x101349a8]
add esp, 4
mov dword [ebp - 4], esi
test eax, eax
je 0x100a3c78
call eax
test esi, esi
je 0x100a3c45
mov edx, dword [edi + 0xc]
push ebx
push edx
call fcn.100974a0
push esi
mov dword [edi + 0xc], esi
call dword [0x1012d98c]
mov ebx, eax
shr ebx, 3
lea eax, [ebx*8]
push eax
push 0
push esi
mov dword [ebp + 0xc], ebx
mov dword [edi], ebx
call fcn.1007f8e0
mov ecx, dword [edi + 8]
add esp, 0x14
mov dword [edi + 8], 0
test ecx, ecx
je 0x100a3d5d
nop
mov edx, dword [ecx + 0x10]
mov esi, dword [ecx + 0xc]
xor eax, eax
test edx, edx
jle 0x100a3cf1
lea esp, [esp]
movzx edi, byte [esi]
movzx edi, byte [edi + 0x1010aea0]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc esi
test edx, edx
jg 0x100a3cd0
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [ebp - 8], edx
xor edx, edx
div ebx
mov eax, dword [ebp - 4]
lea eax, [eax + edx*8]
test eax, eax
je 0x100a3d39
mov esi, dword [eax]
test esi, esi
je 0x100a3d0f
mov edx, dword [eax + 4]
jmp 0x100a3d11
xor edx, edx
inc esi
mov dword [eax], esi
mov dword [eax + 4], ecx
test edx, edx
je 0x100a3d39
mov dword [ecx], edx
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 4]
test eax, eax
je 0x100a3d31
mov dword [eax], ecx
mov dword [edx + 4], ecx
jmp 0x100a3d52
mov dword [edi + 8], ecx
mov dword [edx + 4], ecx
jmp 0x100a3d52
mov edx, dword [edi + 8]
mov dword [ecx], edx
mov eax, dword [edi + 8]
test eax, eax
je 0x100a3d48
mov dword [eax + 4], ecx
mov dword [ecx + 4], 0
mov dword [edi + 8], ecx
mov ecx, dword [ebp - 8]
test ecx, ecx
jne 0x100a3cc0
pop ebx
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100ac3c0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x1012c610]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x10c]
push ecx
push 0x104
push eax
push edx
mov dword [ebp - 0x114], 0x200
call fcn.100ac220
add esp, 0x10
test eax, eax
jne 0x100ac4c2
push esi
lea ecx, [ebp - 0x10c]
call fcn.10098f80
mov esi, eax
test esi, esi
je 0x100ac499
push edi
call fcn.10098620
test eax, eax
mov eax, esi
je 0x100ac457
cmp word [esi], 0
je 0x100ac43c
cmp word [eax], 0x5c
je 0x100ac437
add eax, 2
cmp word [eax], 0
jne 0x100ac426
jmp 0x100ac43c
xor ecx, ecx
mov word [eax], cx
lea edx, [ebp - 0x110]
push edx
mov eax, edx
push eax
lea ecx, [ebp - 0x114]
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
jmp 0x100ac489
cmp byte [esi], 0
je 0x100ac470
lea esp, [esp]
cmp byte [eax], 0x5c
je 0x100ac46d
inc eax
cmp byte [eax], 0
jne 0x100ac460
jmp 0x100ac470
mov byte [eax], 0
lea eax, [ebp - 0x110]
push eax
mov ecx, eax
push ecx
lea edx, [ebp - 0x114]
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
push esi
mov edi, eax
call fcn.1007e601
add esp, 4
test edi, edi
pop edi
jne 0x100ac4ad
mov eax, 0x200
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007dd84
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x114]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007dd84
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x114]
xor ecx, ebp
call fcn.1007dd84
mov esp, ebp
pop ebp
ret
Function at 0x100ade30
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
jne 0x100ade40
xor eax, eax
pop ebx
pop ebp
ret
push esi
mov esi, dword [ebp + 8]
push edi
mov ecx, 0x44
call fcn.100a3710
mov edi, eax
test edi, edi
jne 0x100ade5a
pop edi
pop esi
pop ebx
pop ebp
ret
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebx]
push eax
push ecx
push esi
call fcn.100a7520
mov edx, dword [ebp + 0x10]
mov dword [edi], eax
mov eax, dword [ebx + 8]
push edx
push eax
push esi
call fcn.100adbf0
mov ecx, dword [ebp + 0x10]
push 0
mov dword [edi + 8], eax
mov eax, dword [ebx + 0xc]
push ecx
push eax
push esi
call fcn.100b5d70
mov edx, dword [ebp + 0x10]
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 0x10]
push edx
push eax
push esi
call fcn.100a7520
mov ecx, dword [ebp + 0x10]
push 0
mov dword [edi + 0x10], eax
mov eax, dword [ebx + 0x14]
push ecx
push eax
push esi
call fcn.100b5d70
mov edx, dword [ebp + 0x10]
add esp, 0x44
mov dword [edi + 0x14], eax
mov eax, dword [ebx + 0x18]
push edx
push eax
push esi
call fcn.100a7520
mov edx, dword [ebp + 0x10]
mov dword [edi + 0x18], eax
mov cl, byte [ebx + 4]
mov byte [edi + 4], cl
mov eax, dword [ebx + 0x1c]
push edx
push eax
push esi
call fcn.100ade30
mov ecx, dword [ebp + 0x10]
push 0
mov dword [edi + 0x1c], eax
mov eax, dword [ebx + 0x28]
push ecx
push eax
push esi
call fcn.100b5d70
mov edx, dword [ebp + 0x10]
push 0
mov dword [edi + 0x28], eax
mov eax, dword [ebx + 0x2c]
push edx
push eax
push esi
call fcn.100b5d70
mov dword [edi + 0x2c], eax
xor eax, eax
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], eax
mov cx, word [ebx + 6]
mov edx, 0xfff7
and cx, dx
add esp, 0x38
mov dword [edi + 0x24], eax
or eax, 0xffffffff
mov word [edi + 6], cx
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], eax
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x100ae890
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x100aea35
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x100ae8b3
cmp dword [esi + 0x1e8], 0
jne 0x100ae8c2
mov eax, 0xffff
add word [ebx + 0x20], ax
jne 0x100aea34
push edi
mov edi, dword [ebx + 0x10]
mov dword [ebp - 8], edi
test edi, edi
je 0x100ae995
mov ecx, dword [edi + 0x20]
mov dword [ebp - 0xc], ecx
test esi, esi
je 0x100ae8e8
cmp dword [esi + 0x1e8], 0
jne 0x100ae973
mov ecx, dword [edi]
mov eax, ecx
test ecx, ecx
jne 0x100ae8f5
mov dword [ebp - 4], ecx
jmp 0x100ae910
cmp byte [ecx], 0
je 0x100ae906
lea ebx, [ebx]
inc eax
cmp byte [eax], 0
jne 0x100ae900
sub eax, ecx
and eax, 0x3fffffff
mov dword [ebp - 4], eax
mov esi, dword [edi + 0x24]
cmp dword [esi + 0x14], 0
je 0x100ae949
mov edx, dword [ebp - 4]
xor eax, eax
cmp edx, eax
jle 0x100ae940
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x1010aea0]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc ecx
test edx, edx
jg 0x100ae922
mov edi, dword [ebp - 8]
xor edx, edx
div dword [esi + 0x14]
mov ebx, edx
jmp 0x100ae94b
xor ebx, ebx
mov edx, dword [ebp - 4]
mov eax, dword [edi]
push edx
push eax
mov edx, ebx
lea eax, [esi + 0x14]
call fcn.10098500
add esp, 8
test eax, eax
je 0x100ae96d
mov edx, ebx
lea ecx, [esi + 0x14]
call fcn.100985a0
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov eax, dword [edi + 0x1c]
push eax
push esi
call fcn.10097540
push edi
push esi
call fcn.10097540
mov edi, dword [ebp - 0xc]
add esp, 0x10
mov dword [ebp - 8], edi
test edi, edi
jne 0x100ae8d1
push ebx
mov eax, esi
call fcn.100a8e50
push ebx
mov edi, esi
call fcn.100a8400
mov ecx, dword [ebx]
push ecx
push esi
call fcn.10097540
mov edx, dword [ebx + 0x28]
push edx
push esi
call fcn.10097540
mov edi, dword [ebx + 0x1c]
add esp, 0x18
test edi, edi
je 0x100ae9d3
push edi
push esi
call fcn.100a01d0
push edi
push esi
call fcn.10097540
add esp, 0x10
mov eax, dword [ebx + 0x2c]
push eax
push esi
call fcn.100a7460
add esp, 8
test esi, esi
je 0x100ae9ed
cmp dword [esi + 0x1e8], 0
jne 0x100ae9f9
push 0
mov edi, ebx
call fcn.100a0c10
add esp, 4
cmp dword [ebx + 0x3c], 0
je 0x100aea29
xor edi, edi
cmp dword [ebx + 0x38], edi
jle 0x100aea1c
mov ecx, dword [ebx + 0x3c]
mov edx, dword [ecx + edi*4]
push edx
push esi
call fcn.10097540
inc edi
add esp, 8
cmp edi, dword [ebx + 0x38]
jl 0x100aea06
mov eax, dword [ebx + 0x3c]
push eax
push esi
call fcn.10097540
add esp, 8
push ebx
push esi
call fcn.10097540
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100affa0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
xor eax, eax
test dword [edx + 0xc], 0x4000000
mov dword [ebp - 4], eax
je 0x100b00e9
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ecx + 0x24]
test edi, edi
je 0x100b0006
lea esp, [esp]
mov eax, dword [edi + 0x14]
test eax, eax
jle 0x100afffc
lea edx, [edi + 0x24]
mov esi, eax
lea esp, [esp]
mov ecx, dword [edx]
cmp ecx, 0x1f
jle 0x100affec
or eax, 0xffffffff
jmp 0x100afff3
mov eax, 1
shl eax, cl
or dword [ebp - 4], eax
add edx, 8
dec esi
jne 0x100affe0
mov edi, dword [edi + 4]
test edi, edi
jne 0x100affd0
mov ecx, dword [ebp + 0xc]
mov esi, dword [ecx]
mov eax, esi
test esi, esi
jne 0x100b0015
xor edi, edi
mov dword [ebp - 8], edi
jmp 0x100b0032
cmp byte [esi], 0
je 0x100b0026
lea ebx, [ebx]
inc eax
cmp byte [eax], 0
jne 0x100b0020
sub eax, esi
and eax, 0x3fffffff
mov edi, eax
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ecx + 0x44]
add ebx, 0x34
cmp dword [ebx + 0xc], 0
mov dword [ebp - 0xc], ebx
je 0x100b0077
xor eax, eax
mov edx, edi
mov ecx, esi
test edi, edi
jle 0x100b0071
lea esp, [esp]
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x1010aea0]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc ecx
test edx, edx
jg 0x100b0050
mov edi, dword [ebp - 8]
mov ebx, dword [ebp - 0xc]
xor edx, edx
div dword [ebx]
jmp 0x100b0079
xor edx, edx
push edi
push esi
mov eax, ebx
call fcn.10098500
xor ebx, ebx
add esp, 8
cmp eax, ebx
je 0x100b00e3
mov edi, dword [eax + 8]
cmp edi, ebx
je 0x100b00e3
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push edi
push ecx
push edx
xor eax, eax
mov dword [ebp - 8], ebx
call fcn.100afd60
mov eax, dword [ebp - 8]
add esp, 0x10
cmp eax, ebx
je 0x100b00dc
mov ecx, dword [eax + 4]
cmp ecx, ebx
jle 0x100b00dc
mov edx, dword [eax + 8]
mov esi, ecx
nop
mov ecx, dword [edx]
cmp ecx, 0x1f
jle 0x100b00cc
or eax, 0xffffffff
jmp 0x100b00d3
mov eax, 1
shl eax, cl
or dword [ebp - 4], eax
add edx, 4
dec esi
jne 0x100b00c0
mov edi, dword [edi + 0xc]
cmp edi, ebx
jne 0x100b0092
mov eax, dword [ebp - 4]
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100b3510
Capabilities:
Get system information on windows

Disassembly:
xor eax, eax
push 0x10134fa0
mov dword [0x10134fa0], eax
mov dword [0x10134fa4], eax
mov dword [0x10134fa8], eax
mov dword [0x10134fac], eax
mov dword [0x10134fb0], eax
mov dword [0x10134fb4], eax
mov dword [0x10134fb8], eax
mov dword [0x10134fbc], eax
mov dword [0x10134fc0], eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
call fcn.100dd490
test eax, eax
jne 0x100b35ab
push esi
cmp dword [0x1012d96c], eax
jne 0x100b3560
xor esi, esi
jmp 0x100b357b
push 2
call dword [0x1012d9a8]
mov esi, eax
add esp, 4
test esi, esi
je 0x100b357b
push esi
call dword [0x1012d9b0]
add esp, 4
mov edx, 0x1012dba8
call fcn.10097130
mov eax, dword [0x101349a0]
mov dword [0x1012dbb4], eax
mov dword [0x101349a0], 0x1012dba8
test esi, esi
je 0x100b35a7
push esi
call dword [0x1012d9b8]
add esp, 4
xor eax, eax
pop esi
ret
xor eax, eax
ret
Function at 0x100b74f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [edx]
xor esi, esi
mov dword [ebp - 8], edi
mov dword [ebp - 4], esi
lea esp, [esp]
test edi, edi
je 0x100b75a8
cmp byte [edi], 0
mov eax, edi
je 0x100b7526
nop
inc eax
cmp byte [eax], 0
jne 0x100b7520
sub eax, edi
and eax, 0x3fffffff
cmp dword [ebx + 0x19c], 0
lea ecx, [ebx + 0x190]
mov esi, eax
je 0x100b7581
xor eax, eax
mov edx, esi
mov ecx, edi
test esi, esi
jle 0x100b7571
jmp 0x100b7550
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x1010aea0]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc ecx
test edx, edx
jg 0x100b7550
mov ebx, dword [ebp + 8]
mov edi, dword [ebp - 8]
xor edx, edx
div dword [ebx + 0x190]
lea ecx, [ebx + 0x190]
jmp 0x100b7583
xor edx, edx
push esi
push edi
mov eax, ecx
call fcn.10098500
add esp, 8
test eax, eax
je 0x100b759e
mov eax, dword [eax + 8]
mov esi, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
jmp 0x100b75ab
mov esi, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
xor eax, eax
jmp 0x100b75ab
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x100b75bd
movzx ecx, byte [esi + 0x1010b718]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4 - 0x14]
cmp dword [eax + 0xc], 0
jne 0x100b75dc
inc esi
mov dword [ebp - 4], esi
cmp esi, 3
jl 0x100b7510
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov ecx, dword [eax + 0xc]
pop edi
pop esi
mov dword [edx + 0xc], ecx
mov dword [edx + 0x10], 0
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100bd2c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [edi + 0x3c]
sub esp, 0x14
push esi
xor esi, esi
cmp dword [edx], esi
jne 0x100bd2f4
mov eax, dword [edi + 0x78]
mov ecx, dword [edi]
or eax, 0x1e
push esi
and eax, 0x87f3f
push eax
mov eax, dword [ecx + 0x18]
push edx
push esi
push ecx
call eax
add esp, 0x14
test eax, eax
jne 0x100bd40a
mov esi, eax
mov ecx, dword [edi + 0x18]
cmp ecx, dword [edi + 0x24]
jbe 0x100bd32d
mov eax, dword [edi + 0x80]
push 0
cdq
push ecx
push edx
push eax
call fcn.1007fbd0
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 0x3c]
mov ecx, dword [eax]
lea edx, [ebp - 0xc]
push edx
push 5
push eax
mov eax, dword [ecx + 0x28]
call eax
mov ecx, dword [edi + 0x18]
add esp, 0xc
mov dword [edi + 0x24], ecx
push ebx
mov edi, edi
mov eax, dword [ebp + 8]
test eax, eax
je 0x100bd407
mov ebx, dword [eax + 0xc]
cmp ebx, dword [edi + 0x18]
ja 0x100bd3f9
test byte [eax + 0x14], 0x20
jne 0x100bd3f9
mov esi, dword [edi + 0x80]
mov eax, esi
cdq
push edx
push eax
lea ecx, [ebx - 1]
push 0
push ecx
call fcn.1007fbd0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push edx
mov edx, dword [ebp - 0x14]
push edx
mov dword [ebp - 4], ecx
mov ecx, dword [edi + 0x3c]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
push esi
mov esi, dword [ebp - 4]
push esi
push ecx
call eax
add esp, 0x14
mov dword [ebp - 4], eax
cmp ebx, 1
jne 0x100bd3aa
mov ecx, dword [esi + 0x18]
mov dword [edi + 0x64], ecx
mov edx, dword [esi + 0x1c]
mov dword [edi + 0x68], edx
mov ecx, dword [esi + 0x20]
mov dword [edi + 0x6c], ecx
mov edx, dword [esi + 0x24]
mov dword [edi + 0x70], edx
cmp ebx, dword [edi + 0x20]
jbe 0x100bd3b2
mov dword [edi + 0x20], ebx
mov eax, dword [ebp + 8]
mov esi, dword [edi + 0x58]
mov ecx, dword [eax]
mov dword [ebp - 8], ecx
test esi, esi
je 0x100bd3f3
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x100bd3d2
cmp eax, 5
je 0x100bd3d2
cmp eax, 6
jne 0x100bd3ec
cmp ebx, dword [esi + 0x10]
jae 0x100bd3ec
mov edx, dword [ebp - 8]
push edx
push ebx
push esi
call fcn.100bad10
add esp, 0xc
test eax, eax
je 0x100bd3ec
mov dword [esi + 0x1c], eax
mov esi, dword [esi + 0x2c]
test esi, esi
jne 0x100bd3c1
mov esi, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov dword [ebp + 8], eax
test esi, esi
je 0x100bd330
mov eax, esi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100f5790
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fb172
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x1012c610]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor edi, edi
push 0x204
lea eax, [ebp - 0x214]
push edi
mov dword [ebp - 0x21c], edi
push eax
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x218], edi
call fcn.1007f8e0
mov ecx, dword [ebp + 0xc]
add esp, 0xc
push edi
push ecx
lea edx, [ebp - 0x218]
push edx
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
test eax, eax
je 0x100f5840
xor eax, eax
mov word [esi], ax
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
jmp 0x100f5820
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x100f5820
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x218]
push ecx
mov ecx, esi
call fcn.10009bb0
jmp 0x100f5845
xor edx, edx
mov word [esi], dx
mov dword [ebp - 4], edi
mov dword [ebp - 0x21c], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1007dd84
mov esp, ebp
pop ebp
ret
Function at 0x10ae058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.010ae1a8
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 0x10ae07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10ae06a
add dl, dl
jne 0x10ae089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10ae0dc
xor eax, eax
add dl, dl
jne 0x10ae096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10ae17d
add dl, dl
jne 0x10ae0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10ae0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10ae0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10ae0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x10ae0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x10ae075
mov eax, 1
add dl, dl
jne 0x10ae0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10ae0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10ae0e1
sub eax, ebx
mov ebx, 1
jne 0x10ae128
mov ecx, 1
add dl, dl
jne 0x10ae10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10ae119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10ae105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10ae075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x10ae13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10ae14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10ae136
cmp eax, 0x7d00
jae 0x10ae16d
cmp eax, 0x500
jb 0x10ae168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10ae075
cmp eax, 0x7f
ja 0x10ae170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10ae075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x10ae19e
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 0x10ae075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x10001d50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x50
mov eax, dword [ebp + 8]
mov dword [0x10019a84], 0x1234
mov dword [0x10019a88], 0x118d
mov dword [ebp - 0x10], eax
call fcn.1000208f
mov ecx, eax
mov edx, dword [0x10019a88]
mov esi, ecx
add esi, dword [eax + 0x3c]
mov eax, esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], eax
xor eax, eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
mov esi, dword [ebp - 0x14]
cmp edx, 0x4550
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], esi
je 0x10001db1
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x1c]
add ecx, 0x21fc
mov dword [0x10019a88], ecx
mov ecx, dword [ebp - 0x18]
add ecx, dword [ecx + eax + 0x20]
mov edx, dword [ebp - 0x18]
mov esi, dword [edx + eax + 0x24]
mov dword [0x10019a84], 0x62
mov edi, dword [edx + eax + 0x18]
cmp edi, 0
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], ebx
je 0x10001eeb
jmp 0x10001e2b
xor eax, eax
mov ecx, dword [ebp - 0x40]
add ecx, 2
mov edx, dword [ebp - 0x44]
add edx, 1
mov esi, dword [ebp - 0x38]
cmp edx, esi
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x3c], eax
jb 0x10001e3b
jmp 0x10001eeb
xor eax, eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x34]
add ecx, edx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x4c]
xor edx, edx
mov esi, dword [ebp - 0x30]
mov edi, dword [esi + eax*4]
mov dword [0x10019a84], 0x1234
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x54]
mov ecx, eax
mov edx, dword [ebp - 0x50]
add ecx, edx
mov esi, dword [ebp - 0x18]
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 - 0x58], eax
mov byte [ebp - 0x59], bh
mov byte [ebp - 0x5a], cl
je 0x10001eb0
mov eax, dword [ebp - 0x58]
add eax, 1
mov cl, byte [ebp - 0x59]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x5a]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x54], eax
jne 0x10001e5f
mov al, byte [ebp - 0x5a]
test al, 1
jne 0x10001ebc
jmp 0x10001e02
mov eax, dword [ebp - 0x40]
movzx ecx, word [eax]
mov dword [0x10019a88], 0x185c
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x2c]
add edx, dword [edx + esi + 0x1c]
mov ecx, dword [edx + ecx*4]
mov dword [0x10019a84], 0x6ff
mov edx, dword [ebp - 0x18]
add edx, ecx
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret