joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4dfc80
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x550a48
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5a9e98]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.0040cff0
mov edx, dword [esi + 0x18]
mov ecx, dword [esi + 0x58]
mov eax, dword [eax]
push edx
mov edx, dword [esi + 0x4c]
push edx
mov edx, dword [esi + 0x80]
push edx
push ecx
push eax
push 0x56fe94
push edi
mov dword [esp + 0x30], 0
call fcn.0040c4c0
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
add esp, 0x1c
mov dword [esp + 0x14], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4dfd08
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, edi
call fcn.0040c3e0
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4

Function at 0x4f2c20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x552c21
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x5a9e98]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 0xc], eax
mov esi, dword [esp + 0x30]
push eax
mov ecx, esi
mov dword [esp + 0x2c], eax
call fcn.004f2650
mov edi, 1
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], edi
call fcn.004f2510
mov eax, dword [esi]
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
push eax
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x38]
mov eax, dword [edi]
push edx
push eax
lea ecx, [esp + 0x1c]
call fcn.004f27a0
mov ecx, dword [edi + 4]
mov dword [esi + 4], ecx
lea ecx, [esp + 0x10]
call fcn.004f1f30
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret
Function at 0x520db4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push dword [ebp + 0x10]
lea ecx, [ebp - 0x10]
call fcn.00520128
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp eax, ebx
jne 0x520dac
call fcn.00526cd6
push ebx
push ebx
push ebx
push ebx
push ebx
mov dword [eax], 0x16
call fcn.005248f9
add esp, 0x14
cmp byte [ebp - 4], bl
je 0x520da8
mov eax, dword [ebp - 8]
and dword [eax + 0x70], 0xfffffffd
xor eax, eax
jmp 0x520e20
push esi
mov esi, dword [ebp - 0xc]
cmp dword [esi + 8], ebx
jne 0x520def
push dword [ebp + 0xc]
push eax
call fcn.00521110
pop ecx
pop ecx
jmp 0x520e03
movzx edx, cl
test byte [edx + esi + 0x1d], 4
je 0x520de6
inc eax
mov dl, byte [eax]
cmp dl, bl
je 0x520e11
movzx ecx, cx
movzx edx, dl
shl ecx, 8
or ecx, edx
cmp dword [ebp + 0xc], ecx
jne 0x520dee
dec eax
jmp 0x520e03
movzx edx, cx
cmp dword [ebp + 0xc], edx
je 0x520dfb
inc eax
movzx cx, byte [eax]
movzx ecx, cx
cmp cx, bx
jne 0x520dc2
movzx ecx, cx
cmp dword [ebp + 0xc], ecx
jne 0x520e11
cmp byte [ebp - 4], bl
je 0x520e1f
mov ecx, dword [ebp - 8]
and dword [ecx + 0x70], 0xfffffffd
jmp 0x520e1f
cmp byte [ebp - 4], bl
je 0x520e1d
mov eax, dword [ebp - 8]
and dword [eax + 0x70], 0xfffffffd
xor eax, eax
pop esi
pop ebx
leave
ret
Function at 0x52985a
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x529897
cmp dword [ebp + 0x14], edi
je 0x529897
cmp ecx, edi
jne 0x52989e
call fcn.00526cd6
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.005248f9
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x5298b2
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x5298d3
cmp ebx, 0xffffffff
je 0x5298c2
push ebx
push edi
push ecx
call fcn.00520e40
add esp, 0xc
cmp esi, edi
je 0x52987f
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x52987f
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x5298ef
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x5298f6
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x5299e7
test word [esi + 0xc], 0x10c
je 0x52994a
mov eax, dword [esi + 4]
test eax, eax
je 0x52994a
jl 0x529a48
cmp ebx, eax
mov edi, ebx
jb 0x52991b
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x5299ef
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.0051fb01
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x5299df
cmp ebx, dword [ebp - 0xc]
jb 0x5299b7
cmp dword [ebp - 0xc], 0
je 0x529974
mov ecx, 0x7fffffff
xor edx, edx
cmp ebx, ecx
jbe 0x529969
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x529970
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x52997f
mov eax, 0x7fffffff
cmp ebx, eax
ja 0x52997f
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x529a1b
push eax
push dword [ebp - 8]
push esi
call fcn.0052959d
pop ecx
push eax
call fcn.005235b9
add esp, 0xc
test eax, eax
je 0x529a5a
cmp eax, 0xffffffff
je 0x529a48
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x5299df
push esi
call fcn.00536b29
cmp eax, 0xffffffff
pop ecx
je 0x529a4c
cmp dword [ebp - 4], 0
je 0x529a1b
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x5298fe
mov eax, dword [ebp + 0x14]
jmp 0x529899
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x529a06
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.00520e40
add esp, 0xc
call fcn.00526cd6
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x52988f
cmp dword [ebp + 0xc], 0xffffffff
je 0x529a31
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.00520e40
add esp, 0xc
call fcn.00526cd6
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x52988f
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x529899
or dword [esi + 0xc], 0x10
jmp 0x529a4c
Function at 0x403390
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404e8c
test esi, esi
jne 0x4033c6
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00404f7c
jmp 0x4033e4
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00403234
mov edi, eax
test esi, esi
je 0x4033e4
cmp dword [ebx], 0
je 0x4033e4
dec esi
jmp 0x4033cd
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403ca4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4d9020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403d3c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403d1c
xor eax, eax
push ebp
push 0x403d15
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403d58
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403d1c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x4d9020]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4d9020], ax
mov esp, ebp
pop ebp
ret

Function at 0x404c38
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4dd04c], 0
je 0x404c99
cmp word [0x4dd220], 0xd7b2
jne 0x404c61
cmp dword [0x4dd228], 0
jbe 0x404c61
mov eax, 0x4dd21c
call dword [0x4dd238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404cc0
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4d902c], 0
jne 0x404cb5
push 0
push 0x4d9760
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404e10
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 0x10]
cmp dword [0x4d9030], 0
je 0x404e36
mov edx, esi
mov eax, ebx
call dword [0x4d9030]
jmp 0x404e45
mov eax, 8
call fcn.00402f44
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x4dd04d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404dd8
push eax
mov eax, dword [ebp - 4]
push eax
push edi
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0xc
Function at 0x40680c
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406a3c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x40688f
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406a3c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x40688f
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406a58
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x406918
xor eax, eax
push ebp
push 0x406911
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00406648
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4068f6
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x406a78
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4068f6
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406918
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x406a32
cmp byte [ebp - 0xd], 0
jne 0x40695f
cmp byte [ebp - 0x12], 0
je 0x406a32
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x406978
dec ebx
cmp byte [ebx], 0x2e
je 0x406987
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x406977
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x406a32
inc ebx
cmp byte [ebp - 0x12], 0
je 0x4069c4
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x406a32
cmp byte [ebp - 0xd], 0
je 0x406a32
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x406a32
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4093fc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x40944e
test eax, edx
je 0x409451
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x409411
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 0x409437
add ecx, 4
js 0x409427
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x409434
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 0x40945d
test edx, edx
jne 0x409404
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

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

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, esi
call fcn.00405338
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x409ec2
test al, 0x10
sete al
pop esi
pop ebx
ret
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 2
je 0x409ee3
cmp ebx, 3
je 0x409ee3
cmp ebx, 0x7b
je 0x409ee3
mov eax, esi
call fcn.00409e64
test al, al
jne 0x409ee7
xor eax, eax
jmp 0x409ee9
mov al, 1
pop esi
pop ebx
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00405338
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x409f05
test al, 0x10
jne 0x409f09
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40ceac
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 0x100
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40cee5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404f7c
jmp 0x40ceee
mov eax, ebx
mov edx, esi
call fcn.00404ee0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40cef8
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 0x40cf1a
movzx eax, byte [esp]
jmp 0x40cf1c
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x40d5ac
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40d424
mov eax, dword [0x4dc330]
cmp byte [eax], 0
je 0x40d628
mov eax, dword [0x4dc094]
call fcn.00403508
call fcn.004030a0
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.0040a398
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 0x40d670
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40d65e
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4dc030]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4df7f8]
call fcn.004065f0
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 0x40df3c
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 0x40e012
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00404f24
lea eax, [ebp - 4]
call fcn.00405390
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00405338
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40dffc
mov eax, ebx
call fcn.00402f44
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40dff5
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.00405338
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40dfdf
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40e024
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40dfdf
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 0x40dffc
mov eax, dword [ebp - 0x10]
call fcn.00402f60
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e019
lea eax, [ebp - 4]
call fcn.00404e8c
ret

Function at 0x421888
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.004215c4
dec esi
jne 0x4218aa
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x422a1c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4e19f0
cmp dword [edi], 0
jne 0x422a98
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4e19ec]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4d9c20
mov ecx, 2
call fcn.00403134
mov edx, 0x4229f4
lea eax, [esi + 5]
call fcn.00422a14
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00422a14
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 0x422a6d
mov dword [0x4e19ec], 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 0x42678c
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 0x4268f6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00404f24
mov eax, dword [ebp - 4]
call fcn.00426248
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x4267de
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.004053e0
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.00426bf0
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4268b3
xor eax, eax
push ebp
push 0x4268ac
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.004263b8
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.00426924
test al, al
je 0x42688a
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.00404f7c
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x42688a
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.00405338
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x426884
mov eax, dword [ebp - 8]
call fcn.00405338
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00405084
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.0042678c
dec ebx
cmp ebx, 0xffffffff
jne 0x42683d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4268b3
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.004263b8
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 4]
call fcn.00405338
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.004263a4
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4268fd
lea eax, [ebp - 0x3c]
call fcn.00404e8c
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404eb0
ret

Function at 0x426924
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.004036b8
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete al
mov edx, dword [0x4dc4b8]
cmp byte [edx + 0xc], 0
je 0x426988
mov edx, dword [0x4dc4a8]
cmp dword [edx], 2
jne 0x426988
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
ret
Function at 0x426b04
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.0042625c
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.00405338
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x426b63
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4dc208]
mov dl, 1
mov eax, dword [0x4260e8]
call fcn.0040d778
call fcn.004047e4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x426b6c
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.00405338
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x426bc4
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4dc4c8]
mov dl, 1
mov eax, dword [0x4260e8]
call fcn.0040d778
call fcn.004047e4
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0042628c
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 0x426e20
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 0x426f37
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.004263b8
xor eax, eax
push ebp
push 0x426f12
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.00426924
test al, al
je 0x426ef6
mov eax, dword [ebp + 8]
push eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.00426d00
pop ecx
mov ecx, dword [ebp - 0x20]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00404f7c
mov ebx, dword [ebp - 0x24]
dec ebx
test ebx, ebx
jl 0x426ef6
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.00405338
push eax
push edi
push esi
call sub.advapi32.dll_RegEnumValueA
test eax, eax
jne 0x426ef2
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00405338
mov edx, eax
lea eax, [ebp - 0x30]
call fcn.00405084
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.00426d00
pop ecx
inc edi
dec ebx
jne 0x426ea7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x426f19
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x10]
call fcn.004263b8
ret