joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48d42c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
call fcn.0048d3e8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x48d4a0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [0x4d4974], eax
mov ebx, 0x48d374
lea eax, [ebp - 8]
push eax
push 0x40
push 4
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_VirtualProtect
test eax, eax
je 0x48d4a0
xor eax, eax
push ebp
push 0x48d499
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov dword [eax], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48d4a0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push 4
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_VirtualProtect
ret
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x48d4a8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
call fcn.0048d3e8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x48d513
mov ebx, dword [0x4d4974]
lea eax, [ebp - 8]
push eax
push 0x40
push 4
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_VirtualProtect
test eax, eax
je 0x48d513
xor eax, eax
push ebp
push 0x48d50c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov dword [eax], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48d513
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push 4
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_VirtualProtect
ret
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x493058
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov ebx, ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x493190
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004048b4
lea eax, [ebp - 0x10]
call fcn.004048b4
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
mov eax, esi
call fcn.00404d74
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x493175
lea eax, [ebp - 8]
push eax
push 0
lea eax, [ebp - 4]
push eax
push 0
mov eax, edi
call fcn.00404d74
mov esi, eax
push esi
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
jne 0x49316c
inc dword [ebp - 8]
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.00404f00
mov eax, dword [ebp - 4]
dec eax
sub eax, 2
jb 0x4930f4
sub eax, 4
jne 0x49316c
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
call fcn.00404dcc
push eax
lea eax, [ebp - 4]
push eax
push 0
push esi
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
jne 0x49316c
jmp 0x493166
lea eax, [ebp - 0x14]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x4931a8
call fcn.00404eb8
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.00404dd4
mov eax, dword [ebp - 0x14]
call fcn.00404b74
mov ecx, eax
inc ecx
lea eax, [ebp - 0x10]
mov edx, 1
call fcn.00404e14
push dword [ebx]
push 0x4931b4
push dword [ebp - 0x14]
mov eax, ebx
mov edx, 3
call fcn.00404c34
cmp dword [ebp - 0x10], 0
jne 0x493117
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x493197
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004048d8
ret
Function at 0x4937b4
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov ebx, eax
cmp dword [0x4d7068], 0
je 0x4937d9
mov edx, ebx
mov eax, dword [0x4d7068]
call fcn.00475660
jmp 0x493897
call fcn.0049379c
add eax, ebx
xor edx, edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
push edx
push eax
call fcn.0049379c
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
xor eax, eax
push ebp
push 0x493847
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xff
mov eax, dword [ebp - 0x18]
push eax
push 0
lea eax, [ebp - 4]
push eax
push 0
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 0x102
je 0x49383d
mov eax, dword [0x4d1e38]
mov eax, dword [eax]
call fcn.00466adc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x493851
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
push edx
push eax
call fcn.0049379c
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
mov eax, dword [0x4d1e38]
mov eax, dword [eax]
cmp byte [eax + 0x9c], 0
jne 0x493897
cmp dword [ebp - 0x14], 0
jne 0x493891
cmp dword [ebp - 0x18], 0
ja 0x493806
jmp 0x493897
jg 0x493806
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x494cdc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff78
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edx
mov word [ebp - 6], ax
mov byte [ebp - 0x11], 0xff
xor eax, eax
mov dword [ebp - 4], eax
push 0x494ee4
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x494d1b
push 0x494ef4
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x494ed8
xor edi, edi
push ebp
push 0x494ed1
push dword fs:[edi]
mov dword fs:[edi], esp
push ebp
mov edx, 0x494f04
lea eax, [ebp - 0x28]
call fcn.00494ca8
pop ecx
test al, al
je 0x494eb1
push ebp
mov edx, 0x494f24
lea eax, [ebp - 0x20]
call fcn.00494ca8
pop ecx
test al, al
je 0x494eb1
push 1
mov eax, 0x494ccc
push eax
call dword [ebp - 0x20]
add esp, 8
test eax, eax
jne 0x494eb1
push ebp
mov edx, 0x494f3c
lea eax, [ebp - 0x24]
call fcn.00494ca8
pop ecx
test al, al
je 0x494eb1
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x20
call fcn.0040324c
lea eax, [ebp - 0x88]
xor ecx, ecx
mov edx, 0x40
call fcn.0040324c
mov al, 0x6e
mov byte [ebp - 0x48], al
mov byte [ebp - 0x19], al
mov dl, byte [ebp - 0xc]
test dl, dl
jbe 0x494dd9
mov cl, 1
lea esi, [ebp - 0x47]
xor eax, eax
mov al, cl
mov ebx, dword [ebp - 0x10]
mov al, byte [ebx + eax - 1]
mov byte [esi], al
xor byte [ebp - 0x19], al
inc ecx
inc esi
dec dl
jne 0x494dc3
mov eax, dword [ebp - 0xc]
mov dl, byte [ebp - 0x19]
mov byte [ebp + eax - 0x47], dl
mov esi, dword [ebp - 0xc]
add esi, 2
xor eax, eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x48]
push eax
push esi
push 0
push 0
xor ebx, ebx
mov bl, byte [ebp - 6]
push ebx
mov ax, word [ebp - 6]
call fcn.00407948
and eax, 0xff
push eax
call dword [ebp - 0x28]
add esp, 0x20
test eax, eax
je 0x494e2b
call fcn.004042fc
jmp 0x494ed8
push 0x28
call sub.KERNEL32.DLL_Sleep_1
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x20
call fcn.0040324c
lea eax, [ebp - 0x88]
xor ecx, ecx
mov edx, 0x40
call fcn.0040324c
mov byte [ebp - 0x48], 0x6f
mov esi, 1
mov dword [ebp - 0x18], 0x40
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x48]
push eax
push esi
push 0
push 0
push ebx
mov ax, word [ebp - 6]
call fcn.00407948
and eax, 0xff
push eax
call dword [ebp - 0x28]
add esp, 0x20
test eax, eax
jne 0x494eb1
mov al, byte [ebp - 0x87]
and al, 0x7f
add al, 2
mov byte [ebp - 0x11], al
xor ecx, ecx
mov cl, byte [ebp - 0x11]
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0x88]
call fcn.00402954
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x494ed8
cmp dword [ebp - 0x24], 0
je 0x494ec7
call dword [ebp - 0x24]
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_FreeLibrary
ret
mov al, byte [ebp - 0x11]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x496398
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff84
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov ebx, eax
mov byte [ebp - 0xd], 0xff
mov eax, dword [0x4d8494]
call fcn.00404d74
push eax
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [ebp - 4], eax
xor edi, edi
push ebp
push 0x4965c4
push dword fs:[edi]
mov dword fs:[edi], esp
cmp dword [ebp - 4], 0
je 0x4965ad
push ebp
mov edx, 0x4965d8
lea eax, [ebp - 0x18]
call fcn.00496374
pop ecx
test al, al
je 0x4965ad
push ebp
mov edx, 0x4965ec
lea eax, [ebp - 0x1c]
call fcn.00496374
pop ecx
test al, al
je 0x4965ad
push ebp
mov edx, 0x4965fc
lea eax, [ebp - 0x20]
call fcn.00496374
pop ecx
test al, al
je 0x4965ad
push ebp
mov edx, 0x496610
lea eax, [ebp - 0x24]
call fcn.00496374
pop ecx
test al, al
je 0x4965ad
push ebp
mov edx, 0x496620
lea eax, [ebp - 0x28]
call fcn.00496374
pop ecx
test al, al
je 0x4965ad
push ebp
mov edx, 0x496634
lea eax, [ebp - 0x2c]
call fcn.00496374
pop ecx
test al, al
je 0x4965ad
push ebp
mov edx, 0x496654
lea eax, [ebp - 0x30]
call fcn.00496374
pop ecx
test al, al
je 0x4965ad
push ebp
mov edx, 0x496668
lea eax, [ebp - 0x34]
call fcn.00496374
pop ecx
test al, al
je 0x4965ad
push ebp
mov edx, 0x49667c
lea eax, [ebp - 0x38]
call fcn.00496374
pop ecx
test al, al
je 0x4965ad
push ebp
mov edx, 0x496694
lea eax, [ebp - 0x3c]
call fcn.00496374
pop ecx
test al, al
je 0x4965ad
push 0
push ebx
push 0x4d1944
call dword [ebp - 0x30]
add esp, 0xc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4965ad
xor edi, edi
push ebp
push 0x4965a6
push dword fs:[edi]
mov dword fs:[edi], esp
lea eax, [ebp - 0x7c]
xor ecx, ecx
mov edx, 0x40
call fcn.0040324c
mov cl, 0x6e
mov esi, dword [ebp - 8]
dec esi
test esi, esi
jb 0x496519
inc esi
xor edx, edx
lea eax, [ebp - 0x7c]
mov ebx, dword [ebp - 0xc]
mov bl, byte [ebx + edx]
mov byte [eax], bl
mov ebx, dword [ebp - 0xc]
xor cl, byte [ebx + edx]
inc edx
inc eax
dec esi
jne 0x496506
mov eax, dword [ebp - 8]
mov byte [ebp + eax - 0x7c], cl
lea eax, [ebp - 0x7c]
push eax
mov ebx, dword [ebp - 8]
inc ebx
push ebx
push 0x6e
mov eax, dword [ebp - 0x14]
push eax
call dword [ebp - 0x38]
add esp, 0x10
cmp ebx, eax
je 0x496548
call fcn.004042fc
call fcn.004042fc
jmp 0x4965cb
push 0x28
call sub.KERNEL32.DLL_Sleep_1
lea eax, [ebp - 0x7c]
xor ecx, ecx
mov edx, 0x40
call fcn.0040324c
lea eax, [ebp - 0x7c]
push eax
push 0x40
push 0x40
push 0x6f
mov eax, dword [ebp - 0x14]
push eax
call dword [ebp - 0x3c]
add esp, 0x14
test eax, eax
jbe 0x496590
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x7c]
mov ecx, 0x40
call fcn.00402954
mov al, byte [ebp - 0x7b]
and al, 0x7f
add al, 2
mov byte [ebp - 0xd], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4965ad
mov eax, dword [ebp - 0x14]
push eax
call dword [ebp - 0x34]
pop ecx
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4965cb
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_FreeLibrary
ret
mov al, byte [ebp - 0xd]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x498cd8
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x498d7b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
mov edx, dword [0x4d1f10]
mov edx, dword [edx]
call fcn.00404908
mov dword [ebp - 8], pe_nt_image_headers32
mov eax, dword [ebp - 8]
call fcn.0040271c
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x498d5e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_GetUserNameA
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00409adc
mov eax, dword [ebp - 0xc]
mov edx, ebx
call fcn.00408e1c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x498d65
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0040273c
ret

Function at 0x498d88
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd2c
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x2cc], edx
mov dword [ebp - 0x2d4], edx
mov dword [ebp - 0x2d0], edx
mov esi, eax
xor eax, eax
push ebp
push 0x498f10
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
mov edx, dword [0x4d1f10]
mov edx, dword [edx]
call fcn.00404908
lea eax, [ebp - 0x190]
push eax
mov dx, 1
mov ax, 1
call fcn.00407938
push eax
call sub.wsock32.dll_WSAStartup
test eax, eax
jne 0x498ef2
xor edx, edx
push ebp
push 0x498eeb
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x104
lea eax, [ebp - 0x295]
push eax
call sub.wsock32.dll_gethostname
lea eax, [ebp - 0x295]
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x498ed8
mov ebx, eax
push esi
lea eax, [ebp - 0x2d0]
lea edx, [ebp - 0x295]
mov ecx, 0x105
call fcn.00404b24
mov eax, dword [ebp - 0x2d0]
lea edx, [ebp - 0x2cc]
call fcn.00408e1c
mov eax, dword [ebp - 0x2cc]
mov dword [ebp - 0x2c8], eax
mov byte [ebp - 0x2c4], 0xb
mov eax, dword [ebx + 0xc]
mov edi, dword [eax]
xor eax, eax
mov al, byte [edi]
mov dword [ebp - 0x2c0], eax
mov byte [ebp - 0x2bc], 0
xor eax, eax
mov al, byte [edi + 1]
mov dword [ebp - 0x2b8], eax
mov byte [ebp - 0x2b4], 0
xor eax, eax
mov al, byte [edi + 2]
mov dword [ebp - 0x2b0], eax
mov byte [ebp - 0x2ac], 0
xor eax, eax
mov al, byte [edi + 3]
mov dword [ebp - 0x2a8], eax
mov byte [ebp - 0x2a4], 0
lea eax, [ebp - 0x2d4]
call fcn.00498cd8
mov eax, dword [ebp - 0x2d4]
mov dword [ebp - 0x2a0], eax
mov byte [ebp - 0x29c], 0xb
lea edx, [ebp - 0x2c8]
mov ecx, 5
mov eax, 0x498f28
call fcn.00409fcc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x498ef2
call sub.wsock32.dll_WSACleanup
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x498f17
lea eax, [ebp - 0x2d4]
mov edx, 3
call fcn.004048d8
ret
Function at 0x498f3c
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbf4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x40c], ecx
mov ebx, edx
mov edi, eax
xor eax, eax
push ebp
push 0x49902c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004048b4
push 0
push 0
push 0
push 0
push 0x49903c
call sub.wininet.dll_InternetOpenA
mov esi, eax
test esi, esi
je 0x499013
push 0
push 0x80000000
push 0
push 0
mov eax, edi
call fcn.00404d74
push eax
push esi
call sub.wininet.dll_InternetOpenUrlA
mov edi, eax
test edi, edi
je 0x49900d
lea eax, [ebp - 0x405]
xor ecx, ecx
mov edx, 0x401
call fcn.0040324c
lea eax, [ebp - 0x40c]
lea edx, [ebp - 0x405]
mov ecx, 0x401
call fcn.00404b24
mov edx, dword [ebp - 0x40c]
mov eax, ebx
call fcn.00404b7c
lea eax, [ebp - 0x405]
xor ecx, ecx
mov edx, 0x401
call fcn.0040324c
lea eax, [ebp - 4]
push eax
push 0x401
lea eax, [ebp - 0x405]
push eax
push edi
call sub.wininet.dll_InternetReadFile
cmp dword [ebp - 4], 0
jne 0x498fb6
push edi
call sub.wininet.dll_InternetCloseHandle
push esi
call sub.wininet.dll_InternetCloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x499033
lea eax, [ebp - 0x40c]
call fcn.004048b4
ret

Function at 0x49904c
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff50
push ebx
xor edx, edx
mov dword [ebp - 0x9c], edx
mov dword [ebp - 0xa0], edx
mov dword [ebp - 0xa4], edx
mov dword [ebp - 0xa8], edx
mov dword [ebp - 0xac], edx
mov dword [ebp - 0xb0], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4991d7
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x98], 0x94
lea eax, [ebp - 0x98]
push eax
call sub.KERNEL32.DLL_GetVersionExA_1
mov eax, dword [ebp - 0x94]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0xa0]
call fcn.00409170
push dword [ebp - 0xa0]
push 0x4991ec
mov eax, dword [ebp - 0x90]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0xa4]
call fcn.00409170
push dword [ebp - 0xa4]
push 0x4991ec
mov eax, dword [ebp - 0x8c]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0xa8]
call fcn.00409170
push dword [ebp - 0xa8]
push 0x4991ec
mov eax, dword [ebp - 0x88]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0xac]
call fcn.00409170
push dword [ebp - 0xac]
push 0x4991ec
lea eax, [ebp - 0xb0]
lea edx, [ebp - 0x84]
mov ecx, 0x80
call fcn.00404b24
push dword [ebp - 0xb0]
lea eax, [ebp - 0x9c]
mov edx, 9
call fcn.00404c34
mov eax, dword [ebp - 0x9c]
lea edx, [ebp - 4]
call fcn.00408e1c
mov eax, dword [ebp - 4]
call fcn.00404b74
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 1], 0x2e
jne 0x499188
mov eax, dword [ebp - 4]
call fcn.00404b74
mov edx, eax
lea eax, [ebp - 4]
mov ecx, 1
call fcn.00404e14
cmp dword [ebp - 0x94], 6
jae 0x4991a7
call fcn.00474248
test al, al
je 0x4991a7
lea eax, [ebp - 4]
mov edx, 0x4991f8
call fcn.00404b7c
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00404908
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4991de
lea eax, [ebp - 0xb0]
mov edx, 6
call fcn.004048d8
lea eax, [ebp - 4]
call fcn.004048b4
ret
Function at 0x49b340
Capabilities:
Create process on windows

Disassembly:
push ebx
push esi
mov esi, edx
mov ebx, eax
call fcn.00474248
test al, al
je 0x49b37c
push 1
push 0
mov eax, esi
call fcn.00404d74
push eax
mov eax, ebx
call fcn.00404d74
push eax
push 0x49b3ac
call sub.user32.dll_GetForegroundWindow
push eax
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x20
seta al
pop esi
pop ebx
ret
push 1
push 0
mov eax, esi
call fcn.00404d74
push eax
mov eax, ebx
call fcn.00404d74
push eax
push 0x49b3b4
call sub.user32.dll_GetForegroundWindow
push eax
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x20
seta al
pop esi
pop ebx
ret

Function at 0x49b504
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x49b5d9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
mov edx, 0x49b5f0
call fcn.0040494c
lea eax, [ebp - 4]
push eax
mov eax, ebx
call fcn.00404d74
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x49b5c3
mov eax, dword [ebp - 8]
call fcn.0040271c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x49b5bc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x49b5a6
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404d74
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x49b5a6
mov eax, dword [ebp - 0x14]
mov esi, eax
mov ecx, 0xb
rep movsd dword es:[edi], dword [esi]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49b5c3
mov eax, dword [ebp - 0x10]
call fcn.0040273c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49b5e0
lea eax, [ebp - 0xc]
call fcn.004048b4
ret
Function at 0x4c73d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe60
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x198], ebx
mov dword [ebp - 0x19c], ebx
mov dword [ebp - 0x1a0], ebx
mov dword [ebp - 0x18c], ebx
mov dword [ebp - 0x190], ebx
mov dword [ebp - 0x194], ebx
mov dword [ebp - 0x184], ebx
mov dword [ebp - 0x188], ebx
mov dword [ebp - 4], ebx
mov ebx, ecx
mov esi, edx
xor eax, eax
push ebp
push 0x4c7606
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, esi
call fcn.00408e1c
mov eax, dword [ebp - 4]
call fcn.00404b74
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 1], 0x3f
je 0x4c744c
lea eax, [ebp - 4]
mov edx, 0x4c761c
call fcn.00404b7c
push 0x4c7628
lea eax, [ebp - 0x184]
call fcn.00498d88
push dword [ebp - 0x184]
push 0x4c763c
xor eax, eax
mov al, byte [0x4d8350]
xor edx, edx
mov dl, byte [0x4d8351]
add eax, edx
lea edx, [ebp - 0x188]
call fcn.00409084
push dword [ebp - 0x188]
lea eax, [ebp - 4]
mov edx, 4
call fcn.00404c34
xor eax, eax
mov al, byte [0x4d8350]
xor edx, edx
mov dl, byte [0x4d8351]
add eax, edx
test eax, eax
jbe 0x4c75c5
movzx esi, byte [0x4d8350]
dec esi
xor eax, eax
mov al, byte [0x4d8351]
add esi, eax
test esi, esi
jl 0x4c75c5
inc esi
mov edi, 0x4d707c
mov edx, 0x4d605c
mov eax, edi
mov ecx, 0x101
call fcn.00402954
lea eax, [ebp - 0x180]
call fcn.0049aa78
test bl, bl
je 0x4c7554
push dword [ebp - 4]
push 0x4c7650
lea eax, [ebp - 0x18c]
lea edx, [ebp - 0x180]
call fcn.00404b18
push dword [ebp - 0x18c]
push 0x4c7660
lea eax, [ebp - 0x190]
lea edx, [ebp - 0x137]
call fcn.00404b18
push dword [ebp - 0x190]
push 0x4c7674
lea eax, [ebp - 0x194]
lea edx, [ebp - 0x116]
call fcn.00404b18
push dword [ebp - 0x194]
lea eax, [ebp - 4]
mov edx, 7
call fcn.00404c34
jmp 0x4c75b8
push dword [ebp - 4]
push 0x4c768c
lea eax, [ebp - 0x198]
lea edx, [ebp - 0x180]
call fcn.00404b18
push dword [ebp - 0x198]
push 0x4c76a4
lea eax, [ebp - 0x19c]
lea edx, [ebp - 0x137]
call fcn.00404b18
push dword [ebp - 0x19c]
push 0x4c76a4
lea eax, [ebp - 0x1a0]
lea edx, [ebp - 0x116]
call fcn.00404b18
push dword [ebp - 0x1a0]
lea eax, [ebp - 4]
mov edx, 7
call fcn.00404c34
add edi, 0x101
dec esi
jne 0x4c74ce
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404d74
push eax
push 0x4c76a8
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c760d
lea eax, [ebp - 0x1a0]
mov edx, 8
call fcn.004048d8
lea eax, [ebp - 4]
call fcn.004048b4
ret
Function at 0x4cc050
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x4cc058
push ecx
push ebx
push esi
mov ebx, edx
xor eax, eax
push ebp
push 0x4cc275
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, 0x4cc28c
call fcn.00498f3c
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00408e1c
cmp dword [ebp - 8], 0
jne 0x4cc0e6
test bl, bl
je 0x4cc25a
push 0x10
lea edx, [ebp - 0x10]
mov eax, dword [0x4d1e38]
mov eax, dword [eax]
call fcn.0046679c
push dword [ebp - 0x10]
push 0x4cc2cc
push 0x4cc2d8
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404c34
mov eax, dword [ebp - 0xc]
call fcn.00404d74
push eax
push 0x4cc2e4
mov eax, dword [0x4d1e38]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_MessageBoxA
jmp 0x4cc25a
call fcn.0040ac3c
call fcn.00402bb0
mov ecx, eax
mov edx, 0x4cc324
mov eax, 0x4cc338
call fcn.004934c8
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x1c]
mov eax, dword [0x4d1e38]
mov eax, dword [eax]
call fcn.00467298
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.0049b5f4
mov eax, dword [ebp - 0x18]
mov edx, 0x4cc358
call fcn.0047500c
push eax
lea edx, [ebp - 0x24]
mov eax, dword [0x4d1e38]
mov eax, dword [eax]
call fcn.00467298
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.0049b5f4
mov eax, dword [ebp - 0x20]
mov edx, 0x4cc358
pop ecx
call fcn.004750bc
mov eax, dword [ebp - 0x14]
mov edx, 1
call fcn.0040922c
mov esi, eax
lea eax, [ebp - 0x28]
push eax
mov ecx, 1
mov edx, 0x4cc364
mov eax, dword [ebp - 4]
call fcn.004750bc
mov eax, dword [ebp - 0x28]
xor edx, edx
call fcn.0040922c
cmp eax, esi
jg 0x4cc1db
test bl, bl
je 0x4cc25a
push 0x40
lea edx, [ebp - 0x30]
mov eax, dword [0x4d1e38]
mov eax, dword [eax]
call fcn.0046679c
push dword [ebp - 0x30]
push 0x4cc2cc
push 0x4cc2d8
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.00404c34
mov eax, dword [ebp - 0x2c]
call fcn.00404d74
push eax
push 0x4cc368
mov eax, dword [0x4d1e38]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_MessageBoxA
jmp 0x4cc25a
push 0x24
lea edx, [ebp - 0x38]
mov eax, dword [0x4d1e38]
mov eax, dword [eax]
call fcn.0046679c
push dword [ebp - 0x38]
push 0x4cc2cc
push 0x4cc2d8
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.00404c34
mov eax, dword [ebp - 0x34]
call fcn.00404d74
push eax
push 0x4cc3c4
mov eax, dword [0x4d1e38]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_MessageBoxA
cmp eax, 6
jne 0x4cc25a
push 1
push 0
push 0
lea eax, [ebp - 0x3c]
push eax
mov ecx, 2
mov edx, 0x4cc364
mov eax, dword [ebp - 4]
call fcn.004750bc
mov eax, dword [ebp - 0x3c]
call fcn.00404d74
push eax
push 0x4cc408
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cc27c
lea eax, [ebp - 0x3c]
mov edx, 0xf
call fcn.004048d8
ret