joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49c310
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
mov dword [ebp - 4], eax
mov byte [ebp - 5], 0
mov edx, dword [ebp - 4]
mov eax, 0x49c378
call fcn.004057f0
test eax, eax
jne 0x49c369
mov edx, dword [ebp - 4]
mov eax, 0x49c384
call fcn.004057f0
test eax, eax
jne 0x49c369
lea eax, [ebp - 0x10c]
mov edx, dword [ebp - 4]
call fcn.0040ab8c
push eax
call sub.kernel32.dll_GetFileAttributesA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x49c369
test byte [ebp - 0xc], 0x10
je 0x49c369
mov byte [ebp - 5], 1
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret

Function at 0x49d5b4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov word [ebp - 0xa], cx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
movzx eax, word [ebp - 0xa]
dec eax
test eax, eax
jl 0x49d611
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov al, byte [eax + edx]
xor al, byte [ebp - 0x14]
and eax, 0xff
mov eax, dword [eax*4 + 0x520c58]
mov edx, dword [ebp - 0x14]
shr edx, 8
and edx, 0xffffff
xor eax, edx
mov dword [ebp - 0x14], eax
inc dword [ebp - 0x10]
dec dword [ebp - 0x18]
jne 0x49d5e0
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [eax], edx
mov esp, ebp
pop ebp
ret

Function at 0x49d620
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov byte [ebp - 1], al
mov al, byte [ebp - 8]
xor al, byte [ebp - 1]
and eax, 0xff
mov eax, dword [eax*4 + 0x520c58]
mov edx, dword [ebp - 8]
shr edx, 8
and edx, 0xffffff
xor eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x49f510
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x49f56c
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 0
mov al, byte [ebp - 0x14]
mov edx, dword [ebp - 0x18]
xor al, byte [edx]
and eax, 0xff
mov edx, dword [0x5275bc]
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 0x14]
shr edx, 8
xor eax, edx
mov dword [ebp - 0x14], eax
inc dword [ebp - 0x18]
inc dword [ebp - 0x10]
dec dword [ebp - 0x1c]
jne 0x49f540
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [eax], edx
mov esp, ebp
pop ebp
ret
Function at 0x4a2b54
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a2c33
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov dl, byte [ebp - 5]
mov byte [eax + 0x34], dl
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
je 0x4a2b9b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
call fcn.004042c8
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x38], edx
mov eax, dword [ebp - 4]
cmp byte [eax + 0x34], 0
je 0x4a2c1d
mov eax, dword [ebp - 4]
cmp dword [eax + 0x30], 0
je 0x4a2c1d
xor eax, eax
push ebp
push 0x4a2bf2
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xffff
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x30]
mov dl, 1
mov eax, dword [0x418054]
call fcn.0041cce8
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xc]
mov cl, 6
mov eax, dword [ebp - 4]
call fcn.004a2290
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a2c1d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a2c3a
lea eax, [ebp - 0xc]
call fcn.004051e8
ret

Function at 0x4a4fd4
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a5082
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x2c], 0
jne 0x4a506c
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
call fcn.0049bcd8
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
add eax, 0x24
call fcn.0040523c
mov edx, 2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.0040a134
mov edx, dword [ebp - 4]
mov dword [edx + 0x2c], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x2c], 0
jg 0x4a5064
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x2c], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.004056ac
push eax
call sub.kernel32.dll_DeleteFileA
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x24]
mov dl, 1
mov eax, dword [0x499608]
call fcn.0049ac8c
call fcn.00404b3c
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x28], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a5089
lea eax, [ebp - 8]
call fcn.004051e8
ret
Function at 0x4ae7f0
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x4ae89c
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x20]
and eax, 0xffff
or eax, 2
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
mov al, byte [eax]
mov edx, dword [ebp - 0x14]
xor edx, 1
imul edx, dword [ebp - 0x14]
shr edx, 8
xor al, dl
mov edx, dword [ebp - 0x18]
mov byte [edx], al
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
mov al, byte [eax]
call fcn.0049d620
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
and eax, 0xff
add dword [ebp - 0x24], eax
imul eax, dword [ebp - 0x24], 0x8088405
inc eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
shr eax, 0x18
mov edx, dword [ebp - 0x20]
call fcn.0049d620
mov dword [ebp - 0x20], eax
inc dword [ebp - 0x18]
inc dword [ebp - 0x10]
dec dword [ebp - 0x1c]
jne 0x4ae833
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x28]
mov dword [eax + 8], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x24]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x20]
mov dword [eax + 0x10], edx
mov esp, ebp
pop ebp
ret

Function at 0x4ae8bc
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004ae988
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
and eax, 0xffff
or eax, 2
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
xor eax, 1
imul dword [ebp - 0x18]
shr eax, 8
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
xor al, byte [edx + ecx]
mov edx, dword [ebp - 0x14]
mov byte [ebp + edx - 0x24], al
mov eax, dword [ebp - 0x14]
mov al, byte [ebp + eax - 0x24]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 8]
call fcn.0049d620
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
and eax, 0xff
mov edx, dword [ebp - 4]
add dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
imul eax, dword [eax + 0xc], 0x8088405
inc eax
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
shr eax, 0x18
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
call fcn.0049d620
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], eax
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xc
jne 0x4ae8db
mov al, byte [ebp + 0xb]
cmp al, byte [ebp - 0x19]
sete byte [ebp - 0xd]
mov al, byte [ebp - 0xd]
mov edx, dword [ebp - 4]
mov byte [edx + 4], al
mov al, byte [ebp - 0xd]
mov esp, ebp
pop ebp
ret 4
Function at 0x4ae988
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0x12345678
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], 0x23456789
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 0x34567890
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4ae9c9
mov eax, dword [ebp - 0x14]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
test eax, eax
jle 0x4aea39
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov al, byte [eax + edx - 1]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 8]
call fcn.0049d620
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
and eax, 0xff
mov edx, dword [ebp - 4]
add dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
imul eax, dword [eax + 0xc], 0x8088405
inc eax
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
shr eax, 0x18
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
call fcn.0049d620
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], eax
inc dword [ebp - 0xc]
dec dword [ebp - 0x10]
jne 0x4ae9da
mov esp, ebp
pop ebp
ret
Function at 0x4aeea8
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x4aef58
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x24]
and eax, 0xffff
or eax, 2
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
mov al, byte [eax]
mov byte [ebp - 0xd], al
mov al, byte [ebp - 0xd]
mov edx, dword [ebp - 0x18]
xor edx, 1
imul edx, dword [ebp - 0x18]
shr edx, 8
xor al, dl
mov edx, dword [ebp - 0x1c]
mov byte [edx], al
mov edx, dword [ebp - 0x2c]
mov al, byte [ebp - 0xd]
call fcn.0049d620
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
and eax, 0xff
add dword [ebp - 0x28], eax
imul eax, dword [ebp - 0x28], 0x8088405
inc eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
shr eax, 0x18
mov edx, dword [ebp - 0x24]
call fcn.0049d620
mov dword [ebp - 0x24], eax
inc dword [ebp - 0x1c]
inc dword [ebp - 0x14]
dec dword [ebp - 0x20]
jne 0x4aeeeb
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x2c]
mov dword [eax + 8], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x28]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x24]
mov dword [eax + 0x10], edx
mov esp, ebp
pop ebp
ret

Function at 0x4aef78
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0x12345678
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], 0x23456789
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 0x34567890
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4aefb9
mov eax, dword [ebp - 0x14]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
test eax, eax
jle 0x4af029
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov al, byte [eax + edx - 1]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 8]
call fcn.0049d620
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
and eax, 0xff
mov edx, dword [ebp - 4]
add dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
imul eax, dword [eax + 0xc], 0x8088405
inc eax
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
shr eax, 0x18
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
call fcn.0049d620
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], eax
inc dword [ebp - 0xc]
dec dword [ebp - 0x10]
jne 0x4aefca
mov esp, ebp
pop ebp
ret
Function at 0x4b4cb4
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x4b4d82
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 4]
mov ax, word [eax + 0xc]
or ax, 2
mov word [ebp - 0x12], ax
movzx eax, word [ebp - 0x12]
mov dx, word [ebp - 0x12]
xor dx, 1
movzx edx, dx
imul edx
shr eax, 8
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor byte [edx + ecx], al
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov al, byte [eax + edx]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 4]
call fcn.0049d620
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
and eax, 0xff
mov edx, dword [ebp - 4]
add dword [edx + 8], eax
mov eax, dword [ebp - 4]
imul eax, dword [eax + 8], 0x8088405
inc eax
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
shr eax, 0x18
mov edx, dword [ebp - 4]
xor al, byte [edx + 0xc]
and eax, 0xff
mov edx, dword [0x5275bc]
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc]
shr edx, 8
and edx, 0xffffff
xor eax, edx
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
inc dword [ebp - 0x10]
dec dword [ebp - 0x18]
jne 0x4b4cda
mov esp, ebp
pop ebp
ret
Function at 0x4b4e78
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
call fcn.0041c834
mov dword [ebp - 0x14], eax
mov byte [ebp - 0xd], 0
mov byte [ebp - 0xe], 0
jmp 0x4b4f56
mov eax, dword [ebp - 4]
call fcn.004b4e00
xor ecx, ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 4]
lea edx, [eax + 0x10]
mov ecx, 0xc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov ebx, dword [eax]
call dword [ebx + 0xc]
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
call fcn.004b4d88
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
xor byte [ecx + edx + 0x10], al
mov eax, dword [ebp - 4]
lea edx, [eax + 4]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov al, byte [ecx + eax + 0x10]
call fcn.004b4f90
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xc
jne 0x4b4ed0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x20], 0
je 0x4b4f1b
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x1b]
mov edx, dword [ebp - 4]
cmp al, byte [edx + 0x1f]
sete byte [ebp - 0xd]
jmp 0x4b4f40
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x1b]
mov edx, dword [ebp - 4]
cmp al, byte [edx + 0x1f]
jne 0x4b4f37
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x1a]
mov edx, dword [ebp - 4]
cmp al, byte [edx + 0x1e]
je 0x4b4f3b
xor eax, eax
jmp 0x4b4f3d
mov al, 1
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
jne 0x4b4f53
mov eax, dword [ebp - 4]
lea edx, [eax + 0x30]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
inc byte [ebp - 0xe]
cmp byte [ebp - 0xd], 0
jne 0x4b4f6b
mov al, byte [ebp - 0xe]
mov edx, dword [ebp - 4]
cmp al, byte [edx + 0x34]
jb 0x4b4e9d
cmp byte [ebp - 0xd], 0
jne 0x4b4f82
mov dl, 1
mov eax, dword [0x4991f4]
call fcn.0049a578
call fcn.00404b3c
mov al, byte [ebp - 0xd]
mov byte [ebp - 5], al
mov al, byte [ebp - 5]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4b4f90
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 8], edx
mov byte [ebp - 1], al
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov al, byte [ebp - 1]
call fcn.0049d620
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
and eax, 0xff
mov edx, dword [ebp - 8]
add dword [edx + 4], eax
mov eax, dword [ebp - 8]
imul eax, dword [eax + 4], 0x8088405
inc eax
mov edx, dword [ebp - 8]
mov dword [edx + 4], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
shr eax, 0x18
mov edx, dword [ebp - 8]
mov edx, dword [edx + 8]
call fcn.0049d620
mov edx, dword [ebp - 8]
mov dword [edx + 8], eax
pop ecx
pop ecx
pop ebp
ret
Function at 0x4b8c04
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x10]
test al, al
je 0x4b8c49
mov eax, dword [ebp - 4]
add eax, 4
push eax
mov eax, dword [ebp + 8]
push eax
push 1
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xb8]
mov dl, 1
mov eax, dword [0x4b4b98]
call fcn.004b4c08
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4b8c8a
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0xf0]
mov dword [eax + 0x28], ecx
mov ecx, dword [edx + 0xf4]
mov dword [eax + 0x2c], ecx
mov eax, dword [ebp - 0x14]
add eax, 0x30
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xb8]
call fcn.0040523c
mov eax, dword [ebp - 4]
mov al, byte [eax + 0xbc]
mov edx, dword [ebp - 0x14]
mov byte [edx + 0x34], al
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
lea ecx, [eax + 4]
mov dl, 1
mov eax, dword [0x4b6ffc]
call fcn.004b7090
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x4b8d94
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.004a694c
mov edx, dword [ebp - 0x18]
mov byte [edx + 0x20], al
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx]
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x1c]
mov edx, dword [ebp - 0x18]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 8]
call fcn.004a6910
mov edx, dword [ebp - 0x18]
mov byte [edx + 0x18], al
mov eax, dword [ebp - 8]
call fcn.004a6b08
mov edx, dword [ebp - 0x18]
mov byte [edx + 0x21], al
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x90]
mov dword [eax + 0x28], ecx
mov ecx, dword [edx + 0x94]
mov dword [eax + 0x2c], ecx
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x100]
mov dword [eax + 0x30], ecx
mov ecx, dword [edx + 0x104]
mov dword [eax + 0x34], ecx
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 4]
mov dword [eax + 0x40], edx
mov eax, dword [ebp - 4]
cmp byte [eax + 0x44], 0
je 0x4b8d73
mov eax, dword [ebp - 0x18]
add eax, 0x3c
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc]
call fcn.0040523c
mov eax, dword [ebp - 4]
mov ax, word [eax + 0xaa]
mov edx, dword [ebp - 0x18]
mov word [edx + 0x44], ax
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x39], 1
mov eax, dword [ebp - 4]
mov ax, word [eax + 0x3c]
mov edx, dword [ebp - 0x18]
mov word [edx + 0x46], ax
mov eax, dword [ebp - 0x18]
call fcn.004b71b0
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b8d9b
mov eax, dword [ebp - 0x18]
call fcn.004042c8
ret
Function at 0x4bd6e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4bd771
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x527e78]
cmp dword [eax], 2
jne 0x4bd720
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x10]
push eax
push edi
push esi
push ebx
call sub.advapi32.dll_RegQueryValueExW
mov ebx, eax
jmp 0x4bd753
lea eax, [ebp - 8]
mov edx, esi
call fcn.00405b20
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
call fcn.00405470
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x10]
push eax
push edi
mov eax, dword [ebp - 4]
call fcn.004056ac
push eax
push ebx
call sub.advapi32.dll_RegQueryValueExA_1
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bd778
lea eax, [ebp - 8]
call fcn.004059f4
lea eax, [ebp - 4]
call fcn.004051e8
ret

Function at 0x4bdea4
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 - 4], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4bdf5a
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
mov eax, esi
call fcn.004056ac
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jbe 0x4bdf44
lea eax, [ebp - 4]
mov edx, edi
call fcn.00405934
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
push eax
push edi
mov eax, dword [ebp - 0x10]
push eax
mov eax, esi
call fcn.004056ac
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x4bdf44
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4bdf6c
mov eax, dword [ebp - 4]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4bdf44
cmp dword [ebp - 0xc], 0x34
jne 0x4bdf44
mov bl, 1
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
mov esi, eax
mov edi, edx
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bdf61
lea eax, [ebp - 4]
call fcn.004051e8
ret