joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a1c8
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406d3c
xor eax, eax
push ebp
push 0x40a288
push dword fs:[eax]
mov dword fs:[eax], esp
push 8
lea eax, [ebp - 0xc]
push eax
push 3
call sub.kernel32.dll_GetUserDefaultUILanguage
movzx eax, ax
push eax
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.00407af4
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00407ca4
mov eax, dword [ebx]
call fcn.0040a090
test al, al
jne 0x40a265
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.00407af4
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00407ca4
mov eax, dword [ebx]
call fcn.0040a090
test al, al
jne 0x40a265
mov eax, ebx
call fcn.00406c58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40a28f
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00406cb8
lea eax, [ebp - 4]
call fcn.00406c58
ret

Function at 0x41da80
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x41dba9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x218]
push eax
push 0x104
call sub.kernel32.dll_GetLogicalDriveStringsW
mov esi, eax
test esi, esi
jle 0x41db83
lea ebx, [ebp - 0x218]
lea eax, [ebx + 4]
mov word [eax], 0
push 0x104
lea eax, [ebp - 0x424]
push eax
push ebx
call sub.kernel32.dll_QueryDosDeviceW
mov esi, eax
test esi, esi
jle 0x41db6c
lea eax, [ebp - 4]
lea edx, [ebp - 0x424]
mov ecx, 0x106
call fcn.00407af4
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00407f80
test eax, eax
jle 0x41db6c
mov eax, dword [ebp - 4]
test eax, eax
je 0x41db20
sub eax, 4
mov eax, dword [eax]
mov esi, eax
mov edi, dword [ebp - 8]
test edi, edi
je 0x41db2e
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x428]
push eax
mov ecx, edi
sub ecx, esi
lea edx, [esi + 1]
mov eax, dword [ebp - 8]
call fcn.00407e14
mov eax, dword [ebp - 0x428]
push eax
lea eax, [ebp - 0x42c]
mov edx, ebx
call fcn.00407aa0
mov edx, dword [ebp - 0x42c]
mov eax, dword [ebp - 0xc]
pop ecx
call fcn.00407ca4
jmp 0x41db83
add ebx, 2
cmp word [ebx], 0
jne 0x41db69
add ebx, 4
test ebx, ebx
je 0x41db7d
cmp word [ebx], 0
jne 0x41dad2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41dbb0
lea eax, [ebp - 0x42c]
mov edx, 2
call fcn.00406cb8
lea eax, [ebp - 4]
call fcn.00406c58
ret
Function at 0x41dc9c
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdcc
push ebx
xor ebx, ebx
mov dword [ebp - 0x234], ebx
mov dword [ebp - 0x230], 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 0x41de58
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov eax, dword [ebp - 8]
call fcn.00406c58
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
test eax, eax
jne 0x41dd00
cmp dword [ebp - 0x14], 0
je 0x41ddee
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 0x41ddee
xor eax, eax
push ebp
push 0x41dde7
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 0x41ddd0
xor eax, eax
push ebp
push 0x41ddc9
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.0040e560
test eax, eax
jbe 0x41ddb2
lea eax, [ebp - 0x22c]
lea edx, [ebp - 0x224]
mov ecx, 0x106
call fcn.00407af4
mov eax, dword [ebp - 0x22c]
lea edx, [ebp - 0x228]
call fcn.0041da80
mov edx, dword [ebp - 0x228]
mov eax, dword [ebp - 8]
call fcn.00407038
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41ddd0
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 0x41ddee
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle
ret
cmp byte [ebp - 9], 0
jne 0x41de3a
lea edx, [ebp - 0x230]
mov eax, dword [ebp - 4]
call fcn.0041dbb8
mov edx, dword [ebp - 0x230]
mov eax, dword [ebp - 8]
call fcn.00407038
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x41de3a
lea edx, [ebp - 0x234]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0041da80
mov edx, dword [ebp - 0x234]
mov eax, dword [ebp - 8]
call fcn.00407038
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41de5f
lea eax, [ebp - 0x234]
mov edx, 4
call fcn.00406cb8
ret
Function at 0x41de68
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.00425010
test al, al
je 0x41df10
mov eax, ebx
call fcn.00407a50
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x41df10
test ah, 4
je 0x41df10
test al, 0x10
je 0x41deaf
mov edi, 0x2000000
jmp 0x41deb1
xor edi, edi
push 0
push edi
push 3
push 0
push 1
push 0x80000000
mov eax, ebx
call fcn.00407a50
push eax
call sub.kernel32.dll_CreateFileW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x41df10
xor eax, eax
push ebp
push 0x41df09
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, esi
mov ecx, edi
mov eax, dword [ebp - 8]
call fcn.0041dc9c
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41df10
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 0x41e21c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x41e275
test eax, edx
je 0x41e278
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x41e233
movzx eax, word [eax]
sub eax, ecx
jmp 0x41e25a
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 0x41e25b
add ecx, 4
js 0x41e24b
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x41e258
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x41e25a
xor eax, eax
ret
test eax, eax
je 0x41e284
test edx, edx
jne 0x41e224
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x41f53c
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.00407a50
mov edi, eax
push edi
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x41f5a6
test ah, 4
je 0x41f59f
test bl, bl
jne 0x41f564
mov al, 1
jmp 0x41f5cd
test al, 0x10
je 0x41f56c
xor eax, eax
jmp 0x41f5cd
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x41f590
push eax
call sub.kernel32.dll_CloseHandle
mov al, 1
jmp 0x41f5cd
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 0x20
sete al
jmp 0x41f5cd
test al, 0x10
sete al
jmp 0x41f5cd
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 2
je 0x41f5c7
cmp ebx, 3
je 0x41f5c7
cmp ebx, 0x7b
je 0x41f5c7
mov eax, esi
call fcn.0041f4fc
test al, al
jne 0x41f5cb
xor eax, eax
jmp 0x41f5cd
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x41f5d4
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.00407a50
mov ebp, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
je 0x41f67b
test esi, 0x400
jne 0x41f610
test esi, 0x10
setne bl
jmp 0x41f695
cmp byte [esp], 0
je 0x41f644
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x41f695
push eax
call sub.kernel32.dll_CloseHandle
test esi, 0x10
setne bl
jmp 0x41f695
test esi, 0x10
je 0x41f650
mov bl, 1
jmp 0x41f695
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x41f677
push eax
call sub.kernel32.dll_CloseHandle
xor ebx, ebx
jmp 0x41f695
mov bl, 1
jmp 0x41f695
call sub.kernel32.dll_GetLastError
cmp eax, 2
je 0x41f68f
cmp eax, 3
je 0x41f68f
cmp eax, 0x7b
jne 0x41f693
xor ebx, ebx
jmp 0x41f695
mov bl, 1
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x41f79c
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 0x41f841
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00407a50
push eax
call sub.kernel32.dll_GetFileAttributesW
mov edi, eax
test edi, 0x400
setne al
test al, bl
je 0x41f826
or edi, 0xffffffff
lea edx, [ebp - 4]
mov eax, esi
call fcn.0041de68
test al, al
je 0x41f826
mov eax, dword [ebp - 4]
call fcn.0041fb94
test al, al
je 0x41f816
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.0041f9d0
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.00425584
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
call fcn.00407ca4
mov eax, dword [ebp - 4]
call fcn.00407a50
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 0x41f848
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00406cb8
ret

Function at 0x423158
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 0x423191
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00406de0
jmp 0x42319a
mov eax, ebx
mov edx, esi
call fcn.00407038
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4231a4
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 0x4231c6
movzx eax, word [esp]
jmp 0x4231c8
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x423e94
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 0x423fb9
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00423ca4
mov esi, eax
mov eax, dword [0x67d520]
cmp byte [eax], 0
je 0x423f61
mov eax, dword [0x67cee4]
call fcn.00404ac4
call fcn.00404634
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 [0x423e6c]
call fcn.00408f4c
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 0x423fd4
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
jmp 0x423f9d
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x67ce04]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x680c38]
call fcn.00409158
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 0x423fc0
lea eax, [ebp - 4]
mov edx, dword [0x423e6c]
call fcn.00409070
ret

Function at 0x425030
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 0x425106
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00407080
lea eax, [ebp - 4]
call fcn.0040725c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00407a50
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x4250f0
mov eax, ebx
call fcn.004044b8
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4250e9
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.00407a50
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x4250d3
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x425118
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x4250d3
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 0x4250f0
mov eax, dword [ebp - 0x10]
call fcn.004044d4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42510d
lea eax, [ebp - 4]
call fcn.00406c58
ret
Function at 0x425cf0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.00407168
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040ab68
mov edi, eax
cmp edi, 0x104
jbe 0x425c9b
mov eax, edi
add eax, eax
call fcn.004044b8
mov esi, eax
jmp 0x425c9d
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040ab68
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x425cd6
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x425cc0
mov eax, esp
cmp esi, eax
je 0x425ce3
mov eax, esi
call fcn.004044d4
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x425d1c
cmp bl, 0
je 0x425d18
cmp bl, 0x41
jl 0x425d13
cmp bl, 0x5a
jg 0x425d13
or bl, 0x20
xor al, bl
inc esi
jmp 0x425cf7
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x425c5c

Function at 0x451774
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x451812
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xc]
je 0x4517d6
cmp byte [ebx + 0x10], 0
jne 0x4517d6
cmp byte [ebx + 0x3c], 0
jne 0x4517d6
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 0x4517f7
lea edx, [ebp - 4]
mov eax, dword [0x67d430]
call fcn.0040aad4
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x440fec]
call fcn.00424010
call fcn.00406340
jmp 0x4517f7
lea edx, [ebp - 8]
mov eax, dword [0x67d430]
call fcn.0040aad4
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x440fec]
call fcn.00424010
call fcn.00406340
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x451819
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406cb8
ret

Function at 0x452120
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 0x45216e
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.004516c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x452187
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x452190
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.004516c0
dec esi
jne 0x4521b2
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x453a28
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x682ff0
cmp dword [edi], 0
jne 0x453aa4
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc
mov esi, eax
mov eax, dword [0x682fec]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x67119c
mov ecx, 2
call fcn.00404700
mov edx, 0x453a00
lea eax, [esi + 5]
call fcn.00453a20
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00453a20
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 0x453a79
mov dword [0x682fec], 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 0x4677cc
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 0x467947
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00407080
mov eax, dword [ebp - 4]
call fcn.0046712c
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x46781e
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.00407e5c
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.004683c0
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4678fd
xor eax, eax
push ebp
push 0x4678f6
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.004673cc
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.0046797c
test al, al
je 0x4678d4
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.00406de0
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x4678d4
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.00407a50
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.0046732c
test al, al
je 0x4678ce
mov eax, dword [ebp - 8]
call fcn.00407a50
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00407aa0
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.004677cc
dec ebx
cmp ebx, 0xffffffff
jne 0x46787d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4678fd
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.004673cc
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov eax, dword [ebp - 4]
call fcn.00407a50
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.004673b8
push eax
call sub.advapi32.dll_RegDeleteKeyW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.0046732c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46794e
lea eax, [ebp - 0x3c]
call fcn.00406c58
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406cb8
ret

Function at 0x46829c
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.00467144
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.00407a50
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExW
mov edx, eax
mov eax, ebx
call fcn.0046732c
test al, al
jne 0x468304
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x67d280]
mov dl, 1
mov eax, dword [0x465f50]
call fcn.00424214
call fcn.00406340
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x468310
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.00407a50
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov edx, eax
mov eax, ebx
call fcn.0046732c
test al, al
jne 0x468371
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x67d8b0]
mov dl, 1
mov eax, dword [0x465f50]
call fcn.00424214
call fcn.00406340
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00467174
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 0x468970
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x468a98
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, esi
call fcn.004673cc
xor eax, eax
push ebp
push 0x468a73
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x2c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0046797c
test al, al
je 0x468a57
mov eax, dword [ebp + 8]
push eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.00468850
pop ecx
mov ecx, dword [ebp - 0x20]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00406de0
mov ebx, dword [ebp - 0x24]
dec ebx
test ebx, ebx
jl 0x468a57
inc ebx
xor edi, edi
mov eax, dword [ebp - 0x20]
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.00407a50
push eax
push edi
push esi
call sub.advapi32.dll_RegEnumValueW
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0046732c
test al, al
je 0x468a53
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00407a50
mov edx, eax
lea eax, [ebp - 0x30]
call fcn.00407aa0
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.00468850
pop ecx
inc edi
dec ebx
jne 0x4689fb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x468a7a
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x10]
call fcn.004673cc
ret