joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10165252
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov edx, dword [ebp + 8]
mov ecx, edx
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, edx
sar ecx, 6
and eax, 0x3f
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x101dfde0]
mov dword [ebp - 0x18], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x10165294
cmp byte [ebx], 0xa
jne 0x10165294
or byte [edi + eax + 0x28], 4
jmp 0x10165299
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x1016539c
mov cl, byte [eax]
cmp cl, 0x1a
je 0x10165377
lea ebx, [eax + 1]
mov dword [ebp - 8], ebx
mov ebx, dword [ebp + 0xc]
cmp cl, 0xd
je 0x101652c8
mov eax, dword [ebp - 8]
jmp 0x101652e8
mov edx, dword [ebp - 0x10]
cmp dword [ebp - 8], edx
mov edx, dword [ebp + 8]
jae 0x10165304
mov ebx, dword [ebp - 8]
cmp byte [ebx], 0xa
jne 0x101652e2
add eax, 2
mov cl, 0xa
jmp 0x101652e5
mov eax, dword [ebp - 8]
mov ebx, dword [ebp + 0xc]
mov byte [esi], cl
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], esi
mov esi, dword [ebp - 0xc]
add esi, dword [ebp - 8]
cmp eax, dword [ebp - 0x10]
jb 0x101652aa
jmp 0x1016539c
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10165372
cmp dword [ebp - 0x10], 0
je 0x10165372
mov edx, dword [ebp - 0x18]
mov eax, dword [edx*4 + 0x101dfde0]
test byte [eax + edi + 0x28], 0x48
je 0x10165351
mov cl, byte [ebp - 1]
cmp cl, 0xa
jne 0x10165341
mov byte [esi], 0xa
jmp 0x1016539b
mov byte [esi], 0xd
mov eax, dword [edx*4 + 0x101dfde0]
mov byte [eax + edi + 0x2a], cl
jmp 0x1016539b
cmp byte [ebp - 1], 0xa
jne 0x1016535b
cmp esi, ebx
je 0x1016533c
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.10165de4
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x1016539c
mov byte [esi], 0xd
jmp 0x1016539b
mov eax, edx
and edx, 0x3f
sar eax, 6
imul edx, edx, 0x38
mov edi, dword [eax*4 + 0x101dfde0]
mov al, byte [edi + edx + 0x28]
test al, 0x40
jne 0x10165399
or al, 2
mov byte [edi + edx + 0x28], al
jmp 0x1016539c
mov byte [esi], cl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x101653a5
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 8]
and eax, 0x3f
push ebx
mov ebx, dword [ebp + 0xc]
sar edx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [edx*4 + 0x101dfde0]
mov dword [ebp - 8], edx
mov edx, dword [eax + edi + 0x18]
mov dword [ebp - 0x18], edx
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x101653e9
push 0xa
pop esi
cmp word [ebx], si
jne 0x101653e9
or byte [eax + edi + 0x28], 4
jmp 0x101653ee
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + edx*2]
mov eax, ebx
mov dword [ebp - 0x10], edx
mov esi, ebx
cmp ebx, edx
jae 0x10165559
movzx edx, word [eax]
mov ecx, edx
mov dword [ebp - 0xc], ecx
movzx ecx, cx
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 8]
cmp edx, 0x1a
je 0x10165531
lea ebx, [eax + 2]
mov dword [ebp - 4], ebx
push 0xd
pop ebx
cmp dx, bx
mov ebx, dword [ebp + 0xc]
je 0x1016543b
mov ebx, dword [ebp - 0x14]
mov edx, esi
mov eax, dword [ebp - 4]
movzx ebx, bx
mov dword [ebp - 4], ebx
jmp 0x10165465
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jae 0x10165484
push 0xa
pop ebx
cmp word [edx], bx
jne 0x10165452
push ebx
add eax, 4
pop edx
jmp 0x1016545a
mov eax, edx
mov edx, dword [ebp - 0xc]
movzx edx, dx
movzx edx, dx
mov dword [ebp - 4], edx
mov edx, esi
mov dword [ebp - 0x14], esi
mov ecx, dword [ebp - 4]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0xc], 2
mov word [esi], cx
mov esi, dword [ebp - 0xc]
add esi, edx
cmp eax, dword [ebp - 0x10]
jb 0x10165400
jmp 0x10165559
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1016552c
cmp dword [ebp - 0x14], 0
je 0x1016552c
mov eax, dword [ebp - 8]
push 0xa
mov eax, dword [eax*4 + 0x101dfde0]
test byte [eax + edi + 0x28], 0x48
pop eax
je 0x10165508
mov dx, word [ebp - 4]
cmp dx, ax
jne 0x101654d0
mov word [esi], ax
jmp 0x10165556
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebp - 8]
movzx ecx, dx
shr ecx, 8
push 0xa
mov eax, dword [eax*4 + 0x101dfde0]
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x101dfde0]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x101dfde0]
pop ecx
mov byte [eax + edi + 0x2c], cl
jmp 0x10165556
cmp word [ebp - 4], ax
jne 0x10165512
cmp esi, ebx
je 0x101654c8
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.10165de4
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x10165559
push 0xd
pop eax
jmp 0x101654c8
mov eax, ecx
and ecx, 0x3f
sar eax, 6
imul ecx, ecx, 0x38
mov edi, dword [eax*4 + 0x101dfde0]
mov al, byte [edi + ecx + 0x28]
test al, 0x40
jne 0x10165553
or al, 2
mov byte [edi + ecx + 0x28], al
jmp 0x10165559
mov word [esi], dx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x10169642
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x101696df
push ebx
push esi
call fcn.1016960b
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.101695a1
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1016968c
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x101696de
push edi
push eax
call fcn.101613d0
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x101696ac
call fcn.1015f720
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x101696dd
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.101695a1
add esp, 0x20
test eax, eax
jne 0x101696cb
push edi
call fcn.1015f720
jmp 0x101696d3
push ebx
call fcn.1015f720
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x101696e2
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x101696f3
pop esi
ret
push ebx
push edi
push esi
call fcn.1016960b
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.101613d0
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x1016971b
push ebx
push esi
push edi
call fcn.101490e0
add esp, 0xc
push 0
call fcn.1015f720
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x10169aea
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10169730

Function at 0x1016cab4
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.1015fb90
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1016cb23
cmp esi, dword [ebp - 4]
je 0x1016cb1e
cmp dword [ebp + 0xc], 0
je 0x1016cb1e
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x1016cafb
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.1016c609
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x1016cb25
xor eax, eax
inc eax
jmp 0x1016cb25
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x1016cb90
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x101d7000]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.1015fb90
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.1015fb90
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x1016cc07
cmp word [ecx], dx
je 0x1016cc07
mov eax, dword [0x101b48e4]
push edi
dec eax
push eax
push 0x101b47d0
call fcn.1016cb29
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x1016cc7a
cmp word [eax], dx
je 0x1016cc7a
mov eax, dword [edi]
test eax, eax
je 0x1016cc2b
cmp word [eax], dx
je 0x1016cc2b
lea eax, [ebp - 0x10]
push eax
call fcn.1016c50f
jmp 0x1016cc34
lea eax, [ebp - 0x10]
push eax
call fcn.1016c5aa
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x1016cca4
mov eax, dword [0x101b47cc]
push dword [ebp - 0x14]
dec eax
push eax
push 0x101b44c0
call fcn.1016cb29
add esp, 0xc
test al, al
je 0x1016cca4
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x1016cc6f
cmp word [eax], di
je 0x1016cc6f
lea eax, [ebp - 0x10]
push eax
call fcn.1016c50f
pop ecx
jmp 0x1016cca6
lea eax, [ebp - 0x10]
push eax
call fcn.1016c5aa
jmp 0x1016cc6c
mov eax, dword [edi]
test eax, eax
je 0x1016cc91
cmp word [eax], dx
je 0x1016cc91
lea eax, [ebp - 0x10]
push eax
call fcn.1016c4c4
pop ecx
jmp 0x1016cca4
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x1016cd6f
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.1016c9ae
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x1016cd6f
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x1016cd6f
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x1016cd6f
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1016ccfc
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.1016445f
test ebx, ebx
je 0x1016cd6a
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.1016445f
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1016cd6f
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1016cd6f
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.10158474
add esp, 0x10
xor eax, eax
inc eax
jmp 0x1016cd71
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10145e79
leave
ret
Function at 0x10170c75
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.10170bf1
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x10170de4
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x10170de4
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x10170d99
jg 0x10170cd1
test eax, eax
je 0x10170d8f
push 1
push 0x1000
call fcn.10161870
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x10170cf4
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x10170d86
push 0x8000
push ebx
call fcn.10170b20
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x10170d1d
jg 0x10170d18
cmp ecx, 0x1000
jb 0x10170d1d
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.101622dd
add esp, 0x10
cmp eax, 0xffffffff
je 0x10170d62
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x10170d18
jl 0x10170d49
test ecx, ecx
jne 0x10170d0a
push dword [ebp - 0xc]
push ebx
call fcn.10170b20
push esi
call fcn.1015f720
add esp, 0xc
xor ebx, ebx
jmp 0x10170df2
cmp byte [edi + 0x24], 0
je 0x10170d79
cmp dword [edi + 0x20], 5
jne 0x10170d79
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x10170d84
mov ebx, dword [edi + 0x18]
jmp 0x10170d86
xor ebx, ebx
push esi
call fcn.1015f720
pop ecx
jmp 0x10170df2
test ecx, ecx
jg 0x10170d5b
jl 0x10170d99
test eax, eax
jae 0x10170d5b
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.10165de4
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x10170db9
cmp byte [edi + 0x1c], 0
je 0x10170d5b
jmp 0x10170dea
push ebx
call fcn.1015d8fb
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x10170d5b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x10170df2
cmp byte [edi + 0x1c], 0
je 0x10170def
mov ebx, dword [edi + 0x18]
jmp 0x10170df2
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.10165de4
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10171a00
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10171a2d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10171a2d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x101e2aa7
Capabilities:
Connect socket
Initialize winsock library
Receive data
Receive data on socket
Resolve dns

Disassembly:
push ebp
mov ebp, esp
neg eax
sub al, 0x33
lea esp, [esp - 0x1d8]
setp ah
lahf
mov eax, dword [0x101d7000]
xor eax, ebp
mov dword [ebp - 4], eax
cmp ebp, 0x2c12a1a2
bt ax, 0x27
add eax, edi
and dword [ebp - 0x1bc], 0
lea eax, [ebp - 0x1b8]
jmp 0x101e411e
push esi
jmp loc.100050d2

Function at 0x101e3a7b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0x5c
mov eax, 0x1017210a
jmp loc.10006a41

Function at 0x101e409e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0x13c
mov ax, dx
cbw
mov eax, 0x101720cb
call fcn.1014664f
mov esi, ecx
xor ebx, ebx
movsx ecx, ax
lea eax, [ebp - 0xf8]
jmp loc.10005204

Function at 0x101e4283
Capabilities:
Check if file exists
Create shortcut via ishelllink
Get common file path
Get file attributes

Disassembly:
push 0x5bc
mov eax, 0xdeb82a14
movzx ax, al
nop
mov eax, 0x1017216e
jmp loc.10002fea

Function at 0x101e489a
Capabilities:
Encrypt data using des via winapi
Encrypt or decrypt via wincrypt

Disassembly:
push 0x78
mov eax, 0x10172439
call fcn.1014664f
mov eax, ecx
add cx, sp
or bl, 0xa3
mov dword [ebp - 0x80], eax
sub edi, 0x430ddfbe
cmp bx, sp
mov dword [ebp - 0x1c], eax
sar ebx, cl
bsf cx, bx
adc cx, bp
mov ebx, dword [ebp + 8]
lea edi, [ebp - 0x28]
dec ch
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x28]
test dx, sp
clc
xor eax, eax
cmc
test dx, 0x91b5
cmp dl, 8
xor esi, esi
stosd dword es:[edi], eax
jmp loc.10005192

Function at 0x101e490a
Capabilities:
Contain obfuscated stackstrings
Create process on windows
Delete file
Get common file path

Disassembly:
push ebx
jmp loc.1000658f
push eax
jmp 0x101e207b
call fcn.101466bb
push str..NET_Framework_NGEN_v4.0.30320
neg ch
btc cx, bx
bswap cx
lea ecx, [ebp - 0x214]
sub ebx, ebx
call fcn.10003ed9
push 0x104
lea eax, [ebp - 0x124]
mov dword [ebp - 4], ebx
jmp 0x101e26e4
push 0xe5c
cmova ax, si
bswap ax
cbw
mov eax, 0x1017273d
jmp 0x101e3fb6
Function at 0x68f356
Capabilities:
Encode data using xor

Disassembly:
aaa
retf
pop es
jge 0x68f30a
adc bl, byte [ecx - 0x495b5977]
sub edx, dword [ebp - 0x593d129a]
mov eax, dword [0xde65adfa]
push ebp
inc edx
test eax, 0x5d77bd2f
dec esi
test eax, 0x808282b2
jl 0x68f38b
inc ebx
adc byte [edx], dl
cmp al, 0x12
xchg edi, eax
std
stc
add dword [ebx], 0xffffffe7
mov al, byte [0xaf519279]
shr byte [ecx + eax*4 - 0x1c9a5955], 1
sbb eax, 0x2a9671ef
sub dword [ebx + 0x1de365a6], 0x2a9671ef
mov dl, 0x80
inc edx
add dword [ebx + eax*8 + 0x1c609a23], esp
inc esp
cmp dword [edx], eax
sal dword [edx], cl
lodsb al, byte [esi]
neg al
pop ebx
mov al, byte [0xb9add9fa]
dec ebx
daa
lds edx, [edx - 0x73]
shl byte [ebx + edi + 0x3d], 1
inc byte [ecx]
mov bl, 0xb7
push ss
and bl, ch
and dh, byte [esi - 0x1d]
add ebx, edi
invalid

Function at 0x6d9046
Capabilities:
Encode data using xor

Disassembly:
xor cl, cl
add dword [edx + 0x4ca0c25d], ebp
fidivr dword [ecx + 0xe]
push ds
sbb dl, byte [ebx]
mov byte [0xb2196530], al
sbb dword gs:[edx + 0x4d0df239], esi
wait
cwde
invalid
or eax, 0x8e989b4d
sub bh, byte [eax - 0x3ed70edf]
sub edx, edx
aas
adc esp, ebp
cmp al, 0x48
add eax, 0xd220c9b3
mov ebx, 0x158efa1e
fiadd dword [ecx + edi*2]
das
imul edx, dword [esi + ebx*8 - 0x3b], 0xfffffff7
add al, byte [ebp + 0x54]
lds ebx, [edi]
adc ecx, eax
mov esi, 0xc7f1f23f
bound esp, qword [ecx + 0x66]
dec esp
push ss
xor eax, 0x1e002fc5
dec esp
or ebp, dword [edi]
js 0x6d904a
fsubr qword [eax]
pop ebp
or al, 0x52
mov byte [esi - 0x679aa7a0], al
dec esp
or eax, 0xc8a1afde
mov fs, word [edi - 0x41]
dec ebx
jo 0x6d9115
aaa
std
xor bh, byte [edi + 0x6fdc0b30]
mov ecx, 0xcb6ec9e1
dec ebp
sbb byte [ecx - 0x1e2478d0], bl
add dl, ch
push esi
mov cl, 0x3c
cli
mov cl, 0xa
cmc
in eax, dx
frstor dword [esi]
salc
invalid
insb byte es:[edi], dx
lea esi, [ecx - 5]
invalid

Function at 0x724866
Capabilities:
Encode data using xor

Disassembly:
test al, 0x56
or eax, 0x76c94c31
inc esi
push esi
les ebx, [eax + 0x60]
sbb byte [esi + 0x7603a87d], dl
sbb eax, 0xe441f2f6
adc al, 0x9c
inc ecx
in al, 0x14
pushfd
inc esp
xor al, 0x79
test eax, 0xd1746724
sub dh, byte [ebp + 0x378378]
ficom dword [edx + 0x36]
mov byte [esi], al
pop edi
inc eax
pop edi
sti
jne 0x72487b
jmp 0x738a55f1
Function at 0x105da058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.105da1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x105da07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x105da06a
add dl, dl
jne 0x105da089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x105da0dc
xor eax, eax
add dl, dl
jne 0x105da096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x105da17d
add dl, dl
jne 0x105da0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105da0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105da0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105da0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x105da0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x105da075
mov eax, 1
add dl, dl
jne 0x105da0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105da0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x105da0e1
sub eax, ebx
mov ebx, 1
jne 0x105da128
mov ecx, 1
add dl, dl
jne 0x105da10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x105da119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x105da105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x105da075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x105da13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x105da14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x105da136
cmp eax, 0x7d00
jae 0x105da16d
cmp eax, 0x500
jb 0x105da168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x105da075
cmp eax, 0x7f
ja 0x105da170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x105da075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x105da19e
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 0x105da075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x408ee0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.00408e94
test al, al
jne 0x408f01
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x408f4d
xor eax, eax
push ebp
push 0x408f3d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00403414
push eax
call sub.kernel32.dll_DeleteFileA
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408f44
lea eax, [ebp - 0xc]
call fcn.00408ed0
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x409254
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x409343
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.00406c54
mov edx, dword [ebp - 8]
mov ecx, 0x40935c
xor eax, eax
call fcn.00409148
push 0
mov eax, dword [ebp - 4]
call fcn.00403414
push eax
call sub.kernel32.dll_CreateDirectoryA
test eax, eax
jne 0x409311
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
cmp ebx, 0xb7
je 0x409274
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x18]
mov edx, dword [ebp - 4]
mov al, 0x2f
call fcn.00408cfc
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.00404be4
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x20]
mov eax, ebx
call fcn.004071e4
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x14]
mov ecx, 2
mov al, 0x60
call fcn.00408ccc
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, 0x4045b0
call fcn.004057e0
call fcn.00402eb4
jmp 0x409274
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.0040322c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40934a
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.004031b8
lea eax, [ebp - 8]
mov edx, 2
call fcn.004031b8
ret

Function at 0x4093fc
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
mov esi, ecx
dec esi
test esi, esi
jl 0x409456
inc esi
xor edi, edi
cmp edi, 1
jne 0x409422
mov eax, dword [ebp + 0xc]
push eax
call sub.kernel32.dll_Sleep
jmp 0x409430
cmp edi, 1
jle 0x409430
mov eax, dword [ebp + 8]
push eax
call sub.kernel32.dll_Sleep
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00408ee0
test eax, eax
jne 0x409456
call sub.kernel32.dll_GetLastError_1
cmp eax, 2
je 0x409456
call sub.kernel32.dll_GetLastError_1
cmp eax, 3
je 0x409456
inc edi
dec esi
jne 0x409412
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8