joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4056a0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e12c0
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x651ea8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x20], esi
push 0
push 0
push 3
push 0
push 3
push 0
push str..PhysicalDrive0
mov dword [ebp - 0x20], esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x405715
push 0
mov dword [esi + 0x10], 0
mov ecx, esi
mov dword [esi + 0x14], 0xf
push 0x61cc02
mov byte [esi], 0
call fcn.00406cf0
jmp 0x405863
mov dword [ebp - 0x38], fcn.00405890
mov dword [ebp - 0x34], edi
push 0
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0
push eax
push 8
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x14], 0
push eax
push 0xc
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
push 0x2d1400
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push edi
movlpd qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x24], 0
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x405791
push eax
mov dword [esi + 0x10], eax
mov ecx, esi
mov dword [esi + 0x14], 0xf
push 0x61cc02
mov byte [esi], al
call fcn.00406cf0
mov dword [ebp - 4], 1
jmp 0x405856
mov eax, dword [ebp - 0x28]
push eax
mov dword [ebp - 0x20], eax
call fcn.00552c2b
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4057b6
push dword [ebp - 0x20]
push 0
push ebx
call fcn.0058ff00
add esp, 0xc
jmp 0x4057b8
xor ebx, ebx
mov dword [ebp - 0x30], ebx
push 0
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 2
push eax
push dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
push ebx
push 0xc
push eax
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov ecx, esi
test eax, eax
jne 0x40580e
push eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0xf
push 0x61cc02
mov byte [esi], al
call fcn.00406cf0
test ebx, ebx
je 0x405805
push ebx
call fcn.00552c34
add esp, 4
mov dword [ebp - 4], 3
jmp 0x405856
mov eax, dword [ebx + 0x18]
test eax, eax
jne 0x40583e
push eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0xf
push 0x61cc02
mov byte [esi], al
call fcn.00406cf0
push ebx
call fcn.00552c34
add esp, 4
mov dword [ebp - 4], 4
jmp 0x405856
add eax, ebx
push eax
call fcn.00406c40
push ebx
call fcn.00552c34
add esp, 4
mov dword [ebp - 4], 5
test edi, edi
je 0x405863
push edi
call fcn.00405890
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00552c0c
mov esp, ebp
pop ebp
ret
Function at 0x4065a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x651ea8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
call fcn.004a6820
mov dword [esi + 0x6d7f30], eax
add esi, 4
cmp esi, 0x10
jb 0x4065b3
xor edx, edx
mov cl, 0x4a
call fcn.00406b30
mov edx, 1
mov byte [ebp - 0x28], al
mov cl, 0x79
call fcn.00406b30
mov edx, 2
mov byte [ebp - 0x27], al
mov cl, 0x54
call fcn.00406b30
mov edx, 3
mov byte [ebp - 0x26], al
mov cl, 0x78
call fcn.00406b30
mov edx, 4
mov byte [ebp - 0x25], al
mov cl, 0x74
call fcn.00406b30
mov edx, 5
mov byte [ebp - 0x24], al
mov cl, 0x48
call fcn.00406b30
mov edx, 6
mov byte [ebp - 0x23], al
mov cl, 0x6c
call fcn.00406b30
mov edx, 7
mov byte [ebp - 0x22], al
mov cl, 0x6a
call fcn.00406b30
mov edx, 8
mov byte [ebp - 0x21], al
mov cl, 0x48
call fcn.00406b30
mov edx, 9
mov byte [ebp - 0x20], al
mov cl, 0x4a
call fcn.00406b30
mov edx, 0xa
mov byte [ebp - 0x1f], al
mov cl, 0x6c
call fcn.00406b30
mov edx, 0xb
mov byte [ebp - 0x1e], al
mov cl, 0x56
call fcn.00406b30
mov edx, 0xc
mov byte [ebp - 0x1d], al
mov cl, 0x4a
call fcn.00406b30
mov edx, 0xd
mov byte [ebp - 0x1c], al
mov cl, 0x48
call fcn.00406b30
mov edx, 0xe
mov byte [ebp - 0x1b], al
mov cl, 0x6f
call fcn.00406b30
mov edx, 0xf
mov byte [ebp - 0x1a], al
mov cl, 0x72
call fcn.00406b30
mov edx, 0x10
mov byte [ebp - 0x19], al
mov cl, 0x52
call fcn.00406b30
mov edx, 0x11
mov byte [ebp - 0x18], al
mov cl, 0x4d
call fcn.00406b30
mov edx, 0x12
mov byte [ebp - 0x17], al
mov cl, 0x33
call fcn.00406b30
mov edx, 0x13
mov byte [ebp - 0x16], al
mov cl, 0x30
call fcn.00406b30
mov byte [ebp - 0x15], al
mov edx, 0x14
mov cl, 0x31
call fcn.00406b30
mov edx, 0x15
mov byte [ebp - 0x14], al
mov cl, 0x76
call fcn.00406b30
mov edx, 0x16
mov byte [ebp - 0x13], al
mov cl, 0x66
call fcn.00406b30
mov edx, 0x17
mov byte [ebp - 0x12], al
mov cl, 0x40
call fcn.00406b30
mov edx, 0x18
mov byte [ebp - 0x11], al
mov cl, 0x34
call fcn.00406b30
mov edx, 0x19
mov byte [ebp - 0x10], al
mov cl, 0x66
call fcn.00406b30
mov edx, 0x1a
mov byte [ebp - 0xf], al
mov cl, 0x76
call fcn.00406b30
mov edx, 0x1b
mov byte [ebp - 0xe], al
mov cl, 0x6a
call fcn.00406b30
mov edx, 0x1c
mov byte [ebp - 0xd], al
mov cl, 0x31
call fcn.00406b30
mov edx, 0x1d
mov byte [ebp - 0xc], al
mov cl, 0x30
call fcn.00406b30
mov edx, 0x1e
mov byte [ebp - 0xb], al
mov cl, 0x2d
call fcn.00406b30
mov edx, 0x1f
mov byte [ebp - 0xa], al
mov cl, 0x76
call fcn.00406b30
mov byte [ebp - 9], al
xor eax, eax
mov byte [ebp - 8], 0
pop esi
nop word [eax + eax]
lea ecx, [eax + 0x30]
xor byte [ebp + eax - 0x28], cl
inc eax
cmp eax, 0x20
jb 0x4067b0
push 0x10
lea eax, [ebp - 0x28]
mov byte [ebp - 8], 0
push eax
push 0x6d7f30
push 0x6d7f14
call fcn.004a6cb0
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
call fcn.00552c0c
mov esp, ebp
pop ebp
ret
Function at 0x408740
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x651ea8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x20]
mov esi, ecx
push eax
push 3
call fcn.004b53d0
test al, al
je 0x408880
mov ecx, esi
call fcn.004b5320
movzx ecx, word [ebp - 0x1f]
cmp ecx, eax
jg 0x408880
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
push 7
call fcn.004b55a0
test al, al
je 0x4087bc
mov eax, dword [ebp - 0x2b]
mov ecx, dword [ebp - 0x29]
add eax, 0xfffffff9
movzx ebx, ax
push ebx
mov dword [ebp - 0x24], ecx
call fcn.00552c2b
add esp, 4
mov edi, eax
mov ecx, esi
push edi
push ebx
call fcn.004b55a0
test al, al
jne 0x4087cf
push edi
call fcn.00552c34
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00552c0c
mov esp, ebp
pop ebp
ret
cmp dword [0x655770], 0x10
mov eax, 0x65575c
cmovae eax, dword [0x65575c]
push eax
call fcn.004a7200
mov ecx, dword [ebp - 0x24]
add esp, 4
call fcn.004078a0
push eax
lea ecx, [ebp - 0x1c]
call fcn.00406c40
cmp dword [ebp - 8], 0x10
lea eax, [ebp - 0x1c]
push 0x61ce2c
cmovae eax, dword [ebp - 0x1c]
push eax
call fcn.00598656
mov esi, eax
add esp, 8
test esi, esi
jne 0x40881f
xor bl, bl
jmp 0x408834
push esi
push 1
push ebx
push edi
call fcn.0059888c
push esi
call fcn.00598966
add esp, 0x14
mov bl, 1
push edi
call fcn.00552c34
mov edx, dword [ebp - 8]
add esp, 4
cmp edx, 0x10
jb 0x40886d
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408863
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408893
push edx
push ecx
call fcn.00552c1d
add esp, 8
mov al, bl
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00552c0c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00552c0c
mov esp, ebp
pop ebp
ret
call fcn.0059841a
int3
Function at 0x409640
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
lea eax, [ebp - 4]
mov ebx, ecx
push eax
push 1
call dword [sym.imp.DevIL.dll_ilGenImages]
push dword [ebp - 4]
call dword [sym.imp.DevIL.dll_ilBindImage]
push 0x600
call dword [sym.imp.DevIL.dll_ilEnable]
push 0x602
call dword [sym.imp.DevIL.dll_ilOriginFunc]
mov edi, dword [ebp + 8]
push edi
push 0
call dword [sym.imp.DevIL.dll_ilLoad]
test al, al
jne 0x409696
mov eax, dword [ebp + 0xc]
pop edi
pop ebx
mov dword [eax], 2
xor al, al
mov esp, ebp
pop ebp
ret 8
push esi
mov esi, dword [sym.imp.DevIL.dll_ilGetInteger]
push 0xde4
call esi
cmp eax, 0x40
je 0x4096bd
mov eax, dword [ebp + 0xc]
pop esi
pop edi
pop ebx
mov dword [eax], 3
xor al, al
mov esp, ebp
pop ebp
ret 8
push 0xde5
call esi
cmp eax, 0x80
je 0x4096df
mov eax, dword [ebp + 0xc]
pop esi
pop edi
pop ebx
mov dword [eax], 4
xor al, al
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 4]
push eax
push 1
call dword [sym.imp.DevIL.dll_ilDeleteImages]
call dword [sym.imp.DevIL.dll_ilShutDown]
push 0x61ce5c
push edi
call fcn.00598656
mov esi, eax
add esp, 8
test esi, esi
jne 0x40970e
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 2
push 2
push 0
push esi
call fcn.00598cc1
push esi
call fcn.0059935f
push 0
push 0
push esi
mov dword [ebx + 0x390], eax
call fcn.00598cc1
push dword [ebx + 0x390]
call fcn.00552c2b
push esi
push 1
push dword [ebx + 0x390]
mov dword [ebx + 0x398], eax
push eax
call fcn.00599550
push esi
call fcn.00598966
push edi
call fcn.004a7b80
add esp, 0x38
mov dword [ebx + 0x394], eax
mov al, 1
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x414230
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp ecx, edx
jbe 0x414240
mov eax, ecx
mov ecx, edx
mov edx, eax
push esi
push edi
mov dword [ebp - 4], edx
xor eax, eax
lea edx, [ebp - 8]
mov dword [ebp - 8], ecx
mov edi, edx
lea ecx, [ebp]
xor esi, esi
cmp ecx, edi
sbb edi, edi
and edi, 0xfffffff8
add edi, 8
je 0x414273
movzx ecx, byte [edx]
lea edx, [edx + 1]
imul eax, eax, 0x1000193
inc esi
xor eax, ecx
cmp esi, edi
jb 0x414260
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x418ac0
Capabilities:
Access peb ldr_data
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e1c9f
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x651ea8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov dword [0x6d7a4c], ebx
mov dword [ebp - 4], 0
lea esi, [ebx + 4]
mov dword [ebx], vtable.CGuildMarkManager.0
mov dword [ebp - 0x10], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0040f8e0
mov dword [esi], eax
lea esi, [ebx + 0xc]
mov byte [ebp - 4], 1
mov dword [ebp - 0x10], esi
mov ecx, esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0040f8e0
mov dword [esi], eax
lea edi, [ebx + 0x14]
mov byte [ebp - 4], 2
mov dword [ebp - 0x10], edi
mov ecx, edi
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.00415bd0
mov dword [edi], eax
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0xf
mov byte [ebx + 0x1c], 0
mov byte [ebp - 4], 4
lea esi, [ebx + 0x34]
mov dword [ebp - 0x10], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00419540
mov dword [esi], eax
push str.mark
mov byte [ebp - 4], 5
call fcn.005a164e
mov esi, dword [ebp - 0x14]
add esp, 4
mov dword [ebp - 0x10], 0
push esi
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
push 0
lea eax, [ebp - 0x1c]
push eax
call fcn.004160a0
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp eax, 0x1900
jb 0x418ba5
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41a9e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041a9f0

Function at 0x41a9f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
movzx eax, byte [esi + 0x20]
mov byte [edi + 0x20], al
lea ecx, [edi + 0x18]
mov eax, dword [esi + 0x24]
mov dword [edi + 0x24], eax
mov eax, dword [esi + 0x28]
mov dword [edi + 0x28], eax
mov eax, dword [esi + 0x2c]
mov dword [edi + 0x2c], eax
mov eax, dword [esi + 0x30]
mov dword [edi + 0x30], eax
mov eax, dword [esi + 0x34]
mov dword [edi + 0x34], eax
mov eax, dword [esi + 0x38]
mov dword [edi + 0x38], eax
mov eax, dword [esi + 0x3c]
mov dword [edi + 0x3c], eax
mov eax, dword [esi + 0x40]
mov dword [edi + 0x40], eax
mov eax, dword [esi + 0x44]
mov dword [edi + 0x44], eax
mov eax, dword [esi + 0x48]
mov dword [edi + 0x48], eax
mov eax, dword [esi + 0x4c]
mov dword [edi + 0x4c], eax
mov eax, dword [esi + 0x50]
mov dword [edi + 0x50], eax
mov eax, dword [esi + 0x54]
mov dword [edi + 0x54], eax
lea eax, [esi + 0x18]
push eax
call fcn.00406f60
mov eax, dword [esi + 0x58]
mov dword [edi + 0x58], eax
mov eax, dword [esi + 0x5c]
mov dword [edi + 0x5c], eax
mov eax, dword [esi + 0x60]
mov dword [edi + 0x60], eax
mov eax, dword [esi + 0x64]
mov dword [edi + 0x64], eax
mov eax, dword [esi + 0x68]
mov dword [edi + 0x68], eax
mov eax, dword [esi + 0x6c]
mov dword [edi + 0x6c], eax
mov eax, dword [esi + 0x70]
mov dword [edi + 0x70], eax
mov eax, dword [esi + 0x74]
mov dword [edi + 0x74], eax
mov eax, dword [esi + 0x78]
mov dword [edi + 0x78], eax
movzx eax, word [esi + 0x7c]
mov word [edi + 0x7c], ax
movzx eax, word [esi + 0x9c]
mov word [edi + 0x9c], ax
movzx eax, byte [esi + 0x9e]
mov byte [edi + 0x9e], al
mov eax, dword [esi + 0xa0]
mov dword [edi + 0xa0], eax
mov eax, dword [esi + 0xa4]
mov dword [edi + 0xa4], eax
mov eax, dword [esi + 0xa8]
mov dword [edi + 0xa8], eax
cmp edi, esi
je 0x41aaf1
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x41aae6
mov eax, dword [esi]
push dword [esi + 0x10]
mov ecx, edi
push eax
call fcn.00406cf0
lea eax, [esi + 0x80]
lea ecx, [edi + 0x80]
cmp ecx, eax
je 0x41ab14
cmp dword [eax + 0x14], 0x10
mov edx, eax
jb 0x41ab0b
mov edx, dword [eax]
push dword [eax + 0x10]
push edx
call fcn.00406cf0
mov eax, dword [esi + 0x98]
mov dword [edi + 0x98], eax
pop edi
pop esi
pop ebp
ret 4
Function at 0x41c5b0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e1ef8
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x651ea8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x254], edx
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x41c75b
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
call fcn.004a6e60
push 0x220
lea eax, [ebp - 0x24c]
push 0
push eax
call fcn.0058ff00
add esp, 0x10
mov dword [ebp - 0x250], 0x224
lea eax, [ebp - 0x250]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32First]
test eax, eax
je 0x41c6a7
mov edi, dword [sym.imp.KERNEL32.dll_Module32Next]
nop word [eax + eax]
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x130]
cmovae edx, dword [ebp - 0x28]
call fcn.0041c560
test eax, eax
jne 0x41c6e2
push 0x220
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.0058ff00
add esp, 0xc
mov dword [ebp - 0x250], 0x224
lea eax, [ebp - 0x250]
push eax
push esi
call edi
test eax, eax
jne 0x41c660
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x41c75b
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41c751
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c779
jmp 0x41c751
lea edx, [ebp - 0x130]
lea edi, [edx + 1]
nop dword [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x41c6f0
sub edx, edi
lea eax, [ebp - 0x130]
push edx
push eax
mov ecx, ebx
call fcn.00406cf0
mov ecx, dword [ebp - 0x254]
mov eax, dword [ebp - 0x23c]
push esi
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x41c74d
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41c743
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c77e
push edx
push ecx
call fcn.00552c1d
add esp, 8
mov al, 1
jmp 0x41c75d
push edx
push ecx
call fcn.00552c1d
add esp, 8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00552c0c
mov esp, ebp
pop ebp
ret
call fcn.0059841a
call fcn.0059841a
int3
Function at 0x420360
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x3c
push edi
xorps xmm0, xmm0
mov dword [esp + 0x3c], 0
lea eax, [esp + 0x1c]
push eax
movups xmmword [esp + 0x20], xmm0
movups xmmword [esp + 0x30], xmm0
call fcn.004202e0
push 0x61d870
push dword [ebp + 8]
call fcn.00598656
add esp, 8
mov edi, eax
push 0x80
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
movss xmm0, dword [esp + 0x24]
sub esp, 0x18
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x10], xmm0
movss xmm0, dword [esp + 0x38]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [esp + 0x34]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.CenterPos__f__f__f_n
push 0
push edi
call fcn.004cfdb0
movss xmm0, dword [esp + 0x58]
add esp, 0xc
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x10], xmm0
movss xmm0, dword [esp + 0x50]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [esp + 0x54]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.CameraSetting__f__f__f_n
push 0
push edi
call fcn.004cfdb0
movss xmm0, dword [esp + 0x54]
add esp, 0xc
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x10], xmm0
movss xmm0, dword [esp + 0x44]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [esp + 0x40]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.CmrPos__f__f__f_n
push 0
push edi
call fcn.004cfdb0
cvttss2si eax, dword [esp + 0x54]
push eax
cvttss2si eax, dword [esp + 0x54]
push eax
cvttss2si eax, dword [esp + 0x54]
push eax
cvttss2si eax, dword [esp + 0x64]
push eax
cvttss2si eax, dword [esp + 0x6c]
push eax
cvttss2si eax, dword [esp + 0x74]
push eax
cvttss2si eax, dword [esp + 0x60]
push eax
cvttss2si eax, dword [esp + 0x60]
push eax
cvttss2si eax, dword [esp + 0x60]
push eax
push str.Line__x__dy__dz__ddistance__dpitch__drot__dup__dview__dcross__d__n
push 0
push edi
call fcn.004cfdb0
add esp, 0x54
push edi
call fcn.00598966
add esp, 4
pop edi
mov esp, ebp
pop ebp
ret 4

Function at 0x4236f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
call dword [sym.imp.USER32.dll_ChangeDisplaySettingsA]
push 0x40
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0
push 0
push 0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 6
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebp
ret 0xc
Function at 0x442180
Capabilities:
Get common file path
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add ecx, 4
pop ebp
jmp fcn.004c6fc0
Function at 0x45ff90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x45ffbb
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00460880
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], eax
test eax, eax
je 0x45ffdd
mov eax, dword [ebx + 0x30]
mov eax, dword [eax]
jmp 0x45ffdf
xor eax, eax
cdq
mov dword [esp + 0xc], eax
mov ecx, edx
mov dword [esp + 0x10], ecx
test edi, edi
jl 0x460063
jg 0x45fff4
test esi, esi
je 0x460063
test ecx, ecx
jl 0x46003d
jg 0x45fffe
test eax, eax
je 0x46003d
cmp edi, ecx
jg 0x460012
jl 0x460008
cmp esi, eax
jae 0x460012
mov eax, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x1c]
call fcn.0058f350
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [ebx + 0x30]
add edx, ecx
sub esi, ecx
sbb edi, dword [esp + 0x10]
sub dword [eax], ecx
mov eax, dword [ebx + 0x20]
add dword [eax], ecx
jmp 0x460040
mov edx, dword [ebp + 8]
test edi, edi
jl 0x460063
jg 0x46004a
test esi, esi
je 0x460063
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x460063
push eax
push esi
push 1
push edx
call fcn.0059888c
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x460080
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x38], 0
je 0x4600ab
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00460960
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [edi + 0x1c]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], eax
test eax, eax
je 0x4600cd
mov eax, dword [edi + 0x2c]
mov eax, dword [eax]
jmp 0x4600cf
xor eax, eax
cdq
mov dword [esp + 0xc], eax
mov ecx, edx
mov dword [esp + 0x10], ecx
test ebx, ebx
jl 0x46016e
jg 0x4600ec
test esi, esi
je 0x46016e
test ecx, ecx
jl 0x460139
jg 0x4600f6
test eax, eax
je 0x460139
cmp ebx, ecx
jg 0x46010a
jl 0x460100
cmp esi, eax
jae 0x46010a
mov eax, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
push eax
push dword [esp + 0x18]
push dword [ebp + 8]
call fcn.0058f350
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [edi + 0x2c]
add edx, ecx
sub esi, ecx
mov dword [esp + 0xc], edx
sbb ebx, dword [esp + 0x10]
sub dword [eax], ecx
mov eax, dword [edi + 0x1c]
add dword [eax], ecx
jmp 0x460140
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], eax
test ebx, ebx
jl 0x46016e
jg 0x46014a
test esi, esi
je 0x46016e
cmp dword [edi + 0x4c], 0
je 0x46016e
mov ecx, edi
call fcn.00460d30
push dword [edi + 0x4c]
push esi
push 1
push dword [esp + 0x18]
call fcn.00599550
add esp, 0x10
sub esi, eax
sbb ebx, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
pop edi
pop esi
sbb edx, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0xc