joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ce0c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x40cf71
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040a42c
cmp si, word [0x4d7a00]
jb 0x40cea4
cmp si, word [0x4d7c00]
ja 0x40cea4
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x40cea4
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x4d7a00]
jae 0x40ce7e
mov edi, ebx
dec edi
jmp 0x40ce9f
cmp si, word [ebx*8 + 0x4d7a00]
jbe 0x40ce8e
inc ebx
mov dword [ebp - 8], ebx
jmp 0x40ce9f
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x4d7a04]
call fcn.0040cd2c
jmp 0x40cea4
cmp edi, dword [ebp - 8]
jae 0x40ce68
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x40cf53
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40cf53
push 0x55
lea eax, [ebp - 0xb2]
push eax
push 0x59
movzx ebx, si
push ebx
call sub.kernel32.dll_GetLocaleInfoW
push 0x55
lea eax, [ebp - 0x15c]
push eax
push 0x5a
push ebx
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x160]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.0040afa8
push dword [ebp - 0x160]
push 0x40cf8c
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.0040afa8
push dword [ebp - 0x164]
push 0x40cf9c
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.0040afa8
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.0040b1e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cf78
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.0040a48c
ret
Function at 0x40d124
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40d228
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4ddc14
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x4ddc2c]
jne 0x40d170
mov eax, esi
mov edx, 0x4ddc2e
mov ecx, 0x55
call fcn.0040afa8
push 0x4ddc14
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x40d212
push 0x4ddc14
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.0040a42c
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40d1df
cmp byte [0x4ddc10], 0
je 0x40d1a4
mov edx, esi
mov eax, ebx
call fcn.0040d008
jmp 0x40d1df
mov edx, esi
mov eax, ebx
call fcn.0040ce0c
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x40d1df
cmp dword [esi], 0
je 0x40d1c8
mov eax, esi
mov edx, 0x40d240
call fcn.0040b100
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.0040ce0c
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0040b100
push 0x4ddc14
call sub.kernel32.dll_EnterCriticalSection
mov word [0x4ddc2c], bx
mov eax, dword [esi]
call fcn.0040af04
mov ecx, eax
mov eax, 0x4ddc2e
mov edx, 0xaa
call fcn.0040cc8c
push 0x4ddc14
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d22f
lea eax, [ebp - 4]
call fcn.0040a42c
ret
Function at 0x40d458
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040a510
xor eax, eax
push ebp
push 0x40d67d
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x40d498
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x40d4b2
mov eax, dword [ebp - 4]
call fcn.0040af04
mov ecx, eax
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.0040cc8c
cmp word [ebp - 0x21a], 0
je 0x40d667
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40d68c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40d581
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40d68c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40d581
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40d6c8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40d581
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40d6c8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40d581
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40d6fc
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40d581
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40d730
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x40d667
xor eax, eax
push ebp
push 0x40d660
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.0040d268
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x21a]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40d5f0
mov eax, dword [ebp - 0x10]
call fcn.00406e98
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
lea eax, [ebp - 0x21a]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.0040af6c
jmp 0x40d63b
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x40d770
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40d63b
mov eax, dword [ebp - 0x10]
call fcn.00406e98
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x40d770
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.0040af6c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d667
cmp dword [ebp - 8], 0
je 0x40d656
mov eax, dword [ebp - 8]
call fcn.00406eb4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d684
lea eax, [ebp - 4]
call fcn.0040a42c
ret
Function at 0x40d96c
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040a510
xor eax, eax
push ebp
push 0x40da2c
push dword fs:[eax]
mov dword fs:[eax], esp
push 4
lea eax, [ebp - 0xc]
push eax
push 3
call sub.kernel32.dll_GetUserDefaultUILanguage
movzx eax, ax
push eax
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.0040afa8
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040b158
mov eax, dword [ebx]
call fcn.0040d834
test al, al
jne 0x40da09
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.0040afa8
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040b158
mov eax, dword [ebx]
call fcn.0040d834
test al, al
jne 0x40da09
mov eax, ebx
call fcn.0040a42c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40da33
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0040a48c
lea eax, [ebp - 4]
call fcn.0040a42c
ret

Function at 0x40f72c
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
push esp
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esp + 0x14]
add esp, 0x24
ret
Function at 0x41e8e4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x41e93d
test eax, edx
je 0x41e940
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x41e8fb
movzx eax, word [eax]
sub eax, ecx
jmp 0x41e922
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x41e923
add ecx, 4
js 0x41e913
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x41e920
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x41e922
xor eax, eax
ret
test eax, eax
je 0x41e94c
test edx, edx
jne 0x41e8ec
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x41f914
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [esi]
add eax, edi
push eax
push ebx
call sub.kernel32.dll_ReadFile
test eax, eax
jne 0x41f941
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4

Function at 0x42340c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW
test eax, eax
jle 0x423445
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.0040a5b4
jmp 0x42344e
mov eax, ebx
mov edx, esi
call fcn.0040a80c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x423458
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW
test eax, eax
jle 0x42347a
movzx eax, word [esp]
jmp 0x42347c
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x424778
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x42489d
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00424580
mov esi, eax
mov eax, dword [0x4da9a0]
cmp byte [eax], 0
je 0x424845
mov eax, dword [0x4da7e8]
call fcn.00407ac4
call fcn.00406fec
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x424748]
call fcn.0040c540
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x4248b8
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
jmp 0x424881
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x4da7b0]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4de634]
call fcn.0040c930
push eax
call sub.user32.dll_LoadStringW
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.user32.dll_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4248a4
lea eax, [ebp - 4]
mov edx, dword [0x424748]
call fcn.0040c664
ret
Function at 0x42593c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x425a3c
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040a854
lea eax, [ebp - 4]
call fcn.0040a9c0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040af04
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x425a26
mov eax, ebx
call fcn.00406e98
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x425a1f
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040af04
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x425a09
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x425a50
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x425a09
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x10]
shr eax, 0x10
movzx eax, ax
mov dword [esi], eax
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 0x10]
mov dword [edi], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
shr eax, 0x10
movzx eax, ax
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x425a26
mov eax, dword [ebp - 0x10]
call fcn.00406eb4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x425a43
lea eax, [ebp - 4]
call fcn.0040a42c
ret

Function at 0x4267e4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.0040a908
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040f70c
mov edi, eax
cmp edi, 0x104
jbe 0x42678f
mov eax, edi
add eax, eax
call fcn.00406e98
mov esi, eax
jmp 0x426791
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040f70c
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x4267ca
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x4267b4
mov eax, esp
cmp esi, eax
je 0x4267d7
mov eax, esi
call fcn.00406eb4
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x426810
cmp bl, 0
je 0x42680c
cmp bl, 0x41
jl 0x426807
cmp bl, 0x5a
jg 0x426807
or bl, 0x20
xor al, bl
inc esi
jmp 0x4267eb
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x426750

Function at 0x42706c
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xfffff800
mov ebx, ecx
mov word [esp], 0
push 0x400
lea ecx, [esp + 4]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW
mov eax, ebx
mov edx, esp
mov ecx, 0x400
call fcn.0040afa8
add esp, 0x800
pop ebx
ret
Function at 0x47ec10
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
mov dl, 0xb5
mov ebx, eax
xor eax, eax
mov ecx, eax
mov esi, ebx
shr esi, cl
mov ecx, esi
and cl, 0xff
xor dl, cl
inc eax
cmp eax, 4
jne 0x47ec18
mov eax, edx
pop esi
pop ebx
ret

Function at 0x4b14b8
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4b1556
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xd]
je 0x4b151a
cmp byte [ebx + 0x11], 0
jne 0x4b151a
cmp byte [ebx + 0x24], 0
jne 0x4b151a
mov byte [ebx + 0xf], 0
mov byte [ebx + 0xd], 0
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x4b153b
lea edx, [ebp - 4]
mov eax, dword [0x4da954]
call fcn.0040f678
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x48c100]
call fcn.004248c8
call fcn.00409b28
jmp 0x4b153b
lea edx, [ebp - 8]
mov eax, dword [0x4da954]
call fcn.0040f678
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x48c100]
call fcn.004248c8
call fcn.00409b28
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b155d
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040a48c
ret

Function at 0x4b1d70
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xf]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x4b1dbe
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xf], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.004b1338
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b1dd7
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4b1de0
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.004b1338
dec esi
jne 0x4b1e02
mov byte [ebx + 0xf], 0
pop esi
pop ebx
ret
Function at 0x4d26f4
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x17
push 0
push 0
dec ecx
jne 0x4d26fc
push ebx
mov dword [ebp - 0x5c], edx
xor eax, eax
push ebp
push 0x4d2955
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea edx, [ebp - 0x64]
mov eax, 0x4d2974
call fcn.004d1998
mov edx, dword [ebp - 0x64]
lea eax, [ebp - 0x18]
call fcn.004348cc
push 0
push 0
push 0x4d29b8
push 0x4d29dc
push 0x4d29f0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.0042ec34
add esp, 0x1c
lea edx, [ebp - 0x74]
lea eax, [ebp - 0x28]
call fcn.004349b4
push 0x20
push 0x4d2a14
mov eax, dword [0x4e0df4]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x8c]
call fcn.0041f10c
mov ecx, dword [ebp - 0x8c]
lea eax, [ebp - 0x88]
mov edx, 0x4d2a28
call fcn.0040b158
mov eax, dword [ebp - 0x88]
push eax
push 0x4d2a88
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.0042ec34
add esp, 0x18
lea edx, [ebp - 0x84]
lea eax, [ebp - 0x38]
call fcn.004349b4
push 0x4d2a98
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.0042ec34
add esp, 0xc
lea edx, [ebp - 0xa0]
lea eax, [ebp - 0x90]
call fcn.004343c0
mov edx, dword [ebp - 0x90]
lea eax, [ebp - 4]
mov ecx, 0x4d2aa4
call fcn.0040de14
jmp 0x4d28aa
push 0x4d2ab4
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.0042ec34
add esp, 0xc
lea edx, [ebp - 0xb0]
mov eax, dword [ebp - 0x5c]
call fcn.00433c38
lea eax, [ebp - 0xb8]
push eax
mov eax, dword [ebp - 0x5c]
xor ecx, ecx
mov edx, 0x4d2ad0
call fcn.00429980
mov eax, dword [ebp - 0xb8]
lea edx, [ebp - 0xb4]
call fcn.0041eb48
mov edx, dword [ebp - 0xb4]
mov eax, dword [ebp - 0x5c]
call fcn.0040a80c
push 0x4d2ad4
lea eax, [ebp - 0x48]
push eax
push 0
call fcn.0042ec34
add esp, 0xc
xor eax, eax
push ebp
push 0x4d28a1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x58]
call fcn.0042eb38
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x58]
call fcn.004349b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d28a8
lea eax, [ebp - 0x58]
call fcn.0042eb4c
ret
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x48]
push eax
push 1
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
test eax, eax
je 0x4d27fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d295f
lea eax, [ebp - 0xb8]
mov edx, 2
call fcn.0040a48c
lea eax, [ebp - 0xb0]
mov edx, dword [0x4012f0]
mov ecx, 2
call fcn.0040b694
lea eax, [ebp - 0x90]
call fcn.0040ddd0
lea eax, [ebp - 0x8c]
mov edx, 2
call fcn.0040a48c
lea eax, [ebp - 0x84]
mov edx, dword [0x4012f0]
mov ecx, 2
call fcn.0040b694
lea eax, [ebp - 0x64]
call fcn.0040ddd0
lea eax, [ebp - 0x58]
call fcn.0042eb4c
lea eax, [ebp - 0x48]
mov edx, dword [0x401300]
mov ecx, 4
call fcn.0040b694
lea eax, [ebp - 4]
call fcn.0040ddd0
ret
Function at 0x4d2ae4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040a510
mov eax, dword [ebp - 8]
call fcn.0040a510
xor eax, eax
push ebp
push 0x4d2b8f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x44]
xor ecx, ecx
mov edx, 0x3c
call fcn.00407b34
mov dword [ebp - 0x44], 0x3c
mov dword [ebp - 0x40], 0x340
call sub.user32.dll_GetActiveWindow
mov dword [ebp - 0x3c], eax
mov eax, 0x4d2ba0
mov dword [ebp - 0x38], eax
mov eax, 0x4d2bac
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 4]
call fcn.0040af04
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 8]
call fcn.0040af04
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 1
lea eax, [ebp - 0x44]
push eax
call sub.shell32.dll_ShellExecuteExW
test eax, eax
je 0x4d2b72
mov bl, 1
jmp 0x4d2b74
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d2b96
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040a48c
ret
Function at 0x4d61b9
Capabilities:
Get system information on windows

Disassembly:
add byte [ebx - 0x5cc3dbbc], cl
lodsb al, byte [esi]
out 0x4d, eax
add byte [edi], cl
mov bh, 0x84
and al, 0x44
add dword [eax], eax
add byte [ebx + 0x4de7c0], ah
movzx eax, word [esp + 0x146]
mov dword [0x4de7c4], eax
lea eax, [esp + 0xc]
xor ecx, ecx
mov edx, 0x24
call fcn.00407b34
mov edx, 1
mov eax, 5
call fcn.0042c790
test al, al
je 0x4d620a
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetNativeSystemInfo
cmp word [esp + 0xc], 9
sete al
and eax, 0x7f
movzx eax, byte [eax + 0x4d9708]
mov byte [0x4de7a8], al
cmp dword [0x4de7b0], 6
jg 0x4d623d
cmp dword [0x4de7b0], 6
jne 0x4d6294
cmp dword [0x4de7b4], 1
jle 0x4d6294
lea eax, [esp + 8]
push eax
lea ecx, [esp + 8]
lea edx, [esp + 4]
mov eax, 0x4d6474
call fcn.0042593c
test al, al
je 0x4d6274
mov eax, dword [esp]
mov dword [0x4de7b0], eax
mov eax, dword [esp + 4]
mov dword [0x4de7b4], eax
mov eax, dword [esp + 8]
mov dword [0x4de7ac], eax
jmp 0x4d6294
lea edx, [esp + 4]
mov eax, esp
call fcn.00425894
test al, al
je 0x4d6294
mov eax, dword [esp]
mov dword [0x4de7b0], eax
mov eax, dword [esp + 4]
mov dword [0x4de7b4], eax
mov edx, 0x4de7b8
mov eax, dword [0x4daa54]
call fcn.0040f678
mov eax, dword [0x4de7b0]
sub eax, 5
je 0x4d63de
dec eax
je 0x4d62fc
sub eax, 4
jne 0x4d645f
mov eax, dword [0x4de7b4]
sub eax, 1
jae 0x4d645f
call fcn.0042c734
test al, al
jne 0x4d62e8
mov edx, 0x4de7b8
mov eax, dword [0x4da9bc]
call fcn.0040f678
jmp 0x4d645f
mov edx, 0x4de7b8
mov eax, dword [0x4da9dc]
call fcn.0040f678
jmp 0x4d645f
mov eax, dword [0x4de7b4]
sub eax, 1
jb 0x4d6317
je 0x4d6349
dec eax
je 0x4d637b
dec eax
je 0x4d63ad
jmp 0x4d645f
cmp byte [esp + 0x14a], 1
jne 0x4d6335
mov edx, 0x4de7b8
mov eax, dword [0x4da8d0]
call fcn.0040f678
jmp 0x4d645f
mov edx, 0x4de7b8
mov eax, dword [0x4da988]
call fcn.0040f678
jmp 0x4d645f
cmp byte [esp + 0x14a], 1
jne 0x4d6367
mov edx, 0x4de7b8
mov eax, dword [0x4daa84]
call fcn.0040f678
jmp 0x4d645f
mov edx, 0x4de7b8
mov eax, dword [0x4da8b0]
call fcn.0040f678
jmp 0x4d645f
cmp byte [esp + 0x14a], 1
jne 0x4d6399
mov edx, 0x4de7b8
mov eax, dword [0x4da728]
call fcn.0040f678
jmp 0x4d645f
mov edx, 0x4de7b8
mov eax, dword [0x4da73c]
call fcn.0040f678
jmp 0x4d645f
call fcn.0042c734
test al, al
jne 0x4d63ca
mov edx, 0x4de7b8
mov eax, dword [0x4da9f0]
call fcn.0040f678
jmp 0x4d645f
mov edx, 0x4de7b8
mov eax, dword [0x4daa10]
call fcn.0040f678
jmp 0x4d645f
mov eax, dword [0x4de7b4]
sub eax, 1
jb 0x4d63ef
je 0x4d6400
dec eax
je 0x4d6411
jmp 0x4d645f
mov edx, 0x4de7b8
mov eax, dword [0x4daa80]
call fcn.0040f678
jmp 0x4d645f
mov edx, 0x4de7b8
mov eax, dword [0x4da92c]
call fcn.0040f678
jmp 0x4d645f
cmp byte [esp + 0x14a], 1
jne 0x4d6434
cmp word [esp + 0xc], 9
jne 0x4d6434
mov edx, 0x4de7b8
mov eax, dword [0x4da92c]
call fcn.0040f678
jmp 0x4d645f
push 0x59
call sub.user32.dll_GetSystemMetrics
test eax, eax
jne 0x4d6450
mov edx, 0x4de7b8
mov eax, dword [0x4da72c]
call fcn.0040f678
jmp 0x4d645f
mov edx, 0x4de7b8
mov eax, dword [0x4da9f4]
call fcn.0040f678
add esp, 0x14c
ret