joyce8/EMBER2024-capa huggingface dataset:
Function at 0x449f10
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44a005
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5ce9c8]
call fcn.00406e7c
test eax, eax
jl 0x449fef
inc eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
lea eax, [eax + eax*2]
mov edx, dword [0x5ce9c8]
lea ebx, [edx + eax*4]
xor eax, eax
push ebp
push 0x449fd9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 8]
call fcn.00405868
mov ecx, eax
mov edx, dword [ebx]
lea eax, [ebp - 4]
call fcn.00405698
mov eax, dword [ebp - 4]
mov edx, dword [ebx + 8]
call fcn.004059d0
jne 0x449fcf
lea eax, [ebp - 0xc]
push eax
push 0x40
mov eax, dword [ebx + 4]
call fcn.00405868
push eax
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x449fcf
mov eax, dword [ebx + 4]
call fcn.00405868
mov ecx, eax
mov edx, dword [ebx]
mov eax, dword [ebx + 4]
call fcn.00403304
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebx + 4]
call fcn.00405868
push eax
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_VirtualProtect
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x449fe3
inc dword [ebp - 8]
dec dword [ebp - 0x10]
jne 0x449f49
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44a00c
lea eax, [ebp - 4]
call fcn.004055a8
ret
Function at 0x44a304
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x44a42d
push dword fs:[eax]
mov dword fs:[eax], esp
cmp bl, 0x5c
je 0x44a412
mov eax, dword [ebp + 8]
cmp dword [eax - 4], 0
je 0x44a377
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x2c]
mov edx, ebx
call fcn.00405790
lea eax, [ebp - 0x2c]
mov edx, 0x44a444
call fcn.00405874
mov eax, dword [ebp - 0x2c]
call fcn.00405a38
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call eax
jmp 0x44a3d3
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x30]
mov edx, ebx
call fcn.00405790
lea eax, [ebp - 0x30]
mov edx, 0x44a444
call fcn.00405874
mov eax, dword [ebp - 0x30]
call fcn.00405a38
push eax
call sub.kernel32.dll_GetDiskFreeSpaceA
test eax, eax
je 0x44a3d3
mov eax, dword [ebp - 0x24]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x20]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x1c]
xor edx, edx
call fcn.00406928
call fcn.00406928
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
push 0x44a450
lea eax, [ebp - 0x38]
mov edx, ebx
call fcn.00405790
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x34]
call fcn.00411a8c
push dword [ebp - 0x34]
push 0x44a45c
push dword [ebp - 4]
push dword [ebp - 8]
lea eax, [ebp - 0x3c]
call fcn.00412e30
push dword [ebp - 0x3c]
mov eax, esi
mov edx, 4
call fcn.0040593c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44a434
lea eax, [ebp - 0x3c]
mov edx, 5
call fcn.004055cc
ret
Function at 0x44cba4
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor ebx, ebx
call sub.kernel32.dll_GetCurrentThreadId_1
cmp esi, eax
je 0x44cbce
push edi
call sub.kernel32.dll_SuspendThread
mov esi, eax
cmp esi, 0xffffffff
je 0x44cbce
push edi
call sub.kernel32.dll_ResumeThread
test esi, esi
setg bl
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x4502e8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00405a28
mov eax, dword [ebp - 8]
call fcn.00405a28
xor eax, eax
push ebp
push 0x450411
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [edi], 0
jne 0x4503e4
mov eax, dword [ebp - 4]
call fcn.00405a38
push eax
call sub.kernel32.dll_GetModuleHandleA_2
xor ecx, ecx
mov edx, dword [ebp - 8]
call fcn.004148dc
mov dword [edi], eax
test esi, esi
je 0x450358
cmp word [esi], 0x25ff
jne 0x450358
mov eax, esi
add eax, 2
mov eax, dword [eax]
mov ebx, dword [eax]
jmp 0x45035a
xor ebx, ebx
push 0
call sub.kernel32.dll_GetModuleHandleA_2
cmp eax, dword [0x5cd7f8]
je 0x450372
cmp byte [0x5bc42c], 0
je 0x450389
lea eax, [ebp - 0x14]
call fcn.0042d558
mov eax, dword [ebp - 0x14]
mov edx, dword [edi]
mov ecx, dword [ebp + 8]
call fcn.0042d828
jmp 0x450398
mov edx, dword [edi]
mov ecx, dword [ebp + 8]
mov eax, dword [0x5cd7f8]
call fcn.0042d790
test ebx, ebx
je 0x4503a7
mov eax, esi
add eax, 2
mov eax, dword [eax]
cmp ebx, dword [eax]
je 0x4503ab
xor eax, eax
jmp 0x4503ad
mov al, 1
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x4503e8
add esi, 2
mov ebx, dword [esi]
lea eax, [ebp - 0x10]
push eax
push 0x40
push 4
push ebx
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4503e8
mov eax, dword [ebp + 8]
mov dword [ebx], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x10]
push eax
push 4
push ebx
call sub.kernel32.dll_VirtualProtect
jmp 0x4503e8
mov byte [ebp - 9], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450418
lea eax, [ebp - 0x14]
mov edx, dword [0x42d52c]
call fcn.00407150
lea eax, [ebp - 8]
mov edx, 2
call fcn.004055cc
ret
Function at 0x450428
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4504fd
push dword fs:[eax]
mov dword fs:[eax], esp
test edi, edi
je 0x4504e1
test esi, esi
je 0x450469
cmp word [esi], 0x25ff
jne 0x450469
mov eax, esi
add eax, 2
mov eax, dword [eax]
mov ebx, dword [eax]
jmp 0x45046b
xor ebx, ebx
push 0
call sub.kernel32.dll_GetModuleHandleA_2
cmp eax, dword [0x5cd7f8]
je 0x450483
cmp byte [0x5bc42c], 0
je 0x45049a
lea eax, [ebp - 0xc]
call fcn.0042d558
mov eax, dword [ebp - 0xc]
mov ecx, edi
mov edx, dword [ebp - 4]
call fcn.0042d828
jmp 0x4504a9
mov ecx, edi
mov edx, dword [ebp - 4]
mov eax, dword [0x5cd7f8]
call fcn.0042d790
test ebx, ebx
je 0x4504e1
mov eax, esi
add eax, 2
mov eax, dword [eax]
cmp ebx, dword [eax]
jne 0x4504e1
add esi, 2
mov ebx, dword [esi]
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push ebx
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4504e1
mov dword [ebx], edi
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 8]
push eax
push 4
push ebx
call sub.kernel32.dll_VirtualProtect
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450504
lea eax, [ebp - 0xc]
mov edx, dword [0x42d52c]
call fcn.00407150
ret
Function at 0x450cac
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
push esi
push edi
mov dword [ebp - 0x44], ecx
mov edi, edx
mov ebx, eax
lea eax, [ebp - 0x40]
mov edx, dword [0x415db4]
call fcn.00406364
xor eax, eax
push ebp
push 0x450d6c
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x45], 0
lea edx, [ebp - 0x40]
mov eax, ebx
call fcn.0041aee0
cmp byte [ebp - 0x40], 0
je 0x450d50
mov eax, dword [ebp - 0x20]
call fcn.00406e7c
test eax, eax
jl 0x450d50
inc eax
xor esi, esi
mov edx, esi
add edx, edx
add edx, edx
add edx, edx
sub edx, esi
mov ecx, dword [ebp - 0x20]
lea ebx, [ecx + edx*4]
cmp byte [ebx + 0x10], 0
je 0x450d4c
cmp edi, dword [ebx + 0xc]
jne 0x450d4c
lea eax, [ebp - 0x4c]
push eax
push 0x40
push 4
mov eax, dword [ebx + 0x14]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x450d50
mov edx, dword [ebp - 0x44]
sub edx, dword [ebx + 8]
mov eax, dword [ebx + 0x14]
mov dword [eax], edx
lea edx, [ebp - 0x4c]
push edx
mov edx, dword [ebp - 0x4c]
push edx
push 4
push eax
call sub.kernel32.dll_VirtualProtect
mov byte [ebp - 0x45], 1
jmp 0x450d50
inc esi
dec eax
jne 0x450cfb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450d73
lea eax, [ebp - 0x40]
mov edx, dword [0x415db4]
call fcn.00406434
ret

Function at 0x451424
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405a28
lea eax, [ebp - 0xc]
mov edx, dword [0x451320]
call fcn.00406364
xor eax, eax
push ebp
push 0x4514d6
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x4514e4
call sub.user32.dll_FindWindowA
mov ebx, eax
test ebx, ebx
je 0x4514aa
lea eax, [ebp - 0x10]
push eax
push 0
push ebx
call sub.user32.dll_GetWindowThreadProcessId
mov cl, 0x30
mov edx, 1
call fcn.00412738
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0xc]
mov edx, 0x4514f8
call fcn.004058c0
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00405640
lea eax, [ebp - 0xc]
push eax
push 0x45134c
call sub.user32.dll_EnumWindows
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4514dd
lea eax, [ebp - 0x10]
call fcn.004055a8
lea eax, [ebp - 0xc]
mov edx, dword [0x451320]
call fcn.00406434
lea eax, [ebp - 4]
call fcn.004055a8
ret
Function at 0x451534
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x451602
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
call sub.kernel32.dll_GetCurrentProcessId
mov cl, 0x30
mov edx, 1
call fcn.00412738
mov ecx, dword [ebp - 8]
lea eax, [ebp - 4]
mov edx, 0x451618
call fcn.004058c0
mov eax, dword [ebp - 4]
call fcn.00405a38
push eax
push 0
push 4
call sub.kernel32.dll_OpenFileMappingA
mov ebx, eax
test ebx, ebx
je 0x4515e7
push 0
push 0
push 0
push 4
push ebx
call sub.kernel32.dll_MapViewOfFile
mov esi, eax
test esi, esi
je 0x4515e1
mov eax, dword [esi + 4]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [esi]
push eax
push 0
push 0x100000
call sub.kernel32.dll_OpenProcess
mov edi, eax
test edi, edi
je 0x4515c9
push 0xffffffffffffffff
push edi
call sub.kernel32.dll_WaitForSingleObject
push edi
call sub.kernel32.dll_CloseHandle_1
mov edx, 0x5bc460
lea eax, [esi + 8]
mov ecx, 0x50
call fcn.00403304
push esi
call sub.kernel32.dll_UnmapViewOfFile
push ebx
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x451609
lea eax, [ebp - 8]
mov edx, 2
call fcn.004055cc
ret
Function at 0x451708
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x120], edx
mov dword [ebp - 4], edx
xor edx, edx
push ebp
push 0x451898
push dword fs:[edx]
mov dword fs:[edx], esp
xor ebx, ebx
push 0x104
lea edx, [ebp - 0x119]
push edx
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
push 0
push 0
push 3
push 0
push 3
push 0x80000000
lea eax, [ebp - 0x119]
push eax
call sub.kernel32.dll_CreateFileA_1
mov esi, eax
cmp esi, 0xffffffff
je 0x451813
push 0
push 0
push 0
push 2
push 0
push esi
call sub.kernel32.dll_CreateFileMappingA
mov edi, eax
test edi, edi
je 0x45180d
push 0
push 0
push 0
push 4
push edi
call sub.kernel32.dll_MapViewOfFile
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x451807
mov eax, dword [ebp - 8]
call fcn.0041461c
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4517fe
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x58], 0
je 0x4517fe
mov eax, dword [ebp - 0xc]
add eax, 0x58
mov dword [ebp - 0x10], eax
push 0
push esi
call sub.kernel32.dll_GetFileSize_1
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 8]
xor ecx, ecx
mov eax, dword [ebp - 8]
call fcn.004516ac
mov ecx, eax
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
sub edx, eax
sub edx, 4
mov eax, dword [ebp - 0x10]
add eax, 4
call fcn.004516ac
add eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
cmp eax, dword [edx + 0x58]
je 0x4517fe
mov bl, 1
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_UnmapViewOfFile
push edi
call sub.kernel32.dll_CloseHandle_1
push esi
call sub.kernel32.dll_CloseHandle_1
test bl, bl
je 0x451877
push 0x10
push 0
lea edx, [ebp - 0x120]
mov eax, dword [0x5bcb60]
mov ecx, dword [eax]
call dword [ecx + 0x248]
mov eax, dword [ebp - 0x120]
call fcn.00405a38
push eax
push 0
call sub.user32.dll_MessageBoxA_1
push 0
call sub.kernel32.dll_GetModuleHandleA_2
cmp eax, dword [0x5cd7f8]
je 0x451870
mov eax, 0x5bcb60
call fcn.00407834
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x40a2d8]
call fcn.0040a344
call fcn.00404edc
jmp 0x451877
push 0
call sub.kernel32.dll_ExitProcess_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45189f
lea eax, [ebp - 0x120]
call fcn.004055a8
lea eax, [ebp - 4]
call fcn.004055a8
ret
Function at 0x451a1c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor edx, edx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x451b17
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov ecx, 0x451b24
mov edx, 0x451b30
mov eax, esi
call fcn.00414c6c
mov eax, dword [ebp - 4]
call fcn.00405868
cmp eax, 0x14
jne 0x451b01
cmp esi, dword [0x5cd7f8]
sete al
mov edx, dword [ebp - 4]
test byte [edx + 3], 0x80
sete dl
cmp al, dl
jne 0x451b01
mov eax, esi
call fcn.0041461c
mov ebx, eax
lea eax, [ebp - 8]
push eax
push 0x40
push 0xe0
lea eax, [ebx + 0x18]
push eax
call sub.kernel32.dll_VirtualProtect
cmp esi, dword [0x5cd7f8]
jne 0x451abd
mov edx, 0x42c554
mov eax, dword [ebp - 4]
sub edx, dword [eax]
sub edx, esi
mov dword [ebx + 0x2c], edx
mov edx, 0x5bc3c4
sub edx, dword [eax + 4]
sub edx, esi
mov dword [ebx + 0x30], edx
jmp 0x451ad6
mov eax, dword [ebp - 4]
mov edx, dword [eax]
and edx, 0x7fffffff
mov dword [ebx + 0x2c], edx
mov eax, dword [eax + 4]
and eax, 0x7fffffff
mov dword [ebx + 0x30], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov dword [ebx + 0x1c], edx
mov edx, dword [eax + 0xc]
mov dword [ebx + 0x20], edx
mov eax, dword [eax + 0x10]
mov dword [ebx + 0x24], eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 8]
push eax
push 0xe0
lea eax, [ebx + 0x18]
push eax
call sub.kernel32.dll_VirtualProtect
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x451b1e
lea eax, [ebp - 4]
call fcn.004055a8
ret
Function at 0x455dc4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x455e16
test eax, edx
je 0x455e19
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x455dd9
movzx eax, byte [eax]
sub eax, ecx
ret
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x455dff
add ecx, 4
js 0x455def
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x455dfc
movzx eax, byte [ecx + eax]
movzx edx, byte [ecx + edx]
sub eax, edx
pop ebx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0x455e25
test edx, edx
jne 0x455dcc
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x456e30
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00405a38
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x456e49
test al, 0x10
je 0x456e4d
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x456e54
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00405a38
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x456e6d
test al, 0x10
jne 0x456e71
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x45aee4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x45af1d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00405698
jmp 0x45af26
mov eax, ebx
mov edx, esi
call fcn.004055fc
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x45af30
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x45af52
movzx eax, byte [esp]
jmp 0x45af54
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x45b5e4
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x45b45c
mov eax, dword [0x5caaa8]
cmp byte [eax], 0
je 0x45b660
mov eax, dword [0x5ca520]
call fcn.00403a74
call fcn.00403270
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.004572a4
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x45b6a8
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x45b696
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x5ca464]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x5cd7f8]
call fcn.00407238
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret

Function at 0x45bf84
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x45c05a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00405640
lea eax, [ebp - 4]
call fcn.00405a90
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00405a38
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x45c044
mov eax, ebx
call fcn.00403108
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x45c03d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00405a38
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x45c027
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x45c06c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x45c027
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45c044
mov eax, dword [ebp - 0x10]
call fcn.00403124
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45c061
lea eax, [ebp - 4]
call fcn.004055a8
ret

Function at 0x474e8c
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x474eda
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xe], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.00474bc8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x474ef3
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x474efc
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.00474bc8
dec esi
jne 0x474f1e
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x476090
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x5d0bc8
cmp dword [edi], 0
jne 0x47610c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x5d0bc4]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x5bd22c
mov ecx, 2
call fcn.00403304
mov edx, 0x476068
lea eax, [esi + 5]
call fcn.00476088
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00476088
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x4760e1
mov dword [0x5d0bc4], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x479fcc
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.00405a38
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x47a024
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x5cad9c]
mov dl, 1
mov eax, dword [0x479908]
call fcn.0045b7d4
call fcn.00404edc
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00479a7c
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 0x47b45c
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 0x47b462
ret
Function at 0x48ab58
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00405a28
xor eax, eax
push ebp
push 0x48ac8d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x48ac60
xor edx, edx
push ebp
push 0x48ac59
push dword fs:[edx]
mov dword fs:[edx], esp
mov ebx, dword [ebp - 4]
mov eax, ebx
test eax, eax
je 0x48aba5
sub eax, 4
mov eax, dword [eax]
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x48ac2e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov esi, eax
xor eax, eax
push ebp
push 0x48ac1d
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x48abe4
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 4]
call fcn.00405a38
lea ecx, [ebx + 1]
mov edx, esi
call fcn.00403304
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48ac24
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x5ca31c]
mov dl, 1
mov eax, dword [0x454f0c]
call fcn.0045b798
call fcn.00404edc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48ac94
lea eax, [ebp - 4]
call fcn.004055a8
ret