joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43c4d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x1c]
push eax
push 0x1000
push 1
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x20]
push edx
call fcn.005e10a5
add esp, 0x10
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
ja 0x43c565
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 0x24]
test ecx, ecx
je 0x43c52c
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [eax + 0x14], 0x2a
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [eax]
call ecx
add esp, 4
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [eax + 0x14], 0x78
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [eax + 4]
call ecx
add esp, 8
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x20]
mov byte [eax], 0xff
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x20]
mov byte [edx + 1], 0xd9
mov dword [ebp - 4], 2
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x20]
mov dword [eax], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 8]
mov byte [edx + 0x24], 0
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x45aed0
Capabilities:
Contain obfuscated stackstrings
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x6c4490]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x11
mov dword [ebp - 0x28], 4
call fcn.005e0264
push 0x280
mov ebx, eax
call fcn.005e0264
mov esi, eax
add esp, 8
test esi, esi
jne 0x45af1a
pop esi
mov eax, 0x6606ee
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005dfa14
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x45af3b
push dword [ebp - 0x28]
call fcn.005e0264
mov esi, eax
add esp, 4
test esi, esi
je 0x45af05
movdqa xmm0, xmmword [0x6802c0]
lea eax, [ebp - 0x28]
push eax
push esi
movdqu 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 0x45afc1
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.005e02f6
add esp, 0x20
mov eax, ebx
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005dfa14
mov esp, ebp
pop ebp
ret
push esi
call fcn.005e0396
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
xor eax, eax
pop esi
pop ebx
call fcn.005dfa14
mov esp, ebp
pop ebp
ret
Function at 0x45ea50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x6c4490]
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.005433f0
test al, al
jne 0x45ea87
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005dfa14
mov esp, ebp
pop ebp
ret
mov ecx, edi
call fcn.00543340
movzx ecx, word [ebp - 0x1f]
cmp ecx, eax
jg 0x45ea74
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
push 7
call fcn.005435d0
test al, al
je 0x45ead7
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.005deda5
add esp, 4
mov esi, eax
mov ecx, edi
push esi
push ebx
call fcn.005435d0
test al, al
jne 0x45eaea
push esi
call fcn.0045d8a0
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005dfa14
mov esp, ebp
pop ebp
ret
cmp dword [0x6c85a4], 0x10
mov eax, 0x6c8590
cmovae eax, dword [0x6c8590]
push eax
call fcn.00535cd0
mov ecx, dword [ebp - 0x24]
add esp, 4
call fcn.0045da70
push eax
lea ecx, [ebp - 0x1c]
call fcn.0045dcb0
cmp dword [ebp - 8], 0x10
lea eax, [ebp - 0x1c]
push 0x66c19c
cmovae eax, dword [ebp - 0x1c]
push eax
call fcn.005e06ff
mov edi, eax
add esp, 8
test edi, edi
jne 0x45eb43
push esi
call fcn.0045d8a0
add esp, 4
xor bl, bl
jmp 0x45eb5e
push edi
push 1
push ebx
push esi
call fcn.005e086d
push edi
call fcn.005e095b
push esi
call fcn.0045d8a0
add esp, 0x18
mov bl, 1
lea ecx, [ebp - 0x1c]
call fcn.0045bdb0
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005dfa14
mov esp, ebp
pop ebp
ret
Function at 0x45ef30
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 0x45ef86
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 0x45efad
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 0x45efcf
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 0x66c1f8
push edi
call fcn.005e06ff
mov esi, eax
add esp, 8
test esi, esi
jne 0x45effe
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 2
push 2
push 0
push esi
call fcn.005e0a61
push esi
call fcn.005e0e74
push 0
push 0
push esi
mov dword [ebx + 0x394], eax
call fcn.005e0a61
push dword [ebx + 0x394]
call fcn.005deda5
push esi
push 1
push dword [ebx + 0x394]
mov dword [ebx + 0x39c], eax
push eax
call fcn.005e10a5
push esi
call fcn.005e095b
push edi
call fcn.00536630
add esp, 0x38
mov dword [ebx + 0x398], eax
mov al, 1
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x465020
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x61a668
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x6c4490]
xor eax, esp
mov dword [esp + 0x18], eax
push esi
mov eax, dword [0x6c4490]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [ebp + 8]
call fcn.00462ea0
test eax, eax
je 0x46506a
add eax, 0x1dc
jmp 0x46506c
xor eax, eax
push eax
lea ecx, [esp + 0xc]
call fcn.005914e0
lea eax, [esp + 8]
mov dword [esp + 0x30], 0
push eax
lea ecx, [esi + 0x2d8]
call fcn.00591060
lea ecx, [esp + 8]
mov dword [esp + 0x30], 0xffffffff
call fcn.00591550
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.005dfa14
mov esp, ebp
pop ebp
ret 4
Function at 0x467f20
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp ecx, edx
jbe 0x467f30
mov eax, ecx
mov ecx, edx
mov edx, eax
xor eax, eax
mov dword [ebp - 4], edx
push esi
mov dword [ebp - 8], ecx
lea edx, [ebp - 8]
lea esi, [eax + 8]
nop
movzx ecx, byte [edx]
lea edx, [edx + 1]
imul eax, eax, 0x1000193
xor eax, ecx
dec esi
jne 0x467f40
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x46c5f0
Capabilities:
Access peb ldr_data
Create directory
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61a99f
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x6c4490]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov dword [0x71b1c8], ebx
mov dword [ebp - 4], 0
mov dword [ebx], vtable.CGuildMarkManager.0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
call fcn.00464bf0
mov dword [ebx + 4], eax
mov byte [ebp - 4], 1
lea ecx, [ebx + 0xc]
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
call fcn.00464bf0
mov dword [ebx + 0xc], eax
mov byte [ebp - 4], 2
lea ecx, [ebx + 0x14]
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
call fcn.00469a50
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x30], 0xf
mov dword [ebx + 0x2c], 0
mov byte [ebx + 0x1c], 0
mov byte [ebp - 4], 4
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x38], 0
call fcn.0046d320
mov dword [ebx + 0x34], eax
push str.mark
mov byte [ebp - 4], 5
call fcn.005e1abd
add esp, 4
xor esi, esi
mov dword [ebp - 0x10], esi
movzx eax, byte [0x71a85a]
lea ecx, [ebx + 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0x1c]
push eax
call fcn.00469d00
inc esi
mov dword [ebp - 0x10], esi
cmp esi, 0x1900
jb 0x46c6c2
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 0x46c760
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61a9ff
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x6c4490]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ecx], vtable.CGuildMarkManager.0
mov dword [ebp - 4], 5
lea edi, [ecx + 4]
mov eax, dword [edi]
mov esi, dword [eax]
cmp esi, eax
je 0x46c7ed
push dword [esi + 0x14]
call fcn.0046c5d0
cmp byte [esi + 0xd], 0
jne 0x46c7e9
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x46c7ce
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x46c7e9
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x46c7c2
jmp 0x46c7e9
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x46c7e7
cmp esi, dword [eax + 8]
jne 0x46c7e7
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x46c7d7
mov esi, eax
cmp esi, dword [edi]
jne 0x46c7a1
mov eax, dword [edi]
mov ebx, dword [eax + 4]
mov esi, ebx
cmp byte [ebx + 0xd], 0
jne 0x46c81d
lea ebx, [ebx]
push dword [esi + 8]
mov ecx, edi
call fcn.00464a70
mov esi, dword [esi]
push ebx
call fcn.004ec310
add esp, 4
mov ebx, esi
cmp byte [esi + 0xd], 0
je 0x46c800
mov eax, dword [edi]
mov ebx, dword [ebp - 0x10]
mov dword [eax + 4], eax
mov eax, dword [edi]
lea ecx, [ebx + 0x34]
mov dword [eax], eax
mov eax, dword [edi]
mov dword [eax + 8], eax
mov dword [edi + 4], 0
mov eax, dword [ebx + 0x34]
push eax
push dword [eax]
lea eax, [ebp - 0x10]
push eax
call fcn.0046cf60
push dword [ebx + 0x34]
call fcn.004ec310
add esp, 4
cmp dword [ebx + 0x30], 0x10
jb 0x46c863
push dword [ebx + 0x1c]
call fcn.004ec310
add esp, 4
mov dword [ebx + 0x30], 0xf
lea ecx, [ebx + 0x14]
mov dword [ebx + 0x2c], 0
mov byte [ebx + 0x1c], 0
mov eax, dword [ebx + 0x14]
push eax
push dword [eax]
lea eax, [ebp - 0x10]
push eax
call fcn.004645f0
push dword [ebx + 0x14]
call fcn.004ec310
mov eax, dword [ebx + 0xc]
lea ecx, [ebx + 0xc]
add esp, 4
push eax
push dword [eax]
lea eax, [ebp - 0x10]
push eax
call fcn.004645f0
push dword [ebx + 0xc]
call fcn.004ec310
mov eax, dword [edi]
add esp, 4
mov ecx, edi
push eax
push dword [eax]
lea eax, [ebp - 0x10]
push eax
call fcn.00466500
push dword [edi]
call fcn.004ec310
add esp, 4
mov dword [ebx], vtable.singleton_class_CGuildMarkManager_.0
mov dword [0x71b1c8], 0
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 0x46db90
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [ecx]
mov esi, edx
call fcn.005e095b
push dword [esi]
call fcn.005e095b
mov edi, dword [ebp + 8]
push edi
call fcn.005e212f
mov esi, dword [ebp + 0xc]
add esp, 8
mov edx, edi
mov ecx, esi
call fcn.0046d930
push edi
push esi
call fcn.005e1cbd
add esp, 0xc
mov eax, 1
pop edi
pop esi
pop ebp
ret
Function at 0x46e360
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
xor esi, esi
mov dword [ebp - 4], edi
mov eax, 0x66666667
imul edi
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea eax, [ecx + ecx*4]
add eax, eax
sub edi, eax
mov eax, edi
mov edi, ecx
cdq
xor eax, edx
sub eax, edx
add al, 0x30
mov byte [esi + ebx], al
inc esi
test edi, edi
jne 0x46e370
cmp dword [ebp - 4], ecx
jge 0x46e3a5
mov byte [esi + ebx], 0x2d
inc esi
mov ecx, ebx
mov byte [esi + ebx], 0
call fcn.0046e320
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46f580
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0046f590

Function at 0x46f590
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.0045c2a0
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
movzx eax, word [esi + 0x74]
mov word [edi + 0x74], ax
movzx eax, word [esi + 0x76]
mov word [edi + 0x76], ax
movzx eax, byte [esi + 0x78]
mov byte [edi + 0x78], al
mov eax, dword [esi + 0x7c]
mov dword [edi + 0x7c], eax
mov eax, dword [esi + 0x80]
mov dword [edi + 0x80], eax
mov eax, dword [esi + 0x84]
mov dword [edi + 0x84], eax
mov eax, dword [esi + 0x88]
mov dword [edi + 0x88], eax
cmp edi, esi
je 0x46f676
push 0xffffffffffffffff
push 0
push esi
mov ecx, edi
call fcn.0045c150
add esi, 0x8c
mov ecx, 0x37
add edi, 0x8c
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebp
ret 4
Function at 0x470cf0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61ac28
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x6c4490]
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 0x470dff
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
call fcn.005359d0
push 0x224
lea eax, [ebp - 0x250]
push 0
push eax
call fcn.005e39f0
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 0x470de7
mov edi, dword [sym.imp.KERNEL32.dll_Module32Next]
lea ebx, [ebx]
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x130]
cmovae edx, dword [ebp - 0x28]
call fcn.00470ca0
test eax, eax
jne 0x470e1d
push 0x224
push eax
lea eax, [ebp - 0x250]
push eax
call fcn.005e39f0
add esp, 0xc
mov dword [ebp - 0x250], 0x224
lea eax, [ebp - 0x250]
push eax
push esi
call edi
test eax, eax
jne 0x470da0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], 0x10
jb 0x470dff
push dword [ebp - 0x28]
call fcn.004ec310
add esp, 4
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.005dfa14
mov esp, ebp
pop ebp
ret
cmp byte [ebp - 0x130], 0
jne 0x470e2a
xor ecx, ecx
jmp 0x470e3c
lea ecx, [ebp - 0x130]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x470e33
sub ecx, edx
push ecx
lea eax, [ebp - 0x130]
mov ecx, ebx
push eax
call fcn.0045bc80
mov ecx, dword [ebp - 0x254]
mov eax, dword [ebp - 0x23c]
push esi
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], 0x10
jb 0x470e71
push dword [ebp - 0x28]
call fcn.004ec310
add esp, 4
mov al, 1
jmp 0x470e01
Function at 0x474960
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.004748e0
push 0x66cee0
push dword [ebp + 8]
call fcn.005e06ff
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.0055f720
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.0055f720
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.0055f720
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.0055f720
add esp, 0x54
push edi
call fcn.005e095b
add esp, 4
pop edi
mov esp, ebp
pop ebp
ret 4

Function at 0x477d60
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 0x492370
Capabilities:
Get common file path
Link many functions at runtime

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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0x58edadb9
xor eax, eax
cmp byte [ebp - 4], al
jbe 0x4b39d3
xor dword [ebp - 4], 0x80164043
add dword [ebp - 4], 0xd61f75bd
mov ecx, dword [ebp - 4]
mov dword [eax*4 + 0x71b6a0], ecx
inc eax
movzx ecx, byte [ebp - 4]
cmp eax, ecx
jb 0x4b39b2
mov eax, 0x71b6a0
mov esp, ebp
pop ebp
ret
Function at 0x4e19b0
Capabilities:
Read file on windows

Disassembly:
push esi
push edi
push 0x66c1f8
push str.interface.cfg
mov edi, ecx
call fcn.005e06ff
mov esi, eax
add esp, 8
test esi, esi
jne 0x4e19d1
pop edi
xor al, al
pop esi
ret
push esi
push 0xc8
lea eax, [edi + 0x2638]
push 1
push eax
call fcn.005e10a5
push esi
call fcn.005e095b
add esp, 0x14
mov al, 1
pop edi
pop esi
ret

Function at 0x4e1a00
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x2634], 0
je 0x4e1a6f
push edi
push 0x6605c8
call dword [sym.imp.python27.dll_Py_BuildValue]
push eax
push str.OnSaveInterfaceStatus
push dword [esi + 0x2634]
call fcn.005d5d90
push 0x66c19c
push str.interface.cfg
call fcn.005e06ff
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x4e1a51
push str.Cannot_open_interface.cfg
call fcn.005352a0
add esp, 4
pop edi
pop esi
ret
push edi
push 0xc8
lea eax, [esi + 0x2638]
push 1
push eax
call fcn.005e086d
push edi
call fcn.005e095b
add esp, 0x14
pop edi
pop esi
ret

Function at 0x4e5920
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61ec6a
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x6c4490]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [0x71b1fc], esi
mov dword [ebp - 4], 0
mov dword [esi], vtable.CPythonTextTail.0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.00464bf0
mov dword [esi + 4], eax
mov byte [ebp - 4], 1
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.00464bf0
mov dword [esi + 0xc], eax
mov byte [ebp - 4], 2
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.00464bf0
mov dword [esi + 0x14], eax
push 0
mov byte [ebp - 4], 3
push 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
call fcn.0047d800
mov dword [esi + 0x1c], eax
push 0
mov byte [ebp - 4], 4
push 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
call fcn.0047d800
mov dword [esi + 0x24], eax
mov dword [esi + 0x2c], vtable.CDynamicPool_struct_CPythonTextTail::STextTail_.0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.004e5850
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4e6e50
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x61ed88
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x6c4490]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
push edi
mov eax, dword [0x6c4490]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [str.UserDict.pyc]
xor edi, edi
cmp byte [eax], 0xa
je 0x4e6f5f
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileA]
mov esi, 0x6608b0
push 4
push str.lib_
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
call fcn.0045bc80
mov dword [esp + 0x38], 0
mov edx, dword [esi]
cmp byte [edx], 0
jne 0x4e6eda
xor eax, eax
jmp 0x4e6ee9
mov eax, edx
lea esi, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4e6ee0
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.0045db80
cmp dword [esp + 0x24], 0x10
lea eax, [esp + 0x10]
push 0
cmovae eax, dword [esp + 0x14]
push eax
call fcn.005e302a
add esp, 8
test eax, eax
jne 0x4e6f7f
cmp dword [esp + 0x24], 0x10
lea esi, [esp + 0x10]
lea ecx, [esp + 0x10]
cmovae esi, dword [esp + 0x10]
cmovae ecx, dword [esp + 0x10]
push esi
push ecx
call ebx
mov dword [esp + 0x38], 0xffffffff
cmp dword [esp + 0x24], 0x10
jb 0x4e6f47
push dword [esp + 0x10]
call fcn.004ec310
add esp, 4
inc edi
mov eax, dword [edi*4 + 0x6608b0]
lea esi, [edi*4 + 0x6608b0]
cmp byte [eax], 0xa
jne 0x4e6ea2
mov al, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.005dfa14
mov esp, ebp
pop ebp
ret
cmp dword [esp + 0x24], 0x10
jb 0x4e6f92
push dword [esp + 0x10]
call fcn.004ec310
add esp, 4
xor al, al
jmp 0x4e6f61