joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4626f4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405410
xor eax, eax
push ebp
push 0x4627b5
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
call fcn.00405420
mov edi, eax
push edi
call sub.version.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
je 0x462797
lea eax, [ebp - 0x1c]
mov edx, esi
call fcn.004055ac
lea eax, [ebp - 0x1c]
call fcn.00405478
push eax
push esi
push 0
push edi
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x4627c8
lea eax, [ebp - 0x1c]
call fcn.00405478
push eax
call sub.version.dll_VerQueryValueA
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x462797
mov eax, dword [ecx + 8]
xor edx, edx
mov ebx, dword [ebp - 8]
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov eax, dword [ecx + 0xc]
xor edx, edx
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4627bc
lea eax, [ebp - 0x1c]
call fcn.00404f70
lea eax, [ebp - 4]
call fcn.00404f70
ret
Function at 0x4629c8
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x10], ebx
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405410
mov eax, dword [ebp - 8]
call fcn.00405410
xor eax, eax
push ebp
push 0x462bdf
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
xor eax, eax
push ebp
push 0x462ba5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
xor edx, edx
cmp edx, 0
jne 0x462a22
cmp eax, 0x7fffffff
je 0x462a29
cmp ebx, 0xffffffff
jne 0x462a2e
or esi, 0xffffffff
jmp 0x462a34
imul esi, ebx, 0x3e8
mov edx, dword [ebp - 4]
mov eax, 0x462bfc
call fcn.00405564
test eax, eax
jle 0x462a6d
cmp dword [ebp - 4], 0
je 0x462a6d
mov eax, dword [ebp - 4]
cmp byte [eax], 0x22
je 0x462a6d
push 0x462c08
push dword [ebp - 4]
push 0x462c08
lea eax, [ebp - 4]
mov edx, 3
call fcn.004052e8
cmp dword [ebp - 4], 0
je 0x462ad5
mov eax, dword [ebp - 4]
cmp byte [eax], 0x22
jne 0x462a95
push 0
lea eax, [ebp - 0x10]
push eax
mov ecx, 0x462c08
mov edx, 0x462c08
mov eax, dword [ebp - 4]
call fcn.00456e88
jmp 0x462ab6
lea eax, [ebp - 0x54]
mov edx, dword [ebp - 0x10]
call fcn.00405844
mov eax, dword [ebp - 0x54]
lea edx, [ebp - 0x50]
call fcn.0045ae2c
mov edx, dword [ebp - 0x50]
lea eax, [ebp - 0x10]
call fcn.004051f0
mov eax, dword [ebp - 0x10]
call fcn.00405228
test eax, eax
jle 0x462ad5
mov eax, dword [ebp - 0x10]
call fcn.00405228
mov edx, eax
dec edx
lea eax, [ebp - 0x10]
call fcn.004055ac
cmp byte [ebp + 0xc], 0
je 0x462ae2
mov edi, 0xa
jmp 0x462ae4
xor edi, edi
lea eax, [ebp - 0x4c]
xor ecx, ecx
mov edx, 0x3c
call fcn.00403540
mov dword [ebp - 0x4c], 0x3c
test ebx, ebx
jne 0x462b05
xor eax, eax
mov dword [ebp - 0x48], eax
jmp 0x462b0c
mov dword [ebp - 0x48], 0x140
xor eax, eax
mov dword [ebp - 0x44], eax
cmp byte [ebp + 8], 0
je 0x462b21
mov eax, 0x462c0c
mov dword [ebp - 0x40], eax
jmp 0x462b26
xor eax, eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 8]
call fcn.00405420
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 4]
call fcn.00405420
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x30], edi
lea eax, [ebp - 0x4c]
push eax
call fcn.004598d8
test eax, eax
jne 0x462b56
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x462baf
test ebx, ebx
jbe 0x462b97
mov ebx, dword [ebp - 0x14]
push esi
push ebx
call sub.user32.dll_WaitForInputIdle
push esi
push ebx
call sub.KERNEL32.DLL_WaitForSingleObject
sub eax, 1
jb 0x462b79
sub eax, 0x101
je 0x462b89
jmp 0x462b9b
mov byte [ebp - 9], 1
mov eax, dword [ebp + 0x10]
push eax
push ebx
call sub.KERNEL32.DLL_GetExitCodeProcess
jmp 0x462b9b
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
push eax
push ebx
call sub.KERNEL32.DLL_TerminateProcess
jmp 0x462b9b
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x462baf
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462be6
lea eax, [ebp - 0x54]
mov edx, 2
call fcn.00405678
lea eax, [ebp - 0x10]
call fcn.00404f70
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404f94
ret
Function at 0x46b7d8
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
test dl, dl
je 0x46b7eb
add esp, 0xfffffff0
call fcn.004044e4
mov esi, ecx
mov ebx, edx
mov edi, eax
xor edx, edx
mov eax, edi
call fcn.00404150
mov eax, dword [0x4b8a8c]
mov byte [eax], 1
mov eax, dword [ebp + 8]
mov dword [edi + 0x20], eax
mov byte [edi + 0x24], 0
mov byte [edi + 0x1c], 0
mov dword [edi + 4], esi
mov eax, dword [ebp + 0x14]
mov dword [edi + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x10], eax
mov byte [edi + 0x14], 0
lea eax, [ebp - 4]
push eax
push 4
push edi
push 0x46b794
push 0
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [edi + 0x18], eax
mov eax, edi
test bl, bl
je 0x46b856
call fcn.0040453c
pop dword fs:[0]
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0x10

Function at 0x46b874
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
add esp, 0xfffffff4
mov ebx, eax
mov eax, dword [ebx + 0x10]
cmp eax, 0xffffffff
je 0x46b982
test eax, eax
je 0x46b982
mov byte [esp + 8], 0
cmp dword [ebx + 0x20], 0
jne 0x46b8a1
lea eax, [esp + 8]
mov dword [ebx + 0x20], eax
mov dword [esp], 0
mov dword [esp + 4], 0
call sub.KERNEL32.DLL_GetTickCount
mov esi, eax
jmp 0x46b918
call sub.KERNEL32.DLL_GetTickCount
mov ecx, eax
mov eax, ecx
sub eax, esi
xor edx, edx
mov dword [esp], eax
mov dword [esp + 4], edx
cmp dword [esp + 4], 0
jne 0x46b8dc
cmp dword [esp], 0
jae 0x46b8ef
jmp 0x46b8de
jge 0x46b8ef
mov esi, ecx
mov dword [esp], 0xc8
mov dword [esp + 4], 0
cmp dword [esp + 4], 0
jne 0x46b901
cmp dword [esp], 0xc8
jb 0x46b90f
jmp 0x46b903
jl 0x46b90f
push 0xc8
call sub.KERNEL32.DLL_Sleep_2
jmp 0x46b918
mov eax, dword [esp]
push eax
call sub.KERNEL32.DLL_Sleep_2
mov eax, dword [ebx + 0x10]
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x46b92a
cmp eax, dword [esp]
jbe 0x46b93e
jmp 0x46b92c
jle 0x46b93e
cmp byte [ebx + 0x1c], 0
jne 0x46b93e
mov eax, dword [ebx + 0x20]
cmp byte [eax], 0
je 0x46b8b9
cmp byte [ebx + 0x1c], 0
jne 0x46b982
mov eax, dword [ebx + 0x10]
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x46b956
cmp eax, dword [esp]
jb 0x46b960
jmp 0x46b958
jl 0x46b960
mov eax, dword [ebx + 0x20]
cmp byte [eax], 0
je 0x46b982
mov byte [ebx + 0x14], 1
mov eax, dword [ebx + 4]
push eax
call dword [0x4bc5a4]
mov eax, dword [ebx + 8]
push eax
call dword [0x4bc5a4]
mov eax, dword [ebx + 0xc]
push eax
call dword [0x4bc5a4]
add esp, 0xc
pop esi
pop ebx
ret
Function at 0x46ed20
Capabilities:
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00405420
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
pop ebx
ret

Function at 0x46ed34
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor ebx, ebx
push edi
mov eax, esi
call fcn.00405420
push eax
call sub.KERNEL32.DLL_SetFileAttributesA
test eax, eax
jne 0x46ed56
call sub.KERNEL32.DLL_GetLastError
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x46ee8c
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov word [ebp - 2], cx
mov edi, edx
mov esi, eax
push 0
push 0x8000080
push 3
push 0
push 1
push 0xc0000000
push esi
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x46eeca
call sub.KERNEL32.DLL_GetLastError
mov edx, dword [ebp + 8]
mov dword [edx], eax
xor eax, eax
jmp 0x46ef1b
lea eax, [ebp - 0xc]
push eax
mov ax, word [ebp - 2]
push eax
push edi
call sub.KERNEL32.DLL_DosDateTimeToFileTime
test eax, eax
je 0x46eefe
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_LocalFileTimeToFileTime
test eax, eax
je 0x46eefe
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x14]
push eax
push ebx
call sub.KERNEL32.DLL_SetFileTime
push ebx
call sub.KERNEL32.DLL_CloseHandle
mov ax, word [ebp + 0xc]
and ax, 0x27
movzx eax, ax
push eax
push esi
call sub.KERNEL32.DLL_SetFileAttributesA
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x471000
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov dword [esp], ecx
mov esi, edx
mov edi, eax
mov eax, dword [esp]
inc eax
cmp eax, 5
jge 0x47101d
xor eax, eax
jmp 0x4710a5
mov cl, byte [esi]
and cl, 0xff
and ecx, 0xff
mov eax, ecx
mov ebx, 9
cdq
idiv ebx
mov dword [esp + 4], edx
mov eax, ecx
mov ecx, 9
cdq
idiv ecx
mov ecx, eax
mov eax, ecx
mov ebx, 5
cdq
idiv ebx
mov dword [esp + 8], edx
mov eax, ecx
mov ecx, 5
cdq
idiv ecx
mov dword [esp + 0xc], eax
xor ebx, ebx
xor eax, eax
mov ecx, eax
shl ecx, 3
lea edx, [eax + 1]
mov dl, byte [esi + edx]
and dl, 0xff
and edx, 0xff
shl edx, cl
add ebx, edx
inc eax
cmp eax, 4
jne 0x471062
mov eax, dword [esp + 0xc]
push eax
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov eax, edi
call fcn.00470b10
test al, al
jne 0x47109c
xor eax, eax
jmp 0x4710a5
mov edx, ebx
mov eax, edi
call fcn.00470ac0
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x473fc8
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x473fd1
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
test dl, dl
je 0x473fea
add esp, 0xfffffff0
call fcn.004044e4
mov esi, ecx
mov ebx, edx
mov edi, eax
xor eax, eax
push ebp
push 0x4741e0
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, edi
call fcn.00404150
mov al, byte [ebp + 0x10]
mov byte [edi + 0x60], al
xor eax, eax
mov dword [edi + 0x58], eax
xor eax, eax
mov dword [edi + 0x54], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x4c], eax
mov dword [edi + 0x1c], 1
xor eax, eax
mov dword [edi + 8], eax
mov byte [edi + 0x2c], 0
mov byte [edi + 0x2d], 0
mov eax, dword [ebp + 8]
mov dword [edi + 0x34], eax
mov dword [edi + 0x38], 1
lea eax, [edi + 0x3c]
mov edx, dword [ebp + 0x14]
call fcn.00405160
cmp dword [edi + 0x3c], 0
jne 0x474067
lea edx, [ebp - 4]
mov eax, 0x474210
call fcn.00457b84
mov edx, dword [ebp - 4]
lea eax, [edi + 0x3c]
call fcn.00404fc4
mov eax, dword [edi + 0x3c]
cmp byte [eax], 0x2e
je 0x47407f
mov ecx, dword [edi + 0x3c]
lea eax, [edi + 0x3c]
mov edx, 0x474224
call fcn.00405274
xor eax, eax
mov dword [edi + 8], eax
xor eax, eax
mov dword [edi + 0xc], eax
xor eax, eax
mov dword [edi + 0x10], eax
xor eax, eax
mov dword [edi + 0x14], eax
mov byte [edi + 0x20], 0
lea eax, [edi + 0x28]
mov edx, esi
call fcn.00405160
lea eax, [ebp - 0xc]
call fcn.0045ed50
push dword [ebp - 0xc]
push 0x47422c
mov eax, dword [0x4b8118]
call fcn.00458a28
lea edx, [ebp - 0x14]
call fcn.00458bb4
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
call fcn.00405844
push dword [ebp - 0x10]
push 0x474238
lea eax, [ebp - 8]
mov edx, 4
call fcn.00405934
mov edx, dword [ebp - 8]
lea eax, [edi + 0x24]
call fcn.004051f0
push 0
mov eax, dword [edi + 0x24]
call fcn.00405420
push eax
call sub.KERNEL32.DLL_CreateDirectoryA
lea eax, [ebp - 0x18]
mov edx, dword [edi + 0x24]
call fcn.00405844
mov eax, dword [ebp - 0x18]
call fcn.0045a200
test al, al
jne 0x474128
lea eax, [ebp - 0x1c]
call fcn.0045ed50
mov edx, dword [ebp - 0x1c]
lea eax, [edi + 0x24]
call fcn.004051f0
push dword [edi + 0x24]
call fcn.004721ac
lea edx, [ebp - 0x20]
call fcn.00458bb4
push dword [ebp - 0x20]
push 0x474244
lea edx, [ebp - 0x24]
mov eax, 0x474250
call fcn.00457b84
push dword [ebp - 0x24]
push dword [edi + 0x3c]
lea eax, [edi + 0x30]
mov edx, 5
call fcn.004052e8
push edi
push 0x473728
push 0
push 0
push 0
push 0
xor ecx, ecx
mov dl, 1
mov eax, dword [0x459ca8]
call fcn.00460ffc
mov dword [edi + 0x48], eax
push edi
push 0x474264
push 0
push 0
push 0
push 1
xor ecx, ecx
mov dl, 1
mov eax, dword [0x459ca8]
call fcn.00460ffc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4741e7
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00404f94
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00405678
lea eax, [ebp - 0x14]
call fcn.00404f70
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00405678
lea eax, [ebp - 4]
call fcn.00404f70
ret
Function at 0x475980
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x475988
push ecx
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
call fcn.00405ae0
lea eax, [ebp - 8]
call fcn.00405ae0
xor eax, eax
push ebp
push 0x475a91
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [ebp - 4]
xor edx, edx
call fcn.0040597c
je 0x475a49
lea ecx, [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00455f84
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 8]
call fcn.0045aac0
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
call fcn.004051f0
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.00456e44
mov eax, dword [ebp - 0x10]
push eax
lea edx, [ebp - 0x1c]
mov eax, 0x475aa8
call fcn.00457b84
mov edx, dword [ebp - 0x1c]
pop eax
call fcn.0040536c
je 0x475a35
lea edx, [ebp - 0x24]
mov eax, 0x475aa8
call fcn.00457b84
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
call fcn.00405844
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0xc]
call fcn.00405870
mov eax, dword [ebp - 0xc]
call fcn.00405854
push eax
call sub.KERNEL32.DLL_DeleteFileW
cmp eax, 1
sbb ebx, ebx
inc ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x475a98
lea eax, [ebp - 0x24]
call fcn.00404f70
lea eax, [ebp - 0x20]
call fcn.00405660
lea eax, [ebp - 0x1c]
call fcn.00404f70
lea eax, [ebp - 0x18]
call fcn.00405660
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00404f94
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405678
ret
Function at 0x475b18
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x475b20
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
call fcn.00405ae0
xor eax, eax
push ebp
push 0x475c92
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 4]
call fcn.004051f0
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.004565a0
cmp dword [ebp - 0x14], 0
je 0x475c4d
lea eax, [ebp - 8]
call fcn.004631cc
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.0040597c
je 0x475c4d
lea eax, [ebp - 0x20]
mov ecx, 0x475ca8
mov edx, dword [ebp - 4]
call fcn.004058d0
mov edx, dword [ebp - 0x20]
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp - 8]
call fcn.00455f84
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 8]
call fcn.004056c0
lea eax, [ebp - 0x24]
mov ecx, 0x475cb0
mov edx, dword [ebp - 8]
call fcn.004058d0
mov eax, dword [ebp - 0x24]
xor edx, edx
call fcn.0045e9cc
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x475c32
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x475c1c
inc ebx
xor esi, esi
lea ecx, [ebp - 0x2c]
mov edx, esi
mov eax, dword [ebp - 0xc]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
call fcn.00405844
mov edx, dword [ebp - 0x28]
lea ecx, [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.00455f84
mov eax, dword [ebp - 0x10]
call fcn.00405854
push eax
call sub.KERNEL32.DLL_DeleteFileW
inc esi
dec ebx
jne 0x475be4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x475c39
mov eax, dword [ebp - 0xc]
call fcn.00404180
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x475c99
lea eax, [ebp - 0x2c]
call fcn.00404f70
lea eax, [ebp - 0x28]
mov edx, 4
call fcn.00405678
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00404f94
lea eax, [ebp - 0x10]
call fcn.00405660
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405678
ret
Function at 0x481fc4
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x414a7c]
call fcn.00405b00
xor eax, eax
push ebp
push 0x482108
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4b8140], 0
jne 0x482017
mov ecx, dword [0x4b89b0]
mov dl, 1
mov eax, dword [0x409b78]
call fcn.0040d78c
call fcn.0040494c
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403540
mov eax, ebx
call fcn.00405854
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x482118
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.004070ac
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00405864
test eax, eax
jle 0x4820af
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.KERNEL32.DLL_GetComputerNameA
test eax, eax
je 0x4820a8
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.004051f0
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.004051d8
mov eax, dword [ebp - 0x48]
pop edx
call fcn.0040aa14
test eax, eax
jne 0x4820a8
mov ebx, 0x15
jmp 0x4820b4
mov ebx, 0x10
jmp 0x4820b4
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4b8140]
call fcn.00481f1c
mov eax, dword [ebp - 8]
call fcn.00481f1c
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.004070c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48210f
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404f94
lea eax, [ebp - 0x10]
mov edx, dword [0x414a7c]
call fcn.00405bd0
ret
Function at 0x484914
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x484a7d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00405008
mov eax, dword [ebp - 0x10]
call fcn.0048467c
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x484966
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.004054c0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00484cec
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x484a3b
xor eax, eax
push ebp
push 0x484a34
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.004847ec
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.00484a8c
test al, al
je 0x484a12
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00405060
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x484a12
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00405420
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x484a0c
mov eax, dword [ebp - 0x14]
call fcn.00405420
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00405160
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.00484914
dec ebx
cmp ebx, 0xffffffff
jne 0x4849c5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x484a3b
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.004847ec
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov eax, dword [ebp - 0x10]
call fcn.00405420
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.004847d8
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x484a84
lea eax, [ebp - 0x3c]
call fcn.00404f70
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00404f94
ret

Function at 0x484a8c
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.00403540
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete al
mov edx, dword [0x4b8ea4]
cmp byte [edx + 0xc], 0
je 0x484af0
mov edx, dword [0x4b8e94]
cmp dword [edx], 2
jne 0x484af0
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
ret
Function at 0x484c10
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.00484690
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00405420
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x484c6e
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4b8c44]
mov dl, 1
mov eax, dword [0x484588]
call fcn.0040d7c8
call fcn.0040494c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x484c78
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00405420
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x484cd0
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4b8eb0]
mov dl, 1
mov eax, dword [0x484588]
call fcn.0040d7c8
call fcn.0040494c
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004846c0
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x484f68
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x485040
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4bcbe4], 0
jne 0x485024
lea eax, [ebp - 4]
mov edx, 0x485058
call fcn.00405008
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00405420
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x485024
mov eax, ebx
call fcn.00402a58
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x48501d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x485007
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x485068
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x485007
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x4bcbe4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x485024
mov eax, dword [ebp - 0xc]
call fcn.00402a78
ret
mov ebx, dword [0x4bcbe4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x485047
lea eax, [ebp - 4]
call fcn.00404f70
ret