joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4416e5
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov esi, dword [ebp + 8]
mov eax, dword [0x4d100c]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor ebx, ebx
push ebx
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x441787
mov edi, eax
xor eax, eax
dec eax
lea ebx, [ebp - 0x1c]
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov ecx, ebx
push 0
push edi
call fcn.00426744
cmp byte [ebx + 0xb], 0
jns 0x44172f
mov ebx, dword [ebp - 0x1c]
push edi
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
movzx ecx, byte [ebp - 0x11]
test eax, eax
je 0x44176c
mov edx, ecx
test cl, cl
jns 0x44174b
mov edx, dword [ebp - 0x18]
cmp eax, edx
jae 0x44176c
lea edi, [ebp - 0x1c]
mov ecx, edi
push 0
push eax
call fcn.004334fa
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
movsd xmm0, qword [edi]
movsd qword [esi], xmm0
jmp 0x44178f
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi], eax
mov dword [esi + 8], eax
test cl, cl
jns 0x44178f
push dword [ebp - 0x1c]
call fcn.0048ae3c
add esp, 4
jmp 0x44178f
mov dword [esi + 4], ebx
mov dword [esi], ebx
mov dword [esi + 8], ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048b34a
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x441c7f
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov ebx, dword [ebp + 8]
mov eax, dword [0x4d100c]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [ebx + 0xb], 0
mov esi, ebx
jns 0x441c9f
mov esi, dword [ebx]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x441ccd
test al, 0x10
jne 0x441db3
push esi
push str.RecursiveDirectoryCreate
push str._hs___ls_directory_conflicts_with_an_existing_file.___n
call fcn.00441dfe
add esp, 0xc
xor ebx, ebx
jmp 0x441dea
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], eax
movzx eax, byte [ebx + 0xb]
mov ecx, ebx
test al, al
jns 0x441ce7
mov ecx, dword [ebx]
mov eax, dword [ebx + 4]
add eax, eax
test eax, eax
je 0x441d3a
movzx edx, word [ecx + eax - 2]
add eax, 0xfffffffe
cmp edx, 0x5c
je 0x441cff
cmp edx, 0x2f
jne 0x441ce9
cmp eax, 0xfffffffe
je 0x441d3a
sar eax, 1
lea edx, [ebp - 0x11]
lea edi, [ebp - 0x2c]
mov ecx, edi
push edx
push eax
push 0
push ebx
call fcn.00433190
movsd xmm0, qword [edi]
lea eax, [ebp - 0x20]
movsd qword [eax], xmm0
mov ecx, dword [edi + 8]
mov dword [eax + 8], ecx
push eax
call fcn.00441c7f
add esp, 4
test al, al
je 0x441dca
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov bl, 1
test eax, eax
jne 0x441dd9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x441da2
mov dword [ebp - 0x30], eax
lea edi, [ebp - 0x2c]
mov ecx, edi
push esi
call fcn.00412be0
cmp byte [edi + 0xb], 0
jns 0x441d71
mov edi, dword [ebp - 0x2c]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne cl
and eax, 0x10
shr eax, 4
and al, cl
cmp byte [ebp - 0x21], 0
jns 0x441d9b
push dword [ebp - 0x2c]
mov edi, eax
call fcn.0048ae3c
mov eax, edi
add esp, 4
test al, al
mov eax, dword [ebp - 0x30]
jne 0x441dd9
push eax
push esi
push str.Failed_to_create_directory__ls__last_error_is__d_n
call fcn.00441dfe
add esp, 0xc
jmp 0x441dd7
push esi
push str.RecursiveDirectoryCreate
push str._hs___ls_directory_exists___n
call fcn.00441dfe
add esp, 0xc
mov bl, 1
jmp 0x441dea
push str.Failed_to_create_one_of_the_parent_directories
call fcn.00441dfe
add esp, 4
xor ebx, ebx
cmp byte [ebp - 0x15], 0
jns 0x441dea
push dword [ebp - 0x20]
call fcn.0048ae3c
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048b34a
mov eax, ebx
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x441dfe
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov esi, dword [ebp + 8]
mov eax, dword [0x4d100c]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea edi, [ebp + 0xc]
mov dword [ebp - 0x14], edi
call fcn.004143e0
mov ebx, 0x4d6c48
push edi
push 0
push esi
push 0x400
push ebx
push dword [eax + 4]
push dword [eax]
call fcn.0048fab8
add esp, 0x1c
push ebx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048b34a
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x443780
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x30
mov ecx, dword [ebp + 8]
mov eax, dword [0x4d100c]
xor eax, ebp
mov dword [esp + 0x28], eax
test ecx, ecx
je 0x4439a3
cmp dword [0x4d2e08], 0xe69e32f3
jne 0x4439a6
mov esi, 0x308
mov edx, 0x20
mov edi, 0x20
add esi, dword [ecx + 8]
mov byte [esp + 0xf], 0xff
movzx eax, byte [ecx + 2]
je 0x4437d5
bsr edi, esi
xor edi, 0x1f
mov ecx, 0x4c2b5c
sub ecx, edi
movzx ecx, byte [ecx]
mov ebx, esi
shr ebx, cl
sub edx, edi
and ebx, 7
lea ecx, [ebx + edx*8]
mov edx, dword [edx*4 + 0x4c2b60]
and edx, esi
cmp edx, 1
mov edx, dword [ebp + 8]
lea edi, [edx + 0x48]
sbb ecx, 0xffffffff
movzx ecx, word [ecx + ecx + 0x4c2928]
test al, al
mov dword [esp], esi
jne 0x443825
cmp esi, 0x41
setae al
cmp cx, 0x76
setb dl
and dl, al
movzx eax, dl
or eax, ecx
mov ecx, eax
movzx ebx, cx
shl ebx, 5
mov dword [esp + 4], edi
lea esi, [edi + ebx]
mov eax, dword [ebp + 8]
lea edi, [eax + 0x40]
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
jne 0x44384a
mov ecx, edi
call fcn.00444220
mov dword [esp + 8], edi
mov eax, dword [esi]
mov edi, dword [eax]
test edi, edi
je 0x44391e
mov byte [esp + 0xf], 0
mov edx, dword [edi]
test edx, edx
je 0x443894
mov ecx, dword [esp + 4]
mov ebx, dword [ecx + ebx + 0xc]
mov ecx, edx
bswap ecx
mov esi, ecx
xor esi, edi
cmp esi, 0x1fffff
ja 0x44396f
mov esi, ecx
and esi, 0x1fc000
je 0x44396f
prefetcht0 byte [ecx]
jmp 0x443896
xor ecx, ecx
mov dword [eax], ecx
mov ecx, dword [eax + 0xc]
lea edx, [ecx + 2]
and edx, 0x3ffe
and ecx, 0xffffc001
or ecx, edx
mov dword [eax + 0xc], ecx
mov esi, dword [ebp + 8]
mov eax, dword [eax + 8]
mov ecx, dword [esi + 0x117c]
add ecx, dword [eax + 0xc]
mov eax, dword [esi + 0x1180]
mov dword [esi + 0x117c], ecx
cmp eax, ecx
cmova ecx, eax
mov dword [esi + 0x1180], ecx
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov ecx, edi
push esi
call fcn.004439c0
push edi
push dword [0x4d745c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [0x4d5294]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov dword [eax + 0x98], edi
mov ecx, dword [esp + 0x28]
xor ecx, ebp
call fcn.0048b34a
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [esp + 0xf]
mov ecx, esi
push eax
push 0x4000
push dword [esp + 8]
push 2
mov esi, dword [ebp + 8]
push esi
call fcn.0046b740
test eax, eax
je 0x44399c
mov edi, eax
mov ecx, eax
and ecx, 0xffe00000
mov edx, eax
shr edx, 9
and edx, 0xfe0
lea eax, [edx + ecx]
movzx ecx, byte [edx + ecx + 0x101e]
and ecx, 0x3f
shl ecx, 5
sub eax, ecx
add eax, 0x1000
jmp 0x4438b2
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x10], xmm0
lea esi, [esp + 0x10]
mov ecx, esi
push 0
push edx
push str.first
call fcn.00443f60
push esi
call fcn.004108d0
add esp, 4
mov ecx, ebx
call fcn.00443ff0
xor edi, edi
jmp 0x4438d5
int3
int3
Function at 0x4444d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x70
mov esi, ecx
mov eax, dword [ecx + 0x1174]
mov ebx, dword [ecx + 0x1178]
add ebx, eax
mov eax, dword [ecx + 0x116c]
mov ecx, ebx
sub ecx, eax
cmp ecx, 0x40000001
jb 0x444506
push dword [ebp + 8]
call fcn.0046cfc0
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [esp + 0xc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
mov eax, dword [esp + 0xc]
test eax, eax
mov ecx, 0x40000000
mov edi, 0xaf000000
cmove edi, ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], 0
mov dword [esp + 0x54], 0x365f776f
mov dword [esp + 0x50], 0x775f7369
lea eax, [esp + 0x50]
push eax
call fcn.004108d0
add esp, 4
cmp ebx, edi
jbe 0x444566
push ebx
call fcn.0046cff0
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], 0
mov dword [esp + 0x44], 0x657a69
mov dword [esp + 0x40], 0x735f6176
lea eax, [esp + 0x40]
push eax
call fcn.004108d0
add esp, 4
mov eax, dword [esi + 0x117c]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 0
mov dword [esp + 0x34], 0x20200063
mov dword [esp + 0x30], 0x6f6c6c61
lea eax, [esp + 0x30]
push eax
call fcn.004108d0
add esp, 4
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x10], xmm0
mov eax, dword [esi + 0x116c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], 0x20007469
mov dword [esp + 0x10], 0x6d6d6f63
lea eax, [esp + 0x10]
push eax
call fcn.004108d0
add esp, 4
mov esi, dword [ebp + 8]
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], 0
mov dword [esp + 0x24], 0x20202000
mov dword [esp + 0x20], 0x657a6973
lea eax, [esp + 0x20]
push eax
call fcn.004108d0
add esp, 4
mov ecx, dword [0x4e5048]
test ecx, ecx
je 0x444639
call dword [section..00cfg]
push esi
call ecx
add esp, 4
push esi
call fcn.00450a00
int3
Function at 0x44a270
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x48
mov eax, dword [0x4d100c]
xor eax, ebp
mov dword [esp + 0x40], eax
movsd xmm1, qword [0x4e1d30]
xorpd xmm0, xmm0
ucomisd xmm1, xmm0
jne 0x44a3ec
jp 0x44a3ec
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov dword [esp + 0xc], eax
call esi
push 2
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [0x4e1d40]
mov ecx, dword [0x4d5294]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x44a411
mov eax, dword [0x4e1d50]
mov ecx, dword [0x4d5294]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x44a44a
rdtsc
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
lea ebx, [esp + 0x38]
push ebx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
push ebx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
sub esi, dword [0x4e1d48]
sbb edi, dword [0x4e1d4c]
movd xmm0, edi
movd xmm1, esi
punpckldq xmm1, xmm0
movq qword [esp + 0x28], xmm1
fild qword [esp + 0x28]
fstp qword [esp + 0x20]
movsd xmm0, qword [esp + 0x20]
fild qword [esp + 0x38]
fstp qword [esp + 0x30]
divsd xmm0, qword [esp + 0x30]
pxor xmm1, xmm1
movsd xmm2, qword [0x4c3058]
ucomisd xmm2, xmm0
ja 0x44a3ec
mov eax, dword [esp + 8]
sub eax, dword [0x4e1d38]
mov ecx, dword [esp + 4]
sbb ecx, dword [0x4e1d3c]
movd xmm1, ecx
movd xmm2, eax
punpckldq xmm2, xmm1
punpckldq xmm2, xmmword [0x4c3030]
subpd xmm2, xmmword [0x4c3040]
movapd xmm1, xmm2
unpckhpd xmm1, xmm2
addsd xmm1, xmm2
divsd xmm1, xmm0
movsd qword [0x4e1d30], xmm1
movsd qword [esp + 0x18], xmm1
fld qword [esp + 0x18]
fstp xword [esp + 0xc]
mov ecx, dword [esp + 0x40]
xor ecx, ebp
call fcn.0048b34a
fld xword [esp + 0xc]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x4e1d40
call fcn.0048ae81
add esp, 4
cmp dword [0x4e1d40], 0xffffffff
jne 0x44a2e2
rdtsc
mov dword [0x4e1d38], eax
mov dword [0x4e1d3c], edx
push 0x4e1d40
call fcn.0048aefb
add esp, 4
jmp 0x44a2e2
push 0x4e1d50
call fcn.0048ae81
add esp, 4
cmp dword [0x4e1d50], 0xffffffff
jne 0x44a303
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [0x4e1d4c], ecx
mov dword [0x4e1d48], eax
push 0x4e1d50
call fcn.0048aefb
add esp, 4
jmp 0x44a303
Function at 0x44ac80
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x124
mov eax, dword [0x4d100c]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x128]
push 0x118
push 0
push eax
call fcn.0048ea80
add esp, 0xc
mov dword [ebp - 0x12c], 0x11c
lea edi, [ebp - 0x12c]
push edi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [ebp - 0x130], 0
lea eax, [ebp - 0x130]
push eax
push 0
push 0
push dword [ebp - 0x124]
push dword [ebp - 0x128]
call dword [sym.imp.KERNEL32.dll_GetProductInfo]
push 0x54
call fcn.0048ae0c
add esp, 4
mov esi, eax
mov ebx, dword [ebp - 0x130]
mov eax, dword [0x4e1da4]
mov ecx, dword [0x4d5294]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x44ad3e
mov ecx, esi
push ebx
push 0x4e1d80
push edi
call fcn.0044ae90
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048b34a
mov eax, esi
add esp, 0x124
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x4e1da4
call fcn.0048ae81
add esp, 4
cmp dword [0x4e1da4], 0xffffffff
jne 0x44ad19
xorps xmm0, xmm0
movups xmmword [0x4e1d90], xmm0
movups xmmword [0x4e1d80], xmm0
mov dword [0x4e1da0], 0
push 0x4e1d80
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
push 0x4e1da4
call fcn.0048aefb
add esp, 4
jmp 0x44ad19

Function at 0x44adf0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4e1da4]
mov ecx, dword [0x4d5294]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x44ae3f
movzx eax, word [0x4e1d80]
cmp eax, 0xc
ja case.0x44ae1c.1
jmp dword [eax*4 + 0x4c3174]
mov eax, 2
pop ebp
ret
mov eax, 4
pop ebp
ret
mov eax, 1
pop ebp
ret
mov eax, 3
pop ebp
ret
push 0x4e1da4
call fcn.0048ae81
add esp, 4
cmp dword [0x4e1da4], 0xffffffff
jne 0x44ae10
xorps xmm0, xmm0
movups xmmword [0x4e1d90], xmm0
movups xmmword [0x4e1d80], xmm0
mov dword [0x4e1da0], 0
push 0x4e1d80
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
push 0x4e1da4
call fcn.0048aefb
add esp, 4
jmp 0x44ae10
Function at 0x44c4d0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
mov edi, dword [ebp + 8]
mov dword [ecx], 0x4be240
add ecx, 4
call fcn.00456520
lea ecx, [esi + 8]
call fcn.00456520
mov byte [esi + 0xc], 0
lea ecx, [esi + 0x24]
xorps xmm0, xmm0
movups xmmword [esi + 0x10], xmm0
mov dword [esi + 0x20], 0
call fcn.00456520
mov byte [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
lea eax, [esi + 0x3c]
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x38], eax
xorps xmm0, xmm0
movups xmmword [esi + 0x44], xmm0
movups xmmword [esi + 0x54], xmm0
mov dword [esi + 0x68], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x6c], 0x3f800000
movups xmmword [esi + 0x70], xmm0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0x3f800000
movups xmmword [esi + 0x88], xmm0
mov dword [esi + 0x98], 0x3f800000
movups xmmword [esi + 0x9c], xmm0
mov dword [esi + 0xac], 0x3f800000
movups xmmword [esi + 0xb0], xmm0
mov dword [esi + 0xc0], 0x3f800000
mov dword [esi + 0xe4], 0
mov dword [esi + 0xe0], 0
movups xmmword [esi + 0xc8], xmm0
mov dword [esi + 0xd8], 0
mov eax, dword [0x4c7f3c]
mov dword [esi + 0xe8], eax
lea ecx, [esi + 0xec]
call fcn.00474320
xorps xmm0, xmm0
movups xmmword [esi + 0x188], xmm0
mov dword [esi + 0x198], 0x3f800000
movups xmmword [esi + 0x19c], xmm0
movups xmmword [esi + 0x1a5], xmm0
mov dword [esi + 0x1b8], edi
mov byte [esi + 0x1bc], 0
mov dword [esi + 0x1c0], 0
mov dword [esi + 0x1c4], 0
mov dword [esi + 0x1c8], 0
call fcn.004108d0
call fcn.0044ac70
mov ecx, eax
mov dword [esi + 0xd8], eax
xor ecx, 0x84222325
mov edx, 0x1b3
mov eax, ecx
mul edx
shl ecx, 8
add ecx, edx
add ecx, 0x8d40976c
mov dword [esi + 0xd0], eax
mov dword [esi + 0xd4], ecx
mov edx, dword [esi + 0xe8]
mov ecx, dword [esi + 0xf0]
mov eax, ecx
shr eax, 6
test dword [0x4c7f40], edx
je 0x44c686
cmp ecx, 0x40
mov ecx, 0x3e8
jmp 0x44c696
test dword [0x4c7f44], edx
je 0x44c6e1
cmp ecx, 0x40
mov ecx, 0x100
cmovb eax, ecx
push eax
call fcn.004734f0
add esp, 4
mov edi, dword [esi + 0x14]
mov dword [esi + 0x14], eax
test edi, edi
je 0x44c6be
mov eax, dword [edi]
mov ebx, dword [eax]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
push 1
call ebx
call fcn.004727a0
mov ecx, eax
push 0
push str.TraceLog
push esi
call fcn.00472910
mov dword [0x4e1fa4], esi
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret 4
test dword [0x4c7f48], edx
je 0x44c6f3
cmp ecx, 0x40
mov ecx, 0x7a1200
jmp 0x44c6fb
cmp ecx, 0x40
mov ecx, 0xfa0
cmovb eax, ecx
push eax
call fcn.00473590
jmp 0x44c69f
Function at 0x450070
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov dword [ebp - 0x10], ecx
mov esi, dword [ebp + 0xc]
movzx ebx, byte [esi + 0xb]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
test bl, bl
mov dword [ebp - 0x14], ecx
lea ecx, [eax + ecx]
lea edx, [esi + ebx]
cmovs edx, ecx
cmovs esi, eax
sub edx, esi
cmp edx, 4
mov dword [ebp - 0x20], ebx
jb 0x4500dd
mov ecx, esi
mov eax, edx
nop word [eax + eax]
imul edi, dword [ecx], 0x5bd1e995
mov ebx, edi
shr ebx, 0x18
xor ebx, edi
imul edi, ebx, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, edi
add ecx, 4
add edx, 0xfffffffc
cmp edx, 3
ja 0x4500b0
cmp edx, 1
jne 0x4500e6
jmp 0x450102
mov eax, edx
mov ecx, esi
cmp edx, 1
je 0x450102
cmp edx, 2
je 0x4500f9
cmp edx, 3
jne 0x45010d
movzx edx, byte [ecx + 2]
shl edx, 0x10
xor eax, edx
movzx edx, byte [ecx + 1]
shl edx, 8
xor eax, edx
movzx ecx, byte [ecx]
xor ecx, eax
imul eax, ecx, 0x5bd1e995
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ecx + 4]
xor ecx, ecx
test ebx, ebx
je 0x45026e
mov edx, eax
shr edx, 0xd
xor edx, eax
imul eax, edx, 0x5bd1e995
mov edi, eax
shr edi, 0xf
xor edi, eax
mov edx, ebx
shr edx, 1
and edx, 0x55555555
mov eax, ebx
sub eax, edx
mov edx, eax
and edx, 0x33333333
shr eax, 2
and eax, 0x33333333
add eax, edx
mov edx, eax
shr edx, 4
add edx, eax
and edx, 0xf0f0f0f
imul eax, edx, 0x1010101
shr eax, 0x18
mov dword [ebp - 0x24], eax
cmp eax, 1
ja 0x450176
lea edx, [ebx - 1]
and edx, edi
jmp 0x450182
mov edx, edi
cmp edi, ebx
jb 0x450182
mov eax, edi
xor edx, edx
div ebx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x45026e
mov dword [ebp - 0x18], ebx
mov ebx, dword [eax]
test ebx, ebx
je 0x45026e
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x20]
test cl, cl
mov eax, dword [ebp - 0x14]
cmovns eax, ecx
mov dword [ebp - 0x14], eax
jmp 0x4501d5
and eax, dword [ebp - 0x1c]
cmp eax, edx
jne 0x45026c
mov ebx, dword [ebx]
test ebx, ebx
je 0x45026c
mov eax, dword [ebx + 4]
cmp eax, edi
jne 0x450230
movzx eax, byte [ebx + 0x13]
mov ecx, eax
test al, al
jns 0x4501e9
mov ecx, dword [ebx + 0xc]
cmp ecx, dword [ebp - 0x14]
jne 0x4501cb
lea ecx, [ebx + 8]
test al, al
jns 0x4501f7
mov ecx, dword [ecx]
js 0x45024e
cmp dword [ebp - 0x14], 0
je 0x450268
xor ecx, ecx
nop word cs:[eax + eax]
movzx edx, byte [ebx + ecx + 8]
cmp dl, byte [esi + ecx]
jne 0x4501cb
inc ecx
cmp eax, ecx
jne 0x450210
jmp 0x450268
cmp dword [ebp - 0x24], 1
mov edx, dword [ebp - 0x10]
jbe 0x4501c0
mov ecx, dword [ebp - 0x18]
cmp eax, ecx
jb 0x4501c3
xor edx, edx
div ecx
mov eax, edx
mov edx, dword [ebp - 0x10]
jmp 0x4501c3
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x450268
push eax
push esi
push ecx
call fcn.0048ce7d
add esp, 0xc
test eax, eax
jne 0x4501cb
mov ecx, ebx
jmp 0x45026e
xor ecx, ecx
mov eax, dword [ebp + 8]
mov dword [eax], ecx
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x451460
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov esi, ecx
mov edi, dword [ebp + 0xc]
mov eax, dword [0x4d100c]
xor eax, ebp
mov dword [esp + 0x58], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x40], xmm0
movdqa xmmword [esp + 0x30], xmm0
movdqa xmmword [esp + 0x20], xmm0
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0x50], 0xffffffff
lea ebx, [esp + 0x10]
push 0x97
push str....._base_files_file_win.cc
push str.WriteAtCurrentPos
push ebx
call fcn.00448cb0
add esp, 0x10
lea ecx, [esp + 0x20]
push 0
push ebx
call fcn.0044a760
test edi, edi
js 0x45152b
mov ebx, dword [ebp + 8]
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x10], 0
call fcn.004767c0
test al, al
je 0x4514fc
lea ecx, [esp + 0x10]
push 0
push edi
push esi
push str.File::WriteAtCurrentPos
call fcn.004768d0
mov dword [esp + 0xc], 0xffffffff
lea eax, [esp + 0xc]
push 0
push eax
push edi
push ebx
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
xor esi, esi
cmp eax, 1
sbb esi, esi
or esi, dword [esp + 0xc]
lea ecx, [esp + 0x10]
call fcn.00476860
jmp 0x451530
mov esi, 0xffffffff
lea ecx, [esp + 0x20]
call fcn.0044a7c0
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.0048b34a
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x451670
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov edi, ecx
mov ebx, dword [ebp + 0xc]
mov eax, dword [0x4d100c]
xor eax, ebp
mov dword [esp + 0x58], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x40], xmm0
movdqa xmmword [esp + 0x30], xmm0
movdqa xmmword [esp + 0x20], xmm0
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0x50], 0xffffffff
lea esi, [esp + 0x10]
push 0x171
push str....._base_files_file_win.cc
push str.DoInitialize
push esi
call fcn.00448cb0
add esp, 0x10
lea ecx, [esp + 0x20]
push 0
push esi
call fcn.0044a760
mov eax, ebx
and eax, 1
neg eax
and eax, 3
test bl, 2
mov edx, 1
cmove edx, eax
test bl, 4
mov ecx, 4
cmovne edx, ecx
test bl, 8
mov esi, 2
cmove esi, edx
test bl, 0x10
mov eax, 5
cmove eax, esi
test eax, eax
je 0x45183b
mov edx, ebx
and edx, 0x40
shl edx, 0x18
test bl, bl
cmovns ecx, edx
mov edx, ebx
rol edx, 0x1a
and edx, 0x80000100
or edx, ecx
test ebx, 0x40000
mov dword [esp + 0xc], edi
je 0x451750
test ebx, 0x200000
jne 0x4518b2
or edx, 0x20000000
mov ecx, ebx
shr ecx, 4
and ecx, 0x10000
or ecx, edx
mov esi, ebx
shr esi, 8
and esi, 3
mov edx, ebx
shr edx, 0xd
and edx, 4
or edx, esi
mov esi, ebx
and esi, 0x400
mov edi, ebx
mov dword [esp + 8], esi
mov ebx, esi
shl ebx, 0x14
mov esi, edi
shr esi, 3
and esi, 0x100
or esi, ebx
mov ebx, edi
shr edi, 0xb
and edi, 2
or edi, esi
mov esi, ebx
shl esi, 0xd
and esi, 0x4000000
or esi, edi
mov edi, ebx
shl edi, 8
and edi, 0xa000000
or edi, esi
mov esi, dword [ebp + 8]
xor edx, 3
cmp byte [esi + 0xb], 0
jns 0x4517c1
mov esi, dword [esi]
push 0
push edi
push eax
push 0
push edx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov esi, dword [esp + 0xc]
cmp dword [esi], eax
je 0x451821
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi]
inc ecx
cmp ecx, 2
jb 0x451805
mov dword [esp + 4], eax
call fcn.00448ce0
push dword [esi]
call fcn.0044ac40
mov eax, dword [esp + 8]
add esp, 4
mov dword [esi], 0
mov ecx, edi
inc ecx
cmp ecx, 2
jb 0x451818
mov dword [esi], edi
mov edi, eax
call fcn.00448ce0
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [esi]
inc edi
cmp edi, 2
jae 0x451851
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004515c0
add esp, 4
mov dword [esi + 0x14], eax
jmp 0x451894
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [edi + 0x14], 0xffffffff
call fcn.0043fb20
jmp 0x451894
mov eax, dword [esp + 8]
shr eax, 0xa
mov dword [esi + 0x14], 0
mov byte [esi + 0x19], al
test bl, 4
jne 0x451872
test bl, 0xa
je 0x451881
mov byte [esi + 0x18], 1
jmp 0x451881
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
setne byte [esi + 0x18]
test ebx, 0x200000
je 0x451894
push dword [ebp + 8]
call fcn.004362b0
add esp, 4
lea ecx, [esp + 0x20]
call fcn.0044a7c0
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.0048b34a
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
int3