joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48d238
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffcac
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov esi, 0x4cda1b
lea edi, [ebp - 0x248]
mov ecx, 0x82
rep movsd dword es:[edi], dword [esi]
cmp dword [0x4d3344], 0
je 0x48d365
mov word [ebp - 0x26], 0x109
mov byte [ebp - 0x354], 0x13
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_lstrlenA_1
inc eax
push eax
mov edx, dword [ebp - 4]
push edx
lea ecx, [ebp - 0x353]
push ecx
call fcn.00484d40
add esp, 0xc
push 1
mov eax, dword [ebp - 8]
push eax
lea edx, [ebp - 0x24f]
push edx
call fcn.00484d40
add esp, 0xc
push 1
mov ecx, dword [ebp - 0xc]
push ecx
lea eax, [ebp - 0x24e]
push eax
call fcn.00484d40
add esp, 0xc
push 1
mov edx, dword [ebp + 0x10]
push edx
lea ecx, [ebp - 0x24d]
push ecx
call fcn.00484d40
add esp, 0xc
push 1
mov eax, dword [ebp + 0xc]
push eax
lea edx, [ebp - 0x24c]
push edx
call fcn.00484d40
add esp, 0xc
lea ecx, [ebp - 0x30]
lea eax, [ebp - 0x354]
push 6
mov dx, word [ebp - 0x26]
call fcn.00491d6c
mov word [ebp - 0x28], ax
push 2
lea ecx, [ebp - 0x30]
push ecx
lea eax, [ebp - 0x28]
push eax
call fcn.00484d40
add esp, 0xc
lea edx, [ebp - 0x2e]
push 1
push edx
mov ecx, dword [ebp - 8]
push ecx
call fcn.00484d40
add esp, 0xc
lea eax, [ebp - 0x2d]
push 1
push eax
mov edx, dword [ebp - 0xc]
push edx
call fcn.00484d40
add esp, 0xc
lea ecx, [ebp - 0x2c]
push 1
push ecx
mov eax, dword [ebp + 0x10]
push eax
call fcn.00484d40
add esp, 0xc
lea edx, [ebp - 0x2b]
push 1
push edx
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00484d40
movsx eax, word [ebp - 0x28]
add esp, 0xc
jmp 0x48d424
lea eax, [ebp - 0x248]
mov edx, dword [ebp - 4]
call fcn.00491294
push 0
push 0
push 3
push 0
push 3
push 0x80000000
lea ecx, [ebp - 0x248]
push ecx
call sub.kernel32.dll_CreateFileA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x48d3a1
mov eax, 0xffffff37
jmp 0x48d424
xor edx, edx
mov dword [ebp - 0x18], edx
push 0
lea ecx, [ebp - 0x24]
push ecx
push 1
lea eax, [ebp - 0x40]
add eax, dword [ebp - 0x18]
push eax
mov edx, dword [ebp - 0x10]
push edx
call sub.kernel32.dll_ReadFile
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0xf
jle 0x48d3a6
mov ecx, dword [ebp - 0x10]
push ecx
call sub.kernel32.dll_CloseHandle
push 0x4d0b2e
push 1
push 1
push 0
call sub.kernel32.dll_CreateSemaphoreA
mov dword [ebp - 0x1c], eax
push 0xffffffffffffffff
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [ebp + 0xc]
push ecx
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x40]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00488908
mov dword [ebp - 0x14], eax
push 0
push 1
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_ReleaseSemaphore
mov edx, dword [ebp - 0x1c]
push edx
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0x14]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x48d6bc
Capabilities:
Read file on windows

Disassembly:
push esi
push edi
add esp, 0xfffffba4
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
mov esi, 0x4cdd24
lea edi, [esp + 0x48]
mov ecx, 0x40
rep movsd dword es:[edi], dword [esi]
cmp dword [0x4d3344], 0
je 0x48d791
mov word [esp + 0x34], 0x209
mov byte [esp + 0x148], 0x15
mov eax, dword [esp]
push eax
call sub.kernel32.dll_lstrlenA_1
inc eax
push eax
mov edx, dword [esp + 4]
push edx
lea ecx, [esp + 0x151]
push ecx
call fcn.00484d40
add esp, 0xc
mov eax, dword [esp + 4]
push eax
call sub.kernel32.dll_lstrlenA_1
inc eax
push eax
mov edx, dword [esp + 8]
push edx
lea ecx, [esp + 0x255]
push ecx
call fcn.00484d40
add esp, 0xc
push 0x106
lea ecx, [esp + 0x358]
lea eax, [esp + 0x14c]
mov dx, word [esp + 0x38]
call fcn.00491d6c
mov word [esp + 0x36], ax
push 2
lea eax, [esp + 0x358]
push eax
lea edx, [esp + 0x3e]
push edx
call fcn.00484d40
add esp, 0xc
lea ecx, [esp + 0x356]
push ecx
mov eax, dword [esp + 0xc]
push eax
call sub.kernel32.dll_lstrcpyA
movsx eax, word [esp + 0x36]
jmp 0x48d8fd
xor edx, edx
mov byte [esp + 0x26], dl
mov byte [esp + 0x25], dl
mov byte [esp + 0x24], dl
push 0
push 0
push 3
push 0
push 3
push 0x80000000
mov eax, dword [esp + 0x1c]
push eax
call sub.kernel32.dll_CreateFileA
mov dword [esp + 0xc], eax
cmp dword [esp + 0xc], 0xffffffff
jne 0x48d7cd
mov eax, 0xffffff37
jmp 0x48d8fd
push 0
lea edx, [esp + 0x34]
push edx
push 0x10
lea ecx, [esp + 0x44]
push ecx
mov eax, dword [esp + 0x1c]
push eax
call sub.kernel32.dll_ReadFile
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x2c], 0
jne 0x48d7fa
mov eax, 0xffffff35
jmp 0x48d8fd
mov edx, dword [esp + 0xc]
push edx
call sub.kernel32.dll_CloseHandle
mov ecx, dword [esp]
push ecx
call sub.kernel32.dll_lstrlenA_1
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x1c], 0x100
jle 0x48d825
mov eax, 0xffffff2b
jmp 0x48d8fd
push 0x4d0b2e
push 1
push 1
push 0
call sub.kernel32.dll_CreateSemaphoreA
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], 1
mov edx, dword [esp + 0x14]
cmp edx, dword [esp + 0x1c]
jg 0x48d8e2
mov ecx, dword [esp]
mov al, byte [ecx]
push 0xffffffffffffffff
mov edx, dword [esp + 0x24]
mov byte [0x4d3110], al
push edx
call sub.kernel32.dll_WaitForSingleObject
lea ecx, [esp + 0x24]
push ecx
lea eax, [esp + 0x2a]
push eax
push 0x4d0b15
lea ecx, [esp + 0x31]
mov edx, 0x4d3110
lea eax, [esp + 0x44]
call fcn.00488908
mov dword [esp + 0x10], eax
push 0
push 1
mov edx, dword [esp + 0x28]
push edx
call sub.kernel32.dll_ReleaseSemaphore
cmp dword [esp + 0x10], 0
je 0x48d8af
mov ecx, dword [esp + 0x20]
push ecx
call sub.kernel32.dll_CloseHandle
mov eax, dword [esp + 0x10]
jmp 0x48d8fd
mov dl, byte [0x4d3110]
lea ecx, [esp + 0x27]
mov byte [esp + 0x27], dl
mov byte [esp + 0x28], 0
push ecx
lea eax, [esp + 0x4c]
push eax
call sub.kernel32.dll_lstrcatA
inc dword [esp]
inc dword [esp + 0x14]
mov edx, dword [esp + 0x14]
cmp edx, dword [esp + 0x1c]
jle 0x48d84f
lea ecx, [esp + 0x48]
push ecx
mov eax, dword [esp + 0xc]
push eax
call sub.kernel32.dll_lstrcpyA
mov edx, dword [esp + 0x20]
push edx
call sub.kernel32.dll_CloseHandle
xor eax, eax
add esp, 0x45c
pop edi
pop esi
ret
Function at 0x48f044
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff680
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea edi, [ebp - 0x228]
mov ecx, 0x82
mov esi, 0x4cea88
rep movsd dword es:[edi], dword [esi]
lea edi, [ebp - 0x570]
mov ecx, 0x82
mov esi, 0x4cec91
mov edx, 0x5c
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
call fcn.00488360
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 4]
inc ecx
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_lstrlenA_1
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x18], 0
je 0x48f0b0
mov edx, dword [ebp - 0x20]
cmp edx, dword [ebp - 0x1c]
je 0x48f0be
push 0x4d0b59
mov ecx, dword [ebp - 4]
push ecx
call sub.kernel32.dll_lstrcatA
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x570]
push edx
call sub.kernel32.dll_lstrcpyA
mov ecx, dword [ebp - 0xc]
push ecx
lea eax, [ebp - 0x570]
push eax
call sub.kernel32.dll_lstrcatA
lea edx, [ebp - 0x368]
push edx
lea ecx, [ebp - 0x570]
push ecx
call sub.kernel32.dll_FindFirstFileA_1
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
jne 0x48f100
xor eax, eax
jmp 0x48f21f
push 0x208
push 0
lea edx, [ebp - 0x228]
push edx
call fcn.00484d28
add esp, 0xc
lea ecx, [ebp - 0x33c]
push ecx
lea eax, [ebp - 0x228]
push eax
call sub.kernel32.dll_lstrcpyA
test byte [ebp - 0x368], 0x10
je 0x48f1a8
push 0x4d0b5b
lea edx, [ebp - 0x228]
push edx
call sub.kernel32.dll_lstrcmpiA
test eax, eax
je 0x48f1fc
push 0x4d0b5d
lea ecx, [ebp - 0x228]
push ecx
call sub.kernel32.dll_lstrcmpiA
test eax, eax
je 0x48f1fc
lea edi, [ebp - 0x778]
mov esi, 0x4cee9a
mov ecx, 0x82
lea eax, [ebp - 0x228]
rep movsd dword es:[edi], dword [esi]
push eax
mov edx, dword [ebp - 4]
push edx
call sub.kernel32.dll_lstrcatA
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0048f044
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x48f1fc
mov eax, dword [ebp - 0x10]
jmp 0x48f21f
mov esi, 0x4cf0a3
lea edi, [ebp - 0x980]
mov ecx, 0x82
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x980]
push edx
call sub.kernel32.dll_lstrcpyA
lea ecx, [ebp - 0x228]
push ecx
lea eax, [ebp - 0x980]
push eax
call sub.kernel32.dll_lstrcatA
lea edx, [ebp - 0x980]
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 8]
call fcn.0048eb4c
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x48f1fc
mov eax, dword [ebp - 0x10]
jmp 0x48f21f
lea edx, [ebp - 0x368]
push edx
mov ecx, dword [ebp - 0x14]
push ecx
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x48f100
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_FindClose_1
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x48f454
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbb0
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov esi, 0x4cf2ac
lea edi, [ebp - 0x22c]
mov ecx, 0x82
rep movsd dword es:[edi], dword [esi]
cmp dword [0x4d3344], 0
je 0x48f530
mov word [ebp - 0x22], 0x109
mov byte [ebp - 0x348], 5
push 2
lea eax, [ebp - 4]
push eax
lea edx, [ebp - 0x347]
push edx
call fcn.00484d40
add esp, 0xc
mov ecx, dword [ebp - 8]
push ecx
call sub.kernel32.dll_lstrlenA_1
inc eax
push eax
mov eax, dword [ebp - 8]
push eax
lea edx, [ebp - 0x345]
push edx
call fcn.00484d40
add esp, 0xc
push 2
lea ecx, [ebp - 0xc]
push ecx
lea eax, [ebp - 0x241]
push eax
call fcn.00484d40
add esp, 0xc
lea ecx, [ebp - 0x450]
lea eax, [ebp - 0x348]
push 0x106
mov dx, word [ebp - 0x22]
call fcn.00491d6c
mov word [ebp - 0x24], ax
push 2
lea ecx, [ebp - 0x450]
push ecx
lea eax, [ebp - 0x24]
push eax
call fcn.00484d40
add esp, 0xc
lea edx, [ebp - 0x44e]
push 0x104
push edx
mov ecx, dword [ebp + 8]
push ecx
call fcn.00484d40
movsx eax, word [ebp - 0x24]
add esp, 0xc
jmp 0x48f602
lea eax, [ebp - 0x22c]
mov edx, dword [ebp - 8]
call fcn.00491294
push 0
push 0
push 3
push 0
push 3
push 0x80000000
lea ecx, [ebp - 0x22c]
push ecx
call sub.kernel32.dll_CreateFileA
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x48f56c
mov eax, 0xffffff37
jmp 0x48f602
push 0
push 0
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp - 0x18]
push ecx
call sub.kernel32.dll_SetFilePointer
lea eax, [ebp - 0x14]
push 0
push eax
lea edx, [ebp - 0x23c]
push 0x10
push edx
mov ecx, dword [ebp - 0x18]
push ecx
call sub.kernel32.dll_ReadFile
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x48f5ae
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, 0xffffff34
jmp 0x48f602
mov edx, dword [ebp - 0x18]
push edx
call sub.kernel32.dll_CloseHandle
push 0x4d0b2e
push 1
push 1
push 0
call sub.kernel32.dll_CreateSemaphoreA
mov dword [ebp - 0x1c], eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x1c]
push ecx
call sub.kernel32.dll_WaitForSingleObject
lea edx, [ebp - 0x23c]
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.0048a1f8
mov dword [ebp - 0x20], eax
push 0
push 1
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_ReleaseSemaphore
mov edx, dword [ebp - 0x1c]
push edx
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0x20]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x491924
Capabilities:
Get file attributes
Set file attributes

Disassembly:
add esp, 0xfffffff8
mov dword [esp], eax
mov eax, dword [esp]
push eax
call sub.kernel32.dll_GetFileAttributesA
mov dword [esp + 4], eax
mov edx, dword [esp + 4]
and edx, 0
push edx
mov ecx, dword [esp + 4]
push ecx
call sub.kernel32.dll_SetFileAttributesA
pop ecx
pop edx
ret

Function at 0x491d6c
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
mov dword [ebp - 0xc], ecx
mov word [ebp - 6], dx
mov dword [ebp - 4], eax
mov ax, word [ebp - 6]
mov word [ebp - 0x1a], ax
push 0x4d3314
call sub.kernel32.dll_EnterCriticalSection_1
push 2
lea edx, [ebp - 0x1a]
push edx
lea ecx, [ebp - 0x12]
push ecx
call fcn.00484d40
add esp, 0xc
lea eax, [ebp - 0x12]
mov edx, dword [0x4d32b0]
push 0
push 2
push eax
push edx
call sub.Ws2_32.dll_send
inc eax
jne 0x491de4
call sub.Ws2_32.dll_WSAGetLastError
mov dword [0x4d32b4], eax
mov edx, 0x4d0b6a
mov eax, 0x4d0b86
call fcn.00492b60
push 0x4d3314
call sub.kernel32.dll_LeaveCriticalSection_1
mov eax, 0xfffffbc0
jmp 0x491f29
push 0
push 2
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [0x4d32b0]
push ecx
call sub.Ws2_32.dll_recv
inc eax
sete al
and eax, 1
mov dword [ebp - 0x18], eax
test eax, eax
je 0x491e33
call sub.Ws2_32.dll_WSAGetLastError
mov dword [0x4d32b4], eax
mov edx, 0x4d0b6a
mov eax, 0x4d0b92
call fcn.00492b60
push 0x4d3314
call sub.kernel32.dll_LeaveCriticalSection_1
mov eax, 0xfffffbc0
jmp 0x491f29
push 2
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0xe]
push ecx
call fcn.00484d40
mov ax, word [ebp - 0xe]
add esp, 0xc
cmp ax, word [ebp - 6]
je 0x491e63
push 0x4d3314
call sub.kernel32.dll_LeaveCriticalSection_1
mov eax, 0xfffff81a
jmp 0x491f29
push 0
movsx edx, word [ebp - 6]
push edx
mov ecx, dword [ebp - 4]
push ecx
mov eax, dword [0x4d32b0]
push eax
call sub.Ws2_32.dll_send
inc eax
jne 0x491ea9
call sub.Ws2_32.dll_WSAGetLastError
mov dword [0x4d32b4], eax
mov edx, 0x4d0b6a
mov eax, 0x4d0b86
call fcn.00492b60
push 0x4d3314
call sub.kernel32.dll_LeaveCriticalSection_1
mov eax, 0xfffffbc0
jmp 0x491f29
push 0
movsx edx, word [ebp + 8]
push edx
mov ecx, dword [ebp - 0xc]
push ecx
mov eax, dword [0x4d32b0]
push eax
call sub.Ws2_32.dll_recv
inc eax
sete dl
and edx, 1
mov dword [ebp - 0x18], edx
test edx, edx
je 0x491ef7
call sub.Ws2_32.dll_WSAGetLastError
mov dword [0x4d32b4], eax
mov edx, 0x4d0b6a
mov eax, 0x4d0b92
call fcn.00492b60
push 0x4d3314
call sub.kernel32.dll_LeaveCriticalSection_1
mov eax, 0xfffffbc0
jmp 0x491f29
push 0x4d3314
call sub.kernel32.dll_LeaveCriticalSection_1
cmp dword [ebp - 0x18], 0xffffffff
jne 0x491f27
call sub.Ws2_32.dll_WSAGetLastError
mov dword [0x4d32b4], eax
mov edx, 0x4d0b6a
mov eax, 0x4d0b9e
call fcn.00492b60
mov eax, 0xfffffbc0
jmp 0x491f29
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x492abc
Capabilities:
Create thread

Disassembly:
add esp, 0xffffffe8
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [esp]
push eax
push 0x4d346c
call sub.kernel32.dll_lstrcpyA
mov edx, dword [esp]
push edx
push 0x4d3598
call sub.kernel32.dll_lstrcpyA
cmp dword [esp + 8], 0
jne 0x492b35
push 0
push 0
lea ecx, [esp + 0x1c]
push ecx
push 0x400
call sub.Ws2_32.dll_WSAGetLastError
push eax
push 0
push 0x1300
call sub.kernel32.dll_FormatMessageA
push 0x4d0c07
push 0x4d346c
call sub.kernel32.dll_lstrcatA
mov eax, dword [esp + 0x14]
push eax
push 0x4d346c
call sub.kernel32.dll_lstrcatA
mov edx, dword [esp + 0x14]
push edx
call sub.kernel32.dll_LocalFree_1
mov eax, 0x4d346c
call fcn.0048b440
lea edx, [esp + 0xc]
push edx
push 0
push 0x4d346c
push 0x492c28
push 0
push 0
call sub.kernel32.dll_CreateThread_1
add esp, 0x18
ret

Function at 0x492b60
Capabilities:
Create thread

Disassembly:
add esp, 0xffffffec
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [esp]
push eax
push 0x4d346c
call sub.kernel32.dll_lstrcpyA
mov edx, dword [esp]
push edx
push 0x4d3598
call sub.kernel32.dll_lstrcpyA
push 0
push 0
lea ecx, [esp + 0x10]
mov eax, dword [0x4d32b4]
push ecx
push 0x400
push eax
push 0
push 0x1300
call sub.kernel32.dll_FormatMessageA
push 0x4d0c15
push 0x4d346c
call sub.kernel32.dll_lstrcatA
mov edx, dword [esp + 8]
push edx
push 0x4d346c
call sub.kernel32.dll_lstrcatA
mov ecx, dword [esp + 8]
push ecx
call sub.kernel32.dll_LocalFree_1
mov eax, 0x4d346c
call fcn.0048b440
lea edx, [esp + 0xc]
push edx
push 0
push 0x4d346c
push 0x492c28
push 0
push 0
call sub.kernel32.dll_CreateThread_1
add esp, 0x14
ret
Function at 0x49ad6c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00426dc8
cmp ebx, dword [ebp - 8]
jge 0x49adcf
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.004271b0
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.004271b0
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.004271dc
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x49ad95
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x49add8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00426dc8
cmp ebx, dword [ebp - 8]
jge 0x49ae3b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.004271b0
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.004271b0
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.004271dc
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x49ae01
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4a8e7c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
mov byte [ebp - 1], 0
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4a8f33
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.004046b8
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
jne 0x4a8ebe
call fcn.00403c5c
jmp 0x4a8f3a
mov eax, ebx
call fcn.00402744
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push ebx
push 0
mov eax, esi
call fcn.004046b8
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
jne 0x4a8ee7
call fcn.00403c5c
jmp 0x4a8f3a
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4a8f44
mov eax, dword [ebp - 8]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
jne 0x4a8f08
call fcn.00403c5c
jmp 0x4a8f3a
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
mov dword [edi], eax
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a8f3a
mov eax, dword [ebp - 8]
call fcn.00402764
ret
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a91a8
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a9219
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x168]
xor ecx, ecx
mov edx, 0x160
call fcn.00402ddc
cmp dword [ebp - 4], 0
jne 0x4a91eb
mov word [ebp - 6], 0
lea eax, [ebp - 6]
mov dword [ebp - 4], eax
or ebx, 0x4008
push ebx
push 0x160
lea eax, [ebp - 0x168]
push eax
push 0
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_SHGetFileInfoA
mov ebx, dword [ebp - 0x164]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a9225
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4a9508
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
push edi
push 0x4a96b4
call sub.kernel32.dll_LoadLibraryA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4a96ac
xor eax, eax
push ebp
push 0x4a96a5
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebp - 6], 0
push 0x4001
push 0x160
lea eax, [ebp - 0x168]
push eax
push 0
push 0x4a96c0
call sub.shell32.dll_SHGetFileInfoA
mov esi, eax
test esi, esi
jne 0x4a9580
push 0x4009
push 0x160
lea eax, [ebp - 0x168]
push eax
push 0
lea eax, [ebp - 6]
push eax
call sub.shell32.dll_SHGetFileInfoA
mov esi, eax
push 0x4000
push 0x160
lea eax, [ebp - 0x168]
push eax
push 0
push 0x4a96c0
call sub.shell32.dll_SHGetFileInfoA
mov edi, eax
test edi, edi
jne 0x4a95c1
push 0x4008
push 0x160
lea eax, [ebp - 0x168]
push eax
push 0
lea eax, [ebp - 6]
push eax
call sub.shell32.dll_SHGetFileInfoA
mov edi, eax
push 0x8000
push 0x10
push 0x10
push 1
push 0x1d
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_LoadImageA
mov ebx, eax
push 1
mov edx, ebx
mov eax, esi
call fcn.0042d9e0
push eax
push esi
call sub.comctl32.dll_ImageList_SetOverlayImage
push ebx
call sub.user32.dll_DestroyIcon
push 0x8000
push 0x20
push 0x20
push 1
push 0x1d
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_LoadImageA
mov ebx, eax
push 1
mov edx, ebx
mov eax, edi
call fcn.0042d9e0
push eax
push edi
call sub.comctl32.dll_ImageList_SetOverlayImage
push ebx
call sub.user32.dll_DestroyIcon
push 0x8000
push 0x10
push 0x10
push 1
push 0x1e
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_LoadImageA
mov ebx, eax
push 2
mov edx, ebx
mov eax, esi
call fcn.0042d9e0
push eax
push esi
call sub.comctl32.dll_ImageList_SetOverlayImage
push ebx
call sub.user32.dll_DestroyIcon
push 0x8000
push 0x20
push 0x20
push 1
push 0x1e
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_LoadImageA
mov ebx, eax
push 2
mov edx, ebx
mov eax, edi
call fcn.0042d9e0
push eax
push edi
call sub.comctl32.dll_ImageList_SetOverlayImage
push ebx
call sub.user32.dll_DestroyIcon
mov byte [0x4d126c], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a96ac
cmp dword [ebp - 4], 0
je 0x4a96a4
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a96c4
Capabilities:
Get file system object information

Disassembly:
push ebx
push esi
add esp, 0xfffffe9c
mov ebx, eax
call fcn.004a8e70
test al, al
je 0x4a96f1
cmp dword [0x4d3670], 0x40047
jl 0x4a96f1
cmp byte [0x4d126c], 0
jne 0x4a96f1
call fcn.004a9508
mov esi, ebx
and esi, 0x7f
mov eax, dword [esi*4 + 0x4d1270]
or eax, 0x4000
push eax
push 0x160
lea eax, [esp + 0xc]
push eax
push 0
push 0x4a9754
call sub.shell32.dll_SHGetFileInfoA
test eax, eax
jne 0x4a9749
mov word [esp], 0
mov eax, dword [esi*4 + 0x4d1270]
or eax, 0x4000
or eax, 8
push eax
push 0x160
lea eax, [esp + 0xc]
push eax
push 0
lea eax, [esp + 0x10]
push eax
call sub.shell32.dll_SHGetFileInfoA
add esp, 0x164
pop esi
pop ebx
ret