joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a6480
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6a32af
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x73c280]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [0x74896c], edi
lea esi, [edi + 4]
mov dword [edi], vtable.CPythonTextTail.0
push 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.005c8dfe
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, [edi + 0xc]
mov byte [ebp - 4], 1
push 0x18
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.005c8dfe
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, [edi + 0x14]
mov byte [ebp - 4], 2
push 0x18
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.005c8dfe
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
push 0xc
mov byte [ebp - 4], 3
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
call fcn.005c8dfe
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 0x1c], eax
push 0xc
mov byte [ebp - 4], 4
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
call fcn.005c8dfe
add esp, 0x14
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 0x24], eax
mov dword [edi + 0x2c], vtable.CDynamicPool_struct_CPythonTextTail::STextTail_.0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov ecx, edi
mov byte [ebp - 4], 6
call fcn.004a7a40
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 0x4aa070
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 0x4aa0ab
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 + 0x74aea0], eax
inc ecx
movzx eax, byte [ebp - 4]
cmp ecx, eax
jb 0x4aa082
movups xmm0, xmmword [0x74af3d]
push esi
xor esi, esi
movups xmmword [0x74ae80], xmm0
nop dword [eax]
call fcn.005069c0
mov dword [esi + 0x74ae80], eax
add esi, 4
cmp esi, 0x10
jb 0x4aa0c0
pop esi
push 0x10
push 0x74aec5
push 0x74ae80
push 0x74ae90
call fcn.0050c470
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x4af220
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x73c280]
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.004aec60
push 0x6be000
push esi
call fcn.00658891
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 str.CenterPos__f__f__f_n
push 0
push edi
call fcn.00523f30
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.00523f30
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.00523f30
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.00523f30
add esp, 0x54
push edi
call fcn.006587aa
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop edi
pop esi
call fcn.005c8a4d
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
add ecx, 4
pop ebp
jmp fcn.005391f0
Function at 0x4b6340
Capabilities:
Read file on windows

Disassembly:
push esi
push edi
push 0x6c17ec
push str.interface.cfg
mov edi, ecx
call fcn.00658891
mov esi, eax
add esp, 8
test esi, esi
jne 0x4b6361
pop edi
xor al, al
pop esi
ret
push esi
push 0xc8
lea eax, [edi + 0x2648]
push 1
push eax
call fcn.006596cc
push esi
call fcn.006587aa
add esp, 0x14
mov al, 1
pop edi
pop esi
ret

Function at 0x4b9680
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 0x4b96d6
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 0x4b96fd
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 0x4b971f
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 0x6c17ec
push edi
call fcn.00658891
mov esi, eax
add esp, 8
test esi, esi
jne 0x4b974e
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 2
push 2
push 0
push esi
call fcn.00659ab1
push esi
call fcn.0065a20c
push 0
push 0
push esi
mov dword [ebx + 0x390], eax
call fcn.00659ab1
push dword [ebx + 0x390]
call fcn.005c91ea
push esi
push 1
push dword [ebx + 0x390]
mov dword [ebx + 0x398], eax
push eax
call fcn.006596cc
push esi
call fcn.006587aa
push edi
call fcn.0050c820
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 0x4ba9e0
Capabilities:
Access peb ldr_data
Create directory
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6a3b0c
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push esi
push edi
mov eax, dword [0x73c280]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1c], edi
mov dword [0x74ae40], edi
lea esi, [edi + 4]
mov dword [edi], vtable.CGuildMarkManager.0
mov dword [ebp - 0x18], esi
push 0x18
mov dword [ebp - 4], 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.005c8dfe
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, [edi + 0xc]
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], esi
push 0x18
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.005c8dfe
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, [edi + 0x14]
mov byte [ebp - 4], 2
mov dword [ebp - 0x18], esi
push 0x14
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.005c8dfe
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
xorps xmm0, xmm0
movups xmmword [edi + 0x1c], xmm0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0xf
mov byte [edi + 0x1c], 0
add edi, 0x34
mov byte [ebp - 4], 4
mov dword [ebp - 0x18], edi
push 0x24
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.005c8dfe
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.0065d7db
add esp, 0x14
xor edi, edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00447320
mov ecx, dword [eax + 8]
movq xmm0, qword [eax]
movq qword [ebp - 0x30], xmm0
cmp byte [ecx + 0xd], 0
jne 0x4bab31
mov eax, dword [ebp - 0x14]
cmp eax, dword [ecx + 0x10]
jae 0x4bab84
cmp dword [esi + 4], 0xccccccc
je 0x4babaf
mov edi, dword [esi]
mov dword [ebp - 0x24], esi
push 0x14
mov byte [ebp - 4], 6
mov dword [ebp - 0x20], 0
call fcn.005c8dfe
mov ecx, dword [ebp - 0x10]
add esp, 4
mov byte [ebp - 4], 5
mov dword [ebp - 0x20], 0
mov dword [eax + 0x10], ecx
mov ecx, esi
push eax
push dword [ebp - 0x2c]
mov dword [eax], edi
push dword [ebp - 0x30]
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov word [eax + 0xc], 0
call fcn.00446c80
mov edi, dword [ebp - 0x10]
inc edi
mov eax, edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edi
cmp eax, 0x1900
jb 0x4bab08
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.00446e70
int3
Function at 0x4bcfa0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6a3d63
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x73c280]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
lea edi, [esi + 0x18]
mov dword [ebp - 4], 0
movups xmmword [edi], xmm0
lea eax, [edi + 0x10]
mov dword [edi + 0x14], 0xf
mov dword [eax], 0
mov dword [ebp - 0x10], eax
mov byte [edi], 0
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 1
call fcn.0043c810
push 0
push 0
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.004bd610
xor eax, eax
mov byte [esi + 0x38], 0
mov word [esi + 0x94], ax
mov byte [esi + 0x96], al
mov dword [esi + 0x98], eax
mov eax, esi
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x70], 0
cmp dword [esi + 0x14], 0xf
jbe 0x4bd0d1
mov eax, dword [esi]
mov dword [esi + 0x10], 0
mov byte [eax], 0
cmp dword [edi + 0x14], 0xf
jbe 0x4bd0e3
mov edi, dword [edi]
mov eax, dword [ebp - 0x10]
lea ecx, [esi + 0x30]
mov dword [eax], 0
mov byte [edi], 0
call fcn.0043ca30
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
Function at 0x4e0fb0
Capabilities:
Send icmp echo request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbc
mov eax, dword [0x73c280]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x40], ecx
mov ecx, dword [0x748958]
add ecx, 4
push ebx
push esi
push edi
mov eax, dword [ecx]
call dword [eax + 0x88]
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x4e1095
mov ecx, eax
call fcn.004414c0
test eax, eax
je 0x4e1095
xor ebx, ebx
call dword [sym.imp.IPHLPAPI.DLL_IcmpCreateFile]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4e10a8
call dword [sym.imp.KERNEL32.dll_GetLastError]
movaps xmm0, xmmword [0x6ba340]
lea ecx, [ebp - 0x30]
movups xmmword [ebp - 0xbc], xmm0
mov esi, eax
lea eax, [ebp - 0xbc]
movaps xmm0, xmmword [0x6c85e0]
movups xmmword [ebp - 0xac], xmm0
push eax
movaps xmm0, xmmword [0x6c8ea0]
movups xmmword [ebp - 0x9c], xmm0
mov dword [ebp - 0x4c], 0x274
movaps xmm0, xmmword [0x6c8690]
movups xmmword [ebp - 0x8c], xmm0
mov dword [ebp - 0x48], 0xa7
movaps xmm0, xmmword [0x6c8280]
movups xmmword [ebp - 0x7c], xmm0
mov dword [ebp - 0x44], ebx
movaps xmm0, xmmword [0x6c8740]
movups xmmword [ebp - 0x6c], xmm0
movaps xmm0, xmmword [0x6c8260]
movups xmmword [ebp - 0x5c], xmm0
call fcn.00454140
lea eax, [ebp - 0x30]
push esi
push eax
call fcn.00505750
add esp, 8
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c8a4d
mov esp, ebp
pop ebp
ret
push 0x20
mov dword [ebp - 0x38], 0x80
mov dword [ebp - 0x34], ebx
call fcn.0065d7d0
mov esi, eax
add esp, 4
test esi, esi
jne 0x4e113f
movaps xmm0, xmmword [0x6c8bc0]
lea eax, [ebp - 0xa0]
movups xmmword [ebp - 0xa0], xmm0
lea ecx, [ebp - 0x2c]
movaps xmm0, xmmword [0x6c88e0]
movups xmmword [ebp - 0x90], xmm0
push eax
movaps xmm0, xmmword [0x6c9490]
movups xmmword [ebp - 0x80], xmm0
movaps xmm0, xmmword [0x6c8bb0]
movups xmmword [ebp - 0x70], xmm0
movaps xmm0, xmmword [0x6c85c0]
movups xmmword [ebp - 0x60], xmm0
movaps xmm0, xmmword [0x6ba070]
movups xmmword [ebp - 0x50], xmm0
call fcn.004d0cc0
lea eax, [ebp - 0x2c]
push eax
call fcn.00505750
add esp, 4
push edi
call dword [sym.imp.IPHLPAPI.DLL_IcmpCloseHandle]
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c8a4d
mov esp, ebp
pop ebp
ret
push 0x1388
push 0x20
push esi
lea eax, [ebp - 0x38]
push eax
push 4
push str.Hello_from_ICMP_ping
push str.57.129.24.163
call sub.WS2_32.dll_inet_addr
push eax
push edi
call dword [sym.imp.IPHLPAPI.DLL_IcmpSendEcho]
test eax, eax
je 0x4e116b
mov ebx, dword [esi + 8]
push esi
call fcn.00658410
add esp, 4
push edi
call dword [sym.imp.IPHLPAPI.DLL_IcmpCloseHandle]
test ebx, ebx
je 0x4e1095
mov ecx, dword [ebp - 0x3c]
mov byte [ebp - 0x10], 0x6c
mov dword [ebp - 0xf], ebx
call fcn.00440e90
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0xb], eax
lea eax, [ebp - 0x10]
push eax
push 9
call fcn.0052d010
test al, al
je 0x4e1095
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005c8a4d
mov esp, ebp
pop ebp
ret
Function at 0x4ed540
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x73c280]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
lea edx, [ebp - 0x38]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, dword [ebp + 0xc]
push edx
push 0
push 0
mov dword [ebp - 0x44], eax
mov eax, dword [ecx]
push edi
push ecx
mov dword [ebp - 0x38], 0
call dword [eax + 0x34]
mov ebx, eax
mov dword [ebp - 0x48], ebx
test ebx, ebx
js 0x4ed6e1
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
push dword [esi + 0xc]
push dword [esi + 8]
call fcn.004ec690
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004ec600
push 0
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
call fcn.004ec750
push 0
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
call fcn.004ec750
mov ecx, dword [ebp - 0x44]
push 1
push ecx
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, dword [ebp - 0x38]
push 0
push 0
push 0
mov eax, dword [ecx]
push 0
push ecx
call dword [eax + 0x18]
test eax, eax
jne 0x4ed6b5
mov ebx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop dword [eax]
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
push dword [esi + 0xc]
push dword [esi + 8]
call fcn.004ec690
mov ecx, dword [esi + 0x20]
lea edx, [ebp - 0x14]
push 0
push 0x1000000
push 0
mov eax, dword [ecx]
push edi
push edx
push ecx
call dword [eax + 0x14]
test eax, eax
jns 0x4ed678
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [edi]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x3c]
push eax
push edi
call dword [ecx + 0x44]
test eax, eax
js 0x4ed66d
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
sub eax, edx
mov ecx, dword [ebp - 0x14]
push 0xcc0020
push dword [esi + 0xc]
push dword [esi + 8]
push 0
push 0
push dword [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0xc]
sub eax, ecx
push eax
push edx
push ecx
push dword [ebp - 0x40]
call dword [sym.imp.GDI32.dll_StretchBlt]
push dword [ebp - 0x3c]
mov eax, dword [edi]
push edi
call dword [eax + 0x68]
push dword [ebp - 0x40]
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp byte [ebp + 0x14], 0
je 0x4ed699
push 1
call ebx
test ax, ax
js 0x4ed6b2
push 0x1b
call ebx
test ax, ax
js 0x4ed6b2
push 0x20
call ebx
test ax, ax
js 0x4ed6b2
mov ecx, dword [ebp - 0x38]
push 0
push 0
push 0
mov eax, dword [ecx]
push 0
push ecx
call dword [eax + 0x18]
test eax, eax
je 0x4ed5f0
mov ebx, dword [ebp - 0x48]
sub dword [ebp + 0x18], 1
jne 0x4ed6cb
push dword [ebp + 0x1c]
mov ecx, esi
push 0x514
push edi
call fcn.004ed010
mov ecx, dword [ebp - 0x44]
push 0
push ecx
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005c8a4d
mov esp, ebp
pop ebp
ret 0x18
Function at 0x4ed700
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6a4fbd
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x73c280]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 4
call fcn.005c8dfe
add esp, 4
test eax, eax
je 0x4ed73c
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
jmp 0x4ed73e
xor eax, eax
mov dword [ebp + 8], eax
lea edi, [esi + 4]
mov dword [ebp - 4], 0
push edi
push 0
push eax
push 0x4ed8e0
push 0
push 0
call fcn.00659003
add esp, 0x18
mov dword [esi], eax
test eax, eax
je 0x4ed77b
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
push 6
mov dword [edi], 0
call fcn.005c7b02
int3
Function at 0x4ee3a0
Capabilities:
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x73c280]
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 0x4ee3fb
lea edi, [ebp - 0x104]
dec edi
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x4ee3e8
mov ax, word [0x6ca664]
mov word [edi], ax
lea ecx, [ebp - 0x104]
dec ecx
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x4ee402
mov eax, dword [str.metin2client.dat]
mov dword [ecx], eax
mov eax, dword [0x6ca844]
mov dword [ecx + 4], eax
mov eax, dword [0x6ca848]
mov dword [ecx + 8], eax
mov eax, dword [0x6ca84c]
mov dword [ecx + 0xc], eax
mov al, byte [0x6ca850]
mov byte [ecx + 0x10], al
call fcn.004bb580
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 0x4ee440
push 7
lea eax, [ebp - 0x404]
push str.locale_
push eax
call fcn.0065d845
add esp, 0xc
test eax, eax
jne 0x4ee484
call fcn.004bb580
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 0x4ee477
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 0x4ee511
push 0x1ff
lea eax, [ebp - 0x304]
push eax
push dword [ebp + 8]
push dword [0x74db88]
call dword [sym.imp.USER32.dll_LoadStringA]
cmp byte [ebp - 0x304], 0
jne 0x4ee511
lea eax, [ebp - 0x104]
push eax
push 0x1ff
lea eax, [ebp - 0x304]
push eax
push 0
push esi
push 0x6ca85c
call edi
cmp byte [ebp - 0x304], 0
jne 0x4ee511
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 0x4ee504
lea eax, [ebp + 8]
mov ecx, 0x74db8c
push eax
call fcn.004edbb0
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 0x4ee530
sub ecx, edx
lea eax, [ebp - 0x304]
push ecx
push eax
mov ecx, esi
call fcn.00445140
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.005c8a4d
mov esp, ebp
pop ebp
ret

Function at 0x4ee980
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6a53af
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x73c280]
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
call fcn.0043c74a
pushf
push 0xa
Function at 0x4f1a00
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x74f034]
test eax, eax
je 0x4f1a44
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x74f034]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4f1a2e
push dword [0x74f034]
call dword [sym.imp.USER32.dll_DestroyWindow]
push dword [0x74f038]
mov dword [0x74f034], 0
call dword [sym.imp.USER32.dll_SetFocus]
ret

Function at 0x4f1fa0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov edx, esi
push edi
mov edi, dword [ebp + 0x10]
mov ecx, esi
dec edi
mov dword [ebp + 0xc], edx
mov eax, edi
mov dword [ebp - 8], edi
sar eax, 1
mov dword [ebp - 4], eax
cmp esi, eax
jge 0x4f1ffe
nop dword [eax + eax]
lea edi, [ecx + ecx]
push dword [ebx + edi*4 + 4]
mov ecx, dword [ebx + edi*4 + 8]
call fcn.004f8da0
movzx ecx, al
xor ecx, 1
inc ecx
add ecx, edi
mov eax, dword [ebx + ecx*4]
mov dword [ebx + esi*4], eax
mov esi, ecx
mov eax, dword [ebp - 4]
cmp ecx, eax
jl 0x4f1fd0
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp - 8]
cmp ecx, eax
jne 0x4f2012
mov eax, dword [ebp + 0x10]
test al, 1
jne 0x4f2012
mov eax, dword [ebx + eax*4 - 4]
mov dword [ebx + esi*4], eax
mov esi, edi
cmp edx, esi
jge 0x4f2039
mov eax, dword [ebp + 0x14]
lea edi, [esi - 1]
sar edi, 1
push dword [eax]
mov ecx, dword [ebx + edi*4]
call fcn.004f8da0
test al, al
je 0x4f2039
mov eax, dword [ebx + edi*4]
mov dword [ebx + esi*4], eax
mov esi, edi
cmp dword [ebp + 0xc], edi
jl 0x4f2016
mov eax, dword [ebp + 0x14]
pop edi
mov eax, dword [eax]
mov dword [ebx + esi*4], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x505e00
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x505ea9
cmp byte [esi], 0
je 0x505ea9
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x505e20
sub ecx, edx
cmp ecx, 3
jb 0x505e37
cmp byte [esi + 1], 0x3a
jne 0x505e37
add esi, 3
mov ecx, esi
push ebx
push edi
mov edi, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x505e40
sub ecx, edx
lea eax, [ecx + 1]
push eax
mov dword [ebp - 4], eax
call fcn.005c91ea
mov ebx, eax
add esp, 4
mov al, byte [esi]
test al, al
je 0x505e9e
xor ecx, ecx
mov dword [ebp + 8], ecx
cmp al, 0x2f
je 0x505e6e
cmp byte [edi], 0x5c
jne 0x505e92
push dword [ebp - 4]
push 0
push ebx
call fcn.006430f0
push dword [ebp + 8]
push esi
push ebx
call fcn.006540e0
add esp, 0x18
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [ebp + 8]
mov al, byte [edi + 1]
inc edi
inc ecx
mov dword [ebp + 8], ecx
test al, al
jne 0x505e65
push ebx
call fcn.005c913b
add esp, 4
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret