joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46af20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
cmp byte [edi + 8], 0
je 0x46af4c
push esi
mov esi, dword [ebp + 0xc]
xor eax, eax
test esi, esi
jle 0x46af4b
mov edx, dword [ebp + 8]
lea esp, [esp]
mov cl, byte [edi + 9]
xor byte [eax + edx], cl
inc eax
cmp eax, esi
jl 0x46af40
pop esi
pop edi
pop ebp
ret 8

Function at 0x46b450
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, ecx
cmp dword [ebx + 4], 0
je 0x46b5a6
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebx + 0xc]
push esi
mov esi, dword [ebp + 8]
shr eax, 5
push edi
test ecx, ecx
je 0x46b478
mov ecx, dword [ecx + 0x10]
sar ecx, 5
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0
test eax, eax
je 0x46b4f6
xor ecx, ecx
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
mov edx, dword [ebx + 4]
test edx, edx
jne 0x46b49c
xor edi, edi
jmp 0x46b4b2
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x46b4a8
mov eax, dword [eax + 0xc]
jmp 0x46b4aa
xor eax, eax
mov edi, dword [ebx + 8]
imul edi, eax
add edi, edx
xor edx, edx
mov eax, ecx
div dword [ebp - 0xc]
add ecx, 8
add esi, 0x20
lea eax, [edi + edx*4]
mov edx, dword [eax]
xor dword [esi - 0x20], edx
mov edx, dword [eax + 4]
xor dword [esi - 0x1c], edx
mov edx, dword [eax + 8]
xor dword [esi - 0x18], edx
mov edx, dword [eax + 0xc]
xor dword [esi - 0x14], edx
mov edx, dword [eax + 0x10]
xor dword [esi - 0x10], edx
mov edx, dword [eax + 0x14]
xor dword [esi - 0xc], edx
mov edx, dword [eax + 0x18]
xor dword [esi - 8], edx
mov eax, dword [eax + 0x1c]
xor dword [esi - 4], eax
dec dword [ebp - 4]
jne 0x46b491
mov edi, dword [ebp + 0xc]
mov eax, dword [ebx + 4]
shr edi, 2
and edi, 7
test eax, eax
jne 0x46b50a
xor ecx, ecx
jmp 0x46b520
mov ecx, dword [ebx + 0xc]
test ecx, ecx
je 0x46b516
mov edx, dword [ecx + 0xc]
jmp 0x46b518
xor edx, edx
mov ecx, dword [ebx + 8]
imul ecx, edx
add ecx, eax
mov eax, dword [ebp - 8]
add eax, eax
add eax, eax
add eax, eax
xor edx, edx
div dword [ebp - 0xc]
lea ecx, [ecx + edx*4]
test edi, edi
jle 0x46b54b
mov edx, ecx
mov eax, esi
sub edx, esi
mov esi, edi
lea ecx, [ecx]
mov ebx, dword [edx + eax]
xor dword [eax], ebx
add eax, 4
dec esi
jne 0x46b540
mov edx, dword [ebp + 0xc]
mov eax, edx
and eax, 3
dec eax
je 0x46b59a
dec eax
je 0x46b57f
dec eax
jne 0x46b5a4
mov bl, byte [ecx + edi*4 + 2]
mov eax, dword [ebp + 8]
xor byte [eax + edx - 3], bl
mov bl, byte [ecx + edi*4 + 1]
xor byte [eax + edx - 2], bl
mov cl, byte [ecx + edi*4]
xor byte [eax + edx - 1], cl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov bl, byte [ecx + edi*4 + 1]
mov eax, dword [ebp + 8]
xor byte [eax + edx - 2], bl
mov cl, byte [ecx + edi*4]
xor byte [eax + edx - 1], cl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
mov cl, byte [ecx + edi*4]
xor byte [eax + edx - 1], cl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x46b5b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
cmp dword [ebx + 4], 0
je 0x46b71b
mov ecx, dword [ebp + 0xc]
mov eax, ecx
shr eax, 5
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x10], eax
test eax, eax
je 0x46b65a
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0xc]
test eax, eax
jne 0x46b5f1
mov dword [ebp - 8], eax
jmp 0x46b5f7
mov ecx, dword [eax + 0x10]
mov dword [ebp - 8], ecx
mov ecx, dword [ebx + 4]
test ecx, ecx
jne 0x46b602
xor edx, edx
jmp 0x46b61d
test eax, eax
je 0x46b60b
mov edi, dword [eax + 0xc]
jmp 0x46b60d
xor edi, edi
mov eax, dword [ebp - 4]
xor edx, edx
div dword [ebp - 8]
add edx, dword [ebx + 8]
imul edx, edi
add edx, ecx
mov eax, dword [edx]
xor dword [esi], eax
mov ecx, dword [edx + 4]
xor dword [esi + 4], ecx
mov eax, dword [edx + 8]
xor dword [esi + 8], eax
mov ecx, dword [edx + 0xc]
xor dword [esi + 0xc], ecx
mov eax, dword [edx + 0x10]
xor dword [esi + 0x10], eax
mov ecx, dword [edx + 0x14]
xor dword [esi + 0x14], ecx
mov eax, dword [edx + 0x18]
xor dword [esi + 0x18], eax
mov ecx, dword [edx + 0x1c]
xor dword [esi + 0x1c], ecx
add dword [ebp - 4], 0x20
add esi, 0x20
dec dword [ebp - 0xc]
jne 0x46b5e5
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebx + 0xc]
mov edi, ecx
shr edi, 2
and edi, 7
test eax, eax
jne 0x46b66e
mov dword [ebp - 0xc], eax
jmp 0x46b674
mov edx, dword [eax + 0x10]
mov dword [ebp - 0xc], edx
mov edx, dword [ebx + 4]
mov dword [ebp - 4], edx
test edx, edx
je 0x46b6a9
test eax, eax
je 0x46b68a
mov eax, dword [eax + 0xc]
mov dword [ebp - 8], eax
jmp 0x46b691
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0x10]
xor edx, edx
shl eax, 5
div dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
add edx, dword [ebx + 8]
imul edx, dword [ebp - 8]
add edx, dword [ebp - 4]
test edi, edi
jle 0x46b6c3
mov ecx, edx
mov eax, esi
sub ecx, esi
mov esi, edi
mov ebx, dword [ecx + eax]
xor dword [eax], ebx
add eax, 4
dec esi
jne 0x46b6b5
mov ecx, dword [ebp + 0xc]
mov eax, ecx
and eax, 3
dec eax
je 0x46b70f
dec eax
je 0x46b6f4
dec eax
jne 0x46b719
mov al, byte [edx + edi*4 + 2]
mov esi, dword [ebp + 8]
xor byte [esi + ecx - 3], al
mov al, byte [edx + edi*4 + 1]
xor byte [esi + ecx - 2], al
mov dl, byte [edx + edi*4]
xor byte [esi + ecx - 1], dl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov al, byte [edx + edi*4 + 1]
mov esi, dword [ebp + 8]
xor byte [esi + ecx - 2], al
mov dl, byte [edx + edi*4]
xor byte [esi + ecx - 1], dl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov esi, dword [ebp + 8]
mov dl, byte [edx + edi*4]
xor byte [esi + ecx - 1], dl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4748c0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50a7d8
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x551644]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp + 8]
call fcn.0040e5a0
mov edx, dword [ebp + 8]
mov eax, dword [edx - 0xc]
mov dword [ebp - 4], 0
cmp eax, 2
jl 0x474948
lea esi, [eax - 1]
test esi, esi
js 0x4749b5
cmp esi, eax
jg 0x4749b5
cmp byte [esi + edx], 0x5c
jne 0x474948
cmp eax, 3
jl 0x47493a
lea ecx, [eax - 2]
test ecx, ecx
js 0x4749b5
cmp ecx, eax
jg 0x4749b5
cmp byte [ecx + edx], 0x3a
je 0x474948
push 1
push esi
lea ecx, [ebp + 8]
call fcn.00468f60
mov edx, dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push edx
call esi
or ebx, 0xffffffff
cmp eax, ebx
jne 0x47497d
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, edi
call edi
cmp eax, 0x4d3
je 0x4749bf
cmp eax, 2
je 0x4749bf
cmp eax, 0x15
jne 0x4749bf
mov ecx, dword [ebp + 8]
push ecx
call esi
cmp eax, ebx
je 0x474960
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov dword [ebp - 4], ebx
lea edx, [eax + 0xc]
lock xadd dword [edx], ebx
dec ebx
test ebx, ebx
jg 0x47499c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.00401000
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov dword [ebp - 4], ebx
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x4749de
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x476d10
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50aaa8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x551644]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [ebp - 4], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x64], eax
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x74], eax
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], eax
mov byte [ebp - 4], 7
call fcn.004123a0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x477290
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50ab6e
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x551644]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
push eax
call fcn.0040e5a0
xor edi, edi
mov dword [ebp - 4], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [esi + 0x14]
mov byte [ebp - 4], 1
call fcn.0040e5a0
mov edx, dword [ebp + 0x10]
push edx
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 2
call fcn.0040e5a0
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x1c], 0xffffffff
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x58], edi
mov ecx, dword [eax]
mov dword [esi + 0x5c], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0x60], edx
mov eax, dword [eax + 8]
mov dword [esi + 0x64], eax
cmp eax, edi
je 0x47731c
inc dword [eax + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x47c200
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50b499
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x551644]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.Environment::CUnSaveData.0
mov eax, dword [0x5515b0]
mov edx, dword [eax + 0xc]
mov ecx, 0x5515b0
mov dword [ebp - 4], 0
call edx
add eax, 0x10
mov dword [esi + 0x2c], eax
xor eax, eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
push eax
mov dword [esi + 0x24], eax
push 0x517abc
lea ecx, [esi + 0x2c]
mov byte [ebp - 4], 3
mov dword [esi + 0x28], eax
call fcn.004048b0
mov ecx, 0x5538e0
call fcn.00405720
mov ecx, dword [0x552ae4]
mov eax, dword [ecx + 4]
test eax, eax
jne 0x47c2ac
xor ebx, ebx
jmp 0x47c2c2
mov edx, dword [ecx + 0xc]
test edx, edx
je 0x47c2b8
mov edx, dword [edx + 0xc]
jmp 0x47c2ba
xor edx, edx
mov ebx, dword [ecx + 8]
imul ebx, edx
add ebx, eax
mov ecx, 0x5538e0
call fcn.00405720
mov eax, dword [0x552ae4]
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x47c2dc
xor eax, eax
jmp 0x47c2f2
mov edx, dword [eax + 0xc]
test edx, edx
je 0x47c2e8
mov edx, dword [edx + 0xc]
jmp 0x47c2ea
xor edx, edx
mov eax, dword [eax + 8]
imul eax, edx
add eax, ecx
mov eax, dword [eax + 0x48]
add eax, dword [ebx + 0x50]
lea ecx, [esi + 0x30]
push eax
call fcn.00413410
mov edi, dword [esi + 0x30]
cmp edi, dword [esi + 0x34]
je 0x47c326
lea esp, [esp]
push 0
push 0x517abc
mov ecx, edi
call fcn.004048b0
add edi, 4
cmp edi, dword [esi + 0x34]
jne 0x47c310
mov ecx, dword [esi + 0x48]
xor edi, edi
cmp ecx, edi
je 0x47c356
dec dword [ecx + 4]
jne 0x47c350
cmp byte [ecx + 8], 0
je 0x47c340
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
mov ecx, dword [esi + 0x48]
cmp ecx, edi
je 0x47c350
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov dword [esi + 0x48], edi
mov dword [esi + 0x40], edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47d4c0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50b62b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x551644]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor eax, eax
mov dword [esi], vtable.Graphics::IGUIButton.0
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], eax
mov dword [esi + 0x68], eax
mov dword [ebp - 4], eax
call fcn.00476c80
mov dword [esi], vtable.CGUIButton.0
mov dword [esi + 0x70], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4862a0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50c1f8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x551644]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x5515b0]
mov edx, dword [eax + 0xc]
mov ecx, 0x5515b0
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
cmp byte [ebp + 0xc], 0
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
je 0x48639b
push ebx
lea eax, [ebp + 8]
push eax
mov ecx, esi
call fcn.0046fdf0
mov edi, dword [eax]
mov ecx, 0x553818
mov byte [ebp - 4], 1
call fcn.004175a0
mov ecx, dword [0x552af4]
mov eax, dword [ecx + 0x4c]
test eax, eax
jne 0x48631e
xor ecx, ecx
jmp 0x486334
mov edx, dword [ecx + 0x54]
test edx, edx
je 0x48632a
mov edx, dword [edx + 0xc]
jmp 0x48632c
xor edx, edx
mov ecx, dword [ecx + 0x50]
imul ecx, edx
add ecx, eax
push edi
lea edx, [ebp + 0xc]
push edx
call fcn.0040bbb0
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00408c20
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48636e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x486391
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebx
lea edx, [ebp + 8]
push edx
mov ecx, esi
call fcn.0046fe80
mov esi, dword [eax]
mov bl, 3
mov ecx, 0x553818
mov byte [ebp - 4], bl
call fcn.004175a0
mov ecx, dword [0x552af4]
mov eax, dword [ecx + 0x4c]
test eax, eax
jne 0x4863c9
xor ecx, ecx
jmp 0x4863df
mov edx, dword [ecx + 0x54]
test edx, edx
je 0x4863d5
mov edx, dword [edx + 0xc]
jmp 0x4863d7
xor edx, edx
mov ecx, dword [ecx + 0x50]
imul ecx, edx
add ecx, eax
push esi
lea eax, [ebp + 0xc]
push eax
call fcn.0040bbb0
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.00408c20
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x486418
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48643b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [esi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x486468
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x48c540
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
mov edx, dword [eax + 4]
push esi
mov esi, ecx
push edi
mov ecx, ebx
call edx
xor edi, edi
test al, al
lea eax, [esi + 0xc]
je 0x48c5dc
mov dword [ebp - 4], eax
mov ecx, 0x55380c
call fcn.004174f0
mov ecx, dword [esi + 4]
add ecx, edi
push ecx
mov ecx, dword [0x552af0]
call fcn.0048a970
movzx eax, al
mov ecx, 0x55380c
mov dword [ebp + 8], eax
call fcn.004174f0
mov ecx, dword [esi + 8]
add ecx, edi
push ecx
mov ecx, dword [0x552af0]
call fcn.0048a970
mov ecx, dword [ebp - 4]
movzx edx, al
mov ax, word [ebp + 8]
shl dx, 8
or ax, dx
mov dx, word [ecx]
xor dx, ax
movzx eax, dx
mov edx, dword [ebx]
mov edx, dword [edx + 0x40]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
mov ecx, ebx
call edx
add dword [ebp - 4], 2
inc edi
cmp edi, 0x20
jl 0x48c563
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [ebp - 4], eax
nop
mov ecx, 0x55380c
call fcn.004174f0
mov ecx, dword [esi + 4]
add ecx, edi
push ecx
mov ecx, dword [0x552af0]
call fcn.0048a970
movzx eax, al
mov ecx, 0x55380c
mov dword [ebp + 8], eax
call fcn.004174f0
mov ecx, dword [esi + 8]
add ecx, edi
push ecx
mov ecx, dword [0x552af0]
call fcn.0048a970
movzx edx, al
mov eax, dword [ebx]
shl dx, 8
or word [ebp + 8], dx
mov edx, dword [eax + 0x40]
lea ecx, [ebp - 8]
push ecx
mov ecx, ebx
call edx
mov ecx, dword [ebp - 8]
xor ecx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov word [eax], cx
inc edi
add eax, 2
mov dword [ebp - 4], eax
cmp edi, 0x20
jl 0x48c5e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x497b40
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50d43b
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x551644]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x11c], esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
push 0x104
lea ecx, [ebp - 0x118]
push ecx
mov dword [ebp - 4], ebx
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp eax, ebx
je 0x497c99
cmp eax, 0x104
je 0x497c99
push ebx
lea edx, [ebp - 0x118]
push edx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
cmp edi, ebx
je 0x497c99
push edi
mov ecx, esi
call fcn.00406ea0
push ebx
mov ecx, esi
call fcn.004b47f0
push eax
push edi
push ebx
lea eax, [ebp - 0x118]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x497c08
push 0x533160
lea ecx, [ebp - 0x12c]
push ecx
mov dword [ebp - 0x12c], 1
call fcn.004f4775
lea edx, [ebp - 0x128]
push edx
lea eax, [esi + 0x10]
push eax
push 0x51f380
push ebx
mov ecx, esi
call fcn.004b47f0
push eax
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x497c45
push 0x533160
lea ecx, [ebp - 0x120]
push ecx
mov dword [ebp - 0x120], 1
call fcn.004f4775
lea edx, [ebp - 0x128]
push edx
lea eax, [esi + 0xc]
push eax
push str.VarFileInfoTranslation
push ebx
mov ecx, esi
call fcn.004b47f0
push eax
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x497c99
push 0x533160
lea ecx, [ebp - 0x124]
push ecx
mov dword [ebp - 0x124], 1
call fcn.004f4775
mov ecx, dword [ebp - 0x11c]
call fcn.0042fe50
mov eax, 0x497c93
ret
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004f4f8b
mov esp, ebp
pop ebp
ret 4
Function at 0x49acf0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50d929
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x551644]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [esi], eax
mov eax, dword [ebp + 0x14]
push 0
mov dword [esi + 4], ecx
lea ecx, [esi + 0x10]
push 0x517abc
mov dword [esi + 8], edx
mov dword [esi + 0xc], eax
call fcn.004048b0
push 0
lea ecx, [esi + 0x14]
push 0x517abc
call fcn.004048b0
mov dword [esi + 0x18], 0x280
mov dword [esi + 0x1c], 0x1e0
mov dword [esi + 0x20], 0x2cb0000
mov dword [esi + 0x24], 0x200
mov dword [esi + 0x28], 0
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x2c]
cmp ecx, eax
je 0x49ada2
mov edx, dword [ebp + 8]
push edx
push ecx
push eax
push eax
call fcn.004063e0
mov ecx, dword [ebp + 8]
push ecx
mov ebx, eax
mov eax, dword [esi + 0x30]
lea edx, [esi + 0x38]
push edx
push eax
push ebx
call fcn.00470560
add esp, 0x20
mov dword [esi + 0x30], ebx
push 0x30
call fcn.004f4b27
add esp, 4
mov dword [ebp + 0xc], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x49adc3
mov ecx, eax
call fcn.00499360
jmp 0x49adc5
xor eax, eax
or ebx, 0xffffffff
push eax
lea ecx, [esi + 0x4c]
mov dword [ebp - 4], ebx
call fcn.00497790
push 0x14
call fcn.004f4b27
add esp, 4
mov dword [ebp + 0xc], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x49adf9
mov ecx, dword [ebp + 8]
push ecx
mov ecx, eax
call fcn.00497b40
jmp 0x49adfb
xor eax, eax
push eax
lea ecx, [esi + 0x58]
mov dword [ebp - 4], ebx
call fcn.00497830
push 0x5c
call fcn.004f4b27
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x49ae28
mov ecx, eax
call fcn.0049a060
jmp 0x49ae2a
xor eax, eax
push 1
push eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], ebx
call fcn.0046a100
lea edx, [ebp - 0x18]
push edx
lea ecx, [esi + 0x2c]
mov dword [ebp - 4], 3
call fcn.004a0060
mov esi, dword [ebp - 0x10]
mov dword [ebp - 4], ebx
test esi, esi
je 0x49ae73
add dword [esi + 4], ebx
jne 0x49ae73
cmp byte [esi + 8], 0
je 0x49ae68
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 4]
push 1
mov ecx, esi
call edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10