joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001af0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, eax
push edi
lea ebx, [esi + 0x1989c]
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor edi, edi
cmp dword [esi + 0x19890], edi
jle 0x10001b49
lea ebx, [esi + 0xcc50]
mov eax, dword [esi + 0x19890]
mov edx, dword [esi + 4]
push 0
push eax
lea ecx, [ebx + edi]
push ecx
push edx
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x10001b59
sub dword [esi + 0x19890], eax
add edi, eax
cmp dword [esi + 0x19890], 0
jg 0x10001b19
mov ebx, dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x10001b92
mov eax, dword [esi + 0x19890]
push eax
lea ecx, [edi + esi + 0xcc50]
push ecx
push ebx
call dword [sym.imp.MSVCR100.dll_memmove]
mov edx, dword [ebp - 4]
add esp, 0xc
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
mov eax, 0xa
call fcn.10011200
push eax
push 0
mov ecx, 0x1003d6d8
call fcn.100075a0
add esp, 0xc
call fcn.100016a0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10002af0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
push 0
push 0x20
push 3
push 0
push 1
push closesocket
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x10002b50
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esi + 8], eax
mov eax, dword [esi + 4]
test eax, eax
je 0x10002b36
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov dword [esi + 4], 0
mov ecx, dword [esi + 8]
push ecx
call fcn.100140d0
add esp, 4
mov dword [esi + 4], eax
test eax, eax
jne 0x10002b57
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop edi
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 8]
push 0
lea edx, [ebp - 4]
push edx
push ecx
push eax
push edi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
test eax, eax
je 0x10002b4a
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x10002b90
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
call fcn.10002af0
test al, al
jne 0x10002b9e
pop esi
ret
push edi
mov edi, dword [esi + 8]
cmp edi, 8
jae 0x10002bac
pop edi
xor al, al
pop esi
ret
mov edx, dword [esi + 4]
mov eax, 0x1001ab78
mov ecx, 8
sub edx, eax
push ebx
lea esp, [esp]
mov ebx, dword [edx + eax]
cmp ebx, dword [eax]
jne 0x10002c2e
sub ecx, 4
add eax, 4
cmp ecx, 4
jae 0x10002bc0
add edi, 0xfffffff8
xor eax, eax
test edi, edi
jle 0x10002c23
jmp 0x10002be0
mov ecx, dword [esi + 4]
mov edx, eax
and edx, 0x1f
movsx edx, byte [edx + 0x10042704]
and edx, 0xf
movzx edx, byte [edx + 0x1001ab80]
sub byte [ecx + eax + 8], dl
lea ecx, [ecx + eax + 8]
mov ecx, dword [esi + 4]
mov edx, eax
and edx, 0xf
movzx edx, byte [edx + 0x1001ab80]
xor byte [ecx + eax + 8], dl
lea ecx, [ecx + eax + 8]
mov ecx, dword [esi + 8]
inc eax
sub ecx, 8
cmp eax, ecx
jl 0x10002be0
mov edi, esi
call fcn.10002c40
pop ebx
pop edi
pop esi
ret
pop ebx
pop edi
xor al, al
pop esi
ret

Function at 0x10002c40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea esi, [edi + 0xc]
call dword [sym.imp.MSVCR100.dll_rand]
cdq
mov ecx, 0x3e8
idiv ecx
push edx
push 0x1001ab90
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0x102
push 2
push 0
push 7
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x10002cb3
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
push 0
lea edx, [ebp - 4]
push edx
sub eax, 8
push eax
add ecx, 8
push ecx
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
test eax, eax
jne 0x10002cba
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10002cd0
Capabilities:
Delete file

Disassembly:
push edi
lea edi, [esi + 0xc]
mov ecx, 0x1001aba8
mov eax, edi
jmp 0x10002ce0
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10002d00
test dl, dl
je 0x10002cfc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10002d00
add eax, 2
add ecx, 2
test dl, dl
jne 0x10002ce0
xor eax, eax
jmp 0x10002d05
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x10002d3c
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x10002d3c
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
push 0x100
push 0
push edi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call sub.MSVCR100.dll_memset
add esp, 0x10
pop edi
ret
Function at 0x10002e00
Capabilities:
Check for time delay via gettickcount
Connect to http server
Create http request
Delete file
Send file using ftp

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
mov eax, dword [0x1001f018]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x10047570], 0
push ebx
push esi
push edi
je 0x10002f31
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x1003d620]
cmp eax, 0x927c0
jb 0x10002e3f
call esi
mov dword [0x1003d620], eax
push 0
push 0
push 0
push 1
push 0
call dword [sym.imp.WININET.dll_InternetOpenA]
push 0
push 0
push 1
push 0x100475b8
mov ebx, eax
movzx eax, word [0x10047594]
push 0x10047598
push eax
push 0x10047574
push ebx
call dword [sym.imp.WININET.dll_InternetConnectA]
lea ecx, [ebp - 0x120]
push ecx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx edx, word [ebp - 0x11a]
movzx eax, word [ebp - 0x11e]
movzx ecx, word [ebp - 0x120]
push edx
push eax
push ecx
lea edx, [ebp - 0x110]
push str._04d__02d__02d
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea eax, [ebp - 0x110]
push eax
push esi
call dword [sym.imp.WININET.dll_FtpCreateDirectoryA]
lea ecx, [ebp - 0x110]
push ecx
lea edi, [ebp - 0x13c]
call fcn.100030d0
mov eax, dword [ebp - 0x13c]
mov edi, 0x10
cmp dword [ebp - 0x128], edi
jae 0x10002eea
lea eax, [ebp - 0x13c]
push 0
push 2
push eax
push str.image.jpeg
push esi
call dword [sym.imp.WININET.dll_FtpPutFileA]
test eax, eax
je 0x10002f0b
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push ebx
call esi
push str.image.jpeg
call dword [sym.imp.MSVCR100.dll_remove]
add esp, 4
cmp dword [ebp - 0x128], edi
jb 0x10002f31
mov edx, dword [ebp - 0x13c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10014184
mov esp, ebp
pop ebp
ret
Function at 0x10002f50
Capabilities:
Check for time delay via gettickcount
Connect to http server
Create http request
Send file using ftp

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x1001f018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
mov dword [ebp - 0x210], eax
call esi
sub eax, dword [0x1003d620]
cmp eax, 0x927c0
jb 0x10002f8a
call esi
mov dword [0x1003d620], eax
push 0
push 0
push 0
push 1
push 0
call dword [sym.imp.WININET.dll_InternetOpenA]
movzx ecx, word [0x10047594]
push 0
push 0
push 1
push 0x100475b8
push 0x10047598
push ecx
mov edi, eax
push 0x10047574
push edi
call dword [sym.imp.WININET.dll_InternetConnectA]
mov edx, dword [str.Tools]
push 0xfe
mov esi, eax
mov ax, word [0x1001abcc]
lea ecx, [ebp - 0x102]
push 0
push ecx
mov dword [ebp - 0x108], edx
mov word [ebp - 0x104], ax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea edx, [ebp - 0x108]
push edx
push esi
call dword [sym.imp.WININET.dll_FtpCreateDirectoryA]
mov eax, dword [ebp - 0x210]
push eax
lea ecx, [ebp - 0x108]
push ecx
push str._s__s
lea edx, [ebp - 0x20c]
push 0x104
push edx
call dword [sym.imp.MSVCR100.dll_sprintf_s]
add esp, 0x14
push 0
push 2
lea eax, [ebp - 0x20c]
push eax
push ebx
push esi
call dword [sym.imp.WININET.dll_FtpPutFileA]
test eax, eax
je 0x1000304a
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10014184
mov esp, ebp
pop ebp
ret 4

Function at 0x100039b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x1001f018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1003d648]
cmp eax, 0x64
jle 0x100039d1
mov eax, 1
jmp 0x100039d2
inc eax
push eax
mov dword [0x1003d648], eax
lea eax, [ebp - 0x28]
push 0x1001ac64
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0xc
lea ecx, [ebp - 0x2c]
push ecx
push 0xf003f
push 0
push str.SOFTWAREWebzenMuConfig
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10003a2b
push 0x24
lea edx, [ebp - 0x28]
push edx
push 1
push eax
mov eax, dword [ebp - 0x2c]
push str.VolumeEffect
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov al, 1
call fcn.10014184
mov esp, ebp
pop ebp
ret
Function at 0x10004bc0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ecx, 0x15
call fcn.10007d10
push eax
push 1
push 2
push 0x1001f140
mov dword [ebp - 4], eax
call fcn.10011240
add esp, 4
push eax
xor esi, esi
push esi
mov ecx, 0x1003d6d8
call fcn.100075a0
mov eax, dword [0x1004761c]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, dword [sym.imp.USER32.dll_UnregisterClassA]
add esp, 0x14
cmp eax, esi
je 0x10004c28
push esi
push esi
push 0x10
push eax
call edi
mov eax, dword [0x100485dc]
mov ecx, dword [str.SPLASH]
push eax
push ecx
mov dword [0x1004761c], esi
call ebx
mov eax, dword [0x10047744]
cmp eax, esi
je 0x10004c4d
push esi
push esi
push 0x10
push eax
call edi
mov edx, dword [0x100485dc]
mov eax, dword [str.SPLASH]
push edx
push eax
mov dword [0x10047744], esi
call ebx
mov eax, dword [0x1004786c]
cmp eax, esi
je 0x10004c73
push esi
push esi
push 0x10
push eax
call edi
mov ecx, dword [0x100485dc]
mov edx, dword [str.SPLASH]
push ecx
push edx
mov dword [0x1004786c], esi
call ebx
mov eax, dword [ebp - 4]
push 0x2b39c0
push 0x6a
mov esi, 0x10047868
call fcn.100107c0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
push esi
push 0x10010fe0
push 0
push 0
mov dword [0x10047870], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, dword [0x10047870]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [0x10047870]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x1004786c]
test eax, eax
je 0x10004cff
push 0
push 0
push 0x10
push eax
call edi
mov edx, dword [0x100485dc]
mov eax, dword [str.SPLASH]
push edx
push eax
mov dword [0x1004786c], 0
call ebx
call fcn.10010c50
int3

Function at 0x10005730
Capabilities:
Check mutex on windows

Disassembly:
push edi
xor edi, edi
mov eax, 1
cmp dword [0x1003d658], edi
jle 0x1000579a
push ebx
xor ebx, ebx
push esi
mov eax, dword [0x1003d65c]
add eax, ebx
cmp dword [eax + 0x14], 0x10
jb 0x10005753
mov eax, dword [eax]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x10005789
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
add ebx, 0x1c
cmp edi, dword [0x1003d658]
jl 0x10005744
pop esi
pop ebx
mov eax, 1
pop edi
ret
inc edi
mov dword [0x1003d670], esi
pop esi
mov dword [0x1003d66c], edi
xor eax, eax
pop ebx
pop edi
ret
Function at 0x10005d30
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov eax, dword [0x100485a4]
test eax, eax
je 0x10005da3
mov ecx, dword [eax]
cmp ecx, dword [0x100485b8]
jne 0x10005d4f
mov dl, byte [0x100485bc]
cmp dl, byte [eax + 4]
je 0x10005da3
push 0x100
push 0
push 0x10048ec8
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
jmp 0x10005d70
mov cl, byte [eax + 0x10018878]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x10048ec8], cl
inc eax
cmp eax, 0x100
jb 0x10005d70
push 0x10048ec8
push 0
mov ecx, 0x1003d6d8
call fcn.100075a0
add esp, 8
call fcn.10010c50
mov eax, dword [0x100485a0]
test eax, eax
je 0x10005de0
mov edx, dword [eax]
cmp edx, dword [0x100485b0]
jne 0x10005dc1
mov cl, byte [0x100485b4]
cmp cl, byte [eax + 4]
je 0x10005de0
mov eax, 0x10
call fcn.10011200
push eax
push 0
mov ecx, 0x1003d6d8
call fcn.100075a0
add esp, 8
call fcn.10010c50
mov eax, dword [0x1004859c]
test eax, eax
je 0x10005e05
mov edx, dword [eax]
cmp edx, dword [0x100485a8]
jne 0x10005dfe
mov cl, byte [0x100485ac]
cmp cl, byte [eax + 4]
je 0x10005e05
mov eax, 0x11
jmp 0x10005dc6
pop ecx
ret
Function at 0x10007080
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x1001f018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [0x1003d67c]
mov dword [ebp - 0x48], eax
xor al, al
mov dword [ebp - 0x40], ecx
mov byte [ebp - 0x25], al
cmp edi, dword [0x1003d680]
je 0x1000719e
mov ebx, dword [ebp - 0x38]
mov ecx, 4
lea edx, [ebp - 0x24]
sub ecx, edx
mov dword [ebp - 0x44], ecx
cmp byte [edi], 0
jne 0x1000716f
test al, al
jne 0x100070f5
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x38]
push eax
push ecx
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x30]
lea ebx, [ebp - 0x2c]
call fcn.10007200
test al, al
je 0x1000719e
mov ebx, dword [ebp - 0x38]
mov byte [ebp - 0x25], 1
mov esi, dword [edi + 4]
mov eax, dword [ebx + 0x34]
mov edx, esi
sub edx, eax
push edx
push eax
push ebx
call dword [sym.imp.dbghelp.dll_ImageRvaToSection]
test eax, eax
je 0x1000716c
mov ecx, dword [eax + 0x14]
sub ecx, dword [eax + 0xc]
push 0
sub ecx, dword [ebx + 0x34]
push 0
add ecx, esi
mov esi, dword [ebp - 0x2c]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x1000716c
push 0
lea edx, [ebp - 0x3c]
push edx
push 0x20
lea eax, [ebp - 0x24]
push eax
push esi
mov dword [ebp - 0x3c], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1000716c
mov edx, dword [ebp - 0x44]
mov ecx, 0x20
lea eax, [ebp - 0x24]
lea edx, [edx + edi + 4]
cmp ecx, 4
jb 0x100071b3
mov esi, dword [edx + eax]
cmp esi, dword [eax]
jne 0x1000716c
sub ecx, 4
add eax, 4
jmp 0x10007158
mov al, byte [ebp - 0x25]
add edi, 0x48
cmp edi, dword [0x1003d680]
jne 0x100070c3
test al, al
je 0x1000719e
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [ebp - 0x30]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [ebp - 0x2c]
push edx
call esi
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10014184
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x34]
lea esi, [edi + 0x28]
mov edi, dword [ebp - 0x40]
mov ecx, 8
push eax
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [ebp - 0x30]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [ebp - 0x2c]
push edx
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor al, al
pop ebx
call fcn.10014184
mov esp, ebp
pop ebp
ret 4
Function at 0x10007200
Capabilities:
Parse pe header
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x1001f018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push 0
push 0
push 3
push 0
push 1
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp + 0xc]
push closesocket
push eax
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x40], ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x10007253
lea edx, [ebp - 0x38]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
jne 0x10007266
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10014184
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
push edi
push 0
push eax
push ecx
push 2
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov edi, eax
test edi, edi
jne 0x1000729d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10014184
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp - 0x14]
push edx
push 0
push 0
push 4
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x100072db
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100072d4
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100072d4
mov edx, 0x14c
cmp word [ecx + 4], dx
je 0x100072fb
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push esi
call edi
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10014184
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp - 0x44]
mov dword [ebx], esi
mov dword [edx], edi
mov edx, dword [ebp - 0x3c]
mov dword [edx], eax
mov eax, dword [ebp - 0x40]
mov dword [eax], ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.10014184
mov esp, ebp
pop ebp
ret 8
Function at 0x10007490
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1001f018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1003d8f0]
push esi
push edi
test eax, eax
js 0x10007588
cmp eax, 1
jge 0x10007588
mov esi, eax
imul esi, esi, 0x214
add esi, 0x1003d6dc
push str..GameGuardLogs
inc eax
lea edi, [esi + 4]
push 0x100
mov dword [0x1003d8f0], eax
push edi
mov dword [esi], 1
call dword [sym.imp.MSVCR100.dll_strcpy_s]
add esp, 0xc
cmp dword [esi], 0
je 0x10007588
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [ebp - 0xe]
movzx edx, word [ebp - 0x12]
movzx eax, word [ebp - 0x14]
push 0
push 0x80
push 4
push 0
push 1
mov dword [esi + 0x104], ecx
push 0x40000000
lea ecx, [esi + 0x110]
push ecx
mov dword [esi + 0x108], edx
mov dword [esi + 0x10c], eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esi + 0x210], eax
cmp eax, 0xffffffff
jne 0x10007563
mov dword [esi], 0
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10014184
mov esp, ebp
pop ebp
ret
push 2
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x10007588
mov edx, dword [esi + 0x210]
push edx
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10014184
mov esp, ebp
pop ebp
ret
Function at 0x100075a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x820
mov eax, dword [0x1001f018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
test eax, eax
js 0x100077bd
cmp eax, dword [ecx + 0x218]
jge 0x100077bd
imul eax, eax, 0x214
cmp dword [eax + ecx + 4], 0
lea esi, [eax + ecx + 4]
je 0x100077bd
lea eax, [ebp - 0x818]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [ebp - 0x812]
cmp ecx, dword [esi + 0x104]
jne 0x1000761f
movzx edx, word [ebp - 0x816]
cmp edx, dword [esi + 0x108]
jne 0x1000761f
movzx eax, word [ebp - 0x818]
cmp eax, dword [esi + 0x10c]
je 0x100076c6
mov ecx, dword [esi + 0x210]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call edi
movzx edx, word [ebp - 0x812]
movzx eax, word [ebp - 0x816]
movzx ecx, word [ebp - 0x818]
push 0
push 0x80
push 4
push 0
push 1
mov dword [esi + 0x104], edx
push 0x40000000
lea edx, [esi + 0x110]
push edx
mov dword [esi + 0x108], eax
mov dword [esi + 0x10c], ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esi + 0x210], eax
cmp eax, 0xffffffff
jne 0x10007695
mov dword [esi], 0
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10014184
mov esp, ebp
pop ebp
ret
push 2
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x100076c6
mov eax, dword [esi + 0x210]
push eax
mov dword [esi], 0
call edi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10014184
mov esp, ebp
pop ebp
ret
push 0x3ff
lea ecx, [ebp - 0x807]
push 0
push ecx
mov byte [ebp - 0x808], 0
call sub.MSVCR100.dll_memset
mov eax, dword [ebp + 0xc]
lea edx, [ebp + 0x10]
push edx
push eax
lea ecx, [ebp - 0x808]
push 0x400
push ecx
call dword [sym.imp.MSVCR100.dll_vsprintf_s]
push 0x3ff
lea edx, [ebp - 0x407]
push 0
push edx
mov byte [ebp - 0x408], 0
call sub.MSVCR100.dll_memset
movzx ecx, word [ebp - 0x80c]
movzx edx, word [ebp - 0x80e]
lea eax, [ebp - 0x808]
push eax
movzx eax, word [ebp - 0x810]
push ecx
push edx
push eax
lea ecx, [ebp - 0x408]
push str._02d:_02d:_02d__s_r_n
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x408]
add esp, 0x40
xor ecx, ecx
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10007753
sub eax, edi
test eax, eax
jle 0x1000778d
mov dl, byte [ebp + ecx - 0x408]
xor dl, 0xe1
add dl, 0x12
lea eax, [ebp - 0x408]
mov byte [ebp + ecx - 0x408], dl
inc ecx
lea edi, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10007780
sub eax, edi
cmp ecx, eax
jl 0x10007760
lea eax, [ebp - 0x408]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10007796
push 0
sub eax, edx
lea ecx, [ebp - 0x81c]
push ecx
push eax
mov eax, dword [esi + 0x210]
lea edx, [ebp - 0x408]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10014184
mov esp, ebp
pop ebp
ret
Function at 0x10007800
Capabilities:
Create thread

Disassembly:
cmp dword [0x10048768], 0
je 0x10007846
mov eax, dword [0x100485dc]
push 0x10048a8c
mov dword [0x1003d8f8], eax
xor eax, eax
push eax
push 0x1003d8f4
push 0x10007930
push eax
push eax
mov dword [0x1003d900], eax
mov dword [0x1003d904], eax
mov dword [0x1003d908], eax
mov dword [0x1003d90c], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x1003d8fc], eax
ret

Function at 0x10007850
Capabilities:
Check for time delay via gettickcount

Disassembly:
cmp dword [0x10048790], 0
je 0x1000786d
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, dword [0x10048790]
cmp eax, dword [ecx]
jne case.0x100078a3.0
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
sub eax, dword [esi*4 + 0x1003d900]
cmp eax, 0x1388
jb 0x10007898
call edi
mov dword [esi*4 + 0x1003d900], eax
mov dword [esi*4 + 0x1003d908], 0
mov eax, dword [0x1004876c]
pop edi
cmp eax, 5
ja case.default.0x100078a3
jmp dword [eax*4 + 0x10007910]
inc dword [esi*4 + 0x1003d908]
cmp dword [esi*4 + 0x1003d908], 0x19
jmp 0x100078fd
inc dword [esi*4 + 0x1003d908]
cmp dword [esi*4 + 0x1003d908], 0x14
jmp 0x100078fd
inc dword [esi*4 + 0x1003d908]
cmp dword [esi*4 + 0x1003d908], 0xf
jmp 0x100078fd
inc dword [esi*4 + 0x1003d908]
cmp dword [esi*4 + 0x1003d908], 0xa
jmp 0x100078fd
inc dword [esi*4 + 0x1003d908]
cmp dword [esi*4 + 0x1003d908], 5
jbe case.0x100078a3.0
push 0
push 0
push 9
call fcn.10004970
add esp, 0xc
ret

Function at 0x10007ad0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push str.SOFTWAREWebzenMuConfig
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10007b43
lea ecx, [ebp - 8]
push ecx
push 0x1003d914
lea edx, [ebp - 0xc]
push edx
push eax
mov eax, dword [ebp - 4]
push str.LangSelection
push eax
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], 0x10
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x10007b39
push 0x1001af48
push 0x10
push 0x1003d914
call dword [sym.imp.MSVCR100.dll_strcpy_s]
add esp, 0xc
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret