joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10007588
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x100075c7
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100075c7
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100075c7
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x100075c7
cmp dword [ecx + 0x74], 0xe
jbe 0x100075c7
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x10009d1d
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10013fb0
push 0x10013fa8
push str.FlsAlloc
push 0x1f
call fcn.10009c39
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10009d51
push dword [ebp + 8]
mov ecx, esi
call dword [0x10011134]
call esi
jmp 0x10009d57
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x10009d9b
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10013fc0
push 0x10013fb8
push str.FlsGetValue
push 0x21
call fcn.10009c39
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10009dd2
push dword [ebp + 8]
mov ecx, esi
call dword [0x10011134]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x10009dda
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10013fc8
push 0x10013fc0
push str.FlsSetValue
push 0x22
call fcn.10009c39
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10009e14
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10011134]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x1000c69e
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1000c73b
push ebx
push esi
call fcn.1000c667
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1000b62b
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1000c6e8
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000c73a
push edi
push eax
call fcn.1000a298
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1000c708
call fcn.100095c5
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000c739
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1000b62b
add esp, 0x20
test eax, eax
jne 0x1000c727
push edi
call fcn.100095c5
jmp 0x1000c72f
push ebx
call fcn.100095c5
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x1000fdb0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1000fddd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1000fddd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4056a0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e1360
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.00552ccb
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4057b6
push dword [ebp - 0x20]
push 0
push ebx
call fcn.0058ffa0
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.00552cd4
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.00552cd4
add esp, 4
mov dword [ebp - 4], 4
jmp 0x405856
add eax, ebx
push eax
call fcn.00406c40
push ebx
call fcn.00552cd4
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.00552cac
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 + 0x31]
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.00552cac
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.004b5400
test al, al
je 0x408880
mov ecx, esi
call fcn.004b5350
movzx ecx, word [ebp - 0x1f]
cmp ecx, eax
jg 0x408880
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
push 7
call fcn.004b55d0
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.00552ccb
add esp, 4
mov edi, eax
mov ecx, esi
push edi
push ebx
call fcn.004b55d0
test al, al
jne 0x4087cf
push edi
call fcn.00552cd4
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00552cac
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.005986f6
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.0059892c
push esi
call fcn.00598a06
add esp, 0x14
mov bl, 1
push edi
call fcn.00552cd4
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.00552cbd
add esp, 8
mov al, bl
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00552cac
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.00552cac
mov esp, ebp
pop ebp
ret
call fcn.005984ba
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.005986f6
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.00598d61
push esi
call fcn.005993ff
push 0
push 0
push esi
mov dword [ebx + 0x390], eax
call fcn.00598d61
push dword [ebx + 0x390]
call fcn.00552ccb
push esi
push 1
push dword [ebx + 0x390]
mov dword [ebx + 0x398], eax
push eax
call fcn.005995f0
push esi
call fcn.00598a06
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 0x5e1d3f
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.005a16ee
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 0x41c5b0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e1f98
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.0058ffa0
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.0058ffa0
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.00552cbd
add esp, 8
mov al, 1
jmp 0x41c75d
push edx
push ecx
call fcn.00552cbd
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.00552cac
mov esp, ebp
pop ebp
ret
call fcn.005984ba
call fcn.005984ba
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.005986f6
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.004cfde0
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.004cfde0
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.004cfde0
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.004cfde0
add esp, 0x54
push edi
call fcn.00598a06
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.004c6ff0
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.0058f3f0
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.0059892c
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.0058f3f0
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.005995f0
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