joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b7ef0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov edx, dword [0x684800]
mov eax, dword [ebp + 8]
test edx, edx
je 0x4b7f20
sub esp, 0xc
push eax
call fcn.004bc0f0
mov dword [esp], eax
call sub.msvcrt.dll__wgetenv
add esp, 0x10
mov dword [ebp + 8], eax
leave
jmp fcn.004bafe0
sub esp, 0xc
push eax
call fcn.004bc0d0
mov dword [esp], eax
call sub.msvcrt.dll_getenv
add esp, 0x10
mov dword [ebp + 8], eax
leave
jmp fcn.004baf50

Function at 0x4b80e0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov edx, dword [0x684800]
mov eax, dword [ebp + 8]
test edx, edx
je 0x4b8107
sub esp, 0xc
push eax
call fcn.004bc0f0
add esp, 0x10
mov dword [ebp + 8], eax
leave
jmp 0x4c8990
sub esp, 0xc
push eax
call fcn.004bc0d0
add esp, 0x10
mov dword [ebp + 8], eax
leave
jmp 0x4c8988
jmp dword [sym.imp.msvcrt.dll__mkdir]
jmp dword [sym.imp.msvcrt.dll__wmkdir]

Function at 0x4b8120
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov edx, dword [0x684800]
mov eax, dword [ebp + 8]
test edx, edx
je 0x4b8147
sub esp, 0xc
push eax
call fcn.004bc0f0
add esp, 0x10
mov dword [ebp + 8], eax
leave
jmp 0x4c8980
sub esp, 0xc
push eax
call fcn.004bc0d0
add esp, 0x10
mov dword [ebp + 8], eax
leave
jmp 0x4c8978
jmp dword [sym.imp.msvcrt.dll__rmdir]
jmp dword [sym.imp.msvcrt.dll__wrmdir]

Function at 0x4b8160
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
mov edx, dword [0x684800]
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
test edx, edx
je 0x4b8198
sub esp, 0xc
push eax
call fcn.004bc0f0
mov dword [ebp + 0xc], eax
mov dword [esp], ebx
call fcn.004bc0f0
add esp, 0x10
mov ebx, dword [ebp - 4]
mov dword [ebp + 8], eax
leave
jmp 0x4c8970
sub esp, 0xc
push eax
call fcn.004bc0d0
mov dword [ebp + 0xc], eax
mov dword [esp], ebx
call fcn.004bc0d0
add esp, 0x10
mov ebx, dword [ebp - 4]
mov dword [ebp + 8], eax
leave
jmp sub.msvcrt.dll_rename
jmp dword [sym.imp.msvcrt.dll__wrename]

Function at 0x4b81c0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0xc
mov ebx, dword [ebp + 8]
push 0x1b6
push ebx
call fcn.004b8090
mov eax, dword [0x684800]
add esp, 0x10
test eax, eax
je 0x4b8200
sub esp, 0xc
push ebx
call fcn.004bc0f0
add esp, 0x10
mov ebx, dword [ebp - 4]
mov dword [ebp + 8], eax
leave
jmp 0x4c8968
sub esp, 0xc
push ebx
call fcn.004bc0d0
add esp, 0x10
mov ebx, dword [ebp - 4]
mov dword [ebp + 8], eax
leave
jmp sub.msvcrt.dll_remove
jmp dword [sym.imp.msvcrt.dll__wremove]
Function at 0x4b8220
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov edx, dword [0x684800]
mov eax, dword [ebp + 8]
test edx, edx
je 0x4b8247
sub esp, 0xc
push eax
call fcn.004bc0f0
add esp, 0x10
mov dword [ebp + 8], eax
leave
jmp 0x4c4a24
sub esp, 0xc
push eax
call fcn.004bc0d0
add esp, 0x10
mov dword [ebp + 8], eax
leave
jmp fcn.004c4660
push edi
push esi
push ebx
sub esp, 0x330
mov ebx, dword [esp + 0x340]
call sub.msvcrt.dll__errno
test ebx, ebx
mov dword [eax], 0
jne 0x4c4a53
call sub.msvcrt.dll__errno
mov dword [eax], 0xe
jmp 0x4c4c16
cmp word [ebx], 0
je 0x4c4add
mov eax, dword [sym.imp.msvcrt.dll__osver]
mov eax, dword [eax]
test ah, 0x80
je 0x4c4ab9
lea esi, [esp + 0x22c]
mov dword [esp + 0x10], esi
mov dword [esp + 8], ebx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x104
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 4], 0
mov dword [esp], 0
call sub.kernel32.dll_WideCharToMultiByte
sub esp, 0x20
mov dword [esp], esi
call sub.kernel32.dll_GetFileAttributesA
jmp 0x4c4ac1
mov dword [esp], ebx
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
push edx
jne 0x4c4ad9
call sub.msvcrt.dll__errno
mov dword [eax], 2
xor ebx, ebx
jmp 0x4c4c16
test al, 0x10
jne 0x4c4aea
call sub.msvcrt.dll__errno
mov dword [eax], 0x14
jmp 0x4c4ad2
lea edi, [esp + 0x24]
mov dword [esp + 4], ebx
mov dword [esp + 8], 0x104
mov dword [esp], edi
call sub.msvcrt.dll__wfullpath
mov dword [esp], edi
call sub.msvcrt.dll_wcslen
mov dword [esp], 0x674c3c
mov esi, eax
call sub.msvcrt.dll_wcslen
mov dword [esp], 0x674c40
mov ebx, eax
call sub.msvcrt.dll_wcslen
lea edx, [esi + ebx + 0x21d]
add eax, edx
add eax, eax
mov dword [esp], eax
call sub.msvcrt.dll_malloc
test eax, eax
mov ebx, eax
jne 0x4c4b4f
call sub.msvcrt.dll__errno
mov dword [eax], 0xc
jmp 0x4c4c16
lea esi, [eax + 0x434]
mov dword [esp + 4], edi
mov dword [esp], esi
call sub.msvcrt.dll_wcscpy
cmp word [ebx + 0x434], 0
je 0x4c4bc5
mov dword [esp + 4], 0x2f
mov dword [esp], esi
call sub.msvcrt.dll_wcsrchr
mov dword [esp], esi
mov edi, eax
call sub.msvcrt.dll_wcslen
lea eax, [ebx + eax*2 + 0x432]
cmp edi, eax
je 0x4c4bc5
mov dword [esp + 4], 0x5c
mov dword [esp], esi
call sub.msvcrt.dll_wcsrchr
mov dword [esp], esi
mov edi, eax
call sub.msvcrt.dll_wcslen
lea eax, [ebx + eax*2 + 0x432]
cmp edi, eax
je 0x4c4bc5
mov dword [esp + 4], 0x674c3c
mov dword [esp], esi
call sub.msvcrt.dll_wcscat
mov dword [esp + 4], 0x674c40
mov dword [esp], esi
call sub.msvcrt.dll_wcscat
lea edx, [ebx + 0x224]
mov ecx, 0x41
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [ebx + 0x42c], 0xffffffff
mov dword [ebx + 0x430], 0
mov dword [ebx + 0x21c], 0
mov word [ebx + 0x220], 0
mov word [ebx + 0x222], 0
add esp, 0x330
mov eax, ebx
pop ebx
pop esi
pop edi
ret
Function at 0x4b8600
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
push eax
call fcn.004bc0d0
mov dword [esp], eax
call sub.ws2_32.dll_gethostbyname
mov ecx, eax
add esp, 0xc
xor eax, eax
test ecx, ecx
je 0x4b8637
movsx edx, word [ecx + 8]
mov eax, dword [ebp + 0xc]
mov dword [eax], edx
mov eax, dword [ebp + 0x10]
movsx edx, word [ecx + 0xa]
mov dword [eax], edx
mov eax, dword [ecx + 0xc]
leave
ret

Function at 0x4b8640
Capabilities:
Connect socket

Disassembly:
push ebp
or eax, 0xffffffff
mov ebp, esp
push edi
sub esp, 0x14
cmp dword [ebp + 0x10], 2
jne 0x4b869d
cld
xor eax, eax
lea edi, [ebp - 0x18]
mov ecx, 4
sub esp, 0xc
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x18]
mov word [ebp - 0x18], 2
and eax, 0xffff
push eax
call sub.ws2_32.dll_htons
mov ecx, dword [ebp + 0x14]
pop edi
mov word [ebp - 0x16], ax
pop edx
lea eax, [ebp - 0x14]
mov edx, dword [ebp + 0xc]
push ecx
push edx
push eax
call fcn.004c86b0
add esp, 0xc
lea eax, [ebp - 0x18]
push 0x10
push eax
mov eax, dword [ebp + 8]
push eax
call sub.ws2_32.dll_connect
mov edi, dword [ebp - 4]
leave
ret
Function at 0x4b8be0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a0
lea eax, [ebp - 0x198]
push eax
push 0x101
call sub.ws2_32.dll_WSAStartup
push eax
push 0x4b8bd0
call fcn.00401335
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [0x6847c0], eax
lea edx, [eax + 0x20]
add eax, 0x40
mov dword [0x6847e0], edx
mov dword [0x6847d0], eax
leave
ret
Function at 0x4bd850
Capabilities:
Allocate thread local storage
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x10
push 0x684810
call sub.kernel32.dll_InitializeCriticalSection
add esp, 0xc
call sub.kernel32.dll_TlsAlloc
sub esp, 0xc
mov dword [0x683760], eax
push 0xb8
call sub.msvcrt.dll_malloc
add esp, 0xc
mov ebx, eax
mov dword [eax + 4], 0
lea eax, [eax + 8]
push 0x80
push 0
push eax
call sub.msvcrt.dll_memset
mov eax, dword [0x6847f0]
mov dword [ebx + 0x88], 0
mov dword [ebx + 0x8c], eax
call sub.kernel32.dll_GetCurrentThreadId
add esp, 0xc
mov dword [ebx + 0xb4], eax
lea eax, [ebx + 0xb0]
push 2
push 0
push 0
push eax
sub esp, 0xc
call sub.kernel32.dll_GetCurrentProcess
add esp, 0xc
push eax
push eax
push eax
call sub.kernel32.dll_GetCurrentThread
pop edx
pop ecx
push eax
push ecx
call sub.kernel32.dll_GetCurrentProcess
mov dword [esp], eax
call sub.kernel32.dll_DuplicateHandle
pop edx
test eax, eax
je 0x4bd916
push eax
push eax
mov eax, dword [0x683760]
push ebx
push eax
call sub.kernel32.dll_TlsSetValue
mov eax, dword [0x683730]
mov dword [ebx], eax
mov dword [0x683730], ebx
mov dword [0x683750], ebx
mov ebx, dword [ebp - 4]
leave
ret
sub esp, 0xc
push 0xffffffffffffffff
call sub.msvcrt.dll_exit
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2e8
lea ebx, [ebp - 0x2e8]
push 0xb8
call sub.msvcrt.dll_malloc
mov edi, eax
add esp, 0xc
mov eax, dword [ebp + 8]
mov dword [edi + 4], eax
lea eax, [edi + 8]
push 0x80
push 0
push eax
call sub.msvcrt.dll_memset
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x88], 0
mov dword [edi + 8], eax
pop eax
lea eax, [edi + 0xb4]
pop edx
push eax
push 4
push edi
push 0x4bd780
push 0
push 0
call sub.kernel32.dll_CreateThread
mov dword [edi + 0xb0], eax
mov dword [esp], 0x2cc
push 0x5de040
push ebx
call fcn.004c86b0
pop esi
pop eax
push ebx
mov ecx, dword [edi + 0xb0]
push ecx
call sub.kernel32.dll_GetThreadContext
mov eax, dword [ebp - 0x224]
mov dword [edi + 0x8c], eax
pop eax
mov eax, dword [0x684830]
pop edx
test eax, eax
jne 0x4bda30
mov ebx, dword [0x683740]
mov esi, 0x683740
test ebx, ebx
je 0x4bd9e2
nop
mov eax, dword [ebx + 0x88]
test eax, eax
jne 0x4bda10
mov esi, ebx
mov ebx, dword [esi]
test ebx, ebx
jne 0x4bd9d0
mov eax, dword [0x683730]
mov dword [edi], eax
mov eax, dword [0x684830]
mov dword [0x683730], edi
test eax, eax
jne 0x4bda45
mov dword [0x684830], 1
mov eax, edi
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebx]
sub esp, 0xc
mov dword [esi], eax
mov eax, dword [ebx + 0xb0]
push eax
call sub.kernel32.dll_CloseHandle
push ebx
call fcn.004c86c0
add esp, 0x10
mov ebx, dword [esi]
jmp 0x4bd9de
sub esp, 0xc
push 0x684810
call sub.kernel32.dll_EnterCriticalSection
add esp, 0xc
jmp 0x4bd9bf
sub esp, 0xc
push 0x684810
call sub.kernel32.dll_LeaveCriticalSection
mov dword [0x684830], 1
mov eax, edi
add esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x4bd920
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x10
push 0x684810
call sub.kernel32.dll_InitializeCriticalSection
add esp, 0xc
call sub.kernel32.dll_TlsAlloc
sub esp, 0xc
mov dword [0x683760], eax
push 0xb8
call sub.msvcrt.dll_malloc
add esp, 0xc
mov ebx, eax
mov dword [eax + 4], 0
lea eax, [eax + 8]
push 0x80
push 0
push eax
call sub.msvcrt.dll_memset
mov eax, dword [0x6847f0]
mov dword [ebx + 0x88], 0
mov dword [ebx + 0x8c], eax
call sub.kernel32.dll_GetCurrentThreadId
add esp, 0xc
mov dword [ebx + 0xb4], eax
lea eax, [ebx + 0xb0]
push 2
push 0
push 0
push eax
sub esp, 0xc
call sub.kernel32.dll_GetCurrentProcess
add esp, 0xc
push eax
push eax
push eax
call sub.kernel32.dll_GetCurrentThread
pop edx
pop ecx
push eax
push ecx
call sub.kernel32.dll_GetCurrentProcess
mov dword [esp], eax
call sub.kernel32.dll_DuplicateHandle
pop edx
test eax, eax
je 0x4bd916
push eax
push eax
mov eax, dword [0x683760]
push ebx
push eax
call sub.kernel32.dll_TlsSetValue
mov eax, dword [0x683730]
mov dword [ebx], eax
mov dword [0x683730], ebx
mov dword [0x683750], ebx
mov ebx, dword [ebp - 4]
leave
ret
sub esp, 0xc
push 0xffffffffffffffff
call sub.msvcrt.dll_exit
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2e8
lea ebx, [ebp - 0x2e8]
push 0xb8
call sub.msvcrt.dll_malloc
mov edi, eax
add esp, 0xc
mov eax, dword [ebp + 8]
mov dword [edi + 4], eax
lea eax, [edi + 8]
push 0x80
push 0
push eax
call sub.msvcrt.dll_memset
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x88], 0
mov dword [edi + 8], eax
pop eax
lea eax, [edi + 0xb4]
pop edx
push eax
push 4
push edi
push 0x4bd780
push 0
push 0
call sub.kernel32.dll_CreateThread
mov dword [edi + 0xb0], eax
mov dword [esp], 0x2cc
push 0x5de040
push ebx
call fcn.004c86b0
pop esi
pop eax
push ebx
mov ecx, dword [edi + 0xb0]
push ecx
call sub.kernel32.dll_GetThreadContext
mov eax, dword [ebp - 0x224]
mov dword [edi + 0x8c], eax
pop eax
mov eax, dword [0x684830]
pop edx
test eax, eax
jne 0x4bda30
mov ebx, dword [0x683740]
mov esi, 0x683740
test ebx, ebx
je 0x4bd9e2
nop
mov eax, dword [ebx + 0x88]
test eax, eax
jne 0x4bda10
mov esi, ebx
mov ebx, dword [esi]
test ebx, ebx
jne 0x4bd9d0
mov eax, dword [0x683730]
mov dword [edi], eax
mov eax, dword [0x684830]
mov dword [0x683730], edi
test eax, eax
jne 0x4bda45
mov dword [0x684830], 1
mov eax, edi
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebx]
sub esp, 0xc
mov dword [esi], eax
mov eax, dword [ebx + 0xb0]
push eax
call sub.kernel32.dll_CloseHandle
push ebx
call fcn.004c86c0
add esp, 0x10
mov ebx, dword [esi]
jmp 0x4bd9de
sub esp, 0xc
push 0x684810
call sub.kernel32.dll_EnterCriticalSection
add esp, 0xc
jmp 0x4bd9bf
sub esp, 0xc
push 0x684810
call sub.kernel32.dll_LeaveCriticalSection
mov dword [0x684830], 1
mov eax, edi
add esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x4c821b
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, ecx
push edi
push esi
mov esi, edx
push ebx
mov ebx, eax
sub esp, 0x3c
lea eax, [esp + 0x10]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.kernel32.dll_VirtualQuery
sub esp, 0xc
test eax, eax
jne 0x4c825f
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.004c81e0
mov eax, dword [esp + 0x24]
cmp eax, 4
je 0x4c8294
cmp eax, 0x40
je 0x4c8294
lea eax, [esp + 0x2c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [esp + 0x10]
mov dword [esp], eax
call sub.kernel32.dll_VirtualProtect
sub esp, 0x10
mov edi, ebx
mov ecx, ebp
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x24]
cmp eax, 4
je 0x4c82cf
cmp eax, 0x40
je 0x4c82cf
lea eax, [esp + 0x2c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x10]
mov dword [esp], eax
call sub.kernel32.dll_VirtualProtect
sub esp, 0x10
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x4c84b0
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x684140
call sub.kernel32.dll_EnterCriticalSection
mov ebx, dword [0x684158]
push ecx
jmp 0x4c84ef
mov eax, dword [ebx]
mov dword [esp], eax
call sub.kernel32.dll_TlsGetValue
push edx
mov esi, eax
call sub.kernel32.dll_GetLastError
test eax, eax
jne 0x4c84ec
test esi, esi
je 0x4c84ec
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x4c84ca
mov dword [esp], 0x684140
call sub.kernel32.dll_LeaveCriticalSection
push eax
add esp, 0x14
pop ebx
pop esi
ret
Function at 0x4d0490
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
push 0x40
push 0x617c86
call fcn.004b94e0
add esp, 8
mov dword [ebp - 4], eax
push esi
call fcn.004bbc70
add esp, 4
mov ebx, eax
mov eax, dword [ebp - 4]
push dword [eax + 0x14]
mov eax, dword [ebp - 4]
lea eax, [eax + 0x18]
push eax
push ebx
call sub.kernel32.dll_GetEnvironmentVariableA
mov edi, eax
push ebx
call fcn.004bd1e0
add esp, 4
mov ebx, edi
mov eax, dword [ebp - 4]
cmp ebx, dword [eax + 0x14]
jle 0x4d0520
push ebx
push 0
push dword [ebp - 4]
push 0x5e42b3
call fcn.004b9510
add esp, 0x10
mov dword [ebp - 4], eax
push esi
call fcn.004bbc70
add esp, 4
mov esi, eax
mov eax, dword [ebp - 4]
push dword [eax + 0x14]
mov eax, dword [ebp - 4]
lea eax, [eax + 0x18]
push eax
push esi
call sub.kernel32.dll_GetEnvironmentVariableA
mov ebx, eax
push esi
call fcn.004bd1e0
add esp, 4
push ebx
mov eax, dword [ebp - 4]
lea eax, [eax + 0x18]
push eax
call fcn.004bad00
add esp, 8
jmp 0x4d0532
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4d064e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov byte [ebp - 4], 0
cmp dword [0x684800], 0
je 0x4d06a5
push 0x208
call fcn.005c95de
add esp, 4
mov edi, eax
push edi
call fcn.005c9655
add esp, 4
push eax
push ebx
push 0
push esi
push 0
call sub.SHELL32.dll_SHGetFolderPathW
cmp eax, 0
sete al
movzx eax, al
mov eax, eax
and eax, 0xff
mov eax, eax
mov byte [ebp - 4], al
jmp 0x4d06de
push 0x104
call fcn.005c95de
add esp, 4
mov edi, eax
push edi
call fcn.005c9655
add esp, 4
push eax
push ebx
push 0
push esi
push 0
call sub.SHELL32.dll_SHGetFolderPathA
cmp eax, 0
sete al
movzx eax, al
mov eax, eax
and eax, 0xff
mov eax, eax
mov byte [ebp - 4], al
push edi
call fcn.005c966a
add esp, 4
movzx eax, byte [ebp - 4]
cmp eax, 0
je 0x4d073c
cmp dword [0x684800], 0
je 0x4d070f
push edi
call fcn.005c9655
add esp, 4
push eax
call fcn.004bafe0
add esp, 4
mov ebx, eax
jmp 0x4d0723
push edi
call fcn.005c9655
add esp, 4
push eax
call fcn.004baf50
add esp, 4
mov ebx, eax
push edi
call fcn.005c966a
add esp, 4
push 0x617c88
push ebx
call fcn.004bb2f0
add esp, 8
jmp 0x4d0743
mov eax, 0x5dc000
jmp 0x4d0743
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4d074a
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push ebx
push esi
push edi
mov ebx, 0x5dc000
push 0x5e449c
call fcn.004bd280
add esp, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0x9c
mov eax, dword [ebp - 4]
lea eax, [eax + 8]
push eax
call sub.kernel32.dll_GetVersionExA
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
cmp eax, 0
je 0x4d079c
cmp eax, 2
je 0x4d07a6
cmp eax, 1
je 0x4d0851
jmp 0x4d087f
mov ebx, 0x617c98
jmp 0x4d087f
mov ebx, 0x617cb0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
cmp eax, 4
je 0x4d07ca
cmp eax, 5
je 0x4d07d1
cmp eax, 6
je 0x4d07ff
cmp eax, 0xa
je 0x4d0839
jmp 0x4d084f
mov ebx, 0x617cb0
jmp 0x4d084f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
cmp eax, 0
je 0x4d07e8
cmp eax, 1
je 0x4d07ef
cmp eax, 2
je 0x4d07f6
jmp 0x4d07fd
mov ebx, 0x617cd0
jmp 0x4d07fd
mov ebx, 0x617cf4
jmp 0x4d07fd
mov ebx, 0x617cf4
jmp 0x4d07fd
jmp 0x4d084f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
cmp eax, 0
je 0x4d081b
cmp eax, 1
je 0x4d0822
cmp eax, 2
je 0x4d0829
cmp eax, 3
je 0x4d0830
jmp 0x4d0837
mov ebx, 0x617d14
jmp 0x4d0837
mov ebx, 0x617d3c
jmp 0x4d0837
mov ebx, 0x617d5c
jmp 0x4d0837
mov ebx, 0x617d7c
jmp 0x4d0837
jmp 0x4d084f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
cmp eax, 0
je 0x4d0846
jmp 0x4d084d
mov ebx, 0x617da0
jmp 0x4d084d
jmp 0x4d084f
jmp 0x4d087f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
cmp eax, 0
je 0x4d0868
cmp eax, 0x5a
je 0x4d086f
cmp eax, 0xa
je 0x4d0876
jmp 0x4d087d
mov ebx, 0x617dc0
jmp 0x4d087d
mov ebx, 0x617de0
jmp 0x4d087d
mov ebx, 0x617e00
jmp 0x4d087d
jmp 0x4d087f
mov eax, ebx
jmp 0x4d0883
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4f8249
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
push eax
call fcn.004bbc70
add esp, 4
push eax
push 0
push 0
call sub.kernel32.dll_CreateMutexA
call sub.kernel32.dll_GetLastError
cmp eax, 0xb7
jne 0x4f8276
call fcn.004b8c90
mov eax, 0
jmp 0x4f827d
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4fa31c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
push 6
push eax
call sub.USER32.dll_ShowWindow
mov eax, 0
jmp 0x4fa334
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x6a8b20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xf8
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + 0x78]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
add edx, dword [ecx + 0x20]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + 0x1c]
mov dword [ebp - 8], eax
mov dword [ebp - 0x24], 0
jmp 0x6a8b8c
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
cmp eax, dword [edx + 0x18]
jae 0x6a8bd3
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.006f57ae
add esp, 8
test eax, eax
jne 0x6a8bd1
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
movzx edx, word [ecx + eax*2]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + edx*4]
mov eax, ecx
jmp 0x6a8bd5
jmp 0x6a8b83
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x6cdbf0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x724767
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x74c890]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.006ccb30
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xa4
call fcn.006ccb30
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x104
call fcn.006ccb30
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
mov dword [eax], 0x44
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.006cd4f0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xa4
call fcn.006cd4f0
mov edx, dword [ebp - 0x10]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x104
call fcn.006cd4f0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov dword [edx + 0x10], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
mov dword [edx + 0x14], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
mov dword [edx + 0x18], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1c]
mov dword [edx + 0x1c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
mov dword [edx + 0x20], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x24]
mov dword [edx + 0x24], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x28]
mov dword [edx + 0x28], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2c]
mov dword [edx + 0x2c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov cx, word [eax + 0x30]
mov word [edx + 0x30], cx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov cx, word [eax + 0x32]
mov word [edx + 0x32], cx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x38]
mov dword [edx + 0x38], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
mov dword [edx + 0x3c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x40]
mov dword [edx + 0x40], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4