joyce8/EMBER2024-capa huggingface dataset:
Function at 0x420f68
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdc4
push ebx
xor ebx, ebx
mov dword [ebp - 0x23c], ebx
mov dword [ebp - 0x238], ebx
mov dword [ebp - 0x230], ebx
mov dword [ebp - 0x234], ebx
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4211a5
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov eax, dword [ebp - 8]
call fcn.00408da4
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetFileSize
mov ebx, eax
test ebx, ebx
jne 0x42103f
cmp dword [ebp - 0x14], 0
jne 0x42103f
xor edx, edx
mov eax, 6
call fcn.00428ff8
test al, al
je 0x42103f
push 2
push 0x104
lea eax, [ebp - 0x224]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetFinalPathNameByHandleW
test eax, eax
jbe 0x42103f
lea eax, [ebp - 0x22c]
lea edx, [ebp - 0x224]
mov ecx, 0x106
call fcn.00409cc8
mov eax, dword [ebp - 0x22c]
lea edx, [ebp - 0x228]
call fcn.00420d4c
mov edx, dword [ebp - 0x228]
mov eax, dword [ebp - 8]
call fcn.00409184
mov byte [ebp - 9], 1
jmp 0x421187
test ebx, ebx
jne 0x42104d
cmp dword [ebp - 0x14], 0
je 0x42113b
push 0
push 1
push 0
push 2
push 0
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CreateFileMappingW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x3ee
je 0x42113b
xor eax, eax
push ebp
push 0x421134
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
push 0
push 0
push 4
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42111d
xor eax, eax
push ebp
push 0x421116
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
call sub.kernel32.dll_GetCurrentProcess
lea ecx, [ebp - 0x224]
mov edx, dword [ebp - 0x18]
call fcn.00412160
test eax, eax
jbe 0x4210ff
lea eax, [ebp - 0x234]
lea edx, [ebp - 0x224]
mov ecx, 0x106
call fcn.00409cc8
mov eax, dword [ebp - 0x234]
lea edx, [ebp - 0x230]
call fcn.00420d4c
mov edx, dword [ebp - 0x230]
mov eax, dword [ebp - 8]
call fcn.00409184
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42111d
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_UnmapViewOfFile
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42113b
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle
ret
cmp byte [ebp - 9], 0
jne 0x421187
lea edx, [ebp - 0x238]
mov eax, dword [ebp - 4]
call fcn.00420e84
mov edx, dword [ebp - 0x238]
mov eax, dword [ebp - 8]
call fcn.00409184
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x421187
lea edx, [ebp - 0x23c]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00420d4c
mov edx, dword [ebp - 0x23c]
mov eax, dword [ebp - 8]
call fcn.00409184
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4211ac
lea eax, [ebp - 0x23c]
mov edx, 6
call fcn.00408e04
ret
Function at 0x4211b8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov byte [ebp - 1], 0
xor edx, edx
mov eax, 6
call fcn.00428ff8
test al, al
je 0x421280
xor edx, edx
mov eax, ebx
call fcn.00422db0
test al, al
je 0x421280
mov eax, ebx
call fcn.004229b0
test al, 0x20
je 0x421280
mov eax, ebx
call fcn.00409c0c
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x421280
test ah, 4
je 0x421280
test al, 0x10
je 0x42121f
mov edi, 0x2000000
jmp 0x421221
xor edi, edi
push 0
push edi
push 3
push 0
push 1
push 0x80000000
mov eax, ebx
call fcn.00409c0c
push eax
call sub.kernel32.dll_CreateFileW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x421280
xor eax, eax
push ebp
push 0x421279
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, esi
mov ecx, edi
mov eax, dword [ebp - 8]
call fcn.00420f68
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x421280
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle
ret
movzx eax, byte [ebp - 1]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4215a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x4215f9
test eax, edx
je 0x4215fc
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x4215b7
movzx eax, word [eax]
sub eax, ecx
jmp 0x4215de
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]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x4215df
add ecx, 4
js 0x4215cf
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x4215dc
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x4215de
xor eax, eax
ret
test eax, eax
je 0x421608
test edx, edx
jne 0x4215a8
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret
Function at 0x421dec
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebx, edx
mov ebp, eax
mov byte [esp], 0
mov eax, ebp
test eax, eax
je 0x421e04
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x421e0c
mov al, 1
jmp 0x421e29
movzx esi, word [ebp]
mov eax, esi
call fcn.0041249c
test al, al
jne 0x421e25
cmp si, 0x5f
je 0x421e25
xor eax, eax
jmp 0x421e27
mov al, 1
xor al, 1
test al, al
jne 0x421eb9
test bl, bl
je 0x421e79
mov eax, ebp
test eax, eax
je 0x421e40
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
sub ebx, 2
jl 0x421eb5
inc ebx
mov esi, 2
movzx edi, word [ebp + esi*2 - 2]
mov eax, edi
call fcn.00412528
test al, al
jne 0x421e6d
cmp di, 0x5f
je 0x421e6d
cmp di, 0x2e
je 0x421e6d
xor eax, eax
jmp 0x421e6f
mov al, 1
test al, al
je 0x421eb9
inc esi
dec ebx
jne 0x421e4d
jmp 0x421eb5
mov eax, ebp
test eax, eax
je 0x421e84
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
sub ebx, 2
jl 0x421eb5
inc ebx
mov esi, 2
movzx edi, word [ebp + esi*2 - 2]
mov eax, edi
call fcn.00412528
test al, al
jne 0x421eab
cmp di, 0x5f
je 0x421eab
xor eax, eax
jmp 0x421ead
mov al, 1
test al, al
je 0x421eb9
inc esi
dec ebx
jne 0x421e91
mov byte [esp], 1
movzx eax, byte [esp]
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4229b0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbd8
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x428], edx
mov dword [ebp - 0x424], edx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x422ae4
push dword fs:[eax]
mov dword fs:[eax], esp
movzx ebx, byte [0x422af4]
mov dl, 1
mov eax, esi
call fcn.00422e48
test al, al
jne 0x422a01
mov dl, 1
mov eax, esi
call fcn.00422db0
test al, al
je 0x422a97
lea edx, [ebp - 0x424]
mov eax, esi
call fcn.004232fc
mov eax, dword [ebp - 0x424]
lea edx, [ebp - 4]
call fcn.00429514
push 0x104
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
mov eax, dword [ebp - 4]
call fcn.00409c0c
mov esi, eax
push esi
call sub.kernel32.dll_GetVolumeInformationW
test eax, eax
je 0x422a92
test byte [ebp - 0xc], 1
je 0x422a5d
or bl, 1
test byte [ebp - 0xc], 2
je 0x422a66
or bl, 2
test byte [ebp - 0xc], 0x80
je 0x422a6f
or bl, 0x20
push esi
call sub.kernel32.dll_GetDriveTypeW
sub eax, 2
je 0x422a83
dec eax
je 0x422a88
dec eax
je 0x422a8d
dec eax
jne 0x422abe
or bl, 0x10
jmp 0x422abe
or bl, 4
jmp 0x422abe
or bl, 8
jmp 0x422abe
call fcn.00429d5c
lea edx, [ebp - 0x428]
mov eax, dword [0x7a6f14]
call fcn.0040cd2c
mov ecx, dword [ebp - 0x428]
mov dl, 1
mov eax, dword [0x41c8d4]
call fcn.0042838c
call fcn.0040849c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x422aeb
lea eax, [ebp - 0x428]
mov edx, 2
call fcn.00408e04
lea eax, [ebp - 4]
call fcn.00408da4
ret
Function at 0x422db0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, esi
call fcn.00409c0c
mov edi, eax
push edi
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x422e1a
test ah, 4
je 0x422e13
test bl, bl
jne 0x422dd8
mov al, 1
jmp 0x422e41
test al, 0x10
je 0x422de0
xor eax, eax
jmp 0x422e41
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x422e04
push eax
call sub.kernel32.dll_CloseHandle
mov al, 1
jmp 0x422e41
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 0x20
sete al
jmp 0x422e41
test al, 0x10
sete al
jmp 0x422e41
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 2
je 0x422e3b
cmp ebx, 3
je 0x422e3b
cmp ebx, 0x7b
je 0x422e3b
mov eax, esi
call fcn.00422d70
test al, al
jne 0x422e3f
xor eax, eax
jmp 0x422e41
mov al, 1
pop edi
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov byte [esp], dl
mov edi, eax
xor ebx, ebx
mov eax, edi
call fcn.00409c0c
mov ebp, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
je 0x422eef
test esi, 0x400
jne 0x422e84
test esi, 0x10
setne bl
jmp 0x422f0e
cmp byte [esp], 0
je 0x422eb8
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x422f0e
push eax
call sub.kernel32.dll_CloseHandle
test esi, 0x10
setne bl
jmp 0x422f0e
test esi, 0x10
je 0x422ec4
mov bl, 1
jmp 0x422f0e
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x422eeb
push eax
call sub.kernel32.dll_CloseHandle
xor ebx, ebx
jmp 0x422f0e
mov bl, 1
jmp 0x422f0e
call sub.kernel32.dll_GetLastError
cmp eax, 2
je 0x422f08
cmp eax, 3
je 0x422f08
cmp eax, 0x7b
je 0x422f08
cmp eax, 0x35
jne 0x422f0c
xor ebx, ebx
jmp 0x422f0e
mov bl, 1
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x422f18
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x422fbd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00409c0c
push eax
call sub.kernel32.dll_GetFileAttributesW
mov edi, eax
test edi, 0x400
setne al
test al, bl
je 0x422fa2
or edi, 0xffffffff
lea edx, [ebp - 4]
mov eax, esi
call fcn.004211b8
test al, al
je 0x422fa2
mov eax, dword [ebp - 4]
call fcn.004234e0
test al, al
je 0x422f92
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.004232c0
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.00429514
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
call fcn.00409e78
mov eax, dword [ebp - 4]
call fcn.00409c0c
push eax
call sub.kernel32.dll_GetFileAttributesW
mov edi, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x422fc4
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00408e04
ret
Function at 0x4230e8
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes

Disassembly:
push ebx
push esi
push edi
push ebp
mov esi, eax
mov eax, esi
call fcn.00409c0c
mov ebp, eax
push ebp
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x42313d
call sub.kernel32.dll_GetLastError
mov edi, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x423137
test ah, 4
je 0x423137
test al, 0x10
je 0x423137
mov eax, esi
call fcn.00409c0c
push eax
call sub.kernel32.dll_RemoveDirectoryW
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x42313d
push edi
call sub.kernel32.dll_SetLastError
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x427508
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW
test eax, eax
jle 0x427541
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00408f2c
jmp 0x42754a
mov eax, ebx
mov edx, esi
call fcn.00409184
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x427554
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW
test eax, eax
jle 0x427576
movzx eax, word [esp]
jmp 0x427578
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x42823c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x428361
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00428044
mov esi, eax
mov eax, dword [0x7a6d1c]
cmp byte [eax], 0
je 0x428309
mov eax, dword [0x7a6600]
call fcn.00405248
call fcn.004047b8
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x42820c]
call fcn.0040b02c
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x42837c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
jmp 0x428345
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x7a6508]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x7aac50]
call fcn.0040b378
push eax
call sub.user32.dll_LoadStringW
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.user32.dll_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x428368
lea eax, [ebp - 4]
mov edx, dword [0x42820c]
call fcn.0040b150
ret
Function at 0x429018
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 0x4290ee
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004091cc
lea eax, [ebp - 4]
call fcn.00409380
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00409c0c
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x4290d8
mov eax, ebx
call fcn.00404644
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4290d1
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.00409c0c
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x4290bb
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x429100
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x4290bb
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 0x4290d8
mov eax, dword [ebp - 0x10]
call fcn.00404660
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4290f5
lea eax, [ebp - 4]
call fcn.00408da4
ret

Function at 0x42a42c
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xfffff800
mov ebx, ecx
mov word [esp], 0
push 0x400
lea ecx, [esp + 4]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW
mov eax, ebx
mov edx, esp
mov ecx, 0x400
call fcn.00409cc8
add esp, 0x800
pop ebx
ret

Function at 0x453520
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4535be
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xc]
je 0x453582
cmp byte [ebx + 0x10], 0
jne 0x453582
cmp byte [ebx + 0x3c], 0
jne 0x453582
mov byte [ebx + 0xe], 0
mov byte [ebx + 0xc], 0
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x4535a3
lea edx, [ebp - 4]
mov eax, dword [0x7a6bf8]
call fcn.0040cd2c
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x442ad8]
call fcn.0042838c
call fcn.0040849c
jmp 0x4535a3
lea edx, [ebp - 8]
mov eax, dword [0x7a6bf8]
call fcn.0040cd2c
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x442ad8]
call fcn.0042838c
call fcn.0040849c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4535c5
lea eax, [ebp - 8]
mov edx, 2
call fcn.00408e04
ret
Function at 0x4538ec
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 0x45393a
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.00453458
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x453953
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x45395c
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.00453458
dec esi
jne 0x45397e
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x4559b8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x7ad020
cmp dword [edi], 0
jne 0x455a34
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc
mov esi, eax
mov eax, dword [0x7ad01c]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x7999a4
mov ecx, 2
call fcn.00404808
mov edx, 0x455990
lea eax, [esi + 5]
call fcn.004559b0
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004559b0
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 0x455a09
mov dword [0x7ad01c], 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 0x469720
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 - 4], ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4698db
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004091cc
mov eax, dword [ebp - 4]
call fcn.004690ac
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x469772
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.0040a030
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.0046a0a0
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x469851
xor eax, eax
push ebp
push 0x46984a
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.00469310
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.00469910
test al, al
je 0x469828
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.00408f2c
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x469828
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.00409c0c
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.00469270
test al, al
je 0x469822
mov eax, dword [ebp - 8]
call fcn.00409c0c
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00409c74
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.00469720
dec ebx
cmp ebx, 0xffffffff
jne 0x4697d1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x469851
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.00469310
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey
ret
cmp byte [0x7ad088], 0
je 0x469891
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
and eax, 0x300
push eax
mov eax, dword [ebp - 4]
call fcn.00409c0c
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.004692fc
push eax
call sub.advapi32.dll_RegDeleteKeyExW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.00469270
mov ebx, eax
jmp 0x4698b8
mov eax, dword [ebp - 4]
call fcn.00409c0c
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.004692fc
push eax
call sub.advapi32.dll_RegDeleteKeyW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.00469270
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4698e2
lea eax, [ebp - 0x3c]
call fcn.00408da4
lea eax, [ebp - 8]
mov edx, 2
call fcn.00408e04
ret
Function at 0x469b24
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x469bdc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.00469910
test al, al
je 0x469bbe
mov ecx, dword [ebp - 0x1c]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00408f2c
mov ebx, dword [ebp - 0x20]
dec ebx
test ebx, ebx
jl 0x469bbe
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00409c0c
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumValueW
mov eax, dword [ebp - 4]
call fcn.00409c0c
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00409c74
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x469b77
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x469be3
lea eax, [ebp - 0x2c]
call fcn.00408da4
lea eax, [ebp - 4]
call fcn.00408da4
ret

Function at 0x469fa0
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
movzx eax, byte [ebp + 8]
call fcn.004690c4
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.00409c0c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExW
mov edx, eax
mov eax, ebx
call fcn.00469270
test al, al
jne 0x46a008
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x7a69c0]
mov dl, 1
mov eax, dword [0x467924]
call fcn.00428484
call fcn.0040849c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x46a014
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.00409c0c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov edx, eax
mov eax, ebx
call fcn.00469270
test al, al
jne 0x46a075
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x7a7144]
mov dl, 1
mov eax, dword [0x467924]
call fcn.00428484
call fcn.0040849c
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004690f4
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 0x472d44
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 0x472d4a
ret