joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d8010
Capabilities:
Check for time delay via gettickcount
Query service status

Disassembly:
sub esp, 0x24
push esi
push edi
xor edi, edi
push connect
push edi
push edi
mov dword [esp + 0x14], edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov esi, eax
mov dword [esp + 0xc], esi
test esi, esi
je 0x4d811d
mov eax, dword [esp + 0x30]
push ebx
push connect
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov ebx, eax
test ebx, ebx
je 0x4d8115
push ebp
lea ecx, [esp + 0x18]
push ecx
push ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
cmp dword [esp + 0x1c], 2
mov ebp, dword [esp + 0x2c]
mov esi, eax
jne 0x4d80db
cmp dword [esp + 0x3c], 0
je 0x4d80db
mov eax, 0xcccccccd
mul dword [esp + 0x30]
shr edx, 3
cmp edx, 0x3e8
jae 0x4d8096
mov edx, 0x3e8
jmp 0x4d80a3
cmp edx, 0x2710
jbe 0x4d80a3
mov edx, 0x2710
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [esp + 0x18]
push edx
push ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x4d80db
cmp dword [esp + 0x2c], ebp
jbe 0x4d80ca
call edi
mov ebp, dword [esp + 0x2c]
mov esi, eax
jmp 0x4d80d4
call edi
sub eax, esi
cmp eax, dword [esp + 0x30]
ja 0x4d80db
cmp dword [esp + 0x1c], 2
je 0x4d8074
mov eax, dword [esp + 0x1c]
dec eax
pop ebp
cmp eax, 6
ja case.0x4d80ed.3
movzx eax, byte [eax + 0x4d8134]
jmp dword [eax*4 + 0x4d8128]
mov dword [esp + 0xc], 1
jmp case.0x4d80ed.3
mov dword [esp + 0xc], 0
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop ebx
mov eax, edi
pop edi
pop esi
add esp, 0x24
ret

Function at 0x4d8300
Capabilities:
Read .ini file

Disassembly:
push 0x64767c
push 0x61bed4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4d833c
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x14]
push ecx
push edx
call eax
ret
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
ret
Function at 0x4d8530
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x6725c0
push 0x5dfbd0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x6aae14]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
mov esi, dword [ebp + 8]
test esi, esi
je 0x4d8616
movzx ecx, word [esi]
test cx, cx
je 0x4d8616
xor eax, eax
movzx ecx, cx
mov dword [ebp - 0x20], eax
cmp cx, 0x20
je 0x4d860c
cmp cx, 9
je 0x4d860c
test eax, eax
je 0x4d85b1
lea ecx, [esi + eax*2]
mov edx, esi
mov edi, edi
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
test ax, ax
jne 0x4d85a0
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4d85b6
sub eax, edx
sar eax, 1
mov ecx, eax
mov dword [ebp - 0x1c], ecx
lea ebx, [ebx]
test ecx, ecx
jl 0x4d85f8
sub ecx, 1
mov dword [ebp - 0x1c], ecx
js 0x4d85f8
movzx eax, word [esi + ecx*2]
cmp ax, 9
je 0x4d85d0
cmp ax, 0x20
je 0x4d85d0
cmp ax, 0xa
je 0x4d85d0
cmp ax, 0xd
je 0x4d85d0
cmp word [esi + ecx*2 + 2], 0
je 0x4d8607
xor eax, eax
mov word [esi + ecx*2 + 2], ax
lea eax, [ecx + 1]
jmp 0x4d864f
inc eax
movzx ecx, word [esi + eax*2]
jmp 0x4d8586
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4d87f0
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ebx
mov ebx, dword [esp + 0x28]
push ebp
mov ebp, dword [esp + 0x28]
push esi
push edi
mov edi, dword [esp + 0x38]
push edi
push ebx
push ebp
push eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x30]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov esi, eax
test esi, esi
jne 0x4d8886
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 6
je 0x4d8848
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4d8884
push 0x118
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
push edi
push ebx
push ebp
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x30]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
pop edi
pop esi
pop ebp
pop ebx
ret
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x4d8890
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push ebx
mov ebx, dword [esp + 0x2c]
push ebp
mov ebp, dword [esp + 0x2c]
push esi
push edi
mov edi, dword [esp + 0x3c]
push edi
push ebx
push ebp
push eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x34]
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
mov esi, eax
test esi, esi
jne 0x4d8930
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 6
je 0x4d88ed
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4d892e
push 0x118
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push edi
push ebx
push ebp
push edx
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
pop edi
pop esi
pop ebp
pop ebx
ret
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x4d89c0
Capabilities:
Get memory capacity

Disassembly:
sub esp, 0x60
push 0x3c
lea eax, [esp + 0x28]
push 0
push eax
call fcn.005dfd60
add esp, 0xc
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x24], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x4d8a17
mov eax, dword [esp + 0x64]
test eax, eax
je 0x4d8a04
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
shrd edx, ecx, 0xa
shr ecx, 0xa
mov dword [eax], edx
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
shrd eax, edx, 0xa
shr edx, 0xa
add esp, 0x60
ret
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
lea eax, [esp]
push eax
mov dword [esp + 4], 0
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [esp + 0x64]
test eax, eax
je 0x4d8a58
mov ecx, dword [esp + 0xc]
shr ecx, 0xa
mov dword [eax], ecx
mov eax, dword [esp + 8]
shr eax, 0xa
add esp, 0x60
ret

Function at 0x4d8a70
Capabilities:
Get common file path

Disassembly:
sub esp, 0x108
mov eax, dword [0x6aae14]
xor eax, esp
mov dword [esp + 0x104], eax
push esi
mov esi, dword [esp + 0x110]
push 0x103
lea eax, [esp + 9]
push 0
push eax
mov byte [esp + 0x10], 0
call fcn.005dfd60
add esp, 0xc
push 0x6476c8
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x104
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov al, byte [esp + 4]
test al, al
je 0x4d8ad2
cmp byte [esp + 5], 0x3a
jne 0x4d8ad2
mov byte [esi], al
mov ecx, dword [esp + 0x108]
pop esi
xor ecx, esp
call fcn.005dfbbe
add esp, 0x108
ret
Function at 0x4d8c40
Capabilities:
Access the windows event log

Disassembly:
sub esp, 0x10c
mov eax, dword [0x6aae14]
xor eax, esp
mov dword [esp + 0x108], eax
push ebx
mov ebx, dword [esp + 0x118]
push esi
mov esi, dword [esp + 0x118]
push edi
mov edi, dword [esp + 0x124]
cmp di, 1
jne 0x4d8ccd
push ebp
mov byte [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push 0
mov ebp, eax
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
push ebp
push esi
mov edi, eax
lea eax, [esp + 0x20]
push 0x6476cc
push eax
call fcn.005dfb23
add esp, 0x10
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebx
pop ebp
test edi, edi
je 0x4d8d08
push 0
lea edx, [esp + 0x10]
push edx
push 0
push 2
push 0
push 0
push 0
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push edi
jmp 0x4d8d02
push esi
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov esi, eax
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], 0
test esi, esi
je 0x4d8d08
push 0
lea eax, [esp + 0x10]
push eax
push 0
push 1
push 0
push 0
push 0
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov ecx, dword [esp + 0x114]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005dfbbe
add esp, 0x10c
ret

Function at 0x4d8d60
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push ebx
push ebp
lea eax, [esp + 8]
push eax
xor ebp, ebp
push 0x6476ec
xor ebx, ebx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4d8e37
mov eax, dword [esp + 8]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x10]
push ecx
push ebp
lea edx, [esp + 0x1c]
push edx
push ebp
push 0x6476dc
push eax
call esi
test eax, eax
jne 0x4d8e36
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x4d8e36
push edi
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
cmp edi, ebp
je 0x4d8e35
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push edi
lea edx, [esp + 0x20]
push edx
push ebp
push 0x6476dc
push eax
call esi
test eax, eax
jne 0x4d8e28
cmp dword [esp + 0x18], 7
jne 0x4d8e28
mov esi, edi
cmp byte [edi], bl
je 0x4d8e28
mov ebp, dword [esp + 0x24]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpA]
push ebp
push esi
call ebx
test eax, eax
je 0x4d8e20
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [esi + eax + 1], 0
lea esi, [esi + eax + 1]
jne 0x4d8e04
jmp 0x4d8e28
mov dword [esp + 0x1c], 1
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ebx, dword [esp + 0x1c]
xor ebp, ebp
pop edi
pop esi
mov eax, dword [esp + 8]
cmp eax, ebp
je 0x4d8e46
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebp
mov eax, ebx
pop ebx
add esp, 0x10
ret
Function at 0x4d8f30
Capabilities:
Check os version

Disassembly:
sub esp, 0xa0
mov eax, dword [0x6aae14]
xor eax, esp
mov dword [esp + 0x9c], eax
cmp dword [0x74afc0], 0
je 0x4d8f67
mov eax, dword [0x74afbc]
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.005dfbbe
add esp, 0xa0
ret
push 0x9c
lea eax, [esp + 4]
push 0
push eax
call fcn.005dfd60
add esp, 0xc
lea ecx, [esp]
push ecx
mov dword [esp + 4], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x4d8fa9
or eax, 0xffffffff
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.005dfbbe
add esp, 0xa0
ret
mov edx, 2
mov eax, 1
mov dword [0x74afc0], eax
cmp dword [esp + 0x10], edx
je 0x4d8fdf
mov dword [0x74afbc], 0
xor eax, eax
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.005dfbbe
add esp, 0xa0
ret
mov cl, byte [esp + 0x9a]
cmp cl, al
jne 0x4d9023
cmp dword [esp + 4], 5
jb 0x4d9006
cmp dword [esp + 8], eax
jb 0x4d9006
mov ecx, 0x200
cmp word [esp + 0x98], cx
je 0x4d9040
mov dword [0x74afbc], edx
mov eax, edx
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.005dfbbe
add esp, 0xa0
ret
mov eax, 3
cmp cl, al
jne 0x4d9040
mov edx, 0x80
cmp word [esp + 0x98], dx
jne 0x4d9040
mov eax, 4
mov ecx, dword [esp + 0x9c]
xor ecx, esp
mov dword [0x74afbc], eax
call fcn.005dfbbe
add esp, 0xa0
ret

Function at 0x4d9380
Capabilities:
Create thread

Disassembly:
sub esp, 0x120
mov eax, dword [0x6aae14]
xor eax, esp
mov dword [esp + 0x11c], eax
mov eax, dword [esp + 0x124]
push esi
mov esi, dword [esp + 0x12c]
push eax
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov dword [esp + 0x108], esi
test esi, esi
jne 0x4d93c5
mov dword [esp + 0x108], 0xffff
mov eax, dword [esp + 0x138]
mov dword [esp + 0x10c], eax
test eax, eax
jne 0x4d93e2
mov dword [esp + 0x10c], 0x1388
mov ecx, dword [esp + 0x130]
mov edx, dword [esp + 0x134]
lea eax, [esp + 4]
push eax
push 0
push 0x4d9340
mov dword [esp + 0x120], ecx
mov dword [esp + 0x124], edx
mov dword [esp + 0x11c], 0
call fcn.005e07ac
add esp, 0xc
mov dword [esp + 0x11c], eax
cmp eax, 0xffffffff
je 0x4d945a
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
nop
cmp dword [esp + 0x110], 0
jne 0x4d945a
cmp dword [esp + 0x10c], 0
jle 0x4d945a
push 0xa
call esi
sub dword [esp + 0x10c], 0xa
cmp dword [esp + 0x11c], 0xffffffff
jne 0x4d9430
mov ecx, dword [esp + 0x120]
pop esi
xor ecx, esp
call fcn.005dfbbe
add esp, 0x120
ret
Function at 0x4d9720
Capabilities:
Check os version

Disassembly:
sub esp, 0x98
mov eax, dword [0x6aae14]
xor eax, esp
mov dword [esp + 0x94], eax
cmp dword [0x74afc8], 0
je 0x4d9757
mov eax, dword [0x74afc4]
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.005dfbbe
add esp, 0x98
ret
push 0x90
lea eax, [esp + 8]
push 0
push eax
call fcn.005dfd60
add esp, 0xc
lea ecx, [esp]
push ecx
mov dword [0x74afc8], 1
mov dword [esp + 4], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, 2
cmp dword [esp + 0x10], ecx
jne 0x4d97cc
mov eax, dword [esp + 4]
cmp eax, 5
jb 0x4d97cc
jbe 0x4d97c1
mov dword [0x74afc4], 1
mov eax, 1
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.005dfbbe
add esp, 0x98
ret
cmp eax, 5
jne 0x4d97cc
cmp dword [esp + 8], ecx
jae 0x4d979d
mov ecx, dword [esp + 0x94]
xor ecx, esp
mov dword [0x74afc4], 0
xor eax, eax
call fcn.005dfbbe
add esp, 0x98
ret

Function at 0x4d9870
Capabilities:
Check os version

Disassembly:
sub esp, 0x98
mov eax, dword [0x6aae14]
xor eax, esp
mov dword [esp + 0x94], eax
cmp dword [0x74afd0], 0
je 0x4d98a7
mov eax, dword [0x74afcc]
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.005dfbbe
add esp, 0x98
ret
push esi
push 0x90
lea eax, [esp + 0xc]
push 0
mov esi, 1
push eax
mov dword [0x74afd0], esi
call fcn.005dfd60
add esp, 0xc
lea ecx, [esp + 4]
push ecx
mov dword [esp + 8], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x14], 2
jne 0x4d9915
mov eax, dword [esp + 8]
cmp eax, 5
jb 0x4d9915
ja 0x4d98f7
cmp eax, 5
jne 0x4d9915
cmp dword [esp + 0xc], esi
jb 0x4d9915
mov dword [0x74afcc], esi
mov eax, esi
pop esi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.005dfbbe
add esp, 0x98
ret
mov ecx, dword [esp + 0x98]
pop esi
xor ecx, esp
xor eax, eax
call fcn.005dfbbe
add esp, 0x98
ret

Function at 0x4d9950
Capabilities:
Check os version

Disassembly:
sub esp, 0x98
mov eax, dword [0x6aae14]
xor eax, esp
mov dword [esp + 0x94], eax
cmp dword [0x74afd8], 0
jne 0x4d99c3
push 0x90
lea eax, [esp + 8]
push 0
push eax
call fcn.005dfd60
add esp, 0xc
lea ecx, [esp]
push ecx
mov dword [0x74afd8], 1
mov dword [esp + 4], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, 2
cmp dword [esp + 0x10], ecx
jne 0x4d99c3
mov eax, dword [esp + 4]
cmp eax, 6
ja 0x4d99b9
jne 0x4d99c3
cmp dword [esp + 8], ecx
jb 0x4d99c3
mov dword [0x74afd4], 1
mov ecx, dword [esp + 0x94]
mov eax, dword [0x74afd4]
xor ecx, esp
call fcn.005dfbbe
add esp, 0x98
ret

Function at 0x4d99e0
Capabilities:
Check os version

Disassembly:
sub esp, 0x98
mov eax, dword [0x6aae14]
xor eax, esp
mov dword [esp + 0x94], eax
cmp dword [0x74afe0], 0
jne 0x4d9a50
push 0x90
lea eax, [esp + 8]
push 0
push eax
call fcn.005dfd60
add esp, 0xc
lea ecx, [esp]
push ecx
mov dword [0x74afe0], 1
mov dword [esp + 4], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x10], 2
jne 0x4d9a50
mov eax, dword [esp + 4]
cmp eax, 6
ja 0x4d9a46
jne 0x4d9a50
cmp dword [esp + 8], 1
jb 0x4d9a50
mov dword [0x74afdc], 1
mov ecx, dword [esp + 0x94]
mov eax, dword [0x74afdc]
xor ecx, esp
call fcn.005dfbbe
add esp, 0x98
ret
Function at 0x4d9a70
Capabilities:
Check os version

Disassembly:
sub esp, 0x98
mov eax, dword [0x6aae14]
xor eax, esp
mov dword [esp + 0x94], eax
cmp dword [0x74afe8], 0
jne 0x4d9adc
push 0x90
lea eax, [esp + 8]
push 0
push eax
call fcn.005dfd60
add esp, 0xc
lea ecx, [esp]
push ecx
mov dword [0x74afe8], 1
mov dword [esp + 4], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x10], 2
jne 0x4d9adc
cmp dword [esp + 4], 6
jne 0x4d9adc
cmp dword [esp + 8], 0
jne 0x4d9adc
mov dword [0x74afe4], 1
mov ecx, dword [esp + 0x94]
mov eax, dword [0x74afe4]
xor ecx, esp
call fcn.005dfbbe
add esp, 0x98
ret

Function at 0x4d9b40
Capabilities:
Check os version

Disassembly:
sub esp, 0x98
mov eax, dword [0x6aae14]
xor eax, esp
mov dword [esp + 0x94], eax
cmp dword [0x74aff8], 0
jne 0x4d9bac
push 0x90
lea eax, [esp + 8]
push 0
push eax
call fcn.005dfd60
add esp, 0xc
lea ecx, [esp]
push ecx
mov dword [0x74aff8], 1
mov dword [esp + 4], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x10], 2
jne 0x4d9bac
cmp dword [esp + 4], 5
jne 0x4d9bac
cmp dword [esp + 8], 0
jne 0x4d9bac
mov dword [0x74aff4], 1
mov ecx, dword [esp + 0x94]
mov eax, dword [0x74aff4]
xor ecx, esp
call fcn.005dfbbe
add esp, 0x98
ret

Function at 0x4d9bd0
Capabilities:
Check os version

Disassembly:
sub esp, 0x98
mov eax, dword [0x6aae14]
xor eax, esp
mov dword [esp + 0x94], eax
cmp dword [0x74b000], 0
jne 0x4d9c4f
push 0x90
lea eax, [esp + 8]
push 0
push eax
call fcn.005dfd60
add esp, 0xc
lea ecx, [esp]
push ecx
mov dword [0x74b000], 1
mov dword [esp + 4], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x10], 2
jne 0x4d9c4f
cmp dword [esp + 4], 5
jne 0x4d9c4f
cmp dword [esp + 8], 0
jne 0x4d9c4f
call fcn.004d8f30
cmp eax, 2
jg 0x4d9c45
call fcn.004d8e50
test eax, eax
je 0x4d9c4f
mov dword [0x74affc], 1
mov ecx, dword [esp + 0x94]
mov eax, dword [0x74affc]
xor ecx, esp
call fcn.005dfbbe
add esp, 0x98
ret

Function at 0x4d9cc0
Capabilities:
Check os version

Disassembly:
sub esp, 0xa0
mov eax, dword [0x6aae14]
xor eax, esp
mov dword [esp + 0x9c], eax
push ebx
push 0x98
lea eax, [esp + 0xc]
push 0
push eax
mov ebx, 1
call fcn.005dfd60
add esp, 0xc
lea ecx, [esp + 4]
push ecx
mov dword [esp + 8], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esp + 8]
cmp eax, 5
jb 0x4d9d1d
jne 0x4d9d35
cmp dword [esp + 0xc], ebx
jne 0x4d9d1d
cmp word [esp + 0x98], 2
jae 0x4d9d35
xor al, al
pop ebx
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.005dfbbe
add esp, 0xa0
ret
mov ecx, dword [esp + 0xa0]
mov al, bl
pop ebx
xor ecx, esp
call fcn.005dfbbe
add esp, 0xa0
ret
Function at 0x4d9d50
Capabilities:
Check os version

Disassembly:
sub esp, 0xa0
mov eax, dword [0x6aae14]
xor eax, esp
mov dword [esp + 0x9c], eax
cmp dword [0x74b010], 0
jne 0x4d9dc0
push 0x98
lea eax, [esp + 8]
push 0
push eax
call fcn.005dfd60
add esp, 0xc
lea ecx, [esp]
push ecx
mov dword [0x74b010], 1
mov dword [esp + 4], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 4], 5
jne 0x4d9dc0
cmp dword [esp + 8], 1
jne 0x4d9dc0
cmp word [esp + 0x94], 2
jb 0x4d9dc0
mov dword [0x74b00c], 1
mov ecx, dword [esp + 0x9c]
mov eax, dword [0x74b00c]
xor ecx, esp
call fcn.005dfbbe
add esp, 0xa0
ret

Function at 0x4d9e80
Capabilities:
Check os version

Disassembly:
sub esp, 0x98
mov eax, dword [0x6aae14]
xor eax, esp
mov dword [esp + 0x94], eax
cmp dword [0x74b020], 0
jne 0x4d9eec
push 0x90
lea eax, [esp + 8]
push 0
push eax
call fcn.005dfd60
add esp, 0xc
lea ecx, [esp]
push ecx
mov dword [0x74b020], 1
mov dword [esp + 4], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x10], 2
jne 0x4d9eec
cmp dword [esp + 4], 5
jne 0x4d9eec
cmp dword [esp + 8], 1
jne 0x4d9eec
mov dword [0x74b01c], 1
mov ecx, dword [esp + 0x94]
mov eax, dword [0x74b01c]
xor ecx, esp
call fcn.005dfbbe
add esp, 0x98
ret
Function at 0x4d9f10
Capabilities:
Check os version

Disassembly:
sub esp, 0xb4
mov eax, dword [0x6aae14]
xor eax, esp
mov dword [esp + 0xb0], eax
mov ecx, dword [esp + 0xc0]
mov eax, dword [esp + 0xbc]
mov edx, dword [esp + 0xc4]
push ebx
mov ebx, dword [esp + 0xd8]
push ebp
mov ebp, dword [esp + 0xe0]
push esi
mov esi, dword [esp + 0xc4]
push edi
mov edi, dword [esp + 0xf0]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0xdc]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xd8]
push 0x90
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0xe4]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xf0]
lea ecx, [esp + 0x34]
push 0
push ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], eax
call fcn.005dfd60
add esp, 0xc
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x30], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x30]
xor ecx, ecx
cmp eax, 2
sete cl
mov dword [esi], ecx
test edi, edi
je 0x4d9fee
mov dword [edi], 0
cmp eax, 2
jne 0x4d9fee
cmp edx, 6
jne 0x4d9fe6
cmp dword [esp + 0x34], eax
jae 0x4d9fe8
jmp 0x4d9fee
jbe 0x4d9fee
mov dword [edi], 1
test ebp, ebp
je 0x4da011
mov dword [ebp], 0
cmp eax, 2
jne 0x4da011
cmp edx, 6
jne 0x4da011
cmp dword [esp + 0x34], 1
jne 0x4da011
mov dword [ebp], 1
test ebx, ebx
je 0x4da032
mov dword [ebx], 0
cmp eax, 2
jne 0x4da032
cmp edx, 6
jne 0x4da032
cmp dword [esp + 0x34], 0
jne 0x4da032
mov dword [ebx], 1
mov esi, dword [esp + 0x20]
test esi, esi
je 0x4da081
mov dword [esi], 0
cmp eax, 2
jne 0x4da081
cmp edx, 6
jne 0x4da081
call fcn.004d8f30
cmp eax, 2
jle 0x4da079
mov dword [esi], 1
test ebx, ebx
je 0x4da064
mov dword [ebx], 0
test ebp, ebp
je 0x4da06f
mov dword [ebp], 0
test edi, edi
je 0x4da079
mov dword [edi], 0
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4da0a9
mov dword [ecx], 0
cmp eax, 2
jne 0x4da0a9
cmp edx, 5
jne 0x4da0a9
mov esi, dword [esp + 0x34]
cmp esi, eax
jne 0x4da0ad
mov dword [ecx], 1
jmp 0x4da0ad
mov esi, dword [esp + 0x34]
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x4da0cc
mov dword [ecx], 0
cmp eax, 2
jne 0x4da0cc
cmp edx, 5
jne 0x4da0cc
cmp esi, 1
jne 0x4da0cc
mov dword [ecx], esi
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x4da0ee
mov dword [ecx], 0
cmp eax, 2
jne 0x4da0ee
cmp edx, 5
jne 0x4da0ee
test esi, esi
jne 0x4da0ee
mov dword [ecx], 1
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4da10d
mov dword [ecx], 0
cmp eax, 1
jne 0x4da10d
cmp edx, 4
jne 0x4da10d
cmp esi, 0xa
jne 0x4da10d
mov dword [ecx], eax
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x4da12c
mov dword [ecx], 0
cmp eax, 1
jne 0x4da12c
cmp edx, 4
jne 0x4da12c
cmp esi, 0x5a
jne 0x4da12c
mov dword [ecx], eax
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x4da14a
mov dword [ecx], 0
cmp eax, 1
jne 0x4da14a
cmp edx, 4
jne 0x4da14a
test esi, esi
jne 0x4da14a
mov dword [ecx], eax
mov ecx, dword [esp + 0xc0]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005dfbbe
add esp, 0xb4
ret