joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ae700
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
mov edi, edx
test esi, esi
je 0x4ae885
test edi, edi
je 0x4ae885
movzx ecx, word [esi + 2]
push ebx
test ecx, 0x1000
jne 0x4ae87c
movzx eax, word [edi + 2]
test eax, 0x1000
jne 0x4ae87c
xor al, cl
test al, 0x10
jne 0x4ae87c
mov al, byte [esi]
cmp al, byte [edi]
jne 0x4ae87c
mov edx, dword [edi + 8]
mov ecx, dword [esi + 8]
call fcn.004ae700
test eax, eax
je 0x4ae87c
mov edx, dword [edi + 0xc]
mov ecx, dword [esi + 0xc]
call fcn.004ae700
test eax, eax
je 0x4ae87c
mov eax, dword [esi + 0x10]
mov ecx, dword [edi + 0x10]
test eax, eax
je 0x4ae7cf
test ecx, ecx
je 0x4ae87c
mov edx, dword [eax]
cmp edx, dword [ecx]
jne 0x4ae87c
xor ebx, ebx
test edx, edx
jle 0x4ae7d7
xor edx, edx
mov dword [ebp - 4], edx
nop dword [eax + eax]
mov eax, dword [eax + 0xc]
mov ecx, dword [edx + eax]
mov eax, dword [edi + 0x10]
mov eax, dword [eax + 0xc]
mov edx, dword [edx + eax]
call fcn.004ae700
test eax, eax
je 0x4ae87c
mov eax, dword [esi + 0x10]
inc ebx
mov edx, dword [ebp - 4]
add edx, 0x14
mov dword [ebp - 4], edx
cmp ebx, dword [eax]
jl 0x4ae7a0
jmp 0x4ae7d7
test ecx, ecx
jne 0x4ae87c
mov eax, dword [esi + 0x18]
cmp eax, dword [edi + 0x18]
jne 0x4ae87c
mov eax, dword [esi + 0x20]
cmp eax, dword [edi + 0x20]
jne 0x4ae87c
mov eax, dword [esi + 0x24]
cmp eax, dword [edi + 0x24]
jne 0x4ae87c
mov eax, 0x800
test word [esi + 2], ax
je 0x4ae814
test word [edi + 2], ax
je 0x4ae87c
mov eax, dword [esi + 4]
cmp eax, dword [edi + 4]
jmp 0x4ae86e
cmp byte [esi], 0x98
je 0x4ae870
mov esi, dword [esi + 4]
test esi, esi
je 0x4ae870
test word [edi + 2], ax
jne 0x4ae87c
mov edx, dword [edi + 4]
test edx, edx
je 0x4ae87c
mov bl, byte [esi]
test bl, bl
je 0x4ae858
mov al, bl
sub esi, edx
movzx ecx, byte [edx]
mov bl, al
movzx eax, al
mov al, byte [eax + 0x51d778]
cmp al, byte [ecx + 0x51d778]
jne 0x4ae858
mov al, byte [esi + edx + 1]
inc edx
mov bl, al
test al, al
jne 0x4ae837
movzx eax, bl
movzx ecx, byte [eax + 0x51d778]
movzx eax, byte [edx]
movzx eax, byte [eax + 0x51d778]
sub ecx, eax
jne 0x4ae87c
pop ebx
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
pop ebx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
cmp edi, esi
pop edi
sete al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4b0c60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, edx
mov edx, ecx
xor ecx, ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], ecx
push edi
mov edi, eax
test eax, eax
je 0x4b0c8d
cmp byte [eax], cl
je 0x4b0c85
inc edi
cmp byte [edi], cl
jne 0x4b0c80
sub edi, eax
and edi, 0x3fffffff
mov eax, 1
mov dword [ebp - 4], edi
mov dword [ebp - 0xc], eax
cmp dword [edx + 4], eax
jle 0x4b0d55
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, eax
xor esi, 1
cmp eax, 2
cmovge esi, eax
test ebx, ebx
je 0x4b0d13
mov eax, dword [edx + 8]
mov ecx, esi
add ecx, ecx
mov edx, dword [eax + ecx*8]
mov ecx, dword [ebp + 8]
mov bl, byte [ecx]
test bl, bl
je 0x4b0cf5
sub ecx, edx
mov al, bl
mov dword [ebp - 0x14], ecx
mov edi, ecx
movzx ecx, byte [edx]
mov bl, al
movzx eax, al
mov al, byte [eax + 0x51d778]
cmp al, byte [ecx + 0x51d778]
jne 0x4b0cf2
mov al, byte [edi + edx + 1]
inc edx
mov bl, al
test al, al
jne 0x4b0cd1
mov edi, dword [ebp - 4]
movzx eax, byte [edx]
movzx ecx, byte [eax + 0x51d778]
movzx eax, bl
mov ebx, dword [ebp + 8]
movzx eax, byte [eax + 0x51d778]
sub eax, ecx
jne 0x4b0d36
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
add esi, esi
mov edx, dword [ebp - 0x18]
push edi
mov ecx, dword [eax + esi*8 + 0xc]
add ecx, 4
call fcn.0048e8e0
mov ecx, eax
add esp, 4
mov dword [ebp - 8], ecx
test ecx, ecx
jne 0x4b0d4c
jmp 0x4b0d39
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0xc], eax
cmp eax, dword [edx + 4]
jl 0x4b0ca6
pop esi
pop ebx
mov eax, ecx
pop edi
mov esp, ebp
pop ebp
ret
mov eax, ecx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x4b0d60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, edx
xor edx, edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], edx
push esi
mov esi, eax
push edi
test eax, eax
je 0x4b0d8d
cmp byte [eax], dl
je 0x4b0d85
nop dword [eax]
inc esi
cmp byte [esi], dl
jne 0x4b0d80
sub esi, eax
and esi, 0x3fffffff
mov eax, dword [ecx + 4]
mov edi, 1
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], eax
cmp eax, edi
jle 0x4b0e55
push ebx
mov ebx, dword [ecx + 8]
mov dword [ebp - 0x18], ebx
nop word [eax + eax]
mov eax, edi
xor eax, 1
cmp edi, 2
cmovge eax, edi
add eax, eax
mov ecx, dword [ebx + eax*8 + 0xc]
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x4b0e1c
mov edx, dword [ebx + eax*8]
mov bl, byte [ecx]
test bl, bl
je 0x4b0e04
mov edi, ecx
mov al, bl
sub edi, edx
nop word [eax + eax]
movzx ecx, byte [edx]
mov bl, al
movzx eax, al
mov al, byte [eax + 0x51d778]
cmp al, byte [ecx + 0x51d778]
jne 0x4b0e01
mov al, byte [edi + edx + 1]
inc edx
mov bl, al
test al, al
jne 0x4b0de0
mov edi, dword [ebp - 8]
movzx eax, byte [edx]
movzx ecx, byte [eax + 0x51d778]
movzx eax, bl
movzx eax, byte [eax + 0x51d778]
sub eax, ecx
jne 0x4b0e39
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
add ecx, 0x14
push esi
call fcn.0048e8e0
mov edx, eax
add esp, 4
mov dword [ebp - 4], edx
test edx, edx
jne 0x4b0e4c
jmp 0x4b0e3c
mov edx, dword [ebp - 4]
mov ebx, dword [ebp - 0x18]
inc edi
mov dword [ebp - 8], edi
cmp edi, dword [ebp - 0x14]
jl 0x4b0db0
pop ebx
pop edi
mov eax, edx
pop esi
mov esp, ebp
pop ebp
ret
pop edi
mov eax, edx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4dd505
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [0x50b28c]
test eax, eax
je 0x4dd544
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4dd544
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4dd544
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4dd544
cmp dword [ecx + 0x74], 0xe
jbe 0x4dd544
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x5020c0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x5020ed
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x5020ed
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x40279c
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
imul edx, dword [0x40c02c], 0x8088405
inc edx
mov dword [0x40c02c], edx
mul edx
mov eax, edx
ret

Function at 0x40296c
Capabilities:
Encode data using xor

Disassembly:
add byte [eax], al
add byte [eax], al
xor edi, esp
mov ebx, 0xfffffffc
add esp, ebx
mov dword [esp], edi
mov ebx, 0x40
mov esi, 0
xor ebx, esi
push ebx
mov esi, 0x9d93
add esi, 0x6d
push esi
mov edx, 0x72e91e09
xor edx, 0x72a90e09
push edx
call eax
pop edx
mov edx, 0x19baba76
mov edi, 0x5b8707c4
xor edi, edx
mov ecx, 0x40143e83
mov eax, 0x2298010
xor ecx, eax
xor ecx, edi
mov edx, 0x8881820
mov esi, 0x302359
xor edx, esi
mov ebx, edx
xor ebx, 0xffffffff
and ebx, 0x8f871a4
and edx, 0xf7078e5b
or edx, ebx
mov esi, 0x710482c1
mov edi, 0x2c0500c
xor esi, edi
mov ebx, 0x50005a30
mov edi, 0x23840406
xor ebx, edi
xor ebx, esi
mov eax, 0xfffffffc
add esp, eax
push esp
pop esi
mov dword [esi], ecx
push ebx
pop esi
mov edi, 4
sub esp, edi
mov dword [esp], esi
xor ecx, ecx
mov cl, byte [edx]
add ebx, ecx
mov cl, byte [ebx]
mov eax, 0x4ff3395
add eax, 0x2d
push eax
mov esi, 0xf0a0178
xor esi, 0x65a1bd02
pop edi
xor esi, edi
mov eax, ebx
add esp, 0xfffffffc
mov dword [esp], eax
pop edi
or edi, edi
je 0x4029fa
pop ebx
mov byte [edx], cl
push 0x2bbe630e
mov edi, 0x2bbe630f
pop esi
xor edi, esi
sub edx, edi
pop ecx
mov edi, 0x194b065d
xor edi, 0xe6b4f9a2
add ecx, edi
xor esi, esi
add esi, ecx
or esi, ecx
jne 0x4029fa
push 0x76782816
mov edi, 0x7a46eb00
pop esi
xor edi, esi
push edi
mov eax, 0x460848a
mov ecx, 0x81e0021
xor eax, ecx
pop ebx
xor eax, ebx
call eax
pop esi
pop esi
ret

Function at 0x40520c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x405245
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403278
jmp 0x40524e
mov eax, ebx
mov edx, esi
call fcn.0040322c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x405258
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x405279
mov al, byte [esp]
jmp 0x40527b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4069dc
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x406a24
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, ebx
call fcn.00406978
mov eax, dword [ebp - 4]
call fcn.00403414
push eax
call sub.kernel32.dll_GetFileAttributesA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406a2b
lea eax, [ebp - 4]
call fcn.00403198
ret
Function at 0x407890
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x40c55c
mov eax, esi
mov edx, 8
test al, 1
je 0x4078ac
shr eax, 1
xor eax, 0xedb88320
jmp 0x4078ae
shr eax, 1
dec edx
jne 0x40789f
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x407898
pop esi
ret

Function at 0x4078c4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp dword [0x40c558], 0
jne 0x4078e7
call fcn.00407890
push 1
push 0x40c558
call sub.kernel32.dll_InterlockedExchange
mov eax, edi
test esi, esi
je 0x407912
mov edx, ebx
and dx, 0xff
xor ecx, ecx
mov cl, byte [eax]
xor dx, cx
movzx edx, dx
mov edx, dword [edx*4 + 0x40c55c]
shr ebx, 8
xor edx, ebx
mov ebx, edx
dec esi
inc eax
test esi, esi
jne 0x4078ed
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x408fbc
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.00408f70
test al, al
jne 0x408fdd
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x409029
xor eax, eax
push ebp
push 0x409019
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 0x409020
lea eax, [ebp - 0xc]
call fcn.00408fac
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x409330
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 0x40941f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.00406cf4
mov edx, dword [ebp - 8]
mov ecx, 0x409438
xor eax, eax
call fcn.00409224
push 0
mov eax, dword [ebp - 4]
call fcn.00403414
push eax
call sub.kernel32.dll_CreateDirectoryA
test eax, eax
jne 0x4093ed
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
cmp ebx, 0xb7
je 0x409350
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x18]
mov edx, dword [ebp - 4]
mov al, 0x36
call fcn.00408dd8
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.00404c94
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x20]
mov eax, ebx
call fcn.00407284
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x14]
mov ecx, 2
mov al, 0x68
call int.00408da8
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, 0x404660
call fcn.00405890
call fcn.00402eb4
jmp 0x409350
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 0x409426
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.004031b8
lea eax, [ebp - 8]
mov edx, 2
call fcn.004031b8
ret
Function at 0x100806b1
Capabilities:
Resume thread

Disassembly:
cmp dword [ecx + 0x10], 0
jne 0x100806c3
mov eax, dword [ecx + 8]
push dword [eax + 4]
call dword [sym.imp.kernel32.dll_ResumeThread]
ret

Function at 0x1008082b
Capabilities:
Create thread

Disassembly:
push 8
mov eax, 0x1011a647
call fcn.1011345f
mov esi, ecx
mov dword [ebp - 0x14], esi
call fcn.100757b4
xor ebx, ebx
push 0x10
mov dword [ebp - 4], ebx
mov dword [esi], vtable.ScObjects::Thread.0
mov dword [esi + 0x10], ebx
mov byte [esi + 0x14], bl
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
pop ecx
cmp eax, ebx
je 0x1008086f
mov dword [eax], vtable.ScObjects::ThreadData.0
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
jmp 0x10080871
xor eax, eax
mov dword [esi + 8], eax
lea eax, [ebp - 0x10]
push eax
push 4
push esi
push 0x10080612
push ebx
push ebx
call sub.MSVCR100.dll__beginthreadex
add esp, 0x18
cmp eax, 0xffffffff
jne 0x100808a1
mov eax, dword [esi + 8]
mov dword [esi + 0x10], 0x20
mov dword [esi + 0xc], ebx
mov dword [eax + 4], ebx
jmp 0x100808ad
mov ecx, dword [ebp - 0x10]
mov dword [esi + 0xc], ecx
mov ecx, dword [esi + 8]
mov dword [ecx + 4], eax
mov eax, esi
call fcn.10113537
ret

Function at 0x100879cc
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push ebx
xor ebx, ebx
cmp dword [0x1079d928], ebx
jne 0x10087a18
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
push edi
push ebx
push 1
push ebx
push ebx
mov edi, 0x1079d928
push edi
call esi
test eax, eax
jne 0x10087a16
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x80090016
jne 0x10087a16
push 8
push 1
push ebx
push ebx
push edi
call esi
test eax, eax
jne 0x10087a16
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [0x1079d928], ebx
pop edi
pop esi
mov eax, dword [0x1079d928]
pop ebx
ret

Function at 0x10087b24
Capabilities:
Generate random numbers via winapi

Disassembly:
push 0x2c
mov eax, 0x1011b72d
call fcn.101134c8
xor esi, esi
mov ecx, edi
mov dword [ebp - 4], esi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], esi
call fcn.10080ca6
mov dword [ebp - 4], esi
mov dword [ebp - 0x34], 1
call fcn.100879cc
cmp eax, esi
jne 0x10087b65
push 0xffffffffffffffff
push 0x10121c10
mov ecx, edi
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
jmp 0x10087bab
lea ecx, [ebp - 0x20]
push ecx
push 0x10
push eax
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
push 0xffffffffffffffff
mov ecx, edi
push 0x10121c10
test eax, eax
je 0x10087b5e
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
movzx eax, byte [ebp + esi - 0x20]
push eax
lea eax, [ebp - 0x30]
push 0x1012e9d4
push eax
call sub.MSVCR100.dll_sprintf
lea eax, [ebp - 0x30]
push eax
push edi
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
add esp, 0x14
inc esi
cmp esi, 0x10
jb 0x10087b84
mov eax, edi
call fcn.1011354b
ret
Function at 0x10094398
Capabilities:
Create mailslot

Disassembly:
push 0x14
mov eax, 0x1011da50
call fcn.1011345f
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [0x1015d0d4]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.100925c5
xor ebx, ebx
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], ebx
mov dword [esi], vtable.WinInterAppStream.0
call fcn.10080ca6
lea eax, [esi + 0x40]
push eax
lea eax, [esi + 0x30]
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 1
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
pop ecx
pop ecx
push eax
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
push 0xc
lea edi, [esi + 0x56]
push ebx
push edi
call sub.MSVCR100.dll_memset
add esp, 0x14
mov eax, edi
xor ecx, ecx
call fcn.10094387
test al, al
je 0x1009440d
cmp dword [esi + 0x5a], ebx
je 0x1009440d
mov ecx, edi
push ecx
push ebx
push ebx
push dword [ebp - 0x1c]
call dword [sym.imp.kernel32.dll_CreateMailslotA]
lea ecx, [ebp - 0x20]
mov dword [esi + 0x52], eax
mov byte [ebp - 4], bl
call fcn.10080ce2
mov eax, esi
call fcn.10113537
ret 8

Function at 0x10094486
Capabilities:
Write file on windows

Disassembly:
push 0x1c
mov eax, 0x1011da7b
call fcn.1011345f
mov esi, ecx
push esi
lea ecx, [ebp - 0x18]
call fcn.100752a2
lea eax, [esi + 0x30]
xor ebx, ebx
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], ebx
call fcn.1008103f
mov eax, dword [ebp + 8]
push dword [eax + 8]
lea ecx, [ebp - 0x28]
push dword [eax + 4]
mov byte [ebp - 4], 1
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
mov eax, dword [esi + 0x5a]
push ebx
push 0x80
add esi, 0x56
neg eax
push 3
sbb eax, eax
and eax, esi
push eax
push 1
push 0x40000000
push dword [ebp - 0x24]
call dword [sym.imp.kernel32.dll_CreateFileA]
mov edi, eax
mov dword [ebp - 0x10], ebx
cmp edi, 0xffffffff
je 0x10094524
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push ebx
lea edx, [ebp - 0x10]
push edx
push eax
push ecx
push edi
call dword [sym.imp.kernel32.dll_WriteFile]
push edi
mov dword [ebp + 8], eax
call dword [sym.imp.kernel32.dll_CloseHandle]
cmp dword [ebp + 8], ebx
je 0x10094524
mov esi, dword [esi + 8]
mov byte [ebp + 0xb], 1
cmp dword [ebp - 0x10], esi
je 0x10094527
mov byte [ebp + 0xb], bl
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.10080ce2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.100752d5
mov al, byte [ebp + 0xb]
call fcn.10113537
ret 8
Function at 0x100a96c7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x100a96d6
pop dword [ebp - 0x3c]
mov eax, 0x100a96d6
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0x633824e4
sub dword [ebp - 0x4c], 0x14e5df99
mov dword [ebp - 0x48], 0x2ff022ce
add dword [ebp - 0x48], 0x2432977
mov dword [ebp - 0x44], 0x243a8da2
add dword [ebp - 0x44], 0x2811b68c
mov dword [ebp - 0x40], 0x8b5e8644
sub dword [ebp - 0x40], 0x8b5e8644
lea eax, [ebp - 0x4c]
push eax
mov eax, 0x60ae7c55
sub eax, 0x509c6979
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0x2feb2d09
sub dword [ebp - 0x4c], 0xbb78c3b3
mov dword [ebp - 0x48], 0x8736988d
add dword [ebp - 0x48], 0xba35c8e8
mov dword [ebp - 0x44], 0x55405c7
add dword [ebp - 0x44], 0x5e1b66a5
mov dword [ebp - 0x40], 0x9525a465
sub dword [ebp - 0x40], 0x9525a465
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, 0xc866cb61
sub eax, 0xb854b891
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x67628
push 0
call eax
mov ecx, 0x63b86428
sub ecx, 0x63b81f84
mov ebx, eax
mov edx, 0x107b7400
add edx, dword [ebp - 0x3c]
mov edi, 0xccfa9244
add edi, 0x95f2533b
mov dword [ebp - 0x14], 0x27f290e8
mov esi, dword [edx]
add dword [ebp - 0x14], 0x81a929a7
xor esi, edi
add dword [ebp - 0x20], edi
mov dword [ebx], esi
sub dword [ebp - 0x10], 0xed6100b4
add ebx, 4
add edx, 4
loop 0x100a97ed
add eax, 0xc500cc4b
add eax, 0x3b003918
mov ebx, eax
add eax, 5
mov ecx, 0x1bbd1ec1
sub ecx, 0xbbd1ec1
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
Function at 0x100f867b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp byte [esi + 0x2d], 0
jne 0x100f86fe
push ebx
mov ebx, dword [ebp + 0x10]
push edi
push 0
lea eax, [ebp + 0x10]
push eax
push ebx
push dword [ebp + 0xc]
push dword [esi + 0x30]
call dword [sym.imp.kernel32.dll_ReadFile]
mov edi, dword [ebp + 0x10]
cmp edi, ebx
je 0x100f86c8
mov byte [esi + 0x2d], 0xff
test edi, edi
je 0x100f86c8
cmp edi, ebx
jge 0x100f86c8
mov eax, dword [ebp + 0xc]
mov ecx, ebx
sub ecx, edi
push ecx
add eax, edi
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
cmp dword [esi + 0x18], 0
je 0x100f86f8
add dword [esi + 0x1c], ebx
cmp dword [esi + 0x1c], 0xffff
jle 0x100f86f8
xor eax, eax
mov word [esi + 0x1e], ax
mov eax, dword [esi]
push esi
call dword [eax + 0x2c]
mov ecx, dword [esi + 0x18]
mov edx, dword [ecx]
push 1
push dword [esi + 0x20]
push eax
push ecx
call dword [edx + 0xc]
mov edi, dword [ebp + 0x10]
mov eax, edi
pop edi
pop ebx
jmp 0x100f8710
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
pop esi
pop ebp
ret 0xc

Function at 0x100f89a6
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x101631e0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
mov edi, dword [ebp + 0xc]
cmp byte [0x1079d9e8], al
je 0x100f89dd
push ebx
push dword [ebp + 0x10]
push edi
push esi
call dword [sym.imp.kernel32.dll_GetTempFileNameW]
jmp 0x100f8a41
push 0x103
push eax
mov byte [ebp - 0x108], al
lea eax, [ebp - 0x107]
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea eax, [ebp - 0x310]
push eax
push esi
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
lea eax, [ebp - 0x20c]
push eax
push edi
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.kernel32.dll_GetTempFileNameA]
mov esi, eax
push ebx
lea eax, [ebp - 0x108]
push eax
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10113450
leave
ret 0x10
Function at 0x100f8a52
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x101631e0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x1079d9e8], 0
push esi
mov esi, dword [ebp + 0xc]
je 0x100f8a7e
push esi
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetTempPathW]
jmp 0x100f8aaf
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.kernel32.dll_GetTempPathA]
test eax, eax
je 0x100f8aad
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push esi
push eax
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
push esi
call dword [sym.imp.kernel32.dll_lstrlenW]
jmp 0x100f8aaf
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10113450
leave
ret 8

Function at 0x100f8b4a
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x101631e0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x1079d9e8], 0
mov eax, dword [ebp + 8]
je 0x100f8b72
push eax
call dword [sym.imp.kernel32.dll_DeleteFileW]
jmp 0x100f8b8c
lea ecx, [ebp - 0x108]
push ecx
push eax
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
test eax, eax
setne al
xor ecx, ebp
call fcn.10113450
leave
ret 4