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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 6
push 0
push 0
dec ecx
jne 0x4465a9
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4467c3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.00404bac
mov eax, esi
call fcn.00404bac
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
mov eax, ebx
call fcn.00405088
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jbe 0x4467a8
mov eax, dword [ebp - 4]
call fcn.00402910
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x4467a1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
push eax
push 0
mov eax, ebx
call fcn.00405088
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x446788
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x4467d4
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4466d2
push 0x4467f8
lea ecx, [ebp - 0x20]
mov eax, dword [ebp - 0x18]
movzx eax, word [eax]
mov edx, 4
call fcn.00409f48
push dword [ebp - 0x20]
lea ecx, [ebp - 0x24]
mov eax, dword [ebp - 0x18]
movzx eax, word [eax + 2]
mov edx, 4
call fcn.00409f48
push dword [ebp - 0x24]
push 0x446814
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.00404f48
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.00405088
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4466d2
cmp dword [ebp - 0xc], 1
jbe 0x4466d2
mov eax, dword [ebp - 0x18]
call fcn.0040afac
mov ecx, eax
mov eax, edi
mov edx, dword [ebp - 0x18]
call fcn.00404c9c
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x446828
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x446788
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
call fcn.004081dc
mov ebx, eax
mov eax, dword [ebp - 0x18]
mov di, word [eax + 8]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
call fcn.004081dc
mov word [ebp - 0xe], ax
mov eax, dword [ebp - 0x18]
mov ax, word [eax + 0xc]
mov word [ebp - 0x10], ax
lea edx, [ebp - 0x28]
movzx eax, bx
call fcn.00409e34
push dword [ebp - 0x28]
push 0x446834
lea edx, [ebp - 0x2c]
movzx eax, di
call fcn.00409e34
push dword [ebp - 0x2c]
push 0x446834
lea edx, [ebp - 0x30]
movzx eax, word [ebp - 0xe]
call fcn.00409e34
push dword [ebp - 0x30]
push 0x446834
lea edx, [ebp - 0x34]
movzx eax, word [ebp - 0x10]
call fcn.00409e34
push dword [ebp - 0x34]
mov eax, esi
mov edx, 7
call fcn.00404f48
mov eax, dword [esi]
mov edx, 0x446840
call fcn.00404fd4
jne 0x446788
mov eax, esi
call fcn.00404bac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4467a8
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
call fcn.00402930
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4467ca
lea eax, [ebp - 0x34]
mov edx, 7
call fcn.00404bd0
ret
Function at 0x446c2c
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xffffff00
mov ebx, eax
mov eax, pe_nt_image_headers32
push eax
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov eax, ebx
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.00404e1c
add esp, 0x100
pop ebx
ret

Function at 0x446c5c
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff7f0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x810], ebx
mov dword [ebp - 0x80c], ebx
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00405078
xor eax, eax
push ebp
push 0x446d58
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
mov edx, ebx
call fcn.00404c00
lea edx, [ebp - 0x80c]
mov eax, dword [ebp - 4]
call fcn.0040a904
cmp dword [ebp - 0x80c], 0
jne 0x446ce0
lea eax, [ebp - 0x810]
call fcn.00446c2c
push dword [ebp - 0x810]
push 0x446d70
push dword [ebp - 4]
lea eax, [ebp - 4]
mov edx, 3
call fcn.00404f48
lea eax, [ebp - 4]
xor ecx, ecx
xor edx, edx
call fcn.00430428
test al, al
je 0x446d32
mov eax, dword [ebp - 4]
call fcn.00405088
push eax
push 0x800
lea eax, [ebp - 0x808]
push eax
mov eax, ebx
call fcn.00405088
push eax
mov eax, dword [ebp - 8]
call fcn.00405088
push eax
mov eax, edi
call fcn.00405088
push eax
call sub.kernel32.dll_GetPrivateProfileStringA
mov ecx, eax
lea edx, [ebp - 0x808]
mov eax, esi
call fcn.00404c9c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x446d5f
lea eax, [ebp - 0x810]
mov edx, 2
call fcn.00404bd0
lea eax, [ebp - 4]
call fcn.00404bac
ret
Function at 0x447fe4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov ebx, ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x448163
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 6], 0
lea edx, [ebp - 5]
mov ecx, 1
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0xc]
cmp word [esi + 0x19], 0x1f6
jb 0x448043
cmp byte [ebp - 5], 0x80
jb 0x448043
and byte [ebp - 5], 0x7f
mov byte [ebp - 6], 1
xor edx, edx
mov dl, byte [ebp - 5]
mov eax, ebx
call fcn.00402e24
xor ecx, ecx
mov cl, byte [ebp - 5]
lea edx, [ebx + 1]
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0xc]
cmp word [esi + 0x19], 0x1f4
jb 0x448136
cmp byte [esi + 0x37], 0
je 0x4480a6
mov eax, dword [0x5137a4]
mov edx, dword [esi + 0x33]
call fcn.00404fd4
je 0x448095
mov eax, dword [esi + 0x33]
call fcn.0043b3f8
mov eax, 0x5137a4
mov edx, dword [esi + 0x33]
call fcn.00404c00
xor ecx, ecx
mov cl, byte [ebx]
lea edx, [ebx + 1]
lea eax, [ebx + 1]
call fcn.0043b498
jmp 0x4480df
cmp byte [ebx], 0
je 0x4480df
lea eax, [ebp - 0x14]
mov edx, ebx
call fcn.00404e10
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.0043b6d4
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0xc]
mov edx, 0x44817c
call fcn.00404ed4
mov edx, dword [ebp - 0xc]
mov eax, ebx
mov ecx, 0xff
call fcn.00404e64
cmp byte [ebp - 6], 0
je 0x448148
lea eax, [ebp - 0x1c]
mov edx, ebx
call fcn.00404e10
push dword [ebp - 0x1c]
push 0x448188
lea ecx, [ebp - 0x120]
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00447fe4
lea edx, [ebp - 0x120]
lea eax, [ebp - 0x20]
call fcn.00404e10
push dword [ebp - 0x20]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00404f48
mov edx, dword [ebp - 0x18]
mov eax, ebx
mov ecx, 0xff
call fcn.00404e64
jmp 0x448148
xor edx, edx
mov dl, byte [ebx]
test edx, edx
jle 0x448148
lea eax, [ebx + 1]
xor byte [eax], 0x62
inc eax
dec edx
jne 0x448141
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44816a
lea eax, [ebp - 0x20]
mov edx, 6
call fcn.00404bd0
ret

Function at 0x44b610
Capabilities:
Hide graphical window

Disassembly:
push ebx
call sub.kernel32.dll_GetCurrentProcessId
call fcn.00445d8c
mov ebx, eax
test ebx, ebx
je 0x44b664
push ebx
call sub.user32.dll_IsIconic
test eax, eax
je 0x44b64d
push 0
push 0xf120
push 0x112
push ebx
call sub.user32.dll_SendMessageA
push 5
push ebx
call sub.user32.dll_ShowWindow
push ebx
call sub.user32.dll_SetForegroundWindow
jmp 0x44b664
push ebx
call sub.user32.dll_GetLastActivePopup
mov ebx, eax
call sub.user32.dll_GetForegroundWindow
cmp ebx, eax
je 0x44b664
push ebx
call sub.user32.dll_SetForegroundWindow
pop ebx
ret
Function at 0x4514a8
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov dword [esp + 4], ecx
mov dword [esp], edx
mov edi, eax
cmp byte [0x50ebd4], 0
jne 0x4514f5
xor esi, esi
mov edx, 0x513a5c
mov eax, esi
mov ebx, 8
test al, 1
je 0x4514db
shr eax, 1
xor eax, 0xedb88320
jmp 0x4514dd
shr eax, 1
dec ebx
jne 0x4514ce
mov dword [edx], eax
inc esi
add edx, 4
cmp esi, 0x100
jne 0x4514c7
mov byte [0x50ebd4], 1
mov eax, dword [esp + 4]
dec eax
test eax, eax
jl 0x451522
inc eax
xor esi, esi
mov edx, dword [esp]
movzx edx, byte [edx + esi]
xor edx, edi
and edx, 0xff
mov edx, dword [edx*4 + 0x513a5c]
shr edi, 8
xor edx, edi
mov edi, edx
inc esi
dec eax
jne 0x451501
mov eax, edi
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4525f4
Capabilities:
Query environment variable

Disassembly:
push ebx
add esp, 0xfffff800
mov ebx, eax
push 0x800
lea eax, [esp + 4]
push eax
mov eax, dword [ebx]
call fcn.00405088
push eax
call sub.kernel32.dll_ExpandEnvironmentStringsA
mov edx, esp
mov ecx, ebx
xchg ecx, eax
call fcn.00404c9c
add esp, 0x800
pop ebx
ret
Function at 0x454368
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 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.00405078
mov eax, dword [ebp - 8]
call fcn.00405078
mov eax, dword [ebp - 0xc]
call fcn.00405078
xor eax, eax
push ebp
push 0x454562
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
push eax
xor ecx, ecx
mov edx, 0x45457c
mov eax, 0x80000000
call fcn.0042fc3c
lea eax, [ebp - 0x14]
call fcn.004525f4
lea eax, [ebp - 0x64]
xor ecx, ecx
mov edx, 0x44
call fcn.004034bc
lea eax, [ebp - 0x74]
xor ecx, ecx
mov edx, 0x10
call fcn.004034bc
mov dword [ebp - 0x64], 0x44
mov dword [ebp - 0x38], 1
mov word [ebp - 0x34], 3
lea eax, [ebp - 0x1c]
mov ecx, dword [0x513704]
mov edx, 0x4545a0
call fcn.00404ed4
push 0x4545b0
push dword [ebp - 4]
push 0x4545c0
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 8]
call fcn.00454284
push dword [ebp - 0x78]
push 0x4545d4
lea eax, [ebp - 0x80]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
call fcn.00404ed4
mov eax, dword [ebp - 0x80]
lea edx, [ebp - 0x7c]
call fcn.00454284
push dword [ebp - 0x7c]
lea eax, [ebp - 0x10]
mov edx, 6
call fcn.00404f48
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, 0x4545e4
mov eax, dword [ebp - 0x14]
call fcn.0042f9f8
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x64]
push eax
push 0
push 0
push 0x4000020
push 0
push 0
push 0
mov eax, dword [ebp - 0x18]
call fcn.00405088
push eax
push 0
call sub.kernel32.dll_CreateProcessA
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
je 0x45451a
xor ebx, ebx
mov eax, dword [ebp - 0x74]
mov esi, eax
push 0x2710
push eax
call sub.user32.dll_WaitForInputIdle
push 0x7d0
call sub.kernel32.dll_Sleep_1
mov eax, dword [ebp - 0x6c]
call fcn.00445d8c
test eax, eax
je 0x4544e9
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
call sub.user32.dll_SetWindowPos
push 0xffffffffffffffff
push esi
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0xffffffff
je 0x454506
lea eax, [ebp - 0x20]
push eax
push esi
call sub.kernel32.dll_GetExitCodeProcess
cmp eax, 1
sbb ebx, ebx
inc ebx
mov eax, dword [ebp - 0x70]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x74]
push eax
call sub.kernel32.dll_CloseHandle_1
jmp 0x454537
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0x84]
call fcn.0040e624
mov edx, dword [ebp - 0x84]
mov al, 4
call fcn.00445abc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x454569
lea eax, [ebp - 0x84]
mov edx, 4
call fcn.00404bd0
lea eax, [ebp - 0x1c]
mov edx, 7
call fcn.00404bd0
ret
Function at 0x455634
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, eax
mov dword [ebp - 4], pe_nt_image_headers32
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x104]
push eax
call sub.advapi32.dll_GetUserNameA
mov eax, ebx
lea edx, [ebp - 0x104]
mov ecx, pe_nt_image_headers32
call fcn.00404e1c
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45577c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, eax
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x104]
push eax
call sub.kernel32.dll_GetComputerNameA
mov eax, ebx
lea edx, [ebp - 0x104]
mov ecx, pe_nt_image_headers32
call fcn.00404e1c
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x455fac
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
xor edx, edx
mov dword [ebp - 0x24], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x456020
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x20], 0x20
lea eax, [ebp - 0x20]
push eax
call sub.kernel32.dll_GlobalMemoryStatus
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x28], eax
fild qword [ebp - 0x2c]
fdiv dword [0x45602c]
call fcn.00402ef0
push edx
push eax
lea eax, [ebp - 0x24]
call fcn.00409f20
mov edx, dword [ebp - 0x24]
mov eax, ebx
mov ecx, 0x456038
call fcn.00404ed4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x456027
lea eax, [ebp - 0x24]
call fcn.00404bac
ret

Function at 0x45603c
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
xor edx, edx
mov dword [ebp - 0x24], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4560b0
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x20], 0x20
lea eax, [ebp - 0x20]
push eax
call sub.kernel32.dll_GlobalMemoryStatus
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x28], eax
fild qword [ebp - 0x2c]
fdiv dword [0x4560bc]
call fcn.00402ef0
push edx
push eax
lea eax, [ebp - 0x24]
call fcn.00409f20
mov edx, dword [ebp - 0x24]
mov eax, ebx
mov ecx, 0x4560c8
call fcn.00404ed4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4560b7
lea eax, [ebp - 0x24]
call fcn.00404bac
ret
Function at 0x45ab94
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x108], edx
mov dword [ebp - 0x10c], edx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x45ac90
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, pe_nt_image_headers32
push ebx
lea eax, [ebp - 0x104]
push eax
call sub.user32.dll_GetFocus
push eax
call sub.user32.dll_GetWindowTextA
test eax, eax
jle 0x45ac63
mov eax, esi
lea edx, [ebp - 0x104]
mov ecx, pe_nt_image_headers32
call fcn.00404e1c
lea eax, [ebp - 0x10c]
call fcn.0045ab3c
mov eax, dword [ebp - 0x10c]
lea edx, [ebp - 0x108]
call fcn.00409734
mov eax, dword [ebp - 0x108]
lea edx, [ebp - 4]
call fcn.00409a58
mov edx, dword [ebp - 4]
mov eax, 0x45aca8
call fcn.004051cc
test eax, eax
jle 0x45ac6a
push 0xfffffffffffffff0
call sub.user32.dll_GetFocus
push eax
call sub.user32.dll_GetWindowLongA
test al, 0x20
je 0x45ac6a
mov eax, dword [esi]
call fcn.00404e88
mov edi, eax
test edi, edi
jbe 0x45ac6a
mov ebx, 1
mov eax, esi
call fcn.004050e0
mov byte [eax + ebx - 1], 0x2a
inc ebx
dec edi
jne 0x45ac51
jmp 0x45ac6a
mov eax, esi
call fcn.00404bac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45ac97
lea eax, [ebp - 0x10c]
mov edx, 2
call fcn.00404bd0
lea eax, [ebp - 4]
call fcn.00404bac
ret

Function at 0x45d530
Capabilities:
Terminate thread

Disassembly:
call fcn.0042fd90
test al, al
jne 0x45d58d
cmp dword [0x5136d8], 0
je 0x45d58d
mov eax, dword [0x5136d8]
call fcn.0042c284
mov eax, dword [0x512668]
call fcn.0044623c
test al, al
jne 0x45d56c
push 0xffffffffffffffff
mov eax, dword [0x5136d8]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_WaitForSingleObject
jmp 0x45d57c
push 1
mov eax, dword [0x5136d8]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_TerminateThread
mov eax, dword [0x5136d8]
call fcn.00403c2c
xor eax, eax
mov dword [0x5136d8], eax
ret
Function at 0x45d83c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
lea edi, [ebp - 8]
call fcn.00446c08
mov edx, dword [eax]
mov dword [edi], edx
mov edx, dword [eax + 4]
mov dword [edi + 4], edx
mov ebx, dword [edi]
dec ebx
jmp 0x45d85d
dec ebx
test ebx, ebx
jl 0x45d86a
mov eax, dword [edi + 4]
cmp dword [eax + ebx*8], 0
je 0x45d85c
mov esi, dword [edi + 4]
mov eax, dword [esi + ebx*8]
test eax, eax
je 0x45d8a9
mov dword [0x513664], eax
lea eax, [ebp - 0xc]
push eax
push 0x40
push 4
lea eax, [esi + ebx*8]
call fcn.0045d6ec
push eax
call sub.kernel32.dll_VirtualProtect
lea eax, [esi + ebx*8]
call fcn.0045d6ec
mov dword [0x5136ac], eax
mov eax, 0x45d810
mov edx, dword [0x5136ac]
mov dword [edx], eax
mov ebx, dword [edi]
dec ebx
jmp 0x45d8af
dec ebx
test ebx, ebx
jl 0x45d8bd
mov eax, dword [edi + 4]
cmp dword [eax + ebx*8 + 4], 0
je 0x45d8ae
mov esi, dword [edi + 4]
mov eax, dword [esi + ebx*8 + 4]
test eax, eax
je 0x45d8ed
mov dword [0x513668], eax
lea eax, [ebp - 0xc]
push eax
push 0x40
push 4
lea eax, [esi + ebx*8 + 4]
call fcn.0045d6ec
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, 0x45d82c
mov dword [esi + ebx*8 + 4], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4611e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x2001f
push 0
push 0x46127c
push 0
mov eax, dword [ebp - 4]
call fcn.00405088
push eax
mov eax, dword [ebp + 8]
push eax
call sub.advapi32.dll_RegCreateKeyExA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x461257
mov eax, dword [ebp - 0xc]
call fcn.00404e88
inc eax
push eax
mov eax, dword [ebp - 0xc]
call fcn.00405088
push eax
push 1
push 0
mov eax, dword [ebp - 8]
call fcn.00405088
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegSetValueExA
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey_1
cmp dword [ebp - 0x14], 0
je 0x461274
mov ecx, dword [0x510fbc]
mov dl, 1
mov eax, dword [0x45f09c]
call fcn.0040f210
call fcn.004044bc
mov esp, ebp
pop ebp
ret 4

Function at 0x461280
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405088
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegDeleteKeyA
pop ecx
pop ecx
pop ebp
ret
Function at 0x4612e4
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 - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x20]
mov edx, dword [0x41dddc]
call fcn.00405740
xor eax, eax
push ebp
push 0x461437
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x50ec38], 0
jne 0x46133a
mov ecx, dword [0x510d38]
mov dl, 1
mov eax, dword [0x4089d0]
call fcn.0040f210
call fcn.004044bc
lea eax, [ebp - 0x30]
xor ecx, ecx
mov edx, 0x10
call fcn.004034bc
mov eax, dword [ebp - 4]
call fcn.00405464
mov dword [ebp - 0x2c], eax
mov esi, 0x461448
lea edi, [ebp - 0x40]
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 - 0x40]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x1c]
call fcn.00406a2c
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
call fcn.00405474
test eax, eax
jle 0x4613d5
mov dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x50]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x4613cc
lea eax, [ebp - 0x54]
mov edx, dword [ebp - 4]
call fcn.00404e50
mov eax, dword [ebp - 0x54]
push eax
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x50]
mov ecx, 0x10
call fcn.00404e1c
mov eax, dword [ebp - 0x58]
pop edx
call fcn.004099b0
test eax, eax
jne 0x4613cc
mov dword [ebp - 0x10], 0x15
jmp 0x4613dc
mov dword [ebp - 0x10], 0x10
jmp 0x4613dc
mov dword [ebp - 0x10], 0x15
lea eax, [ebp - 0x20]
push eax
push 1
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 8]
push eax
call dword [0x50ec38]
call fcn.00461150
mov eax, dword [ebp - 0x18]
call fcn.00461150
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
call fcn.00406a44
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46143e
lea eax, [ebp - 0x58]
mov edx, 2
call fcn.00404bd0
lea eax, [ebp - 0x20]
mov edx, dword [0x41dddc]
call fcn.00405810
ret

Function at 0x46465c
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x464662
ret

Function at 0x467514
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x467565
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x46754c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x46753c
jmp 0x467565
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x46754d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4725a4
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00405078
xor eax, eax
push ebp
push 0x4726d7
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x4726aa
xor eax, eax
push ebp
push 0x4726a3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00404e88
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x472678
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GlobalLock
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x472667
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00404e88
inc eax
push eax
mov eax, dword [ebp - 8]
call fcn.00405088
mov edx, dword [ebp - 0x10]
pop ecx
call fcn.00402bf8
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 0xc]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47266e
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x510dc8]
mov dl, 1
mov eax, dword [0x4089d0]
call fcn.0040f210
call fcn.004044bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4726de
lea eax, [ebp - 8]
call fcn.00404bac
ret