joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4781c8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ebx
mov esi, ecx
mov ebx, edx
mov edi, eax
xor eax, eax
push ebp
push 0x4782ca
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [edi + 0x208], 0
je 0x4782ac
push 0
push 0x80
push 4
push 0
push 1
push 0x40000000
mov eax, dword [edi + 0x208]
call fcn.004056d4
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4782ac
xor ecx, ecx
push ebp
push 0x4782a5
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 2
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_SetFilePointer_1
lea eax, [ebp - 0x10]
push eax
mov edx, esi
mov ecx, dword [ebp + 8]
mov eax, ebx
call fcn.0040b25c
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
mov ecx, 0x4782e4
call fcn.0040555c
lea eax, [ebp - 4]
call fcn.00405734
mov edx, eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x47827d
sub eax, 4
mov eax, dword [eax]
push 0
lea ecx, [ebp - 0xc]
push ecx
push eax
push edx
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_WriteFile_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4782ac
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4782d1
lea eax, [ebp - 0x10]
call fcn.00405234
lea eax, [ebp - 4]
call fcn.00405234
ret

Function at 0x4821c8
Capabilities:
Encrypt data using des

Disassembly:
push ebx
mov ecx, edx
and cl, 0x20
mov ebx, edx
and bl, 0x1e
movzx ebx, bl
shr ebx, 1
or cl, bl
and dl, 1
shl edx, 4
or cl, dl
mov edx, ecx
movzx edx, dl
movzx eax, al
add eax, eax
add eax, eax
add eax, eax
lea eax, [eax*8 + 0x611520]
movzx eax, byte [eax + edx]
and al, 0xf
pop ebx
ret

Function at 0x482200
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
test ebx, ebx
js 0x482218
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x482211
mov eax, esp
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, 7
call fcn.00403a78
xor edx, edx
mov eax, 0x611720
movzx ebx, byte [eax]
mov ecx, ebx
and cl, 7
movzx ecx, cl
push ecx
mov ecx, 7
pop esi
sub ecx, esi
mov esi, 1
shl esi, cl
movzx ecx, bl
shr ecx, 3
mov ebx, dword [ebp - 4]
movzx ecx, byte [ebx + ecx]
and esi, ecx
je 0x48227f
mov ecx, edx
and ecx, 7
push ecx
mov ecx, 7
pop ebx
sub ecx, ebx
mov bl, 1
shl bl, cl
mov ecx, edx
shr ecx, 3
mov esi, dword [ebp - 8]
or byte [esi + ecx], bl
inc edx
inc eax
cmp edx, 0x38
jne 0x482236
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4
Function at 0x4824c0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
mov ebx, dword [ebp + 0x10]
test ebx, ebx
js 0x4824d9
shr ebx, 2
mov esi, dword [ecx + ebx*4]
dec ebx
push esi
jns 0x4824d2
mov ecx, esp
mov ebx, edx
test ebx, ebx
js 0x4824eb
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x4824e4
mov eax, esp
mov dword [ebp - 4], ecx
push 5
lea ecx, [ebp - 0xa]
call fcn.004820b8
mov ebx, 6
mov eax, dword [ebp - 4]
lea edx, [ebp - 0xa]
movzx ecx, byte [eax]
xor byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x482505
movzx eax, byte [ebp - 0xa]
movzx edx, al
shr edx, 2
mov byte [ebp - 0x12], dl
and al, 3
shl eax, 4
movzx edx, byte [ebp - 9]
movzx ecx, dl
shr ecx, 4
or al, cl
mov byte [ebp - 0x11], al
and dl, 0xf
add edx, edx
add edx, edx
movzx eax, byte [ebp - 8]
movzx ecx, al
shr ecx, 6
or dl, cl
mov byte [ebp - 0x10], dl
and al, 0x3f
mov byte [ebp - 0xf], al
movzx eax, byte [ebp - 7]
movzx edx, al
shr edx, 2
mov byte [ebp - 0xe], dl
and al, 3
shl eax, 4
movzx edx, byte [ebp - 6]
shr edx, 4
or al, dl
mov byte [ebp - 0xd], al
movzx eax, byte [ebp - 6]
and al, 0xf
add eax, eax
add eax, eax
movzx edx, byte [ebp - 5]
shr edx, 6
or al, dl
mov byte [ebp - 0xc], al
movzx eax, byte [ebp - 5]
and al, 0x3f
mov byte [ebp - 0xb], al
xor ebx, ebx
lea esi, [ebp - 0x12]
mov eax, ebx
movzx edx, byte [esi]
call fcn.004821c8
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 8
jne 0x48258d
mov ebx, 4
lea eax, [ebp - 0x12]
lea edx, [ebp - 0xa]
movzx ecx, byte [eax]
shl ecx, 4
or cl, byte [eax + 1]
mov byte [edx], cl
inc edx
add eax, 2
dec ebx
jne 0x4825ab
lea eax, [ebp - 0xa]
mov edx, 5
call fcn.00482148
mov ebx, 4
lea eax, [ebp - 0xa]
mov edx, dword [ebp + 0xc]
movzx ecx, byte [eax]
mov byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x4825d5
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4825ec
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff88
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
lea edi, [ebp - 0x78]
push ecx
mov ecx, 0x18
rep movsd dword es:[edi], dword [esi]
pop ecx
mov ebx, ecx
test ebx, ebx
js 0x482614
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x48260d
mov edx, esp
mov dword [ebp - 4], edx
mov ebx, eax
mov dword [ebp - 8], 8
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
movzx edx, byte [eax]
mov byte [ecx], dl
inc ecx
inc eax
dec dword [ebp - 8]
jne 0x482628
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.00481fb8
test bl, bl
jne 0x482701
mov dword [ebp - 8], 0x10
lea eax, [ebp - 0x78]
mov dword [ebp - 0x14], eax
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
movzx ecx, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x48265f
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
movzx ecx, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x482674
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004824c0
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
movzx ebx, byte [edx]
xor bl, byte [esi]
mov byte [ecx], bl
inc ecx
inc esi
inc edx
dec eax
jne 0x4826a7
add dword [ebp - 0x14], 6
dec dword [ebp - 8]
jne 0x482654
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ecx, [ebp - 0xc]
movzx ebx, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x4826cb
mov eax, 4
mov edx, dword [ebp + 0xc]
movzx ecx, byte [edx]
mov byte [edx + 4], cl
inc edx
dec eax
jne 0x4826dd
mov eax, 4
lea edx, [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
movzx ebx, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x4826f2
jmp 0x4827c0
cmp bl, 1
jne 0x4827c0
mov dword [ebp - 8], 0xfffffff0
lea ebx, [ebp - 0x1e]
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
movzx ecx, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x48271f
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
movzx ecx, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x482734
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov ecx, ebx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004824c0
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp - 0x18], ecx
movzx ecx, byte [edx]
xor cl, byte [esi]
mov edi, dword [ebp - 0x18]
mov byte [edi], cl
inc dword [ebp - 0x18]
inc esi
inc edx
dec eax
jne 0x482767
sub ebx, 6
inc dword [ebp - 8]
jne 0x482714
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ebx, [ebp - 0xc]
movzx ecx, byte [edx]
mov byte [ebx], cl
inc ebx
inc edx
dec eax
jne 0x48278f
mov eax, 4
mov ebx, dword [ebp + 0xc]
movzx edx, byte [ebx]
mov byte [ebx + 4], dl
inc ebx
dec eax
jne 0x4827a1
mov eax, 4
lea ebx, [ebp - 0xc]
mov edx, dword [ebp + 0xc]
movzx ecx, byte [ebx]
mov byte [edx], cl
inc edx
inc ebx
dec eax
jne 0x4827b6
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.00482038
mov edi, dword [ebp - 0x84]
mov esi, dword [ebp - 0x80]
mov ebx, dword [ebp - 0x7c]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x482e5c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov ebx, eax
mov eax, dword [ebx + 0x38]
mov edx, dword [eax]
call dword [edx + 8]
xor eax, eax
mov dword [ebx + 0x28], eax
cmp dword [ebx + 0x478], 0
jg 0x482e8c
mov dword [ebx + 0x478], 0x40
jmp 0x483009
mov esi, dword [ebx + 0x468]
cmp esi, 0x3200000
jg 0x483009
cmp byte [ebx + 0x47c], 0
je 0x482ebd
mov eax, dword [ebx + 0x454]
test eax, eax
jle 0x483009
mov dword [ebx + 0x46c], eax
jmp 0x482eca
cmp dword [ebx + 0x46c], 0
jle 0x483009
mov edx, dword [ebx + 0x478]
mov eax, dword [ebx + 0x30]
xor ecx, ecx
mov edi, dword [eax]
call dword [edi + 0x14]
mov eax, dword [ebx + 0x46c]
add eax, eax
add eax, eax
mov dword [ebp - 0xc], eax
test esi, esi
jle 0x482f98
mov eax, esi
call fcn.00402f80
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x482f91
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x30]
mov ecx, esi
mov edi, dword [eax]
call dword [edi + 0xc]
cmp esi, eax
jne 0x482f7b
mov eax, dword [ebx + 0x46c]
add eax, eax
add eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.00483ff4
mov esi, eax
cmp dword [ebp - 8], 0
je 0x482f7b
mov eax, dword [ebp - 0xc]
add eax, 0x28
cmp esi, eax
jne 0x482f73
mov edx, dword [ebx + 0x46c]
mov eax, dword [ebx + 0x38]
call fcn.0041b430
mov eax, dword [ebx + 0x38]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 8]
add eax, 0x28
mov ecx, dword [ebp - 0xc]
call fcn.004031e8
mov eax, dword [ebx + 0x38]
mov eax, dword [eax + 8]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp - 8]
call fcn.00402f9c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x483009
mov eax, dword [ebp - 4]
call fcn.00402f9c
ret
mov eax, dword [ebp - 0xc]
call fcn.00402f80
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x483002
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 0x30]
mov ecx, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi + 0xc]
cmp eax, dword [ebp - 0xc]
jne 0x482fec
mov edx, dword [ebx + 0x46c]
mov eax, dword [ebx + 0x38]
call fcn.0041b430
mov eax, dword [ebx + 0x38]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
call fcn.004031e8
mov eax, dword [ebx + 0x38]
mov eax, dword [eax + 8]
mov dword [ebx + 0x28], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x483009
mov eax, dword [ebp - 8]
call fcn.00402f9c
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4909cc
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x490bbd
push dword fs:[eax]
mov dword fs:[eax], esp
mov edi, dword [ebx + 0x4c]
mov eax, edi
dec eax
mov esi, 0xe
cdq
idiv esi
mov esi, eax
test ecx, ecx
jge 0x490a36
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x36c]
cmp eax, 0x32
jb 0x490b8a
cmp dword [ebx + 0x354], 0
jle 0x490a28
dec dword [ebx + 0x354]
mov eax, dword [ebx + 0x354]
mov dword [ebx + 0x35c], eax
jmp 0x490aaf
cmp edi, ecx
jge 0x490a98
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x36c]
cmp eax, 0x32
jb 0x490b8a
inc dword [ebx + 0x35c]
mov eax, dword [ebx + 0x33c]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, dword [ebx + 0x35c]
jg 0x490a80
mov eax, dword [ebx + 0x33c]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
xor edx, edx
call fcn.0047fa80
mov dword [ebx + 0x35c], eax
mov eax, dword [ebx + 0x35c]
sub eax, esi
inc eax
xor edx, edx
call fcn.0047fa80
mov dword [ebx + 0x354], eax
jmp 0x490aaf
mov eax, ecx
dec eax
mov ecx, 0xe
cdq
idiv ecx
add eax, dword [ebx + 0x354]
mov dword [ebx + 0x35c], eax
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x36c], eax
mov eax, dword [ebx + 0x33c]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, dword [ebx + 0x35c]
jg 0x490ae6
mov eax, dword [ebx + 0x33c]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
xor edx, edx
call fcn.0047fa80
mov dword [ebx + 0x35c], eax
xor eax, eax
mov dword [ebx + 0x358], eax
mov eax, dword [ebx + 0x33c]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, dword [ebx + 0x35c]
jle 0x490b8a
lea ecx, [ebp - 0x10]
mov edx, dword [ebx + 0x35c]
mov eax, dword [ebx + 0x33c]
call fcn.004916c4
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
call fcn.00405bc0
mov eax, dword [ebp - 4]
xor edx, edx
call fcn.00405d04
je 0x490b8a
mov eax, dword [ebp - 4]
call fcn.00405be0
mov edi, eax
test edi, edi
jle 0x490b8a
mov esi, 1
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00405d88
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 8]
call fcn.004054cc
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 8]
call fcn.00405bc0
mov edx, dword [ebp - 0x18]
mov eax, dword [0x68f77c]
mov eax, dword [eax]
call fcn.0047ccf8
cmp eax, dword [ebp - 0xc]
jg 0x490b8a
mov dword [ebx + 0x358], esi
inc esi
dec edi
jne 0x490b43
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x490bc4
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00405a64
lea eax, [ebp - 0x10]
call fcn.00405234
lea eax, [ebp - 8]
call fcn.00405234
lea eax, [ebp - 4]
call fcn.00405a4c
ret
Function at 0x495b90
Capabilities:
Get keyboard layout

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00488dd8
cmp byte [ebx + 0x339], 0
jne 0x495bb5
cmp byte [ebx + 0x338], 1
je 0x495bb5
cmp byte [ebx + 0x338], 2
jne 0x495be3
push 0
call sub.user32.dll_GetKeyboardLayout
push eax
call sub.imm32.dll_ImmIsIME
test al, al
je 0x495bda
mov byte [0x6319a8], 1
push 0x10
mov eax, dword [0x69702c]
push eax
call sub.imm32.dll_ImmSimulateHotKey
mov byte [0x6319a8], 0
pop ebx
ret
mov byte [0x6319a8], 1
cmp dword [0x6319b4], 0
je 0x495c00
push 1
mov eax, dword [0x6319b4]
push eax
call sub.user32.dll_ActivateKeyboardLayout
mov eax, dword [ebx + 0x40]
add eax, 0x14
mov dword [0x6319ac], eax
mov eax, dword [ebx + 0x44]
mov dword [0x6319b0], eax
pop ebx
ret

Function at 0x495c4c
Capabilities:
Get keyboard layout

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00488034
cmp byte [ebx + 0x339], 0
jne 0x495c7d
cmp byte [ebx + 0x338], 1
je 0x495c7d
cmp byte [ebx + 0x338], 2
je 0x495c7d
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [0x6319b4], eax
push 0
call sub.user32.dll_GetKeyboardLayout
push eax
call sub.imm32.dll_ImmIsIME
test al, al
je 0x495ca2
mov byte [0x6319a8], 1
push 0x10
mov eax, dword [0x69702c]
push eax
call sub.imm32.dll_ImmSimulateHotKey
mov byte [0x6319a8], 0
pop ebx
ret

Function at 0x496210
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, eax
cmp dword [ebx + 0xc], 0
jle 0x496297
cmp dword [ebx + 0x10], 0
jle 0x496297
mov ecx, edx
mov eax, dword [0x495fd8]
mov dl, 1
call fcn.00496460
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x496290
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebx + 0xc]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 8]
call fcn.004031e8
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.00496680
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 4]
mov eax, dword [ebp - 4]
call fcn.0041da08
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x496297
mov eax, dword [ebp - 4]
call fcn.00404328
ret
pop ebx
pop ecx
pop ebp
ret
Function at 0x49c2d0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x408730]
call fcn.00405fb4
xor eax, eax
push ebp
push 0x49c471
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x649e90], 0
jne 0x49c32b
mov ecx, dword [0x68f6a0]
mov dl, 1
mov eax, dword [0x408d74]
call fcn.0040e328
call fcn.00404c60
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x10
call fcn.00403a78
mov eax, ebx
call fcn.00405bd0
mov dword [ebp - 0x24], eax
mov esi, 0x49c480
lea edi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x38]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.00407284
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.00405be0
test eax, eax
jle 0x49c414
mov dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x48]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x49c400
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.004054b4
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x49c3a6
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x50]
mov edx, ebx
call fcn.004054cc
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x49c3bc
sub esi, 4
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x54]
mov edx, ebx
call fcn.004054cc
mov eax, dword [ebp - 0x54]
call fcn.004056d4
push eax
push edi
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.004054b4
mov eax, dword [ebp - 0x58]
call fcn.004056d4
push eax
push 1
push 0x400
call sub.kernel32.dll_CompareStringA_1
sub eax, 2
test eax, eax
sete al
jmp 0x49c402
xor eax, eax
test al, al
je 0x49c40d
mov ebx, 0x15
jmp 0x49c419
mov ebx, 0x10
jmp 0x49c419
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
push ebx
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [0x649e90]
call fcn.0049c150
mov eax, dword [ebp - 4]
call fcn.0049c150
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.0040729c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49c478
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.00405258
lea eax, [ebp - 0xc]
mov edx, dword [0x408730]
call fcn.00406084
ret
Function at 0x4b4094
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov eax, ebx
call fcn.00405234
mov dword [ebp - 0xc], pe_nt_image_headers32
lea eax, [ebp - 0x110]
xor ecx, ecx
mov edx, dword [ebp - 0xc]
call fcn.00403a78
mov dword [ebp - 0x10], 1
xor edx, edx
push ebp
push 0x4b419e
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
mov eax, esi
call fcn.004056d4
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4b4187
xor edx, edx
push ebp
push 0x4b4180
push dword fs:[edx]
mov dword fs:[edx], esp
test edi, edi
jne 0x4b4131
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
jmp 0x4b4153
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
mov eax, edi
call fcn.004056d4
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4b4169
mov eax, ebx
lea edx, [ebp - 0x110]
mov ecx, pe_nt_image_headers32
call fcn.004054b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b4187
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b41a5
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
Function at 0x4b4cb0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x118], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004056c4
xor eax, eax
push ebp
push 0x4b4e5e
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
test ebx, ebx
je 0x4b4e3d
mov eax, ebx
xor ecx, ecx
mov edx, 0x21
call fcn.00403a78
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
call fcn.004056d4
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4b4e3d
mov eax, dword [ebp - 0x14]
call fcn.00402f68
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4b4e36
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
push eax
push 0
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x4b4e20
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4b4e70
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4b4e20
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
shr eax, 0x10
mov word [ebx + 0x19], ax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax + 8]
mov word [ebx + 0x1b], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
shr eax, 0x10
mov word [ebx + 0x1d], ax
mov eax, dword [ebp - 0x10]
movzx esi, word [eax + 0xc]
mov word [ebx + 0x1f], si
lea eax, [ebp - 0x118]
push eax
movzx eax, word [ebx + 0x19]
mov dword [ebp - 0x138], eax
mov byte [ebp - 0x134], 0
movzx eax, word [ebx + 0x1b]
mov dword [ebp - 0x130], eax
mov byte [ebp - 0x12c], 0
movzx eax, word [ebx + 0x1d]
mov dword [ebp - 0x128], eax
mov byte [ebp - 0x124], 0
movzx eax, si
mov dword [ebp - 0x120], eax
mov byte [ebp - 0x11c], 0
lea edx, [ebp - 0x138]
mov ecx, 3
mov eax, 0x4b4e7c
call fcn.0040b25c
mov edx, dword [ebp - 0x118]
lea eax, [ebp - 0x114]
mov ecx, 0xff
call fcn.004054e0
lea edx, [ebp - 0x114]
mov eax, ebx
mov cl, 0x18
call fcn.00403968
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b4e3d
mov eax, dword [ebp - 0xc]
call fcn.00402f9c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b4e65
lea eax, [ebp - 0x118]
call fcn.00405234
lea eax, [ebp - 4]
call fcn.00405234
ret