joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42dbb3
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x42dbc1
xor eax, eax
pop ebp
ret
cmp dword [ebp + 0x10], 8
push esi
mov esi, dword [ebp + 8]
not esi
mov ecx, 0xff
jb 0x42dc95
mov eax, dword [ebp + 0x10]
push ebx
shr eax, 3
push edi
xor ebx, ebx
mov bl, byte [edx]
mov edi, esi
shr edi, 8
sub dword [ebp + 0x10], 8
xor ebx, esi
and ebx, ecx
mov esi, dword [ebx*4 + 0x65bd38]
xor ebx, ebx
xor esi, edi
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
mov edi, dword [ebx*4 + 0x65bd38]
xor ebx, ebx
shr esi, 8
xor edi, esi
inc edx
mov bl, byte [edx]
xor ebx, edi
and ebx, ecx
mov esi, dword [ebx*4 + 0x65bd38]
xor ebx, ebx
shr edi, 8
xor esi, edi
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
mov edi, dword [ebx*4 + 0x65bd38]
xor ebx, ebx
shr esi, 8
xor edi, esi
inc edx
mov bl, byte [edx]
xor ebx, edi
and ebx, ecx
mov esi, dword [ebx*4 + 0x65bd38]
xor ebx, ebx
shr edi, 8
xor esi, edi
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
mov edi, dword [ebx*4 + 0x65bd38]
shr esi, 8
xor edi, esi
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, edi
and ebx, ecx
mov esi, dword [ebx*4 + 0x65bd38]
shr edi, 8
xor esi, edi
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
mov edi, dword [ebx*4 + 0x65bd38]
shr esi, 8
xor esi, edi
inc edx
dec eax
jne 0x42dbde
pop edi
pop ebx
cmp dword [ebp + 0x10], 0
je 0x42dcb5
xor eax, eax
mov al, byte [edx]
xor eax, esi
and eax, ecx
mov eax, dword [eax*4 + 0x65bd38]
shr esi, 8
xor esi, eax
inc edx
dec dword [ebp + 0x10]
jne 0x42dc9b
mov eax, esi
not eax
pop esi
pop ebp
ret
Function at 0x440690
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x6cd498]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x20]
mov edi, ecx
push eax
push 3
call fcn.00500240
test al, al
je 0x4407a8
mov ecx, edi
call fcn.005001a0
movzx ecx, word [ebp - 0x1f]
cmp ecx, eax
jg 0x4407a8
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
push 7
call fcn.00500420
test al, al
je 0x44070c
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.0059c92d
add esp, 4
mov esi, eax
mov ecx, edi
push esi
push ebx
call fcn.00500420
test al, al
jne 0x44071f
push esi
call fcn.0059c936
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0059c8be
mov esp, ebp
pop ebp
ret
cmp dword [0x6cf8d8], 0x10
mov eax, 0x6cf8c4
cmovae eax, dword [0x6cf8c4]
push eax
call fcn.004f1390
mov ecx, dword [ebp - 0x24]
add esp, 4
call fcn.0043f680
push eax
lea ecx, [ebp - 0x1c]
call fcn.0043f8b0
cmp dword [ebp - 8], 0x10
lea eax, [ebp - 0x1c]
push 0x67f1ac
cmovae eax, dword [ebp - 0x1c]
push eax
call fcn.005e20eb
mov edi, eax
add esp, 8
test edi, edi
jne 0x44076f
xor bl, bl
jmp 0x440784
push edi
push 1
push ebx
push esi
call fcn.005e2321
push edi
call fcn.005e23fb
add esp, 0x14
mov bl, 1
push esi
call fcn.0059c936
add esp, 4
lea ecx, [ebp - 0x1c]
call fcn.0043dda0
mov al, bl
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0059c8be
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.0059c8be
mov esp, ebp
pop ebp
ret
Function at 0x440b10
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 0x440b66
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 0x440b8d
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 0x440baf
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 0x67f1b0
push edi
call fcn.005e20eb
mov esi, eax
add esp, 8
test esi, esi
jne 0x440bde
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 2
push 2
push 0
push esi
call fcn.005e2756
push esi
call fcn.005e2df4
push 0
push 0
push esi
mov dword [ebx + 0x380], eax
call fcn.005e2756
push dword [ebx + 0x380]
call fcn.0059c92d
push esi
push 1
push dword [ebx + 0x380]
mov dword [ebx + 0x388], eax
push eax
call fcn.005e2fe5
push esi
call fcn.005e23fb
push edi
call fcn.004f1d20
add esp, 0x38
mov dword [ebx + 0x384], eax
mov al, 1
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4411d0
Capabilities:
Contain obfuscated stackstrings
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x6cd498]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x11
mov dword [ebp - 0x28], 4
call fcn.005e3120
push 0x280
mov ebx, eax
call fcn.005e3120
mov esi, eax
add esp, 8
test esi, esi
je 0x4412bb
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x44122e
push dword [ebp - 0x28]
call fcn.005e3120
mov esi, eax
add esp, 4
test esi, esi
je 0x4412bb
movaps xmm0, xmmword [str._02X:_02X:_02X:_]
lea eax, [ebp - 0x28]
push eax
push esi
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x14], 0x3a583230
mov dword [ebp - 0x10], 0x58323025
mov dword [ebp - 0xc], 0x3230253a
mov word [ebp - 8], 0x58
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x4412b2
movzx eax, byte [esi + 0x199]
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
call fcn.00441320
add esp, 0x20
mov eax, ebx
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0059c8be
mov esp, ebp
pop ebp
ret
push esi
call fcn.005e6bdd
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, 0x67edda
pop esi
xor ecx, ebp
pop ebx
call fcn.0059c8be
mov esp, ebp
pop ebp
ret
Function at 0x44aad0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp ecx, edx
mov eax, edx
cmovbe eax, ecx
cmovbe ecx, edx
mov dword [ebp - 8], eax
lea edx, [ebp - 8]
mov dword [ebp - 4], ecx
xor eax, eax
nop dword [eax + eax]
movzx ecx, byte [edx]
inc edx
imul eax, eax, 0x1000193
xor eax, ecx
lea ecx, [ebp]
cmp edx, ecx
jb 0x44aaf0
mov esp, ebp
pop ebp
ret

Function at 0x44eca0
Capabilities:
Access peb ldr_data
Create directory
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x638924
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x6cd498]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov dword [0x7218f4], ebx
mov dword [ebp - 4], 0
lea esi, [ebx + 4]
mov dword [ebx], vtable.CGuildMarkManager.0
mov dword [ebp - 0x10], esi
push 0x18
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0059c8fd
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov byte [ebp - 4], 1
lea esi, [ebx + 0xc]
mov dword [ebp - 0x10], esi
push 0x18
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0059c8fd
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov byte [ebp - 4], 2
lea edi, [ebx + 0x14]
mov dword [ebp - 0x10], edi
push 0x14
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.0059c8fd
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [edi], eax
mov dword [ebx + 0x1c], 0
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
push 0x24
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0059c8fd
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
push str.mark
mov byte [ebp - 4], 5
call fcn.005ebacc
add esp, 0x14
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0044c350
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp eax, 0x1900
jb 0x44edc5
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 0x450960
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00450970

Function at 0x450970
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.0043de60
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 + 0x7c]
mov dword [edi + 0x7c], eax
mov ax, word [esi + 0x80]
mov word [edi + 0x80], ax
movzx eax, byte [esi + 0x82]
mov byte [edi + 0x82], al
mov eax, dword [esi + 0x84]
mov dword [edi + 0x84], eax
mov eax, dword [esi + 0x88]
mov dword [edi + 0x88], eax
movzx eax, byte [esi + 0x78]
mov byte [edi + 0x78], al
movzx eax, byte [esi + 0x8c]
mov byte [edi + 0x8c], al
mov eax, dword [esi + 0x90]
mov dword [edi + 0x90], eax
mov eax, dword [esi + 0x94]
mov dword [edi + 0x94], eax
mov eax, dword [esi + 0x98]
mov dword [edi + 0x98], eax
cmp edi, esi
je 0x450a95
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x450a8a
mov eax, dword [esi]
push dword [esi + 0x10]
mov ecx, edi
push eax
call fcn.0043dc70
pop edi
pop esi
pop ebp
ret 4
Function at 0x451670
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov eax, ecx
push esi
mov esi, dword [ebp + 8]
push edi
lea ebx, [eax + 0x18]
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
call fcn.0044cae0
mov edi, dword [ebp - 8]
cmp byte [edi + 0xd], 0
jne 0x4517e9
mov eax, dword [esi]
cmp eax, dword [edi + 0x10]
jb 0x4517e9
cmp dword [ebx], edi
je 0x4517e9
mov ecx, dword [ebp - 4]
add edi, 0x14
push edi
call fcn.00450e10
mov ebx, eax
test ebx, ebx
je 0x451772
push dword [esi + 0x3c]
mov ecx, ebx
push dword [esi + 8]
call fcn.00446c20
push dword [esi + 0x3c]
mov ecx, ebx
call fcn.00443690
push dword [esi + 0x14]
push dword [esi + 0xc]
call fcn.00446be0
push dword [esi + 0x10]
mov ecx, ebx
call fcn.00445f30
push dword [esi + 0x38]
mov ecx, ebx
call fcn.00447750
push dword [esi + 0x34]
mov ecx, ebx
push dword [esi + 4]
call fcn.00443970
push dword [esi + 0x14]
mov ecx, ebx
call fcn.00446b30
lea eax, [esi + 0x44]
push eax
call fcn.0044b270
push dword [esi + 0x18]
mov ecx, ebx
call fcn.0044d4c0
push dword [esi + 0x1c]
mov ecx, ebx
call fcn.0044d460
push dword [esi + 0x20]
mov ecx, ebx
call fcn.004451f0
movzx eax, word [esi + 0x24]
mov ecx, ebx
push eax
call fcn.00445210
push dword [esi + 0x28]
mov ecx, ebx
call fcn.00445270
movzx eax, byte [esi + 0x2c]
mov ecx, ebx
push eax
call fcn.00445290
push dword [esi + 0x40]
mov ecx, ebx
call fcn.004452f0
movzx eax, byte [esi + 0x4c]
mov ecx, ebx
push eax
call fcn.004424e0
mov eax, dword [esi + 0x44]
mov ecx, dword [esi + 0x48]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], ecx
mov eax, dword [esi + 4]
mov dword [edi + 0x88], eax
mov eax, dword [esi + 0x18]
mov dword [edi + 0x34], eax
mov eax, dword [esi + 0x1c]
mov dword [edi + 0x38], eax
mov eax, dword [esi + 8]
mov dword [edi + 0x64], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 0x68], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x6c], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x70], eax
movzx eax, byte [esi + 0x34]
mov byte [edi + 0x8c], al
mov eax, dword [esi + 0x38]
mov dword [edi + 0x90], eax
mov eax, dword [esi + 0x3c]
mov dword [edi + 0x94], eax
mov eax, dword [esi + 0x20]
mov dword [edi + 0x7c], eax
mov ax, word [esi + 0x24]
mov word [edi + 0x80], ax
movzx eax, byte [esi + 0x2c]
mov byte [edi + 0x82], al
movzx eax, byte [esi + 0x4c]
mov byte [edi + 0x78], al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x451d30
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x638b5d
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x6cd498]
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 0x451edb
mov dword [ebp - 0x28], 0
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.004f1130
push 0x220
lea eax, [ebp - 0x24c]
push 0
push eax
call fcn.005d8990
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 0x451e28
mov edi, dword [sym.imp.KERNEL32.dll_Module32Next]
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x130]
cmovae edx, dword [ebp - 0x28]
call fcn.00451ce0
test eax, eax
jne 0x451e63
push 0x220
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.005d8990
add esp, 0xc
mov dword [ebp - 0x250], 0x224
lea eax, [ebp - 0x250]
push eax
push esi
call edi
test eax, eax
jne 0x451de1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x451edb
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x451ed1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x451ef9
jmp 0x451ed1
lea edx, [ebp - 0x130]
lea edi, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x451e70
sub edx, edi
lea eax, [ebp - 0x130]
push edx
push eax
mov ecx, ebx
call fcn.0043dc70
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 0x451ecd
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x451ec3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x451ef9
push edx
push ecx
call fcn.0059c8ef
add esp, 8
mov al, 1
jmp 0x451edd
push edx
push ecx
call fcn.0059c8ef
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.0059c8be
mov esp, ebp
pop ebp
ret
call fcn.005e1eb2
int3
Function at 0x455a70
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.004559f0
push 0x67fad0
push dword [ebp + 8]
call fcn.005e20eb
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.0051c1d0
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.0051c1d0
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.0051c1d0
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.0051c1d0
add esp, 0x54
push edi
call fcn.005e23fb
add esp, 4
pop edi
mov esp, ebp
pop ebp
ret 4

Function at 0x458ed0
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 0x45e240
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63939e
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x6cd498]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [0x7218e4], edi
lea edx, [edi + 4]
mov dword [ebp - 4], 0
mov dword [0x759e24], edx
mov dword [edx], vtable.IAbstractCharacterManager.0
lea eax, [edi + 8]
mov dword [eax], vtable.IObjectManager.0
mov dword [0x71bb20], eax
mov byte [ebp - 4], 2
lea esi, [edi + 0x20]
mov dword [edi], vtable.CPythonCharacterManager.1.0
mov dword [edx], vtable.CPythonCharacterManager.2.0
mov dword [eax], vtable.CPythonCharacterManager.0
push 0x18
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0059c8fd
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov byte [ebp - 4], 3
push 0xc
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
call fcn.0059c8fd
add esp, 8
mov ecx, edi
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 0x28], eax
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
call fcn.0045e1f0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x473390
Capabilities:
Get common file path
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add ecx, 4
pop ebp
jmp fcn.00513010
Function at 0x49eba0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0x58edadb9
xor ecx, ecx
cmp byte [ebp - 4], cl
jbe 0x49ebdb
mov eax, dword [ebp - 4]
xor eax, 0x80164043
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
sub eax, 0x29e08a43
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ecx*4 + 0x75a1c0], eax
inc ecx
movzx eax, byte [ebp - 4]
cmp ecx, eax
jb 0x49ebb2
movups xmm0, xmmword [0x75a25d]
push esi
xor esi, esi
movups xmmword [0x721e50], xmm0
nop dword [eax]
call fcn.004f1e90
mov dword [esi + 0x721e50], eax
add esi, 4
cmp esi, 0x10
jb 0x49ebf0
push 0x10
push 0x75a1e5
push 0x721e50
push 0x721e60
call fcn.004f2920
add esp, 0x10
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4cdd50
Capabilities:
Read file on windows

Disassembly:
push esi
push edi
push 0x67f1b0
push str.interface.cfg
mov edi, ecx
call fcn.005e20eb
mov esi, eax
add esp, 8
test esi, esi
jne 0x4cdd71
pop edi
xor al, al
pop esi
ret
push esi
push 0xc8
lea eax, [edi + 0x2648]
push 1
push eax
call fcn.005e2fe5
push esi
call fcn.005e23fb
add esp, 0x14
mov al, 1
pop edi
pop esi
ret

Function at 0x4cdda0
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x2644], 0
je 0x4cde0f
push edi
push 0x67ed8c
call dword [sym.imp.python27.dll_Py_BuildValue]
push eax
push str.OnSaveInterfaceStatus
push dword [esi + 0x2644]
call fcn.005919f0
push 0x67f1ac
push str.interface.cfg
call fcn.005e20eb
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x4cddf1
push str.Cannot_open_interface.cfg
call fcn.004f09c0
add esp, 4
pop edi
pop esi
ret
push edi
push 0xc8
lea eax, [esi + 0x2648]
push 1
push eax
call fcn.005e2321
push edi
call fcn.005e23fb
add esp, 0x14
pop edi
pop esi
ret

Function at 0x4d3510
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63879d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x6cd498]
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 edx, dword [str.UserDict.pyc]
xor edi, edi
cmp byte [edx], 0xa
je 0x4d3602
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileA]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 4
mov dword [ebp - 0x28], 0x5c62696c
mov byte [ebp - 0x24], 0
mov eax, edx
mov dword [ebp - 4], 0
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4d3577
sub eax, esi
lea ecx, [ebp - 0x28]
push eax
push edx
call fcn.0043f6f0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.005ed29b
add esp, 8
test eax, eax
jne 0x4d3620
cmp dword [ebp - 0x14], 0x10
lea esi, [ebp - 0x28]
lea ecx, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
push esi
push ecx
call ebx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x4d35f1
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4d35e7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d3654
push edx
push ecx
call fcn.0059c8ef
add esp, 8
mov edx, dword [edi*4 + 0x67ef34]
inc edi
cmp byte [edx], 0xa
jne 0x4d3552
mov al, 1
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.0059c8be
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x4d3650
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4d3646
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d3654
push edx
push ecx
call fcn.0059c8ef
add esp, 8
xor al, al
jmp 0x4d3604
call fcn.005e1eb2
int3