joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100079a0
Capabilities:
Encrypt data using rc4 prga
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x10010040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x54], eax
push 0x40
push 0
mov dword [ebp - 0x58], edi
lea eax, [edi + 1]
push eax
call sub.VCRUNTIME140.dll_memset
xorps xmm0, xmm0
mov dword [ebp - 0x5c], 0
movq qword [edi + 0x44], xmm0
lea esi, [edi + 0x4c]
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x50], 0
mov eax, dword [eax]
lea ebx, [edi + 0x5c]
movups xmmword [esi], xmm0
lea ecx, [ebp - 0x50]
add esp, 0xc
movups xmmword [ebx], xmm0
mov byte [edi], 0
cmp eax, dword [ecx]
jne 0x10007a06
movq qword [edi + 0x44], xmm0
jmp 0x10007a14
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov eax, dword [ebp - 0x54]
cmp dword [eax + 0x14], 0xf
mov ecx, dword [eax + 0x10]
jbe 0x10007a3d
mov eax, dword [eax]
push ecx
push eax
mov ecx, edi
call fcn.10008260
cmp byte [edi], 0
jne 0x10007b27
xor ecx, ecx
lea edx, [edi + 0x46]
movzx eax, byte [edx - 2]
lea edx, [edx + 4]
mov byte [ebp + ecx - 0xc], al
movzx eax, byte [edx - 5]
mov byte [ebp + ecx - 0xb], al
movzx eax, byte [edx - 4]
mov byte [ebp + ecx - 0xa], al
movzx eax, byte [edx - 3]
mov byte [ebp + ecx - 9], al
add ecx, 4
cmp ecx, 8
jb 0x10007a54
mov ecx, dword [edi + 0x44]
mov eax, 0x78
shr ecx, 3
mov edi, 0x38
and ecx, 0x3f
mov byte [ebp - 0x52], 0
sub eax, ecx
mov byte [ebp - 0x52], 0
sub edi, ecx
cmp ecx, 0x38
mov cl, 0x45
cmovae edi, eax
mov byte [ebp - 0x54], cl
mov al, 0xc5
xor al, cl
mov ecx, dword [ebp - 0x58]
mov byte [ebp - 0x53], al
lea eax, [ebp - 0x53]
push 1
push eax
call fcn.10008260
push 0x40
lea eax, [ebp - 0x4c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push edi
lea eax, [ebp - 0x4c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
lea eax, [ebp - 0x4c]
push edi
mov edi, dword [ebp - 0x58]
mov ecx, edi
push eax
call fcn.10008260
push 8
lea eax, [ebp - 0xc]
mov ecx, edi
push eax
call fcn.10008260
mov edx, 4
nop dword [eax + eax]
movzx eax, byte [esi]
lea esi, [esi + 4]
mov byte [ebx], al
lea ebx, [ebx + 4]
movzx eax, byte [esi - 3]
mov byte [ebx - 3], al
movzx eax, byte [esi - 2]
mov byte [ebx - 2], al
mov cl, byte [esi - 1]
mov byte [ebx - 1], cl
sub edx, 1
jne 0x10007b00
mov byte [edi], 1
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000b3a5
mov esp, ebp
pop ebp
ret 4
Function at 0x10008320
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x10010040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x2c], ebx
cmp byte [ecx], 0
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], ebx
jne 0x1000836a
lea eax, [ebp - 0x2b]
mov word [ebp - 0x2c], 0x5d
push eax
mov ecx, ebx
mov byte [ebp - 0x2b], 0
call fcn.10002e60
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000b3a5
mov esp, ebp
pop ebp
ret 4
push esi
xor eax, eax
push edi
mov dword [ebp - 0x2c], eax
xor edi, edi
movzx esi, byte [ecx + eax + 0x5c]
mov dl, 0x7d
mov ah, 0x4f
mov byte [ebp - 0x2f], 0
xor dl, ah
mov byte [ebp - 0x34], ah
mov al, 0x6a
mov byte [ebp - 0x31], dl
xor al, ah
mov byte [ebp - 0x2f], 0
mov byte [ebp - 0x33], al
mov cl, 0x7f
xor cl, ah
mov bl, 0x37
xor bl, ah
mov byte [ebp - 0x32], cl
push esi
lea eax, [ebp - 0x33]
mov byte [ebp - 0x30], bl
push eax
mov eax, 0x21
sub eax, edi
push eax
lea eax, [ebp - 0x28]
add eax, edi
push eax
call fcn.100084a0
mov eax, dword [ebp - 0x2c]
add edi, 2
mov ecx, dword [ebp - 0x38]
inc eax
add esp, 0x10
mov dword [ebp - 0x2c], eax
cmp edi, 0x20
jb 0x10008373
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 8], 0
call fcn.10002e60
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x3c]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.1000b3a5
mov esp, ebp
pop ebp
ret 4

Function at 0x100086d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.100088a0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x100087ad
mov edx, dword [ebp - 4]
cmp edx, dword [section..data]
jb 0x1000871a
mov eax, dword [ebp - 4]
cmp eax, dword [0x10010004]
ja 0x1000871a
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x100086ea
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 sub.KERNEL32.dll_VirtualQuery
test eax, eax
jne 0x1000873f
jmp 0x100087ad
cmp dword [ebp - 0x14], 0x10000
jne 0x10008793
cmp dword [ebp - 0x18], 0x10000
jb 0x10008793
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_VirtualAlloc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10008776
mov eax, dword [ebp - 8]
jmp 0x100087af
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x10008786
xor eax, eax
jmp 0x100087af
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x100087a8
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.100088a0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x100086ea
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x100087c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.100088d0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x10008895
mov edx, dword [ebp - 4]
cmp edx, dword [section..data]
jb 0x10008805
mov eax, dword [ebp - 4]
cmp eax, dword [0x10010004]
ja 0x10008805
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x100087d5
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 sub.KERNEL32.dll_VirtualQuery
test eax, eax
jne 0x1000882a
jmp 0x10008895
cmp dword [ebp - 0x14], 0x10000
jne 0x1000887e
cmp dword [ebp - 0x18], 0x10000
jb 0x1000887e
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_VirtualAlloc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10008861
mov eax, dword [ebp - 8]
jmp 0x10008897
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x10008871
xor eax, eax
jmp 0x10008897
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10008890
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.100088d0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x100087d5
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10008900
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.10008cf0
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [0x10010438], 0
jne 0x1000893d
cmp dword [0x10010434], 0
je 0x1000893d
mov eax, dword [0x10010434]
mov dword [0x10010438], eax
cmp dword [0x10010438], 0
je 0x100089ba
mov ecx, dword [0x10010438]
cmp dword [ecx + 8], 0
je 0x100089ba
mov edx, dword [0x10010438]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0x10]
jb 0x100089ba
mov ecx, dword [0x10010438]
mov edx, dword [ecx + 8]
cmp edx, dword [ebp - 0xc]
ja 0x100089ba
mov eax, dword [0x10010438]
mov ecx, dword [eax + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jb 0x10008989
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jbe 0x10008990
xor eax, eax
jmp 0x10008ad9
mov ecx, dword [0x10010438]
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 0x10008ad9
mov edx, dword [0x10010434]
mov dword [0x10010438], edx
jmp 0x100089d6
mov eax, dword [0x10010438]
mov ecx, dword [eax + 4]
mov dword [0x10010438], ecx
cmp dword [0x10010438], 0
je 0x10008a16
cmp dword [0x10010438], 0
je 0x10008a14
mov edx, dword [0x10010438]
cmp dword [edx + 8], 0
je 0x10008a14
mov eax, dword [0x10010438]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 0x10]
jb 0x10008a14
mov edx, dword [0x10010438]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0xc]
ja 0x10008a14
jmp 0x1000896e
jmp 0x100089c8
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.10008ae0
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10008ad7
mov eax, dword [ebp - 0x18]
mov dword [0x10010438], eax
mov ecx, dword [0x10010438]
mov dword [ecx], 0x52727464
mov edx, dword [0x10010438]
mov dword [edx + 8], 0
mov eax, dword [0x10010438]
mov ecx, dword [0x10010434]
mov dword [eax + 4], ecx
mov edx, dword [0x10010438]
mov dword [0x10010434], edx
mov dword [ebp - 0x14], 0
mov eax, dword [0x10010438]
add eax, 0x48
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x38c
jmp 0x10008aa7
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 1
jle 0x10008ac7
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 0x10008a9e
mov eax, dword [0x10010438]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], ecx
jmp 0x1000896e
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10009820
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10010434]
mov dword [ebp - 4], eax
jmp 0x10009839
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x10009860
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x1000985e
call sub.KERNEL32.dll_GetLastError
jmp 0x10009862
jmp 0x10009830
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10009d00
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 8], 0
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x10010444], eax
je 0x10009d24
mov eax, 0x10dd
jmp 0x10009ecc
cmp dword [0x10010448], 0
je 0x10009d37
mov eax, dword [0x10010448]
jmp 0x10009ecc
cmp dword [ebp + 0xc], 0
jne 0x10009d47
mov eax, 0x57
jmp 0x10009ecc
cmp dword [ebp + 8], 0
jne 0x10009d57
mov eax, 6
jmp 0x10009ecc
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x10009d80
mov dword [ebp - 8], 6
mov ecx, dword [ebp - 8]
mov dword [0x10010448], ecx
mov edx, dword [ebp + 8]
mov dword [0x1001044c], edx
mov eax, dword [ebp - 8]
jmp 0x10009ecc
push 0x18
call fcn.1000b3c1
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10009ddb
mov dword [ebp - 8], 8
mov ecx, dword [ebp - 8]
mov dword [0x10010448], ecx
cmp dword [ebp - 4], 0
je 0x10009dca
mov edx, dword [ebp - 4]
mov dword [ebp - 0x20], edx
push 0x18
mov eax, dword [ebp - 0x20]
push eax
call fcn.1000b3b3
add esp, 8
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
mov dword [0x1001044c], ecx
mov eax, dword [ebp - 8]
jmp 0x10009ecc
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.10009ce0
mov dword [ebp - 0x10], eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.10009ce0
mov dword [ebp + 0xc], eax
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 0x36]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x40]
sub edx, dword [ebp - 0xc]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0xc], 0
je 0x10009e1b
cmp dword [ebp - 0xc], 0x1e
jbe 0x10009e37
mov dword [ebp - 8], 9
cmp dword [0x1001043c], 0
je 0x10009e32
jmp 0x10009da9
jmp 0x10009da0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x44]
cmp ecx, dword [ebp + 0xc]
je 0x10009e5e
mov dword [ebp - 8], 9
cmp dword [0x1001043c], 0
je 0x10009e59
jmp 0x10009da9
jmp 0x10009da0
mov dword [ebp - 0x18], 0
lea edx, [ebp - 0x18]
push edx
push 0x40
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x10009e89
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 8], eax
jmp 0x10009da0
mov edx, dword [ebp - 4]
mov dword [edx + 4], 1
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x14], ecx
mov edx, dword [ebp - 4]
mov eax, dword [0x10010454]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [0x10010454], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x10009ee0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x10010444], eax
je 0x10009efd
mov eax, 0x10dd
jmp 0x10009fe0
mov eax, dword [0x10010454]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10009f7c
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
movzx eax, byte [edx + 0x36]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call sub.KERNEL32.dll_VirtualProtect
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x10009f58
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x10009f58
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.10008d80
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
push 0x18
mov edx, dword [ebp - 0xc]
push edx
call fcn.1000b3b3
add esp, 8
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
jmp 0x10009f05
mov dword [0x10010454], 0
call fcn.10009660
mov ecx, dword [0x10010450]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x10009fca
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call sub.KERNEL32.dll_ResumeThread
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
push 8
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.1000b3b3
add esp, 8
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
jmp 0x10009f94
mov dword [0x10010450], 0
mov dword [0x10010444], 0
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x1000a4c0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x10010448], 0
je 0x1000a4d9
mov eax, dword [0x10010448]
jmp 0x1000a578
call sub.KERNEL32.dll_GetCurrentThread
cmp dword [ebp + 8], eax
jne 0x1000a4ea
xor eax, eax
jmp 0x1000a578
push 8
call fcn.1000b3c1
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1000a542
mov dword [ebp - 8], 8
cmp dword [ebp - 4], 0
je 0x1000a52b
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
push 8
mov edx, dword [ebp - 0x10]
push edx
call fcn.1000b3b3
add esp, 8
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov dword [0x10010448], eax
mov dword [0x1001044c], 0
mov eax, dword [ebp - 8]
jmp 0x1000a578
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x1000a55a
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 8], eax
jmp 0x1000a50a
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [0x10010450]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov dword [0x10010450], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x402f20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x190
mov eax, dword [0x4b1240]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [sym.imp.binkw32.dll__BinkOpenDirectSound_4]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, ecx
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
push ebx
push edx
mov dword [ebp - 0x18c], eax
mov dword [eax + 0x10], esi
mov dword [eax + 0x14], ecx
call dword [sym.imp.binkw32.dll__BinkSetSoundSystem_8]
push esi
call fcn.00403440
mov ecx, dword [0x4c59a8]
sub ecx, dword [0x4c59a4]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
add esp, 4
mov dword [ebp - 0x188], ebx
test eax, eax
jle 0x40308b
lea ecx, [ebp - 0x184]
push ecx
push 0x100
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov edx, dword [0x4c59a4]
cmp dword [ebx + edx + 0x14], 0x10
lea eax, [ebx + edx]
jb 0x402fb4
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x84]
push str.Datamovies_s.bik
push eax
call fcn.00463940
lea eax, [ebp - 0x84]
add esp, 0xc
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402fd1
lea edi, [ebp - 0x184]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x402fe1
fld1
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [0x4c59a4]
push ecx
lea ecx, [ebp - 0x184]
lea eax, [ebx + edx]
fst dword [esp]
push 1
sub esp, 0x10
fst dword [esp + 0xc]
fstp dword [esp + 8]
fldz
fst dword [esp + 4]
fstp dword [esp]
push ecx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x190], esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.004016b0
mov ecx, dword [ebp - 0x18c]
call fcn.00402ce0
mov ecx, dword [0x4c59a8]
sub ecx, dword [0x4c59a4]
mov esi, dword [ebp - 0x188]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc esi
add eax, edx
add ebx, 0x1c
mov dword [ebp - 0x188], esi
cmp esi, eax
jl 0x402f90
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00463931
mov esp, ebp
pop ebp
ret 8

Function at 0x408da0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebp + 8], 0
je 0x408dd2
mov eax, dword [0x4b54e8]
test eax, eax
je 0x408ddc
mov ecx, dword [ebp + 0xc]
push ecx
push 0x497ac8
push eax
call fcn.00464123
mov edx, dword [0x4b54e8]
push edx
call fcn.004640c7
add esp, 0x10
pop ebp
ret
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
pop ebp
ret
Function at 0x408e60
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x4b1240]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
mov esi, dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x14]
push edx
mov dword [ebp - 0x14], 0x507e6
mov dword [ebp - 0xe], 0x50014
mov dword [ebp - 0xa], 0xb0025
call esi
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x14]
push ecx
call esi
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x14]
push eax
call esi
push 0
push 0x2000000
push 3
push 0
push 3
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x408ef6
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x24]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
je 0x408ef6
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00463931
mov esp, ebp
pop ebp
ret

Function at 0x409970
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1444
call fcn.00464560
mov eax, dword [0x4b1240]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x244]
push eax
push 0x100
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x497c34
push 0x497c30
lea ecx, [ebp - 0x244]
push ecx
lea edx, [ebp - 0x444]
push str._s_s_s
push edx
call fcn.00409550
add esp, 0x14
xor ebx, ebx
jmp 0x4099d0
mov eax, dword [ebx*8 + 0x4b2594]
mov ecx, dword [ebx*8 + 0x4b2590]
push eax
push ecx
lea edx, [ebp - 0x44]
push str._32s__3d_n
push edx
call fcn.00463940
add esp, 0x10
test ebx, ebx
jne 0x409a12
xor eax, eax
jmp 0x409a00
mov cl, byte [ebp + eax - 0x44]
mov byte [ebp + eax - 0x1444], cl
inc eax
test cl, cl
jne 0x409a00
jmp 0x409a3f
lea eax, [ebp - 0x44]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x409a17
lea edi, [ebp - 0x1444]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x409a27
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
inc ebx
cmp ebx, 0x3f
jl 0x4099d0
lea eax, [ebp - 0x444]
push 0x497c0c
push eax
call fcn.004644f9
mov esi, eax
add esp, 8
test esi, esi
je 0x409a7a
lea ecx, [ebp - 0x1444]
push ecx
push 0x497c08
push esi
call fcn.00464420
push esi
call fcn.004643ac
add esp, 0x10
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00463931
mov esp, ebp
pop ebp
ret
Function at 0x409a90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x4b1240]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x224]
push eax
xor ebx, ebx
push 0x100
mov dword [ebp - 0x428], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x497c34
push 0x497c30
lea ecx, [ebp - 0x224]
push ecx
lea edx, [ebp - 0x424]
push str._s_s_s
push edx
call fcn.00409550
lea eax, [ebp - 0x424]
push 0x497c50
push eax
call fcn.004644f9
mov edi, eax
add esp, 0x1c
cmp edi, ebx
je 0x409b7a
mov esi, 0x4b2594
lea ecx, [ebp - 0x428]
push ecx
lea edx, [ebp - 0x24]
push edx
push str._s__d
push edi
mov dword [ebp - 0x428], 0xffffffff
call fcn.00464685
mov eax, dword [esi - 4]
add esp, 0x10
lea ecx, [ebp - 0x24]
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x409b50
cmp dl, bl
je 0x409b4c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x409b50
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x409b30
xor eax, eax
jmp 0x409b55
sbb eax, eax
sbb eax, 0xffffffff
neg eax
sbb eax, eax
not eax
and eax, dword [ebp - 0x428]
add esi, 8
mov dword [esi - 8], eax
cmp esi, 0x4b278c
jl 0x409b01
push edi
call fcn.004643ac
add esp, 4
jmp 0x409b7f
call fcn.00409970
xor esi, esi
mov eax, dword [esi*8 + 0x4b2594]
push eax
push esi
mov byte [esi*2 + 0x4b2788], bl
mov byte [esi*2 + 0x4b2789], bl
call fcn.00408de0
inc esi
add esp, 8
cmp esi, 0x3f
jl 0x409b81
push 1
push 1
push 5
call fcn.00409510
mov ecx, dword [ebp - 4]
add esp, 0xc
pop edi
pop esi
mov dword [0x4b54f0], ebx
xor ecx, ebp
pop ebx
call fcn.00463931
mov esp, ebp
pop ebp
ret