joyce8/EMBER2024-capa huggingface dataset:
Function at 0x64c12e
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfc
push esi
call fcn.00636ea3
test eax, eax
jne 0x64c17f
call fcn.0067f5ad
sub esp, 0x18
mov ecx, esp
push 0xdd
call fcn.0066b1cd
sub esp, 0x18
mov eax, esp
push str.C:ProjectsCOMMONL_RasterizerD3D7_VBuffer.cpp
push eax
call fcn.0066b0d0
pop ecx
pop ecx
push dword [0x6d33b4]
call fcn.0067f4fe
add esp, 0x34
call sub.kernel32.dll_IsDebuggerPresent
test eax, eax
je 0x64c1d5
int3
push 0x10
lea eax, [ebp - 0x10]
push 0
push eax
call fcn.006a10b0
mov esi, dword [ebp + 8]
mov dword [ebp - 0x10], 0x10
mov dword [ebp - 0xc], 0x10000
add esp, 0xc
mov eax, dword [esi]
mov ecx, dword [eax + 0x20]
mov dword [ebp - 8], ecx
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 4], ecx
test byte [eax + 0x24], 3
je 0x64c1b8
and dword [ebp - 0xc], 0
mov eax, dword [0x87a0a8]
lea edx, [ebp - 0xfc]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
test eax, eax
jge 0x64c1dc
mov eax, closesocket
jmp 0x64c239
push 1
call fcn.006a16bc
push 0x10
lea eax, [ebp - 0x38]
push 0x6b5ec8
push eax
call fcn.006a25c0
add esp, 0xc
test eax, eax
je 0x64c1f7
or byte [ebp - 0xb], 8
mov eax, dword [esi]
mov eax, dword [eax + 0x38]
test eax, eax
je 0x64c20c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi]
and dword [eax + 0x38], 0
mov edx, dword [esi]
mov eax, dword [0x87a0b0]
add edx, 0x38
push 0
mov ecx, dword [eax]
push edx
lea edx, [ebp - 0x10]
push edx
push eax
call dword [ecx + 0x14]
mov esi, dword [esi]
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x64c236
push dword [esi + 0x34]
push dword [esi + 0x30]
push dword [esi]
call eax
push 1
pop eax
pop esi
leave
ret
Function at 0x6501a2
Capabilities:
Terminate process

Disassembly:
push esi
push edi
push str.ddraw.dll
call dword [sym.imp.kernel32.dll_LoadLibraryA]
test eax, eax
mov dword [0x882408], eax
mov edi, str.C:ProjectsCOMMONL_RasterizerD3D7_FuncPtrs.cpp
jne 0x6501f3
call fcn.0067f5ad
sub esp, 0x18
mov ecx, esp
push 0x28
call fcn.0066b1cd
sub esp, 0x18
mov eax, esp
push edi
push eax
call fcn.0066b0d0
pop ecx
pop ecx
push str.Direct_Draw__ddraw.dll__is_not_installed._n
call fcn.0067f4fe
add esp, 0x34
call sub.kernel32.dll_IsDebuggerPresent
test eax, eax
je 0x650247
int3
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
push str.DirectDrawEnumerateExA
push dword [0x882408]
call esi
test eax, eax
mov dword [0x88240c], eax
jne 0x650255
call fcn.0067f5ad
sub esp, 0x18
mov ecx, esp
push 0x38
call fcn.0066b1cd
sub esp, 0x18
mov eax, esp
push edi
push eax
call fcn.0066b0d0
pop ecx
pop ecx
push str.Failed_to_load_Direct_Draw_7__DirectDrawEnumerateEx_FP_._n
call fcn.0067f4fe
add esp, 0x34
call sub.kernel32.dll_IsDebuggerPresent
test eax, eax
je 0x65024e
int3
push 1
call fcn.006a16bc
push 1
call fcn.006a16bc
push str.DirectDrawCreateEx
push dword [0x882408]
call esi
test eax, eax
mov dword [0x882410], eax
jne 0x6502a1
call fcn.0067f5ad
sub esp, 0x18
mov ecx, esp
push 0x3f
call fcn.0066b1cd
sub esp, 0x18
mov eax, esp
push edi
push eax
call fcn.0066b0d0
pop ecx
pop ecx
push 0x6d3768
call fcn.0067f4fe
add esp, 0x34
call sub.kernel32.dll_IsDebuggerPresent
test eax, eax
je 0x6502a4
int3
pop edi
pop esi
ret
push 1
call fcn.006a16bc
jmp 0x6502b0
fld dword [0x6b515c]
fadd st(0), st(0)
fstp dword [0x88169c]
ret

Function at 0x668826
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
call fcn.006a2925
mov esi, eax
pop ecx
test esi, esi
jne 0x668874
call fcn.0067f5ad
sub esp, 0x18
mov ecx, esp
push 0x24
call fcn.0066b1cd
sub esp, 0x18
mov eax, esp
push str.C:ProjectsCOMMONl_standardL_Memory.cpp
push eax
call fcn.0066b0d0
pop ecx
pop ecx
push dword [0x6d431c]
call fcn.0067f4fe
add esp, 0x34
call sub.kernel32.dll_IsDebuggerPresent
test eax, eax
je 0x668891
int3
mov eax, dword [0x8aaa10]
inc eax
cmp dword [0x8aaa14], eax
mov dword [0x8aaa10], eax
jae 0x66888c
mov dword [0x8aaa14], eax
mov eax, esi
pop esi
pop ebp
ret
push 1
call fcn.006a16bc

Function at 0x6688a3
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
call fcn.006a2925
mov esi, eax
pop ecx
test esi, esi
jne 0x6688f1
call fcn.0067f5ad
sub esp, 0x18
mov ecx, esp
push 0x56
call fcn.0066b1cd
sub esp, 0x18
mov eax, esp
push str.C:ProjectsCOMMONl_standardL_Memory.cpp
push eax
call fcn.0066b0d0
pop ecx
pop ecx
push dword [0x6d431c]
call fcn.0067f4fe
add esp, 0x34
call sub.kernel32.dll_IsDebuggerPresent
test eax, eax
je 0x66890e
int3
mov eax, dword [0x8aaa10]
inc eax
cmp dword [0x8aaa14], eax
mov dword [0x8aaa10], eax
jae 0x668909
mov dword [0x8aaa14], eax
mov eax, esi
pop esi
pop ebp
ret
push 1
call fcn.006a16bc
Function at 0x668915
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.006a2a5f
mov esi, eax
pop ecx
test esi, esi
pop ecx
jne 0x668967
call fcn.0067f5ad
sub esp, 0x18
mov ecx, esp
push 0x68
call fcn.0066b1cd
sub esp, 0x18
mov eax, esp
push str.C:ProjectsCOMMONl_standardL_Memory.cpp
push eax
call fcn.0066b0d0
pop ecx
pop ecx
push dword [0x6d431c]
call fcn.0067f4fe
add esp, 0x34
call sub.kernel32.dll_IsDebuggerPresent
test eax, eax
je 0x668984
int3
mov eax, dword [0x8aaa10]
inc eax
cmp dword [0x8aaa14], eax
mov dword [0x8aaa10], eax
jae 0x66897f
mov dword [0x8aaa14], eax
mov eax, esi
pop esi
pop ebp
ret
push 1
call fcn.006a16bc
jmp 0x668990
fld dword [0x6b5360]
fadd st(0), st(0)
fstp dword [0x8a9cac]
ret

Function at 0x66fa50
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
inc dword [ecx + 0x9cc]
dec dword [ecx + 0x9c8]
jns 0x66fa63
jmp fcn.0066f932
mov edx, dword [ecx + 0x9c4]
lea eax, [ecx + 0x9c4]
mov ecx, dword [edx]
add edx, 4
mov dword [eax], edx
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and ax, 0xdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
ret
Function at 0x673656
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
lea ecx, [ebp - 0x1c]
call fcn.0066b08d
push dword [ebp + 0xc]
lea ecx, [ebp - 0x1c]
call fcn.0066b38c
lea ecx, [ebp - 0x1c]
call fcn.0066b7d3
test eax, eax
jne 0x673686
lea ecx, [ebp - 0x1c]
call fcn.00675b81
push ebx
push esi
lea eax, [ebp - 0x1c]
push edi
push eax
lea ecx, [ebp - 0x4c]
call fcn.0066b0a7
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x64]
push eax
call fcn.0066b0a7
push dword [ebp + 8]
lea ecx, [ebp - 0x4c]
call fcn.0066c41c
push dword [0x6d439c]
lea ecx, [ebp - 0x64]
call fcn.0066c41c
lea ecx, [ebp - 0x34]
call fcn.0066b08d
lea eax, [ebp - 0x1a4]
lea ecx, [ebp - 0x4c]
push eax
call fcn.0066c54d
mov ebx, dword [sym.imp.kernel32.dll_FindFirstFileA]
push eax
call ebx
mov esi, dword [sym.imp.kernel32.dll_FindNextFileA]
cmp eax, 0xffffffff
mov dword [ebp + 0xc], eax
je 0x67376d
mov eax, dword [ebp + 0x18]
and eax, 4
mov dword [ebp - 4], eax
jmp 0x6736fa
mov eax, dword [ebp - 4]
mov edi, dword [ebp - 0x1a4]
push 0
and edi, 0x10
pop ecx
sete cl
test edi, edi
je 0x673713
test byte [ebp + 0x18], 8
je 0x67374f
test ecx, ecx
je 0x67371b
test eax, eax
je 0x67374f
cmp byte [ebp - 0x178], 0x2e
je 0x67374f
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x34]
push eax
call fcn.0066c4be
lea eax, [ebp - 0x178]
lea ecx, [ebp - 0x34]
push eax
call fcn.0066c3e6
push edi
lea ecx, [ebp - 0x34]
push dword [ebp + 0x14]
call fcn.0066c552
push eax
call dword [ebp + 0x10]
lea eax, [ebp - 0x1a4]
push eax
push dword [ebp + 0xc]
call esi
neg eax
sbb eax, eax
inc eax
test eax, eax
je 0x6736f7
push dword [ebp + 0xc]
call dword [sym.imp.kernel32.dll_FindClose]
test byte [ebp + 0x18], 1
je 0x6737f0
lea eax, [ebp - 0x1a4]
lea ecx, [ebp - 0x64]
push eax
call fcn.0066c54d
push eax
call ebx
mov edi, eax
cmp edi, 0xffffffff
je 0x6737f0
test byte [ebp - 0x1a4], 0x10
je 0x6737d6
cmp byte [ebp - 0x178], 0x2e
je 0x6737d6
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x34]
push eax
call fcn.0066c4be
lea eax, [ebp - 0x178]
lea ecx, [ebp - 0x34]
push eax
call fcn.0066c3e6
push dword [ebp + 0x18]
lea ecx, [ebp - 0x34]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.0066c552
push eax
push dword [ebp + 8]
call fcn.00673656
add esp, 0x14
lea eax, [ebp - 0x1a4]
push eax
push edi
call esi
neg eax
sbb eax, eax
inc eax
test eax, eax
je 0x67378c
push edi
call dword [sym.imp.kernel32.dll_FindClose]
lea ecx, [ebp - 0x34]
call fcn.0066b24c
lea ecx, [ebp - 0x64]
call fcn.0066b24c
lea ecx, [ebp - 0x4c]
call fcn.0066b24c
lea ecx, [ebp - 0x1c]
call fcn.0066b24c
pop edi
pop esi
pop ebx
leave
ret
Function at 0x673e23
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov esi, ecx
call fcn.00673858
test eax, eax
je 0x673ef0
cmp dword [ebp + 8], 0
jne 0x673e4d
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp + 0x10]
test eax, eax
jne 0x673ef0
mov edi, dword [ebp + 0xc]
imul edi, dword [ebp + 0x10]
test edi, edi
je 0x673eeb
mov eax, dword [esi]
and dword [ebp - 4], 0
cmp eax, 1
jne 0x673e9e
push ebx
mov ebx, dword [sym.imp.kernel32.dll_SetErrorMode]
push 0x8000
call ebx
mov dword [ebp + 0x10], eax
lea eax, [ebp - 4]
push 0
push eax
push edi
push dword [ebp + 8]
push dword [esi + 0xc]
call dword [sym.imp.kernel32.dll_ReadFile]
push dword [ebp + 0x10]
mov esi, eax
call ebx
test esi, esi
pop ebx
je 0x673ef0
cmp edi, dword [ebp - 4]
jne 0x673ef0
jmp 0x673eeb
cmp eax, 2
jne 0x673ec6
mov eax, dword [esi + 0xc]
test eax, eax
je 0x673ef0
mov eax, dword [eax + 8]
test eax, eax
je 0x673ef0
push dword [ebp + 0x10]
mov ecx, dword [eax]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x10]
call fcn.00678bff
jmp 0x673ef2
cmp eax, 3
jne 0x673ef0
mov eax, dword [esi + 0x14]
lea ecx, [eax + edi]
cmp ecx, dword [esi + 0x10]
ja 0x673ef0
mov ecx, dword [esi + 0xc]
push edi
add ecx, eax
push ecx
push dword [ebp + 8]
call fcn.006a1240
add esp, 0xc
add dword [esi + 0x14], edi
push 1
pop eax
jmp 0x673ef2
xor eax, eax
pop edi
pop esi
leave
ret 0xc

Function at 0x673fd0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, ecx
push edi
mov dword [ebp - 4], ebx
call fcn.00673870
test eax, eax
je 0x674050
cmp dword [ebp + 8], 0
mov edi, dword [ebp + 0xc]
jne 0x673ff8
mov eax, edi
imul eax, dword [ebp + 0x10]
test eax, eax
jne 0x674050
imul edi, dword [ebp + 0x10]
test edi, edi
je 0x67404b
push esi
mov esi, dword [sym.imp.kernel32.dll_SetErrorMode]
push 0x8000
call esi
mov dword [ebp + 0x10], eax
lea eax, [ebp - 8]
push 0
push eax
push edi
push dword [ebp + 8]
push dword [ebx + 0xc]
call dword [sym.imp.kernel32.dll_WriteFile]
mov ebx, eax
test ebx, ebx
je 0x67403c
cmp dword [ebp + 0x14], 0
je 0x67403c
mov eax, dword [ebp - 4]
push dword [eax + 0xc]
call dword [sym.imp.kernel32.dll_FlushFileBuffers]
push dword [ebp + 0x10]
call esi
test ebx, ebx
pop esi
je 0x674050
cmp edi, dword [ebp - 8]
jne 0x674050
push 1
pop eax
jmp 0x674052
xor eax, eax
pop edi
pop ebx
leave
ret 0x10
Function at 0x674383
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
and dword [esi], 0
and dword [esi + 4], 0
call fcn.00673858
test eax, eax
je 0x674411
mov eax, dword [edi]
cmp eax, 1
jne 0x6743d4
lea eax, [ebp + 8]
push eax
push dword [edi + 0xc]
call dword [sym.imp.kernel32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x6743c2
call dword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x674411
mov ecx, dword [ebp + 8]
xor eax, eax
xor edx, edx
or eax, edi
or ecx, edx
mov dword [esi], eax
mov dword [esi + 4], ecx
jmp 0x67440c
cmp eax, 2
jne 0x6743fe
mov eax, dword [edi + 0xc]
test eax, eax
je 0x674411
mov eax, dword [eax + 8]
test eax, eax
je 0x674411
lea ecx, [ebp + 8]
push ecx
mov ecx, dword [eax]
push dword [edi + 0x10]
call fcn.00678e06
test eax, eax
je 0x674411
mov eax, dword [ebp + 8]
jmp 0x674406
cmp eax, 3
jne 0x674411
mov eax, dword [edi + 0x10]
mov dword [esi], eax
and dword [esi + 4], 0
push 1
pop eax
jmp 0x674413
xor eax, eax
pop edi
pop esi
pop ebp
ret 4

Function at 0x674419
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
and dword [edi], 0
call fcn.00673858
test eax, eax
je 0x67448d
mov eax, dword [esi]
cmp eax, 1
jne 0x67445e
lea eax, [ebp + 8]
push eax
push dword [esi + 0xc]
call dword [sym.imp.kernel32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x674454
call dword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x67448d
cmp dword [ebp + 8], 0
jne 0x67448d
mov dword [edi], esi
jmp 0x674488
cmp eax, 2
jne 0x67447e
mov eax, dword [esi + 0xc]
test eax, eax
je 0x67448d
mov eax, dword [eax + 8]
test eax, eax
je 0x67448d
mov ecx, dword [eax]
push edi
push dword [esi + 0x10]
call fcn.00678e06
jmp 0x67448f
cmp eax, 3
jne 0x67448d
mov eax, dword [esi + 0x10]
mov dword [edi], eax
push 1
pop eax
jmp 0x67448f
xor eax, eax
pop edi
pop esi
pop ebp
ret 4

Function at 0x6746e8
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
cmp dword [ebp + 8], 0
jne 0x6746f8
xor eax, eax
leave
ret
push esi
lea ecx, [ebp - 0x18]
call fcn.0066b08d
push dword [ebp + 8]
lea ecx, [ebp - 0x18]
call fcn.0066b38c
push 0x10
lea ecx, [ebp - 0x18]
call fcn.0066c552
push eax
call fcn.00674f8b
pop ecx
pop ecx
lea ecx, [ebp - 0x18]
call fcn.0066c54d
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
lea ecx, [ebp - 0x18]
mov esi, eax
call fcn.0066b24c
mov eax, esi
pop esi
leave
ret
Function at 0x674ca8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
cmp dword [ebp + 8], 0
je 0x674cd3
cmp dword [ebp + 0xc], 0
je 0x674cd3
lea eax, [ebp - 0x11c]
push eax
push 0x104
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryA]
test eax, eax
jne 0x674cd7
xor eax, eax
leave
ret
push esi
lea ecx, [ebp - 0x18]
call fcn.0066b08d
lea eax, [ebp - 0x11c]
lea ecx, [ebp - 0x18]
push eax
call fcn.0066b348
lea ecx, [ebp - 0x18]
call fcn.00675bc8
lea ecx, [ebp - 0x18]
call fcn.0066b2ae
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0066b052
add esp, 0xc
lea ecx, [ebp - 0x18]
mov esi, eax
call fcn.0066b24c
mov eax, esi
pop esi
leave
ret

Function at 0x674d1d
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
cmp dword [ebp + 8], 0
jne 0x674d2d
xor eax, eax
leave
ret
push esi
lea ecx, [ebp - 0x18]
call fcn.0066b08d
push dword [ebp + 8]
lea ecx, [ebp - 0x18]
call fcn.0066b38c
lea ecx, [ebp - 0x18]
call fcn.0066c54d
push eax
call dword [sym.imp.kernel32.dll_SetCurrentDirectoryA]
lea ecx, [ebp - 0x18]
mov esi, eax
call fcn.0066b24c
mov eax, esi
pop esi
leave
ret

Function at 0x674d5f
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
jne 0x674d74
xor eax, eax
jmp 0x674e5f
push dword [ebp + 8]
call fcn.00674e62
test eax, eax
pop ecx
je 0x674d89
push 1
pop eax
jmp 0x674e5f
push esi
push edi
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x14], 0xc
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
call fcn.0066b08d
push dword [ebp + 8]
lea ecx, [ebp - 0x44]
call fcn.0066b38c
lea ecx, [ebp - 0x44]
call fcn.00675bc8
lea ecx, [ebp - 0x2c]
call fcn.0066b08d
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x2c]
push eax
call fcn.0066b2ff
lea ecx, [ebp - 0x2c]
call fcn.0066b7fb
lea ecx, [ebp - 0x2c]
mov dword [ebp - 8], eax
call fcn.0066b2ae
cmp dword [ebp - 8], ebx
mov edi, dword [sym.imp.kernel32.dll_CreateDirectoryExA]
mov dword [ebp - 4], ebx
jbe 0x674e2b
mov esi, eax
cmp word [esi], 0x5c
jne 0x674e1e
cmp dword [ebp - 4], ebx
je 0x674e1e
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x2c]
push eax
mov word [esi], bx
call fcn.0066c54d
push eax
push dword [0x6d43a8]
call edi
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x2c]
push eax
mov word [esi], 0x5c
call fcn.0066b2ff
inc dword [ebp - 4]
inc esi
mov eax, dword [ebp - 4]
inc esi
cmp eax, dword [ebp - 8]
jb 0x674dea
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x44]
push eax
call fcn.0066c54d
push eax
push dword [0x6d43a8]
call edi
push dword [ebp + 8]
call fcn.00674e62
pop ecx
mov esi, eax
lea ecx, [ebp - 0x2c]
call fcn.0066b24c
lea ecx, [ebp - 0x44]
call fcn.0066b24c
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x674e62
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
cmp dword [ebp + 8], 0
push esi
je 0x674ea0
lea ecx, [ebp - 0x18]
call fcn.0066b08d
push dword [ebp + 8]
lea ecx, [ebp - 0x18]
call fcn.0066b38c
lea ecx, [ebp - 0x18]
call fcn.0066c54d
push eax
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov esi, eax
lea ecx, [ebp - 0x18]
cmp esi, 0xffffffff
jne 0x674ea4
call fcn.0066b24c
xor eax, eax
jmp 0x674eae
call fcn.0066b24c
mov eax, esi
and eax, 0x10
pop esi
leave
ret

Function at 0x674f8b
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
cmp dword [ebp + 8], 0
jne 0x674f9b
xor eax, eax
leave
ret
mov ecx, dword [ebp + 0xc]
push esi
xor esi, esi
test cl, 0x20
je 0x674fa9
push 2
pop esi
test cl, 0x40
je 0x674fb1
or esi, 1
test cl, 0x10
mov eax, 0x80
je 0x674fbd
mov esi, eax
test ecx, ecx
jne 0x674fc3
mov esi, eax
lea ecx, [ebp - 0x18]
call fcn.0066b08d
push dword [ebp + 8]
lea ecx, [ebp - 0x18]
call fcn.0066b38c
push esi
lea ecx, [ebp - 0x18]
call fcn.0066c54d
push eax
call dword [sym.imp.kernel32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x18]
mov esi, eax
call fcn.0066b24c
mov eax, esi
pop esi
leave
ret

Function at 0x67b4eb
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x200
cmp dword [0x8bc2b0], 0
jne 0x67b501
xor eax, eax
leave
ret
mov ecx, dword [ebp + 0xc]
call fcn.0066b7d3
test eax, eax
jne 0x67b559
mov ecx, dword [ebp + 0xc]
call fcn.0066b279
push eax
lea eax, [ebp - 0x200]
push 0x6d4448
push eax
call fcn.006a2173
lea eax, [ebp - 0x200]
push eax
call fcn.006a3100
mov ecx, dword [ebp + 0xc]
add esp, 0x10
push eax
call fcn.0066b279
mov ecx, dword [ebp + 8]
push eax
push 1
push 0
call fcn.0066b279
push eax
push dword [0x8bc2b0]
call dword [sym.imp.advapi32.dll_RegSetValueExA]
push 1
pop eax
leave
ret

Function at 0x67b55e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [0x8bc2b4], 2
jne 0x67b5ad
lea eax, [ebp - 4]
mov ecx, dword [ebp + 8]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 8]
push eax
push 0
mov dword [ebp - 4], 4
call fcn.0066b279
push eax
push dword [0x8bc2b0]
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
jne 0x67b5ad
cmp dword [ebp + 8], 4
jne 0x67b5ad
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
push 1
mov dword [eax], ecx
pop eax
leave
ret
xor eax, eax
leave
ret

Function at 0x67b5b1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [0x8bc2b4], 2
jne 0x67b600
lea eax, [ebp - 4]
mov ecx, dword [ebp + 8]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 8]
push eax
push 0
mov dword [ebp - 4], 4
call fcn.0066b279
push eax
push dword [0x8bc2b0]
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
jne 0x67b600
cmp dword [ebp + 8], 4
jne 0x67b600
fld dword [ebp - 8]
mov eax, dword [ebp + 0xc]
push 1
fstp dword [eax]
pop eax
leave
ret
xor eax, eax
leave
ret
Function at 0x67b604
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
cmp dword [0x8bc2b4], 2
jne 0x67b661
lea eax, [ebp - 4]
mov ecx, dword [ebp + 8]
push eax
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp + 8]
push eax
push 0
mov dword [ebp - 4], 0x1ff
call fcn.0066b279
push eax
push dword [0x8bc2b0]
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
jne 0x67b661
cmp dword [ebp + 8], 1
jne 0x67b661
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x204]
push eax
call fcn.0066b348
push 1
pop eax
leave
ret
xor eax, eax
leave
ret

Function at 0x68a18b
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
mov esi, ecx
call fcn.00689298
mov ecx, dword [ebp + 8]
push 1
lea eax, [ebp - 4]
push 4
push eax
call fcn.00673e23
test eax, eax
jne 0x68a1b1
xor eax, eax
jmp 0x68a222
cmp dword [ebp - 4], 0x65
je 0x68a218
call fcn.0067f5ad
sub esp, 0x18
mov ecx, esp
push 0x310
call fcn.0066b1cd
sub esp, 0x18
mov eax, esp
push str.C:ProjectsCOMMONl_standardL_QuatSpline.cpp
push eax
call fcn.0066b0d0
pop ecx
lea eax, [ebp - 0x1c]
pop ecx
push str.Tried_to_load_invalid_Version_n
push eax
call fcn.0066b0d0
pop ecx
pop ecx
mov ecx, eax
call fcn.0066c552
push eax
call fcn.0067f4fe
add esp, 0x34
lea ecx, [ebp - 0x1c]
call fcn.0066b24c
call sub.kernel32.dll_IsDebuggerPresent
test eax, eax
je 0x68a211
int3
push 1
call fcn.006a16bc
push dword [ebp + 8]
mov ecx, esi
call fcn.0068a227
pop esi
leave
ret 4

Function at 0x68bfc0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
mov esi, ecx
call fcn.0068b029
mov ecx, dword [ebp + 8]
push 1
lea eax, [ebp - 4]
push 4
push eax
call fcn.00673e23
test eax, eax
jne 0x68bfe6
xor eax, eax
jmp 0x68c057
cmp dword [ebp - 4], 0x65
je 0x68c04d
call fcn.0067f5ad
sub esp, 0x18
mov ecx, esp
push 0x3a0
call fcn.0066b1cd
sub esp, 0x18
mov eax, esp
push str.C:ProjectsCOMMONl_standardL_VectorSpline.cpp
push eax
call fcn.0066b0d0
pop ecx
lea eax, [ebp - 0x1c]
pop ecx
push str.Tried_to_load_invalid_Version_n
push eax
call fcn.0066b0d0
pop ecx
pop ecx
mov ecx, eax
call fcn.0066c552
push eax
call fcn.0067f4fe
add esp, 0x34
lea ecx, [ebp - 0x1c]
call fcn.0066b24c
call sub.kernel32.dll_IsDebuggerPresent
test eax, eax
je 0x68c046
int3
push 1
call fcn.006a16bc
push dword [ebp + 8]
mov ecx, esi
call fcn.0068c05c
pop esi
leave
ret 4

Function at 0x68e887
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 2]
push 2
push eax
push 0x23
push 0x400
call dword [sym.imp.kernel32.dll_GetLocaleInfoA]
lea eax, [ebp - 2]
push eax
call fcn.006a34e3
neg eax
sbb eax, eax
pop ecx
neg eax
leave
ret

Function at 0x68e8b0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 2]
push 2
push eax
push 0x21
push 0x400
call dword [sym.imp.kernel32.dll_GetLocaleInfoA]
lea eax, [ebp - 2]
push eax
call fcn.006a34e3
sub eax, 0
pop ecx
je 0x68e8e8
dec eax
je 0x68e8e4
dec eax
je 0x68e8e0
xor eax, eax
leave
ret
push 9
jmp 0x68e8ea
push 8
jmp 0x68e8ea
push 7
pop eax
leave
ret
Function at 0x69694e
Capabilities:
Create udp socket

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
xor ebx, ebx
push edi
cmp dword [esi + 0x6c], ebx
jle 0x69699c
xor edi, edi
push 0x11
push 2
push 2
call sub.wsock32.dll_socket
mov ecx, dword [esi + 8]
mov dword [ecx + edi], eax
mov eax, dword [esi + 8]
add eax, edi
cmp dword [eax], 0xffffffff
je 0x696990
and dword [eax + 4], 0
mov eax, dword [esi + 8]
and dword [eax + edi + 8], 0
inc ebx
add edi, 0x1c
cmp ebx, dword [esi + 0x6c]
jl 0x69695e
jmp 0x69699c
test ebx, ebx
jne 0x696999
push 1
pop eax
jmp 0x69699e
mov dword [esi + 0x6c], ebx
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0x6969a2
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Resolve dns
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push 0x70e4
mov word [ebp - 0x10], 2
call sub.wsock32.dll_htons
mov esi, 0x6d4978
mov word [ebp - 0xe], ax
push esi
call sub.wsock32.dll_inet_addr
cmp eax, 0xffffffff
mov dword [ebp - 0xc], eax
jne 0x6969f1
push esi
call sub.wsock32.dll_gethostbyname
test eax, eax
jne 0x6969de
push 2
jmp 0x696a2b
mov eax, dword [eax + 0xc]
push 4
push dword [eax]
lea eax, [ebp - 0xc]
push eax
call fcn.006a1240
add esp, 0xc
push 6
push 1
push 2
call sub.wsock32.dll_socket
mov esi, dword [ebp + 8]
cmp eax, 0xffffffff
mov dword [esi + 0x88], eax
jne 0x696a0e
push 1
jmp 0x696a2b
lea ecx, [ebp - 0x10]
push 0x10
push ecx
push eax
call sub.wsock32.dll_connect
test eax, eax
je 0x696a2e
push dword [esi + 0x88]
call sub.wsock32.dll_closesocket
push 3
pop eax
jmp 0x696a30
xor eax, eax
pop esi
leave
ret