joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4498e0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x10
cmp word [esp + 0x14], 0x220
push esi
mov esi, ecx
jne 0x449abb
mov ecx, dword [esi + 0x60]
mov eax, dword [esi + 0x84]
push ebx
push ebp
push edi
push 0
push 0
push 0x147
push 0x220
push ecx
mov dword [esp + 0x30], eax
mov dword [esi + 0x84], 0
call dword [sym.imp.user32.dll_SendDlgItemMessageA]
xor ebx, ebx
cmp eax, 2
mov edx, dword [esi + 0x60]
mov edi, dword [sym.imp.user32.dll_GetDlgItem]
setl bl
dec ebx
mov dword [esp + 0x24], eax
and ebx, 5
push ebx
push 0x221
push edx
call edi
mov ebp, dword [sym.imp.user32.dll_ShowWindow]
push eax
call ebp
mov eax, dword [esi + 0x60]
push ebx
push 0x222
push eax
call edi
push eax
call ebp
mov ecx, dword [esi + 0x60]
push ebx
push 0x21b
push ecx
call edi
push eax
call ebp
mov edx, dword [esi + 0x60]
push ebx
push 0x224
push edx
call edi
push eax
call ebp
mov eax, dword [esi + 0x60]
push ebx
push 0x22f
push eax
call edi
push eax
call ebp
mov ecx, dword [esi + 0x60]
push ebx
push 0x230
push ecx
call edi
push eax
call ebp
mov edx, dword [esi + 0x60]
push ebx
push 0x22d
push edx
call edi
push eax
call ebp
mov eax, dword [esi + 0x60]
push ebx
push 0x22e
push eax
call edi
push eax
call ebp
mov ebx, dword [esp + 0x24]
mov ecx, ebx
neg ecx
sbb ecx, ecx
mov edx, dword [esi + 0x60]
and ecx, 5
push ecx
push 0x223
push edx
call edi
push eax
call ebp
mov ecx, dword [esi + 0x60]
xor eax, eax
cmp ebx, 3
setne al
mov ebp, eax
push ebp
push 0x205
push ecx
call edi
push eax
call dword [sym.imp.user32.dll_EnableWindow]
mov edx, dword [esi + 0x60]
push ebp
push 0x203
push edx
call edi
push eax
call dword [sym.imp.user32.dll_EnableWindow]
cmp ebx, 3
je 0x449a10
cmp ebx, 2
jne 0x449aa0
fild dword [esi + 0xcc]
cmp ebx, 3
fidiv dword [esi + 0xd4]
fstp dword [esp + 0x14]
fild dword [esi + 0xd0]
fidiv dword [esi + 0xd8]
fstp dword [esp + 0x18]
jne 0x449a4b
mov eax, dword [esi + 0xc0]
mov edx, dword [esi + 0xc4]
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], edx
jmp 0x449a5f
mov ecx, dword [esi + 0xb8]
mov eax, dword [esi + 0xbc]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
mov eax, dword [esi + 0x60]
push ecx
push 0
push edx
push 0x221
push 0x21b
push eax
call fcn.00446170
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
mov eax, dword [esi + 0x60]
push ecx
push 0
push edx
push 0x222
push 0x224
push eax
call fcn.00446170
add esp, 0x30
mov eax, dword [esi + 0x64]
mov ecx, dword [esp + 0x1c]
pop edi
pop ebp
test eax, eax
mov dword [esi + 0x84], ecx
pop ebx
je 0x449abb
mov ecx, esi
call fcn.00446fd0
pop esi
add esp, 0x10
ret 4
Function at 0x44afa0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4d719b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x138
push ebx
push esi
lea eax, [esp + 0x28]
push edi
push eax
call dword [sym.imp.user32.dll_SetRectEmpty]
push 0x80
mov dword [esp + 0x14], 0x4d89d8
call fcn.004c7e90
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0x1f
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], pe_nt_image_headers32
push 0xffffffffffffffff
mov edx, dword [esp + 0x30]
push 0xffffffffffffffff
push 0x40590000
push 0
mov eax, dword [esp + 0x40]
sub esp, 0x10
mov edi, dword [esp + 0x17c]
mov ecx, esp
mov dword [esp + 0x16c], 0
mov dword [ecx], edx
mov edx, dword [esp + 0x54]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x58]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x178]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x174]
lea ecx, [esp + 0x30]
push ecx
push 0
push edi
push edx
push eax
lea ecx, [esp + 0x70]
call fcn.00445dd0
mov edx, dword [esp + 0x98]
mov eax, dword [esp + 0x94]
lea ecx, [esp + 0x3c]
push ecx
push 0x445d10
push edx
push 0x1f8
push eax
call dword [sym.imp.user32.dll_DialogBoxParamA]
xor ecx, ecx
cmp eax, 1
sete cl
mov eax, ecx
test eax, eax
mov dword [esp + 0xc], eax
je 0x44b0a2
mov ecx, 0xc
lea esi, [esp + 0x3c]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0xa8]
mov esi, dword [sym.imp.gdi32.dll_DeleteObject]
push edx
call esi
mov eax, dword [esp + 0xac]
push eax
call esi
mov eax, dword [esp + 0x134]
mov dword [esp + 0x124], 0x4d8a94
test eax, eax
je 0x44b14a
mov eax, dword [esp + 0x12c]
xor ebx, ebx
test eax, eax
jle 0x44b14a
cmp ebx, eax
jge 0x44b145
test ebx, ebx
jl 0x44b145
mov ecx, dword [esp + 0x128]
mov esi, dword [ecx + ebx*4]
test esi, esi
je 0x44b145
mov eax, dword [esi + 0x10]
mov dword [esi], 0x4d8a98
test eax, eax
je 0x44b12c
mov eax, dword [esi + 8]
xor edi, edi
test eax, eax
jle 0x44b12c
cmp edi, eax
jge 0x44b124
test edi, edi
jl 0x44b124
mov edx, dword [esi + 4]
mov ecx, dword [edx + edi*4]
test ecx, ecx
je 0x44b124
push 1
call fcn.0044b260
mov eax, dword [esi + 8]
inc edi
cmp edi, eax
jl 0x44b10f
mov eax, dword [esi + 4]
push eax
call fcn.004c7e56
push esi
call fcn.004c7e56
mov eax, dword [esp + 0x134]
add esp, 8
inc ebx
cmp ebx, eax
jl 0x44b0e3
mov eax, dword [esp + 0x128]
push eax
call fcn.004c7e56
mov eax, dword [esp + 0x24]
add esp, 4
test eax, eax
mov dword [esp + 0x14c], 0xffffffff
mov dword [esp + 0x10], 0x4d89d8
je 0x44b1ab
mov eax, dword [esp + 0x18]
xor edi, edi
test eax, eax
jle 0x44b1ab
cmp edi, eax
jge 0x44b1a6
test edi, edi
jl 0x44b1a6
mov ecx, dword [esp + 0x14]
mov esi, dword [ecx + edi*4]
test esi, esi
je 0x44b1a6
mov ecx, esi
call fcn.00453a10
push esi
call fcn.004c7e56
mov eax, dword [esp + 0x1c]
add esp, 4
inc edi
cmp edi, eax
jl 0x44b183
mov edx, dword [esp + 0x14]
push edx
call fcn.004c7e56
mov ecx, dword [esp + 0x148]
mov eax, dword [esp + 0x10]
add esp, 4
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x144
ret
Function at 0x44b810
Capabilities:
Get common file path

Disassembly:
sub esp, 8
lea eax, [esp]
push esi
push eax
call dword [sym.imp.shell32.dll_SHGetDesktopFolder]
test eax, eax
jne 0x44b8fd
mov eax, dword [esp + 4]
mov esi, dword [esp + 0x10]
lea edx, [esp + 0x10]
mov ecx, dword [eax]
push edx
push 0x4d8a08
push 0
push esi
push eax
call dword [ecx + 0x14]
test eax, eax
jl 0x44b859
mov eax, dword [esp + 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
pop esi
add esp, 8
ret
push ebx
lea edx, [esp + 0xc]
push edi
push edx
push 0
push 0
call dword [sym.imp.shell32.dll_SHGetSpecialFolderLocation]
mov ebx, dword [esp + 0x10]
test esi, esi
je 0x44b8c9
test ebx, ebx
je 0x44b8c9
mov ax, word [esi]
mov edx, esi
test ax, ax
mov ecx, 2
je 0x44b896
and eax, 0xffff
add edx, eax
add ecx, eax
mov ax, word [edx]
test ax, ax
jne 0x44b885
mov ax, word [ebx]
mov edx, ebx
test ax, ax
mov edi, 2
je 0x44b8b6
and eax, 0xffff
add edx, eax
add edi, eax
mov ax, word [edx]
test ax, ax
jne 0x44b8a5
cmp ecx, edi
jne 0x44b8c9
mov edi, ebx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
mov edx, eax
sete dl
mov esi, edx
jmp 0x44b8cb
xor esi, esi
mov eax, dword [0x4fc000]
mov edi, ebx
test eax, eax
jne 0x44b8e6
push 0x4fc000
call dword [sym.imp.shell32.dll_SHGetMalloc]
mov eax, dword [0x4fc000]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x14]
mov eax, dword [esp + 0xc]
pop edi
test esi, esi
pop ebx
jne 0x44b8ff
mov edx, dword [eax]
push eax
call dword [edx + 8]
xor eax, eax
pop esi
add esp, 8
ret
Function at 0x44b910
Capabilities:
Get common file path

Disassembly:
sub esp, 0x224
lea eax, [esp + 8]
push ebp
push esi
push edi
mov edi, dword [sym.imp.shell32.dll_SHGetDesktopFolder]
push eax
call edi
test eax, eax
jne 0x44baa2
mov edx, dword [esp + 0x234]
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x24]
push 0x104
push ecx
push 0xffffffffffffffff
push edx
push 1
push eax
mov dword [esp + 0x28], eax
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov eax, dword [esi]
lea ecx, [esp + 0x10]
push 0
push ecx
lea edx, [esp + 0x28]
lea ecx, [esp + 0x2c]
push edx
push ecx
push 0
push 0
push esi
call dword [eax + 0xc]
mov esi, dword [esp + 0x10]
xor edx, edx
test eax, eax
mov eax, dword [esp + 0x14]
setl dl
mov ecx, dword [eax]
dec edx
and edx, esi
push eax
mov ebp, edx
call dword [ecx + 8]
test ebp, ebp
je 0x44baa2
lea edx, [esp + 0xc]
push edx
call edi
test eax, eax
jne 0x44ba74
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x18]
push edx
push 0x4d8a08
mov ecx, dword [eax]
push 0
push ebp
push eax
call dword [ecx + 0x14]
test eax, eax
jl 0x44b9cd
mov eax, dword [esp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov esi, dword [esp + 0x18]
jmp 0x44ba76
lea edx, [esp + 0x1c]
push ebx
push edx
push 0
push 0
call dword [sym.imp.shell32.dll_SHGetSpecialFolderLocation]
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x44ba3b
mov ax, word [ebp]
mov edx, ebp
test ax, ax
mov ecx, 2
je 0x44ba06
and eax, 0xffff
add edx, eax
add ecx, eax
mov ax, word [edx]
test ax, ax
jne 0x44b9f5
mov ax, word [ebx]
mov edx, ebx
test ax, ax
mov esi, 2
je 0x44ba26
and eax, 0xffff
add edx, eax
add esi, eax
mov ax, word [edx]
test ax, ax
jne 0x44ba15
cmp ecx, esi
jne 0x44ba3b
mov edi, ebx
mov esi, ebp
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
mov edx, eax
sete dl
mov esi, edx
jmp 0x44ba3d
xor esi, esi
mov eax, dword [0x4fc000]
mov edi, ebx
test eax, eax
pop ebx
jne 0x44ba59
push 0x4fc000
call dword [sym.imp.shell32.dll_SHGetMalloc]
mov eax, dword [0x4fc000]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x14]
test esi, esi
je 0x44ba6a
mov esi, dword [esp + 0xc]
jmp 0x44ba76
mov eax, dword [esp + 0xc]
push eax
mov edx, dword [eax]
call dword [edx + 8]
xor esi, esi
mov eax, dword [0x4fc000]
test eax, eax
jne 0x44ba8f
push 0x4fc000
call dword [sym.imp.shell32.dll_SHGetMalloc]
mov eax, dword [0x4fc000]
mov ecx, dword [eax]
push ebp
push eax
call dword [ecx + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
add esp, 0x224
ret
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x224
ret
Function at 0x44bab0
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 0x210
lea eax, [esp]
push eax
push 0x4d89f8
push 1
push 0
push 0x4d8a28
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x44bb61
mov eax, dword [esp]
mov edx, dword [esp + 0x214]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [esp + 0x21c]
test eax, eax
je 0x44baff
mov ecx, dword [esp]
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x1c]
mov eax, dword [esp]
lea edx, [esp + 4]
push esi
push edx
mov ecx, dword [eax]
push 0x4d8a48
push eax
call dword [ecx]
mov esi, eax
test esi, esi
jl 0x44bb54
mov ecx, dword [esp + 0x21c]
lea eax, [esp + 0xc]
push 0x104
push eax
push 0xffffffffffffffff
push ecx
push 0
push 0
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov eax, dword [esp + 8]
lea ecx, [esp + 0xc]
push 1
push ecx
mov edx, dword [eax]
push eax
call dword [edx + 0x18]
mov esi, eax
mov eax, dword [esp + 8]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, esi
pop esi
add esp, 0x210
ret
Function at 0x44ffd0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x10
push ebx
push esi
mov esi, dword [esp + 0x1c]
push edi
push 0x218
push esi
call dword [sym.imp.user32.dll_GetDlgItem]
mov edi, eax
lea eax, [esp + 0xc]
push eax
push edi
call dword [sym.imp.user32.dll_GetWindowRect]
mov ebx, dword [sym.imp.user32.dll_ScreenToClient]
lea ecx, [esp + 0xc]
push ecx
push esi
call ebx
lea edx, [esp + 0x14]
push edx
push esi
call ebx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
add eax, ecx
mov ecx, dword [0x4fc028]
cdq
fld qword [0x4f0670]
sub eax, edx
mov edx, dword [esp + 0x10]
sar eax, 1
mov dword [0x4fc030], eax
mov eax, dword [esp + 0x18]
add eax, edx
push 0
cdq
sub eax, edx
push 0
sar eax, 1
mov dword [0x4fc034], eax
fstp qword [ecx + 0x70]
mov ecx, dword [0x4fc028]
call fcn.0045d120
mov eax, dword [0x4fc024]
test eax, eax
je 0x450154
mov ebx, dword [sym.imp.user32.dll_IsDlgButtonChecked]
push 0x1fd
push esi
call ebx
test eax, eax
je 0x4500d2
mov edx, dword [0x4fc024]
mov ecx, dword [0x4fc028]
push 0
push edx
call fcn.0045d120
mov ecx, dword [0x4fc028]
push 0
call fcn.0045e350
mov eax, dword [0x4fc03c]
mov ecx, dword [0x4fc038]
push eax
push ecx
mov ecx, dword [0x4fc028]
call fcn.0045e5c0
mov ecx, dword [0x4fc028]
push 1
push 1
call fcn.0045d440
mov edx, dword [0x4fc028]
mov eax, dword [0x4fc040]
push 0
mov dword [edx + 0x7c], eax
mov ecx, dword [0x4fc028]
call fcn.0045e0e0
mov ecx, dword [0x4fc024]
test ecx, ecx
je 0x450154
push 0xffffffffffffffff
call fcn.00454750
test eax, eax
je 0x450154
push 0x1fd
push esi
call ebx
test eax, eax
je 0x450154
mov ecx, dword [0x4fc024]
push 0xffffffffffffffff
call fcn.00454750
mov ecx, dword [0x4fc024]
push 0xffffffffffffffff
mov esi, eax
call fcn.004547c0
lea ecx, [eax + 2]
push 0x44
lea edx, [esi + 2]
push ecx
mov ecx, dword [0x4fc034]
push edx
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
mov eax, esi
cdq
sub eax, edx
mov edx, dword [0x4fc030]
sar eax, 1
sub edx, eax
dec ecx
dec edx
push ecx
push edx
push 0
push edi
call dword [sym.imp.user32.dll_SetWindowPos]
mov ecx, dword [0x4fc028]
call fcn.0045d9f0
pop edi
pop esi
pop ebx
add esp, 0x10
ret
push 0
push edi
call dword [sym.imp.user32.dll_ShowWindow]
pop edi
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x450d70
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xf8
mov dl, byte [0x4fbe40]
push esi
mov esi, ecx
push edi
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x14], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x32
xor eax, eax
lea edi, [esp + 0x35]
mov byte [esp + 0x34], dl
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 0x10]
lea eax, [esp + 0xc]
push eax
push 0x20019
push 0
push ecx
push 0x80000002
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
je 0x450dd0
pop edi
xor eax, eax
pop esi
add esp, 0xf8
ret 4
mov edi, dword [sym.imp.advapi32.dll_RegQueryValueExA]
lea edx, [esp + 8]
lea eax, [esp + 0x14]
push edx
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push ecx
push 0
push 0x4ee5cc
push edx
mov dword [esp + 0x20], 0x1f
call edi
test eax, eax
je 0x450e0c
pop edi
xor eax, eax
pop esi
add esp, 0xf8
ret 4
lea eax, [esp + 8]
lea ecx, [esp + 0x34]
push eax
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push edx
push 0
push 0x4f06ec
push eax
mov dword [esp + 0x20], 0xc9
call edi
test eax, eax
je 0x450e42
pop edi
xor eax, eax
pop esi
add esp, 0xf8
ret 4
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov edx, dword [esp + 0x104]
lea eax, [esp + 0x34]
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
call fcn.00450c50
pop edi
pop esi
add esp, 0xf8
ret 4

Function at 0x451e20
Capabilities:
Set registry value

Disassembly:
sub esp, 8
lea eax, [esp + 4]
push esi
push edi
mov edi, ecx
push eax
lea ecx, [esp + 0xc]
mov edx, dword [edi + 0x10]
push ecx
push 0
push 0x20006
push 0
push 0x4fbe40
push 0
push edx
push 0x80000002
call dword [sym.imp.advapi32.dll_RegCreateKeyExA]
mov esi, eax
test esi, esi
jne 0x451e7f
add edi, 0xfc
push 4
push edi
push 3
push eax
mov eax, dword [esp + 0x18]
push 0x4f06e0
push eax
call dword [sym.imp.advapi32.dll_RegSetValueExA]
mov ecx, dword [esp + 8]
mov esi, eax
push ecx
call dword [sym.imp.advapi32.dll_RegCloseKey]
xor eax, eax
pop edi
test esi, esi
sete al
pop esi
add esp, 8
ret

Function at 0x452010
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x34
lea eax, [esp]
push esi
mov esi, ecx
push eax
push 3
mov ecx, dword [esi + 0x10]
push 0
push ecx
push 0x80000002
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4520a9
mov dl, byte [0x4fbe40]
push edi
mov ecx, 9
lea edi, [esp + 0x15]
mov byte [esp + 0x14], dl
lea edx, [esp + 0x10]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0xc]
lea ecx, [esp + 0x14]
push eax
mov eax, dword [esp + 0xc]
push ecx
push edx
push 0
push 0x4f070c
push eax
mov dword [esp + 0x24], 0x28
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
mov ecx, dword [esi + 0x20]
lea edx, [esp + 0x14]
push ecx
push edx
call dword [sym.imp.kernel32.dll_lstrcmpi]
test eax, eax
pop edi
jne 0x45209e
mov eax, dword [esp + 0x3c]
mov ecx, dword [esi + 0x10]
push eax
push ecx
push 0x80000002
call fcn.00452620
add esp, 0xc
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.advapi32.dll_RegCloseKey]
pop esi
add esp, 0x34
ret 4
Function at 0x4523c0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x814
push ebx
mov ebx, dword [esp + 0x820]
push ebp
push esi
push edi
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
xor esi, esi
xor edx, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
mov ecx, dword [esp + 0x828]
mov dword [esp + 0x1c], edi
mov al, byte [ecx]
test al, al
je 0x452401
movsx eax, al
add edx, eax
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x4523f4
push edx
call fcn.004536f0
movsx ebp, di
add esp, 4
mov dword [esp + 0x10], esi
test ebp, ebp
jle 0x4524bf
movsx eax, word [esp + 0x834]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x20], eax
jmp 0x452430
mov eax, dword [esp + 0x20]
movsx ecx, word [esp + 0x10]
cmp ecx, eax
jge 0x4524bf
xor ecx, ecx
xor edi, edi
mov dword [esp + 0x14], ecx
mov word [esp + 0x18], cx
cmp esi, ebp
jge 0x45248a
movsx edx, byte [esi + ebx]
push edx
call fcn.004c9099
add esp, 4
test eax, eax
jne 0x452476
cmp esi, ebp
jge 0x452482
movsx eax, byte [esi + ebx + 1]
inc esi
push eax
call fcn.004c9099
add esp, 4
test eax, eax
je 0x45245f
cmp esi, ebp
jge 0x452482
mov cl, byte [esi + ebx]
inc esi
mov byte [esp + edi + 0x14], cl
inc edi
cmp edi, 5
jl 0x45244a
cmp esi, ebp
jg 0x4525bd
lea edx, [esp + 0x14]
push edx
call fcn.004c7f29
movsx edi, word [esp + 0x14]
xor ecx, ecx
add esp, 4
mov cl, ah
mov byte [esp + edi*2 + 0x24], al
mov byte [esp + edi*2 + 0x25], cl
mov ecx, dword [esp + 0x10]
inc ecx
cmp esi, ebp
mov dword [esp + 0x10], ecx
jl 0x45242c
cmp esi, ebp
jg 0x4525bd
lea edi, [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea esi, [edx + edx]
cmp ecx, 5
mov dword [esp + 0x10], esi
jae 0x4524ea
dec esi
mov dword [esp + 0x10], esi
movsx ebx, si
push ebp
mov byte [esp + ebx + 0x28], 0
call fcn.004c7e90
add esp, 4
cmp word [esp + 0x1c], 0
mov edi, eax
jle 0x45251e
mov esi, edi
push 0x100
call fcn.00453700
add esp, 4
mov byte [esi], al
inc esi
dec ebp
jne 0x452507
mov esi, dword [esp + 0x10]
test si, si
jle 0x452542
mov ecx, edi
lea edx, [esp + 0x24]
lea eax, [esp + 0x24]
sub ecx, edx
mov esi, ebx
mov dl, byte [ecx + eax]
mov bl, byte [eax]
xor bl, dl
mov byte [eax], bl
inc eax
dec esi
jne 0x452531
mov esi, dword [esp + 0x10]
push edi
call fcn.004c7e56
mov edi, dword [esp + 0x838]
push 0
lea eax, [esp + 0x42c]
push edi
push eax
lea ecx, [esp + 0x34]
push esi
push ecx
call fcn.00452f10
add esp, 0x18
test eax, eax
jle 0x4525bd
movsx ecx, di
lea edx, [eax - 1]
cmp edx, ecx
jg 0x4525bd
mov byte [esp + eax + 0x424], 0
lea edi, [esp + 0x425]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x830]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
movsx eax, byte [esp + 0x424]
mov ecx, edx
and ecx, 3
sub eax, 0x41
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x814
ret
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x814
ret
Function at 0x452620
Capabilities:
Set registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x68
lea eax, [esp + 0x70]
push eax
push ecx
push edx
call dword [sym.imp.advapi32.dll_RegCreateKeyA]
test eax, eax
jl 0x45271f
push esi
lea eax, [esp + 0xc]
push edi
push eax
call dword [sym.imp.kernel32.dll_GetLocalTime]
lea ecx, [esp + 8]
lea edx, [esp + 0x10]
push ecx
push edx
call dword [sym.imp.kernel32.dll_SystemTimeToFileTime]
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 8]
mov edi, dword [esp + 0xc]
push 0xc9
cdq
push 0x2a69c000
push edx
push eax
call fcn.004c8dc0
add esi, eax
lea eax, [esp + 0x20]
adc edi, edx
push edi
mov edi, dword [sym.imp.user32.dll_wsprintfA]
push esi
push 0x4f0720
push eax
call edi
mov al, byte [esp + 0x30]
add esp, 0x10
test al, al
lea esi, [esp + 0x20]
je 0x4526bd
movsx ecx, byte [esi]
push ecx
call fcn.004c9099
add esp, 4
test eax, eax
je 0x4526b5
add byte [esi], 0x17
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x4526a2
lea edx, [esp + 0x20]
push 0x45e4f33
push edx
call fcn.004520b0
mov esi, dword [sym.imp.kernel32.dll_lstrlen]
add esp, 8
push eax
lea eax, [esp + 0x24]
push 0x4f0718
push eax
call esi
lea ecx, [esp + eax + 0x28]
push ecx
call edi
add esp, 0xc
lea edx, [esp + 0x20]
push edx
call esi
mov ecx, dword [esp + 0x78]
inc eax
push eax
lea eax, [esp + 0x24]
push eax
push 1
push 0
push 0x4f070c
push ecx
call dword [sym.imp.advapi32.dll_RegSetValueExA]
mov edx, dword [esp + 0x78]
mov esi, eax
push edx
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
add esp, 0x68
ret
Function at 0x452730
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x80
lea eax, [esp]
push esi
push edi
mov edi, dword [esp + 0x94]
push eax
push ecx
push edx
mov dword [edi], 0
call dword [sym.imp.advapi32.dll_RegOpenKeyA]
test eax, eax
jl 0x452888
lea eax, [esp + 0xc]
lea ecx, [esp + 0x38]
push eax
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x18]
push ecx
push edx
push 0
push 0x4f070c
push eax
mov dword [esp + 0x24], 0x50
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
mov ecx, dword [esp + 8]
mov esi, eax
push ecx
call dword [sym.imp.advapi32.dll_RegCloseKey]
test esi, esi
jl 0x452886
lea edx, [esp + 0x38]
push edx
call dword [sym.imp.kernel32.dll_lstrlen]
cmp eax, 0x18
je 0x4527be
pop edi
mov eax, 0x80004005
pop esi
add esp, 0x80
ret
lea eax, [esp + 0x10]
lea ecx, [esp + 0x48]
push eax
push 0x4f0718
push ecx
call fcn.004c8d8a
lea edx, [esp + 0x44]
push 0x45e4f33
push edx
mov byte [esp + 0x5c], 0
call fcn.004520b0
mov ecx, dword [esp + 0x24]
add esp, 0x14
cmp eax, ecx
je 0x4527ff
pop edi
mov eax, 0x80004005
pop esi
add esp, 0x80
ret
mov al, byte [esp + 0x38]
lea ecx, [esp + 0x38]
test al, al
je 0x45281d
mov al, byte [ecx]
cmp al, 0x46
jle 0x452815
sub al, 0x17
mov byte [ecx], al
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x45280b
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x18]
push eax
push ecx
lea edx, [esp + 0x40]
push 0x4f0720
push edx
call fcn.004c8d8a
add esp, 0x10
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.kernel32.dll_GetLocalTime]
lea ecx, [esp + 0x20]
lea edx, [esp + 0x28]
push ecx
push edx
call dword [sym.imp.kernel32.dll_SystemTimeToFileTime]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
sub edx, eax
mov eax, dword [esp + 0x1c]
push 0xc9
sbb eax, ecx
add edx, 0x2a69bfff
adc eax, 0xc9
push 0x2a69c000
push eax
push edx
call fcn.004c8e00
mov dword [edi], eax
mov eax, esi
pop edi
pop esi
add esp, 0x80
ret
Function at 0x4537e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4d739b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
push 4
mov dword [esp + 0xc], esi
mov dword [esi + 0x38], 0x4d8ad0
call fcn.004c7e90
mov dword [esi + 0x3c], eax
xor eax, eax
add esp, 4
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], pe_nt_image_headers32
mov edi, dword [esp + 0x1c]
mov dword [esi + 0x48], 1
cmp edi, eax
mov dword [esp + 0x14], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x2c], 0xfffffffe
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov word [esi + 0x30], ax
mov word [esi + 0x32], ax
mov dword [esi + 0x34], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], eax
je 0x45388a
push edi
call dword [sym.imp.kernel32.dll_lstrlen]
inc eax
push eax
call fcn.004c7e90
add esp, 4
mov dword [esi], eax
push edi
push eax
call dword [sym.imp.kernel32.dll_lstrcpy]
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4