joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10030950
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.10030a50
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x10030a15
mov edx, dword [ebp - 4]
cmp edx, dword [0x1003c014]
jb 0x10030995
mov eax, dword [ebp - 4]
cmp eax, dword [0x1003c018]
ja 0x10030995
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x10030965
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x100309bb
jmp 0x10030a15
cmp dword [ebp - 0x14], 0x10000
jne 0x100309fe
cmp dword [ebp - 0x18], 0x10000
jb 0x100309fe
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100309f1
mov eax, dword [ebp - 8]
jmp 0x10030a17
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10030a10
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.10030a50
add esp, 4
mov dword [ebp - 4], eax
jmp 0x10030965
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10030a80
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10030e70
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [0x10060484], 0
jne 0x10030abd
cmp dword [0x10060480], 0
je 0x10030abd
mov eax, dword [0x10060480]
mov dword [0x10060484], eax
cmp dword [0x10060484], 0
je 0x10030b3a
mov ecx, dword [0x10060484]
cmp dword [ecx + 8], 0
je 0x10030b3a
mov edx, dword [0x10060484]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0x10]
jb 0x10030b3a
mov ecx, dword [0x10060484]
mov edx, dword [ecx + 8]
cmp edx, dword [ebp - 0xc]
ja 0x10030b3a
mov eax, dword [0x10060484]
mov ecx, dword [eax + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jb 0x10030b09
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jbe 0x10030b10
xor eax, eax
jmp 0x10030c59
mov ecx, dword [0x10060484]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x40]
mov dword [ecx + 8], eax
push 0x48
push 0xcc
mov ecx, dword [ebp - 4]
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x10030c59
mov edx, dword [0x10060480]
mov dword [0x10060484], edx
jmp 0x10030b56
mov eax, dword [0x10060484]
mov ecx, dword [eax + 4]
mov dword [0x10060484], ecx
cmp dword [0x10060484], 0
je 0x10030b96
cmp dword [0x10060484], 0
je 0x10030b94
mov edx, dword [0x10060484]
cmp dword [edx + 8], 0
je 0x10030b94
mov eax, dword [0x10060484]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 0x10]
jb 0x10030b94
mov edx, dword [0x10060484]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0xc]
ja 0x10030b94
jmp 0x10030aee
jmp 0x10030b48
mov ecx, dword [ebp + 8]
and ecx, 0xffff
mov edx, dword [ebp + 8]
sub edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10030c60
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10030c57
mov eax, dword [ebp - 0x18]
mov dword [0x10060484], eax
mov ecx, dword [0x10060484]
mov dword [ecx], 0x52727464
mov edx, dword [0x10060484]
mov dword [edx + 8], 0
mov eax, dword [0x10060484]
mov ecx, dword [0x10060480]
mov dword [eax + 4], ecx
mov edx, dword [0x10060484]
mov dword [0x10060480], edx
mov dword [ebp - 0x14], 0
mov eax, dword [0x10060484]
add eax, 0x48
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x38c
jmp 0x10030c27
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 1
jle 0x10030c47
imul edx, dword [ebp - 8], 0x48
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov dword [eax + edx + 0x40], ecx
imul edx, dword [ebp - 8], 0x48
add edx, dword [ebp - 4]
mov dword [ebp - 0x14], edx
jmp 0x10030c1e
mov eax, dword [0x10060484]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], ecx
jmp 0x10030aee
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1006f870
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 4], ecx
mov esi, esp
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x1c]
push eax
push 0x1000
push 1
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.MSVCR120D.dll_fread]
add esp, 0x10
cmp esi, esp
call fcn.101b9ab0
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
ja 0x1006f945
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0x24]
test ecx, ecx
je 0x1006f8f2
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [eax + 0x14], 0x2b
mov esi, esp
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [eax]
call ecx
add esp, 4
cmp esi, esp
call fcn.101b9ab0
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [eax + 0x14], 0x79
mov esi, esp
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [eax + 4]
call ecx
add esp, 8
cmp esi, esp
call fcn.101b9ab0
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x20]
mov byte [eax + edx], 0xff
mov eax, 1
shl eax, 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x20]
mov byte [eax + edx], 0xd9
mov dword [ebp - 8], 2
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x20]
mov dword [eax], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 4]
mov byte [edx + 0x24], 0
mov al, 1
pop esi
add esp, 8
cmp ebp, esp
call fcn.101b9ab0
mov esp, ebp
pop ebp
ret
Function at 0x10071650
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0xca
jne 0x100716a3
mov ecx, dword [ebp + 8]
push ecx
call fcn.10078a20
add esp, 4
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x40]
test eax, eax
je 0x10071699
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x14], 0xcf
mov al, 1
jmp 0x100717e3
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], 0xcb
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0xcb
jne 0x1007178f
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x190]
movzx eax, byte [edx + 0x10]
test eax, eax
je 0x1007177e
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 0
je 0x100716eb
mov esi, esp
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
call edx
add esp, 4
cmp esi, esp
call fcn.101b9ab0
mov esi, esp
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x190]
mov eax, dword [edx]
call eax
add esp, 4
cmp esi, esp
call fcn.101b9ab0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10071718
xor al, al
jmp 0x100717e3
cmp dword [ebp - 4], 2
jne 0x10071720
jmp 0x1007177e
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 0
je 0x10071779
cmp dword [ebp - 4], 3
je 0x10071735
cmp dword [ebp - 4], 1
jne 0x10071779
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov ecx, dword [eax + 4]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov ecx, dword [ebp - 8]
mov dword [eax + 4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov ecx, dword [ebp - 8]
cmp ecx, dword [eax + 8]
jl 0x10071779
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov ecx, dword [eax + 8]
mov edx, dword [ebp + 8]
add ecx, dword [edx + 0x11c]
mov eax, dword [ebp + 8]
mov edx, dword [eax + 8]
mov dword [edx + 8], ecx
jmp 0x100716c8
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x7c]
mov dword [eax + 0x84], edx
jmp 0x100717d7
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0xcc
je 0x100717d7
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [edx + 0x14], 0x15
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, 4
imul eax, edx, 0
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x14]
mov dword [ecx + eax + 0x18], edx
mov esi, esp
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
add esp, 4
cmp esi, esp
call fcn.101b9ab0
mov ecx, dword [ebp + 8]
push ecx
call fcn.100718b0
add esp, 4
pop esi
add esp, 8
cmp ebp, esp
call fcn.101b9ab0
mov esp, ebp
pop ebp
ret
Function at 0x100718b0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0xcc
je 0x10071902
mov esi, esp
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x180]
mov ecx, dword [eax]
call ecx
add esp, 4
cmp esi, esp
call fcn.101b9ab0
mov edx, dword [ebp + 8]
mov dword [edx + 0x78], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0xcc
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x180]
movzx eax, byte [edx + 8]
test eax, eax
je 0x100719fa
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x78]
cmp eax, dword [edx + 0x60]
jae 0x100719b0
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 0
je 0x1007196a
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x78]
mov dword [eax + 4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x60]
mov dword [ecx + 8], eax
mov esi, esp
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov ecx, dword [eax]
call ecx
add esp, 4
cmp esi, esp
call fcn.101b9ab0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x78]
mov dword [ebp - 4], eax
mov esi, esp
push 0
mov ecx, dword [ebp + 8]
add ecx, 0x78
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x184]
mov edx, dword [ecx + 4]
call edx
add esp, 0x10
cmp esi, esp
call fcn.101b9ab0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x78]
cmp ecx, dword [ebp - 4]
jne 0x100719ab
xor al, al
jmp 0x10071a20
jmp 0x10071917
mov esi, esp
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x180]
mov edx, dword [ecx + 4]
call edx
add esp, 4
cmp esi, esp
call fcn.101b9ab0
mov esi, esp
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x180]
mov eax, dword [edx]
call eax
add esp, 4
cmp esi, esp
call fcn.101b9ab0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x78], 0
jmp 0x10071902
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x41]
test eax, eax
je 0x10071a0e
mov dword [ebp - 8], 0xce
jmp 0x10071a15
mov dword [ebp - 8], 0xcd
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov dword [ecx + 0x14], edx
mov al, 1
pop esi
add esp, 8
cmp ebp, esp
call fcn.101b9ab0
mov esp, ebp
pop ebp
ret
Function at 0x10092200
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
push 1
call fcn.100a6980
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x1009223e
xor eax, eax
jmp 0x1009237f
mov edx, dword [ebp - 8]
mov dword [edx + 0x280], VariantClear
mov eax, dword [ebp - 8]
mov dword [eax + 0x284], VariantClear
push 0x40
mov ecx, dword [sym.imp.MSVCR120D.dll_longjmp]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.10094f80
add esp, 0xc
push 0
push eax
call sub.MSVCR120D.dll__setjmp3
add esp, 8
test eax, eax
je 0x1009228d
mov esi, esp
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [ebp + 0x20]
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.100a6de0
add esp, 0x10
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.10094f50
add esp, 0x10
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.10098820
add esp, 8
test eax, eax
jne 0x100922d8
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 8]
mov dword [ecx + 0xb4], 0x2000
cmp dword [ebp - 4], 0
jne 0x1009231d
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xb4]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.100a6d70
add esp, 8
mov edx, dword [ebp - 8]
mov dword [edx + 0xb0], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 0xb0], 0
jne 0x1009231d
mov dword [ebp - 4], 1
cmp dword [ebp - 4], 0
je 0x1009235e
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0xb0]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.100a6bb0
add esp, 8
mov ecx, dword [ebp - 8]
mov dword [ecx + 0xb0], 0
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x20]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.100a6ad0
add esp, 0xc
xor eax, eax
jmp 0x1009237f
push 0
push 0
push 0
mov edx, dword [ebp - 8]
push edx
call fcn.100a2c00
add esp, 0x10
mov eax, dword [ebp - 8]
push eax
call fcn.10092680
add esp, 4
mov eax, dword [ebp - 8]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10094ea0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
cmp dword [ebp + 8], 0
je 0x10094ecf
mov eax, dword [ebp + 8]
cmp dword [eax + 0x40], 0
je 0x10094ecf
mov esi, esp
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x40]
call ecx
add esp, 8
cmp esi, esp
call fcn.101b9ab0
mov esi, esp
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x100c9650
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov eax, 0xcccccccc
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov esi, esp
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp esi, esp
call fcn.101b9ab0
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
push edx
mov ecx, ebp
push eax
lea edx, [0x100c96a8]
call fcn.101b9a50
pop eax
pop edx
pop esi
add esp, 0x10
cmp ebp, esp
call fcn.101b9ab0
mov esp, ebp
pop ebp
ret
Function at 0x101b1e50
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10239298
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push esi
push edi
push ecx
lea edi, [ebp - 0x3c]
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x10363590]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov esi, esp
lea eax, [ebp - 0x1c]
push eax
push 0
mov ecx, dword [ebp - 0x14]
push ecx
push 0x101b1f50
push 0
push 0
call dword [sym.imp.MSVCR120D.dll__beginthreadex]
add esp, 0x18
cmp esi, esp
call fcn.101b9ab0
mov edx, dword [ebp - 0x14]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax + 4], 0
jne 0x101b1ef1
push str.Cannot_create_new_thread___T_.
lea ecx, [ebp - 0x3c]
call fcn.10002991
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x3c]
push ecx
call fcn.101aa950
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.1000321f
push edx
mov ecx, ebp
push eax
lea edx, [0x101b1f28]
call fcn.101b9a50
pop eax
pop edx
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.101b9ae0
add esp, 0x3c
cmp ebp, esp
call fcn.101b9ab0
mov esp, ebp
pop ebp
ret
Function at 0x10012e30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x10012e3f
pop dword [ebp - 0x48]
mov eax, 0x10012e3f
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0x7807bee3
add dword [ebp - 0x58], 0xd64a8668
mov dword [ebp - 0x54], 0xb73994ca
sub dword [ebp - 0x54], 0x85064885
mov dword [ebp - 0x50], 0x9b9cdab5
sub dword [ebp - 0x50], 0x4f509687
mov dword [ebp - 0x4c], 0xba4a04d6
sub dword [ebp - 0x4c], 0xba4a04d6
lea eax, [ebp - 0x58]
push eax
mov eax, 0x5ed43401
add eax, 0xb12e1c83
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0xaf98f41e
sub dword [ebp - 0x58], 0x3b268ac8
mov dword [ebp - 0x54], 0x2eac8eb6
sub dword [ebp - 0x54], 0xed402d41
mov dword [ebp - 0x50], 0x3205dad8
sub dword [ebp - 0x50], 0xce966e6c
mov dword [ebp - 0x4c], 0x6da574cc
add dword [ebp - 0x4c], 0x925a8b34
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x38c45
push 0
call eax
mov ecx, 0x5acd90c2
add ecx, 0xa532acde
xor edi, edi
add edi, eax
mov esi, 0x28d3a5e0
sub esi, 0x18d099e0
add esi, dword [ebp - 0x48]
mov ebx, 0x810b4a48
sub dword [ebp - 0x40], edx
mov edx, dword [esi]
sub dword [ebp - 0x44], edi
xor edx, ebx
xor dword [ebp - 8], 0x6d766fcd
mov dword [edi], edx
xor dword [ebp - 0x18], 0x11677cba
add edi, 0x210688c6
add edi, 0xdef9773e
add esi, 4
loop 0x10012f53
add eax, 0x11e1a90c
sub eax, 0x11e0bfb9
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xdc068cb0
add ecx, 0x33f97350
add ecx, dword [ebp - 0x48]
call ebx
leave
ret

Function at 0x1001c940
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ebp + 8]
cmp byte [edi + 0x2d], 0
jne 0x1001c9db
push ebx
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 4]
push esi
push 0
push eax
push ebx
push dword [ebp + 0xc]
push dword [edi + 0x30]
call dword [sym.imp.kernel32.dll_ReadFile]
mov esi, dword [ebp - 4]
cmp esi, ebx
je 0x1001c992
mov byte [edi + 0x2d], 0xff
test esi, esi
je 0x1001c992
cmp esi, ebx
jge 0x1001c992
mov eax, ebx
sub eax, esi
push eax
mov eax, dword [ebp + 0xc]
add eax, esi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp dword [edi + 0x18], 0
je 0x1001c9d5
add dword [edi + 0x1c], ebx
cmp dword [edi + 0x1c], 0xffff
jle 0x1001c9d5
xor eax, eax
mov word [edi + 0x1e], ax
mov eax, dword [edi]
push edi
mov esi, dword [eax + 0x2c]
mov ecx, esi
call dword [0x100252e4]
call esi
mov ecx, dword [edi + 0x18]
push 1
push dword [edi + 0x20]
mov esi, dword [ecx]
push eax
push ecx
mov ecx, dword [esi + 0xc]
call dword [0x100252e4]
call dword [esi + 0xc]
mov esi, dword [ebp - 4]
mov eax, esi
pop esi
pop ebx
jmp 0x1001c9ed
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor eax, eax
pop edi
leave
ret 0xc
Function at 0x1001cc10
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x1002d6f4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x1002da0c], 0
mov eax, dword [ebp + 8]
je 0x1001cc38
push eax
call dword [sym.imp.kernel32.dll_DeleteFileW]
jmp 0x1001cc52
lea ecx, [ebp - 0x108]
push ecx
push eax
call sym.drvSOFT.x3d_public:_void___thiscall_QUAT::constructor_struct_MATRIX3D_const__
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.10022930
leave
ret 4

Function at 0x1001ce20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x1002d6f4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x1002da0c], 0
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
je 0x1001ce56
push ebx
push dword [ebp + 0x10]
push edi
push esi
call dword [sym.imp.kernel32.dll_GetTempFileNameW]
jmp 0x1001ceb5
push 0x104
lea eax, [ebp - 0x108]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x310]
push eax
push esi
call sym.drvSOFT.x3d_public:_void___thiscall_QUAT::constructor_struct_MATRIX3D_const__
lea eax, [ebp - 0x20c]
push eax
push edi
call sym.drvSOFT.x3d_public:_void___thiscall_QUAT::constructor_struct_MATRIX3D_const__
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
lea eax, [ebp - 0x108]
push ebx
push eax
call sym.drvSOFT.x3d_public:_void___thiscall_QUAT::constructor_struct_MATRIX3D_const__
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10022930
leave
ret 0x10

Function at 0x1001ced0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x1002d6f4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x1002da0c], 0
push esi
mov esi, dword [ebp + 0xc]
je 0x1001cefc
push esi
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetTempPathW]
jmp 0x1001cf2d
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.kernel32.dll_GetTempPathA]
test eax, eax
je 0x1001cf2b
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push esi
push eax
call sym.drvSOFT.x3d_public:_void___thiscall_QUAT::constructor_struct_MATRIX3D_const__
push esi
call dword [sym.imp.kernel32.dll_lstrlenW]
jmp 0x1001cf2d
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10022930
leave
ret 8
Function at 0x47df10
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x71000]
push edi
jmp 0x47df2a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x47df31
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47df20
mov eax, 1
add ebx, ebx
jne 0x47df43
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x47df54
jne 0x47df73
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47df73
dec eax
add ebx, ebx
jne 0x47df60
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x47df38
add ebx, ebx
jne 0x47df6f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x47dfc5
xor ecx, ecx
sub eax, 3
jb 0x47df8b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x47dffa
sar eax, 1
mov ebp, eax
jmp 0x47df96
add ebx, ebx
jne 0x47df96
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47df64
inc ecx
add ebx, ebx
jne 0x47dfa4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47df64
add ebx, ebx
jne 0x47dfb1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x47dfa6
jne 0x47dfc2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x47dfa6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x47dfe4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x47dfd6
jmp 0x47df26
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x47dfe4
add edi, ecx
jmp 0x47df26
pop esi
mov edi, esi
mov ecx, 0x91a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x47e002
cmp byte [edi], 9
jne 0x47e002
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x47e007
lea edi, [esi + 0x7b000]
mov eax, dword [edi]
or eax, eax
je 0x47e07f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xde004]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xde0e4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x47e034
mov ecx, edi
jns 0x47e063
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xde0ec]
or eax, eax
je 0x47e079
mov dword [ebx], eax
add ebx, 4
jmp 0x47e051
call dword [esi + 0xde0e8]
mov ebp, dword [esi + 0xde0f0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x17f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x47e0b3
sub esp, 0xffffff80
jmp 0x41382f