joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b4d70
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x6d5600]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x28]
push edi
xorps xmm0, xmm0
mov dword [ebp - 8], 0
push eax
movups xmmword [ebp - 0x28], xmm0
movups xmmword [ebp - 0x18], xmm0
call fcn.004b46e0
push 0x65a544
push esi
call fcn.005e8ce7
add esp, 8
mov edi, eax
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
movss xmm0, dword [ebp - 0x20]
sub esp, 0x18
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x10], xmm0
movss xmm0, dword [ebp - 0x24]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [ebp - 0x28]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push 0x65d174
push 0
push edi
call fcn.0050a240
movss xmm0, dword [ebp - 0x10]
add esp, 0xc
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x10], xmm0
movss xmm0, dword [ebp - 0xc]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [ebp - 8]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.CameraSetting__f__f__f_n
push 0
push edi
call fcn.0050a240
movss xmm0, dword [ebp - 0x14]
add esp, 0xc
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x10], xmm0
movss xmm0, dword [ebp - 0x18]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [ebp - 0x1c]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.CmrPos__f__f__f_n
push 0
push edi
call fcn.0050a240
cvttss2si eax, dword [ebp - 0x14]
push eax
cvttss2si eax, dword [ebp - 0x18]
push eax
cvttss2si eax, dword [ebp - 0x1c]
push eax
cvttss2si eax, dword [ebp - 0x10]
push eax
cvttss2si eax, dword [ebp - 0xc]
push eax
cvttss2si eax, dword [ebp - 8]
push eax
cvttss2si eax, dword [ebp - 0x20]
push eax
cvttss2si eax, dword [ebp - 0x24]
push eax
cvttss2si eax, dword [ebp - 0x28]
push eax
push str.Line__x__dy__dz__ddistance__dpitch__drot__dup__dview__dcross__d__n
push 0
push edi
call fcn.0050a240
add esp, 0x54
push edi
call fcn.005e7a13
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop edi
pop esi
call fcn.005994b1
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
add ecx, 4
pop ebp
jmp fcn.0051b8a0

Function at 0x4bae60
Capabilities:
Read file on windows

Disassembly:
push esi
push edi
push 0x65d28c
push str.interface.cfg
mov edi, ecx
call fcn.005e8ce7
mov esi, eax
add esp, 8
test esi, esi
jne 0x4bae81
pop edi
xor al, al
pop esi
ret
push esi
push 0xc8
lea eax, [edi + 0x2648]
push 1
push eax
call fcn.005e82a2
push esi
call fcn.005e7a13
add esp, 0x14
mov al, 1
pop edi
pop esi
ret
Function at 0x4bb080
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x2644], 0
je 0x4bb0ef
push edi
push 0x653ccc
call dword [sym.imp.python27.dll_Py_BuildValue]
push eax
push str.OnSaveInterfaceStatus
push dword [esi + 0x2644]
call fcn.00590cc0
push 0x65eaf4
push str.interface.cfg
call fcn.005e8ce7
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x4bb0d1
push str.Cannot_open_interface.cfg
call fcn.004ef1c0
add esp, 4
pop edi
pop esi
ret
push edi
push 0xc8
lea eax, [esi + 0x2648]
push 1
push eax
call fcn.005e88a8
push edi
call fcn.005e7a13
add esp, 0x14
pop edi
pop esi
ret

Function at 0x4bce00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x6d5600]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x20]
mov esi, ecx
push eax
push 3
call fcn.00510ba0
test al, al
je 0x4bcf27
mov ecx, esi
call fcn.00510af0
movzx ecx, word [ebp - 0x1f]
cmp ecx, eax
jg 0x4bcf27
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
push 7
call fcn.00510d80
test al, al
jne 0x4bce59
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005994b1
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x29]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x2b]
push ebx
add eax, 0xfffffff9
movzx ebx, ax
push edi
push ebx
call fcn.0059994e
add esp, 4
mov edi, eax
mov ecx, esi
push edi
push ebx
call fcn.00510d80
test al, al
jne 0x4bce9e
push edi
call fcn.00599784
add esp, 4
xor al, al
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005994b1
mov esp, ebp
pop ebp
ret
cmp dword [0x6c4990], 0x10
mov eax, 0x6c497c
cmovae eax, dword [0x6c497c]
push eax
call fcn.004ef890
push dword [ebp - 0x24]
call fcn.004d89b0
add esp, 8
lea ecx, [ebp - 0x1c]
push eax
call fcn.00464280
cmp dword [ebp - 8], 0x10
lea eax, [ebp - 0x1c]
push 0x65eaf4
cmovae eax, dword [ebp - 0x1c]
push eax
call fcn.005e8ce7
mov esi, eax
add esp, 8
test esi, esi
jne 0x4bceee
xor bl, bl
jmp 0x4bcf03
push esi
push 1
push ebx
push edi
call fcn.005e88a8
push esi
call fcn.005e7a13
add esp, 0x14
mov bl, 1
push edi
call fcn.00599784
add esp, 4
lea ecx, [ebp - 0x1c]
call fcn.0044f920
pop edi
mov al, bl
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005994b1
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.005994b1
mov esp, ebp
pop ebp
ret
Function at 0x4bd5d0
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 0x4bd626
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 0x4bd64d
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 0x4bd66f
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 0x65d28c
push edi
call fcn.005e8ce7
mov esi, eax
add esp, 8
test esi, esi
jne 0x4bd69e
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 2
push 2
push 0
push esi
call fcn.005e866e
push esi
call fcn.005e9b91
push 0
push 0
push esi
mov dword [ebx + 0x380], eax
call fcn.005e866e
push dword [ebx + 0x380]
call fcn.0059994e
push esi
push 1
push dword [ebx + 0x380]
mov dword [ebx + 0x388], eax
push eax
call fcn.005e82a2
push esi
call fcn.005e7a13
push edi
call fcn.004f55a0
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 0x4be220
Capabilities:
Access peb ldr_data
Create directory
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x638e3c
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x6d5600]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov dword [0x6e865c], ebx
lea esi, [ebx + 4]
mov dword [ebx], vtable.CGuildMarkManager.0
mov dword [ebp - 0x10], esi
push 0x18
mov dword [ebp - 4], 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00599754
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea esi, [ebx + 0xc]
mov byte [ebp - 4], 1
mov dword [ebp - 0x10], esi
push 0x18
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00599754
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea esi, [ebx + 0x14]
mov byte [ebp - 4], 2
mov dword [ebp - 0x10], esi
push 0x14
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00599754
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0xf
mov byte [ebx + 0x1c], 0
lea edi, [ebx + 0x34]
mov byte [ebp - 4], 4
mov dword [ebp - 0x10], edi
push 0x24
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.00599754
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [edi], eax
push str.mark
mov byte [ebp - 4], 5
call fcn.005ec960
xor ebx, ebx
add esp, 0x14
mov dword [ebp - 0x10], ebx
xor edi, edi
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0045d470
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0x28], xmm0
cmp byte [eax + 0xd], 0
jne 0x4be36b
cmp edi, dword [eax + 0x10]
jae 0x4be3b8
cmp dword [esi + 4], 0xccccccc
je 0x4be3df
mov edi, dword [esi]
mov dword [ebp - 0x1c], esi
push 0x14
mov byte [ebp - 4], 6
mov dword [ebp - 0x18], 0
call fcn.00599754
add esp, 4
mov byte [ebp - 4], 5
mov ecx, esi
mov dword [ebp - 0x18], 0
mov dword [eax + 0x10], ebx
push eax
push dword [ebp - 0x24]
mov dword [eax], edi
push dword [ebp - 0x28]
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov word [eax + 0xc], 0
call fcn.0045cfc0
inc ebx
mov edi, ebx
mov dword [ebp - 0x10], ebx
cmp edi, 0x1900
jb 0x4be345
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0045d1b0
int3
Function at 0x4c1000
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x634d10
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x6d5600]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esi + 0x48]
mov dword [esi], vtable.CryptoPP::ProxyFilter.0
mov dword [esi + 4], vtable.CryptoPP::ProxyFilter.1.0
call fcn.00450380
mov dword [esi], vtable.CryptoPP::FilterWithBufferedInput.0
mov dword [esi + 4], vtable.CryptoPP::FilterWithBufferedInput.1.0
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x30]
cmp eax, ecx
mov edx, dword [esi + 0x34]
mov edi, edx
cmovb ecx, eax
mov dword [ebp - 4], 0
xor al, al
rep stosb byte es:[edi], al
push edx
call fcn.005994f0
add esp, 4
lea ecx, [esi + 0xc]
call fcn.00450380
test byte [ebp + 8], 1
je 0x4c1085
push 0x4c
push esi
call fcn.005994f5
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x4c1180
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x634d10
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x6d5600]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esi], vtable.CryptoPP::FilterWithBufferedInput.0
mov dword [esi + 4], vtable.CryptoPP::FilterWithBufferedInput.1.0
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x30]
cmp eax, ecx
mov edx, dword [esi + 0x34]
mov edi, edx
cmovb ecx, eax
mov dword [ebp - 4], 0
xor al, al
rep stosb byte es:[edi], al
push edx
call fcn.005994f0
add esp, 4
lea ecx, [esi + 0xc]
call fcn.00450380
test byte [ebp + 8], 1
je 0x4c11f0
push 0x48
push esi
call fcn.005994f5
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x4c1210
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x639250
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x6d5600]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x2c]
cmp eax, dword [esi + 0x30]
mov edx, dword [esi + 0x34]
mov edi, edx
sbb ecx, ecx
mov dword [ebp - 4], 0
and ecx, 0xfffffffc
xor al, al
push edx
mov ecx, dword [ecx + esi + 0x30]
rep stosb byte es:[edi], al
call fcn.005994f0
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x20]
cmp eax, ecx
mov edx, dword [esi + 0x24]
mov edi, edx
cmovb ecx, eax
mov dword [ebp - 4], 1
xor al, al
rep stosb byte es:[edi], al
push edx
call fcn.005994f0
add esp, 8
lea ecx, [esi + 0xc]
call fcn.00450380
test byte [ebp + 8], 1
je 0x4c1298
push 0x40
push esi
call fcn.005994f5
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.004c49f0
Function at 0x4c49f0
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.0044ddb0
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 ax, word [esi + 0x78]
mov word [edi + 0x78], ax
movzx eax, byte [esi + 0x7a]
mov byte [edi + 0x7a], al
mov eax, dword [esi + 0x7c]
mov dword [edi + 0x7c], 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 0x4c4ad1
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x4c4ac6
mov eax, dword [esi]
push dword [esi + 0x10]
mov ecx, edi
push eax
call fcn.00451ee0
mov al, byte [esi + 0x80]
mov byte [edi + 0x80], al
pop edi
pop esi
pop ebp
ret 4
Function at 0x4d8dc0
Capabilities:
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x6d5600]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x104]
push edi
push eax
push 0x100
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [ebp + eax - 0x105], 0x5c
je 0x4d8e1b
lea edi, [ebp - 0x104]
dec edi
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x4d8e08
mov ax, word [0x663c48]
mov word [edi], ax
lea ecx, [ebp - 0x104]
dec ecx
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x4d8e22
mov eax, dword [str.metin2client.dat]
mov dword [ecx], eax
mov eax, dword [0x663cb0]
mov dword [ecx + 4], eax
mov eax, dword [0x663cb4]
mov dword [ecx + 8], eax
mov eax, dword [0x663cb8]
mov dword [ecx + 0xc], eax
mov al, byte [0x663cbc]
mov byte [ecx + 0x10], al
call fcn.004bed10
lea edx, [ebp - 0x404]
sub edx, eax
mov cl, byte [eax]
lea eax, [eax + 1]
mov byte [edx + eax - 1], cl
test cl, cl
jne 0x4d8e60
push 7
lea eax, [ebp - 0x404]
push str.locale_
push eax
call fcn.005ec9ca
add esp, 0xc
test eax, eax
jne 0x4d8ea4
call fcn.004bed10
lea edx, [ebp - 0x404]
lea ecx, [eax + 7]
sub edx, ecx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x4d8e97
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x104]
push eax
push 0x1ff
lea eax, [ebp - 0x304]
push eax
push 0
push esi
lea eax, [ebp - 0x404]
push eax
call edi
cmp byte [ebp - 0x304], 0
jne 0x4d8f31
push 0x1ff
lea eax, [ebp - 0x304]
push eax
push dword [ebp + 8]
push dword [0x6eaac4]
call dword [sym.imp.USER32.dll_LoadStringA]
cmp byte [ebp - 0x304], 0
jne 0x4d8f31
lea eax, [ebp - 0x104]
push eax
push 0x1ff
lea eax, [ebp - 0x304]
push eax
push 0
push esi
push 0x663cc8
call edi
cmp byte [ebp - 0x304], 0
jne 0x4d8f31
lea ecx, [ebp - 0x304]
sub ecx, esi
mov al, byte [esi]
lea esi, [esi + 1]
mov byte [ecx + esi - 1], al
test al, al
jne 0x4d8f24
lea eax, [ebp + 8]
mov ecx, 0x6eaac8
push eax
call fcn.004d8c50
lea ecx, [ebp - 0x304]
mov esi, eax
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4d8f50
sub ecx, edx
lea eax, [ebp - 0x304]
push ecx
push eax
mov ecx, esi
call fcn.00451ee0
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.005994b1
mov esp, ebp
pop ebp
ret
Function at 0x4dbb50
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x6ebfe8]
test eax, eax
je 0x4dbb94
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x6ebfe8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4dbb7e
push dword [0x6ebfe8]
call dword [sym.imp.USER32.dll_DestroyWindow]
push dword [0x6ebfec]
mov dword [0x6ebfe8], 0
call dword [sym.imp.USER32.dll_SetFocus]
ret
Function at 0x4ef890
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x4ef939
cmp byte [esi], 0
je 0x4ef939
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4ef8b0
sub ecx, edx
cmp ecx, 3
jb 0x4ef8c7
cmp byte [esi + 1], 0x3a
jne 0x4ef8c7
add esi, 3
mov ecx, esi
mov dword [ebp + 8], esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4ef8d0
sub ecx, edx
push edi
lea eax, [ecx + 1]
push eax
mov dword [ebp - 4], eax
call fcn.0059994e
mov cl, byte [esi]
add esp, 4
mov edi, eax
test cl, cl
je 0x4ef92f
push ebx
xor ebx, ebx
mov eax, esi
cmp cl, 0x2f
je 0x4ef900
cmp cl, 0x5c
jne 0x4ef922
push dword [ebp - 4]
push 0
push edi
call fcn.005d5420
push ebx
push esi
push edi
call fcn.005e3750
add esp, 0x18
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, dword [ebp + 8]
mov cl, byte [eax + 1]
inc eax
inc ebx
mov dword [ebp + 8], eax
test cl, cl
jne 0x4ef8f6
pop ebx
push edi
call fcn.00599784
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4f0fa0
Capabilities:
Get system information on windows
Print debug messages
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
sub esp, 0x24
push esi
mov esi, ecx
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0x130], ecx
test eax, eax
jne 0x4f0fbf
mov eax, dword [esi + 0x114]
mov dword [esi + 0x134], eax
add eax, ecx
cmp eax, dword [esi + 0x114]
jbe 0x4f0fd8
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0xc
push ebx
push edi
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edi, dword [esi + 0x130]
xor edx, edx
mov ecx, dword [ebp - 8]
mov eax, edi
div ecx
mov eax, dword [esi + 0x134]
mov ebx, edi
push 0
mov dword [ebp + 0x10], eax
sub ebx, edx
add eax, edi
mov dword [ebp + 0xc], ecx
push eax
push 0
push 2
push 0
push dword [esi + 0x110]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ecx, eax
mov dword [esi + 0x12c], ecx
test ecx, ecx
jne 0x4f103c
push str.CMappedFile::Map__m_hFM_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0xc
xor edx, edx
mov eax, edi
div dword [ebp + 0xc]
add edx, dword [ebp + 0x10]
push edx
push ebx
push 0
push 4
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 0x138], eax
test eax, eax
jne 0x4f107c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CMappedFile::Map__m_lpMapData__lu
call fcn.004ef1c0
add esp, 8
xor eax, eax
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0xc
sub eax, ebx
lea ecx, [eax + edi]
mov eax, dword [ebp + 8]
mov dword [esi + 0x13c], ecx
mov dword [eax], ecx
mov ecx, esi
push dword [esi + 0x13c]
mov dword [esi + 0x128], 0
push dword [esi + 0x134]
call fcn.004f0f80
mov eax, dword [esi + 0x134]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4f50a0
Capabilities:
Encode data using xor
Encrypt data using xtea

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor eax, eax
push edi
mov edi, dword [ebp + 8]
mov ebx, 0x20
mov edx, edi
mov ecx, edi
shl ecx, 4
dec ebx
shr edx, 5
xor edx, ecx
mov dword [ebp + 0xc], ebx
mov ebx, dword [ebp + 0x10]
mov ecx, eax
and ecx, 3
add edx, edi
mov ecx, dword [ebx + ecx*4]
add ecx, eax
sub eax, 0x61c88647
xor edx, ecx
add esi, edx
mov edx, esi
mov ecx, esi
shl ecx, 4
shr edx, 5
xor edx, ecx
mov ecx, eax
shr ecx, 0xb
add edx, esi
and ecx, 3
mov ecx, dword [ebx + ecx*4]
mov ebx, dword [ebp + 0xc]
add ecx, eax
xor edx, ecx
add edi, edx
test ebx, ebx
jne 0x4f50b3
mov eax, dword [ebp + 0x14]
mov dword [eax], esi
mov dword [eax + 4], edi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4f5110
Capabilities:
Encode data using xor
Encrypt data using xtea

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov eax, 0xc6ef3720
push edi
mov edi, dword [ebp + 8]
mov ebx, 0x20
mov edx, esi
mov ecx, esi
shl ecx, 4
dec ebx
shr edx, 5
xor edx, ecx
mov dword [ebp + 0xc], ebx
mov ebx, dword [ebp + 0x10]
mov ecx, eax
shr ecx, 0xb
add edx, esi
and ecx, 3
mov ecx, dword [ebx + ecx*4]
add ecx, eax
add eax, 0x61c88647
xor edx, ecx
sub edi, edx
mov edx, edi
mov ecx, edi
shl ecx, 4
shr edx, 5
xor edx, ecx
mov ecx, eax
and ecx, 3
add edx, edi
mov ecx, dword [ebx + ecx*4]
mov ebx, dword [ebp + 0xc]
add ecx, eax
xor edx, ecx
sub esi, edx
test ebx, ebx
jne 0x4f5126
mov eax, dword [ebp + 0x14]
mov dword [eax], esi
mov dword [eax + 4], edi
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4f5270
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
or eax, 0xffffffff
push edi
mov edi, dword [ebp + 0xc]
cmp edi, 0x10
jb 0x4f5302
mov ecx, edi
shr ecx, 4
push ebx
mov dword [ebp + 0xc], ecx
push esi
lea esi, [edx + 2]
mov ebx, 4
nop dword [eax + eax]
movsx ecx, byte [esi - 2]
lea esi, [esi + 4]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x6c5490]
movsx ecx, byte [esi - 5]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x6c5490]
movsx ecx, byte [esi - 4]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x6c5490]
movsx ecx, byte [esi - 3]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x6c5490]
sub ebx, 1
jne 0x4f52a0
add edx, 0x10
sub edi, 0x10
sub dword [ebp + 0xc], 1
jne 0x4f5290
pop esi
pop ebx
test edi, edi
je 0x4f5320
movsx ecx, byte [edx]
lea edx, [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x6c5490]
sub edi, 1
jne 0x4f5306
not eax
pop edi
pop ebp
ret