joyce8/EMBER2024-capa huggingface dataset:
Function at 0x458fbd
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, ecx
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push dword [esp + 0xc]
push 1
push 0
push dword [esp + 0x1c]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop esi
ret 8

Function at 0x460367
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
lea eax, [ebp - 4]
push edi
xor ebx, ebx
push eax
push ebx
push 8
mov byte [ebp - 0x18], bl
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], bl
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], bl
mov byte [ebp - 0x13], 5
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4603ce
call esi
cmp eax, 0x3f0
jne 0x4603c1
lea eax, [ebp - 4]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call esi
cmp eax, 0x78
jne 0x4603ca
push 1
jmp 0x4603ed
cmp eax, ebx
je 0x4603ec
lea eax, [ebp - 8]
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
push eax
push ebx
push ebx
push 2
push dword [ebp - 4]
call edi
test eax, eax
jne 0x4603ec
call esi
cmp eax, 0x7a
je 0x4603fc
push ebx
push dword [ebp - 4]
call fcn.00460358
pop ecx
pop ecx
jmp 0x4604e3
push dword [ebp - 8]
call fcn.0046826f
mov esi, eax
pop ecx
lea eax, [ebp - 8]
cmp esi, ebx
push eax
push dword [ebp - 8]
setne byte [ebp - 0x20]
push esi
push 2
push dword [ebp - 4]
call edi
test eax, eax
jne 0x460442
push ebx
push dword [ebp - 4]
call fcn.00460358
cmp byte [ebp - 0x20], bl
pop ecx
pop ecx
mov byte [ebp + 0xb], al
je 0x46043a
push esi
call fcn.00460118
pop ecx
mov al, byte [ebp + 0xb]
jmp 0x4604e3
lea eax, [ebp - 0xc]
push eax
mov al, byte [ebp + 8]
neg al
push ebx
push ebx
sbb eax, eax
push ebx
and al, 0xfd
push ebx
push ebx
add eax, 0x223
push ebx
push eax
push 0x20
lea eax, [ebp - 0x18]
push 2
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x46048c
push ebx
push dword [ebp - 4]
call fcn.00460358
cmp byte [ebp - 0x20], bl
pop ecx
pop ecx
mov byte [ebp + 0xb], al
je 0x460487
push esi
call fcn.00460118
pop ecx
mov al, byte [ebp + 0xb]
jmp 0x4604e3
cmp dword [esi], ebx
mov byte [ebp - 0x10], bl
mov dword [ebp + 8], ebx
jbe 0x4604bb
lea edi, [esi + 4]
push dword [ebp - 0xc]
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x4604b7
inc dword [ebp + 8]
add edi, 8
mov eax, dword [ebp + 8]
cmp eax, dword [esi]
jb 0x460499
jmp 0x4604bb
mov byte [ebp - 0x10], 1
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
push dword [ebp - 0x10]
push dword [ebp - 4]
call fcn.00460358
cmp byte [ebp - 0x20], bl
pop ecx
pop ecx
mov byte [ebp + 0xb], al
je 0x4604e0
push esi
call fcn.00460118
pop ecx
mov al, byte [ebp + 0xb]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4617eb
Capabilities:
Write file on windows

Disassembly:
push 0x4000
push dword [esp + 8]
push dword [0x4b3dc8]
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
jmp fcn.00461805

Function at 0x461805
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x47cfb8
call fcn.004680bc
sub esp, 0x34
push ebx
push esi
push dword [0x4b3dc4]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [ebp - 0x40]
call fcn.00419f56
push 4
xor ebx, ebx
sub esp, 0x1c
mov ecx, 0x4b3d9c
mov esi, esp
mov dword [ebp - 0x14], esp
push 1
mov dword [ebp - 4], ebx
call fcn.0041b495
push eax
mov ecx, esi
call fcn.004618f4
lea ecx, [ebp - 0x40]
call fcn.00461925
cmp al, bl
je 0x4618b8
push dword [0x4b3dc8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push 2
push ebx
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x10], eax
call fcn.0041a0f5
lea eax, [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
push eax
lea eax, [ebp - 0x10]
push 4
push eax
push dword [ebp - 0x3c]
call esi
push 0x21
lea ecx, [ebp - 0x14]
push dword [ebp - 0x10]
mov dword [ebp - 0x14], ebx
push dword [0x4b3dc8]
call fcn.00467a32
mov eax, dword [0x4b3dc8]
lea ecx, [ebp - 0x18]
push ebx
push ecx
push dword [ebp - 0x10]
push eax
push dword [ebp - 0x3c]
call esi
lea ecx, [ebp - 0x40]
call fcn.0041a123
push dword [0x4b3dc4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x40], 0x47ee54
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 1
call fcn.0041a123
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.0041b731
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x462681
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x838
push ebx
push edi
mov edi, ecx
mov dword [ebp - 0x10], 1
call fcn.0046281d
xor ebx, ebx
mov dword [ebp - 0x14], eax
cmp eax, ebx
je 0x462735
lea eax, [ebp - 4]
mov dword [ebp - 4], ebx
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x462727
lea eax, [ebp - 8]
push esi
push eax
lea eax, [ebp - 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
push ebx
push ebx
push str.ProxyEnable
mov dword [ebp - 8], 4
push dword [ebp - 4]
call esi
test eax, eax
je 0x4626eb
mov dword [ebp - 0xc], ebx
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x824
push eax
lea eax, [ebp - 0x838]
push eax
push ebx
push ebx
push str.AutoConfigURL
push dword [ebp - 4]
call esi
test eax, eax
pop esi
je 0x462714
mov byte [ebp - 0x838], bl
cmp dword [ebp - 0xc], ebx
jne 0x462721
cmp byte [ebp - 0x838], bl
je 0x462727
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 4], ebx
je 0x462735
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x10]
push dword [ebp + 8]
call fcn.0046232d
add esp, 0x14
cmp dword [ebp + 0xc], ebx
mov dword [edi + 4], eax
je 0x46275a
cmp dword [ebp + 0xc], 4
jne 0x462786
cmp dword [ebp - 0x14], ebx
jne 0x462786
mov ax, word [edi + 0x14]
cmp ax, 3
jne 0x462772
mov ecx, edi
call fcn.00462c80
jmp 0x462786
cmp ax, 4
mov ecx, edi
jne 0x462781
call fcn.00462e61
jmp 0x462786
call fcn.00463235
xor eax, eax
cmp dword [edi + 4], ebx
pop edi
pop ebx
setne al
leave
ret 0x14
Function at 0x462c80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1190
call fcn.00468240
and byte [ebp - 0x96c], 0
push ebx
push esi
mov dword [ebp - 0x10], ecx
mov edx, 0x208
push edi
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x96b]
and byte [ebp - 0x1190], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x118f]
xor esi, esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 4]
mov dword [ebp - 4], esi
push eax
push str.SOFTWARENetscapeNetscape_NavigatorProxy_Information
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x462e4e
lea eax, [ebp - 8]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
lea eax, [ebp - 0x14]
push eax
push esi
push esi
push str.Proxy_Type
push dword [ebp - 4]
mov dword [ebp - 0x48], str.http
mov dword [ebp - 0x44], str.HTTP_Proxy
mov dword [ebp - 0x40], str.HTTP_ProxyPort
mov dword [ebp - 0x3c], str.https
mov dword [ebp - 0x38], str.HTTPS_Proxy
mov dword [ebp - 0x34], str.HTTPS_ProxyPort
mov dword [ebp - 0x30], str.ftp
mov dword [ebp - 0x2c], str.FTP_Proxy
mov dword [ebp - 0x28], str.FTP_ProxyPort
mov dword [ebp - 8], 4
call ebx
test eax, eax
jne 0x462e4e
cmp dword [ebp - 0x14], 1
jne 0x462e4e
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edi, [ebp - 0x48]
mov dword [ebp - 0xc], 3
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x100
push eax
lea eax, [ebp - 0x148]
push eax
push 0
push 0
push dword [edi + 4]
push dword [ebp - 4]
call ebx
test eax, eax
jne 0x462e11
cmp byte [ebp - 0x148], al
je 0x462e11
push dword [edi]
lea eax, [ebp - 0x96c]
push eax
call esi
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x96c]
push eax
call esi
lea eax, [ebp - 8]
mov dword [ebp - 8], 4
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push dword [edi + 8]
push dword [ebp - 4]
call ebx
test eax, eax
jne 0x462e03
lea eax, [ebp - 0x96c]
push 0x49c594
push eax
call esi
push dword [ebp - 0x18]
lea eax, [ebp - 0x96c]
push 0x49b450
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebp + eax - 0x96c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x96c]
push 0x49be70
push eax
call esi
add edi, 0xc
dec dword [ebp - 0xc]
jne 0x462d67
lea eax, [ebp - 0x96c]
push 0xc
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x1190]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x10]
push 0x26
mov dword [ebp - 0x24], 3
push dword [eax + 4]
call fcn.00462506
add esp, 0x10
xor esi, esi
cmp dword [ebp - 4], esi
je 0x462e5c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x463dd5
Capabilities:
Check for time delay via gettickcount

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, ecx
call edi
sub eax, dword [esi + 0xf4]
cmp eax, 0x7530
jbe 0x463e38
mov ecx, dword [esi + 0xe8]
lea eax, [esi + 0xe8]
mov edx, dword [esi + 0xf0]
mov dword [esi + 0xdc], ecx
xor ecx, ecx
mov dword [esi + 0xe4], edx
mov dword [eax], ecx
lea eax, [esi + 0xf0]
mov edx, dword [esi + 0xec]
mov dword [esi + 0xec], ecx
mov dword [eax], ecx
lea eax, [esi + 0xec]
mov dword [esi + 0xe0], edx
call edi
mov dword [esi + 0xf4], eax
mov edi, dword [esi + 0xe4]
test edi, edi
jne 0x463e4a
mov eax, dword [esi + 0xdc]
jmp 0x463ea2
push ebx
push ebp
push 0xa
xor eax, eax
pop ecx
xor ebp, ebp
test eax, eax
jne 0x463ea0
or eax, 0xffffffff
xor edx, edx
div ecx
mov ebx, dword [esi + 0xdc]
cmp ebx, eax
jbe 0x463e78
shr ebx, 1
shr edi, 1
mov dword [esi + 0xdc], ebx
mov dword [esi + 0xe4], edi
mov eax, dword [esi + 0xdc]
mov edi, dword [esi + 0xe4]
imul eax, ecx
xor edx, edx
div edi
xor edx, edx
imul eax, eax, 0x3e8
div ecx
lea ecx, [ecx + ecx*4]
inc ebp
shl ecx, 1
cmp ebp, 3
jb 0x463e53
pop ebp
pop ebx
pop edi
pop esi
ret

Function at 0x464ed3
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 8]
push ebx
push eax
mov ebx, ecx
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeA
test eax, eax
mov dword [ebp - 4], eax
je 0x464f25
push eax
call fcn.0046826f
pop ecx
mov dword [ebx + 0x40], eax
push eax
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x464f25
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x495fd4
push dword [ebx + 0x40]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x464f29
xor al, al
jmp 0x464f8a
push esi
push edi
mov edi, ebx
lea eax, [ebx + 4]
neg edi
sbb edi, edi
mov esi, dword [ebp - 0xc]
push 0xd
and edi, eax
pop ecx
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push str.VarFileInfoTranslation
rep movsd dword es:[edi], dword [esi]
push dword [ebx + 0x40]
call sub.VERSION.dll_VerQueryValueA
pop edi
pop esi
test eax, eax
je 0x464f88
mov eax, dword [ebp - 4]
shr eax, 2
mov dword [ebx + 0x3c], eax
shl eax, 2
push eax
call fcn.0046826f
mov dword [ebx + 0x38], eax
xor eax, eax
cmp dword [ebx + 0x3c], eax
pop ecx
jbe 0x464f88
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebx + 0x38]
mov edx, dword [edx + eax*4]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [ebx + 0x3c]
jb 0x464f76
mov al, 1
pop ebx
leave
ret 4
Function at 0x466f99
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x47d364
call fcn.004680bc
sub esp, 0xc
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
push 0x20019
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 2
call fcn.004678b4
push eax
lea ecx, [ebp - 0x10]
push dword [ebp + 8]
call fcn.0042929e
cmp eax, ebx
je 0x466fec
cmp dword [ebp - 0x10], ebx
mov dword [0x4b3e74], eax
je 0x466fe7
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
mov esi, dword [ebp + 0x5c]
jmp 0x46702d
lea ecx, [ebp + 0x34]
call fcn.004678b4
lea ecx, [ebp + 8]
mov dword [ebp - 0x14], ebx
push ecx
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push ebx
push eax
mov dword [ebp + 8], 4
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
jne 0x466fd1
cmp dword [ebp - 0x10], ebx
mov esi, dword [ebp - 0x18]
je 0x46702d
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], bl
call fcn.00407421
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x34]
call fcn.00407421
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x46f5d3
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x49f0e8
cmp edx, dword [eax]
je 0x46f5f5
add eax, 8
inc ecx
cmp eax, 0x49f178
jl 0x46f5e6
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x49f0e8]
jne 0x46f723
mov eax, dword [0x4b3ea8]
cmp eax, 1
je 0x46f6fd
test eax, eax
jne 0x46f626
cmp dword [0x49c974], 1
je 0x46f6fd
cmp edx, 0xfc
je 0x46f723
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x46f65d
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00469280
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00468340
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x46f6a0
lea eax, [ebp - 0x1a4]
push eax
call fcn.00468340
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x481a60
push edi
call fcn.0046ee50
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00469280
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00469290
lea eax, [ebp - 0xa0]
push 0x481a40
push eax
call fcn.00469290
push dword [esi + 0x49f0ec]
lea eax, [ebp - 0xa0]
push eax
call fcn.00469290
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00471450
add esp, 0x2c
pop edi
jmp 0x46f723
lea eax, [ebp + 8]
lea esi, [esi + 0x49f0ec]
push 0
push eax
push dword [esi]
call fcn.00468340
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x405d6b
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a0c], 0
push esi
jne 0x405da2
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405d7c
mov dword [ecx*4 + 0x422a08], eax
inc ecx
cmp ecx, 0x100
jl 0x405d77
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405dd3
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a08]
xor eax, esi
inc ecx
dec edx
jne 0x405db5
pop edi
not eax
pop esi
ret 0xc

Function at 0x440130
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.tJrdyPER
lea edi, [esi - 0x13000]
push edi
or ebp, 0xffffffff
jmp 0x440152
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x440159
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x440148
mov eax, 1
add ebx, ebx
jne 0x44016b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x440160
jne 0x44017c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x440160
xor ecx, ecx
sub eax, 3
jb 0x440190
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x440202
mov ebp, eax
add ebx, ebx
jne 0x44019b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4401a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4401cc
inc ecx
add ebx, ebx
jne 0x4401b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4401ad
jne 0x4401c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4401ad
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4401ec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4401dd
jmp 0x44014e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4401ec
add edi, ecx
jmp 0x44014e
pop esi
lea edi, [esi + 0x3e000]
mov eax, dword [edi]
or eax, eax
je 0x440254
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x4020c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x402b4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x440209
mov ecx, edi
jns 0x440238
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x402bc]
or eax, eax
je 0x44024e
mov dword [ebx], eax
add ebx, 4
jmp 0x440226
call dword [esi + 0x402b8]
mov ebp, dword [esi + 0x402c0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x440288
sub esp, 0xffffff80
jmp section.NDltoTPW
Function at 0x411cd0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x224
mov eax, dword [0x5f1114]
xor eax, esp
mov dword [esp + 0x220], eax
push ebx
push esi
push edi
xor eax, eax
lea edi, [esp + 0x10]
stosd dword es:[edi], eax
mov ebx, ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0xc], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebx + 4]
xor edi, edi
or eax, 0x2001f
mov dword [esp + 0x10], edi
push eax
push ecx
push dword [ebx]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
call fcn.004031a2
mov esi, eax
test esi, esi
jne 0x411d90
lea eax, [esp + 0x20]
push eax
push edi
push edi
push edi
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x3c]
push eax
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x411d68
lea eax, [esp + 0x28]
push eax
call fcn.00411cd0
mov esi, eax
test esi, esi
jne 0x411d90
lea eax, [esp + 0x20]
xor ecx, ecx
push eax
push ecx
push ecx
push ecx
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x3c]
push eax
push ecx
push dword [esp + 0x2c]
mov dword [esp + 0x3c], 0x100
call edi
lea ecx, [esp + 0x10]
test eax, eax
je 0x411d43
call fcn.0040321c
push dword [esp + 0xc]
mov ecx, ebx
call fcn.00411e51
mov esi, eax
lea ecx, [esp + 0x10]
call fcn.0040321c
mov ecx, dword [esp + 0x22c]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00531526
mov esp, ebp
pop ebp
ret 4
Function at 0x41283e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x428
mov eax, 0x57ef7e
call fcn.00532085
mov eax, dword [ebp + 0xc]
xor esi, esi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x42c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x20], esi
push 0x404
lea eax, [ebp - 0x424]
mov dword [ebp - 4], esi
push esi
push eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], esi
call fcn.0054b1f0
add esp, 0xc
mov dword [ebp - 0x424], esi
push 0x60
push esi
push ebx
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x430], edi
test edi, edi
jne 0x4128c7
push 2
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x430], eax
test edi, edi
jne 0x4128c7
call fcn.004110ba
mov esi, eax
jmp 0x4129c8
push dword [ebp - 0x428]
push dword [ebp - 0x42c]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x4128ea
call fcn.004110ba
jmp 0x4129bb
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x428], eax
test eax, eax
je 0x4128e0
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [ebp - 0x42c], ebx
lea eax, [ebx + 1]
cmp eax, ebx
jae 0x41291d
mov esi, 0x8007000e
jmp 0x4129bd
push 2
push eax
mov byte [ebp - 4], 2
call fcn.004117bd
pop ecx
pop ecx
cmp eax, 0x400
jbe 0x412940
push eax
lea ecx, [ebp - 0x424]
call fcn.00411095
jmp 0x41296d
lea eax, [ebp - 0x420]
mov dword [ebp - 0x424], eax
jmp 0x41296d
mov dword [ebp - 4], 1
cmp dword [ebp - 0x424], 0
je 0x412913
push ebx
push dword [ebp - 0x424]
push ebx
push dword [ebp - 0x428]
push esi
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x4128e0
mov eax, dword [ebp - 0x424]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x424]
call fcn.004126e7
mov esi, eax
test edi, edi
je 0x4129c8
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x4129e1
lea ecx, [ebp - 0x424]
call fcn.00411080
mov eax, esi
call fcn.00531fd2
ret 0x10
Function at 0x412c17
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x5f1114]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov edx, dword [ebp + 8]
xor ebx, ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [edi], ebx
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 8]
push eax
push ebx
push edx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x412c8e
cmp dword [ebp - 8], 1
je 0x412c66
cmp dword [ebp - 8], 2
je 0x412c66
push 0xd
pop eax
jmp 0x412c8e
mov ecx, dword [ebp - 0xc]
test esi, esi
je 0x412c88
test ecx, ecx
je 0x412c83
test cl, 1
jne 0x412c61
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], bx
je 0x412c88
jmp 0x412c61
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00531526
mov esp, ebp
pop ebp
ret 0xc