joyce8/EMBER2024-capa huggingface dataset:
Function at 0x210252d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x21063bcd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x114
mov dword [ebp - 0x11c], ecx
mov ecx, dword [ebp - 0x11c]
add ecx, 4
call fcn.2103259c
mov dword [ebp - 4], 0
push 0x104
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [ebp - 0x110]
push ecx
mov edx, dword [str.FppLicense3.ini]
push edx
lea eax, [ebp - 0x110]
push eax
call fcn.21010b3d
lea ecx, [ebp - 0x110]
push ecx
mov edx, dword [ebp - 0x11c]
add edx, 8
push edx
call fcn.21048fc0
add esp, 8
push 0xc
call fcn.21058728
add esp, 4
mov dword [ebp - 0x118], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x118], 0
je 0x21025383
push 0x2107aa5c
mov ecx, dword [ebp - 0x118]
call fcn.2102b5b0
mov dword [ebp - 0x120], eax
jmp 0x2102538d
mov dword [ebp - 0x120], 0
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x114], eax
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ebp - 0x114]
mov dword [ecx], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x21026eac
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
push 1
mov ecx, dword [ebp - 8]
call fcn.21026e29
cmp dword [ebp + 0xc], 0
jne 0x21026eec
push 0
push 0
push 3
push 0
push 3
push 0x80000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
jmp 0x21026f0a
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov edx, dword [ebp - 8]
cmp dword [edx], 0xffffffff
jne 0x21026f17
jmp 0x21026fd0
mov eax, dword [ebp - 8]
mov dword [eax + 4], 1
push 0
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp - 8]
cmp dword [edx + 0x10], 0xffffffff
jne 0x21026f43
jmp 0x21026fce
push 0
mov eax, dword [ebp + 0x10]
push eax
push 0
mov ecx, dword [ebp + 0xc]
neg ecx
sbb ecx, ecx
and ecx, 2
add ecx, 2
push ecx
push 0
mov edx, dword [ebp - 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ecx, dword [ebp - 8]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 8]
cmp dword [edx + 8], 0
jne 0x21026f78
jmp 0x21026fcc
push 0
push 0
push 0
mov eax, dword [ebp + 0xc]
neg eax
sbb eax, eax
and eax, 0xf001b
add eax, 4
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 8]
cmp dword [edx + 0xc], 0
jne 0x21026fac
jmp 0x21026fca
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jne 0x21026fc5
push 1
mov ecx, dword [ebp - 8]
call fcn.21026e29
mov eax, dword [ebp - 4]
jmp 0x21026fd2
jmp 0x21026fb5
jmp 0x21026fb5
jmp 0x21026fb5
jmp 0x21026fb5
mov esp, ebp
pop ebp
ret 0xc

Function at 0x21027030
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0
mov ecx, dword [ebp + 8]
mov dword [ecx], 0
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0xefcdab89
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0x98badcfe
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], 0x10325476
pop ebp
ret 4
Function at 0x2102c6bd
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp + 8]
add eax, 2
push eax
mov ecx, dword [ebp - 0x20]
call fcn.2102c503
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x2102c7a4
mov ecx, dword [ebp - 0x20]
xor edx, edx
mov dx, word [ecx + 4]
add edx, 1
mov word [ebp - 0x14], dx
mov eax, dword [ebp - 0x14]
and eax, 0xffff
imul eax, eax, 0x50
push eax
call fcn.21058728
add esp, 4
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
jne 0x2102c71e
xor eax, eax
jmp 0x2102c88e
mov edx, dword [ebp - 0x20]
xor eax, eax
mov ax, word [edx + 4]
test eax, eax
je 0x2102c74b
mov ecx, dword [ebp - 0x20]
xor edx, edx
mov dx, word [ecx + 4]
imul edx, edx, 0x50
push edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.210490b0
add esp, 0xc
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov cx, word [eax + 4]
imul ecx, ecx, 0x50
mov edx, dword [ebp - 0x10]
add edx, ecx
mov dword [ebp - 4], edx
mov esi, dword [ebp + 8]
mov ecx, 0x14
mov edi, dword [ebp - 4]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cx, word [eax]
test ecx, ecx
jne 0x2102c786
mov ecx, dword [ebp - 0x20]
call fcn.2102ca4f
mov edx, dword [ebp - 4]
mov word [edx], ax
mov ecx, dword [ebp - 0x20]
call fcn.2102ca1a
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x20]
mov ax, word [ebp - 0x14]
mov word [edx + 4], ax
jmp 0x2102c7d1
mov ecx, dword [ebp - 4]
mov dx, word [ecx]
mov word [ebp - 0x18], dx
mov esi, dword [ebp + 8]
mov ecx, 0x14
mov edi, dword [ebp - 4]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cx, word [eax]
test ecx, ecx
jne 0x2102c7d1
mov edx, dword [ebp - 4]
mov ax, word [ebp - 0x18]
mov word [edx], ax
push 1
mov ecx, dword [ebp + 8]
add ecx, 2
push ecx
mov ecx, dword [ebp - 0x20]
call fcn.2102cea5
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x2102c7f2
xor eax, eax
jmp 0x2102c88e
mov edx, dword [ebp + 8]
xor eax, eax
mov ax, word [edx]
test eax, eax
je 0x2102c822
mov ecx, dword [ebp + 8]
xor edx, edx
mov dx, word [ecx]
mov dword [ebp - 0xc], edx
push 4
lea eax, [ebp - 0xc]
push eax
push 4
push 0
push 0x21075950
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
mov edx, dword [ebp + 8]
add edx, 0x44
push edx
push 4
push 0
push 0x21075954
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
mov ecx, dword [ebp + 8]
add ecx, 0x48
push ecx
push 4
push 0
push 0x2107595c
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp + 8]
xor ecx, ecx
mov cx, word [eax + 0x4c]
mov dword [ebp - 0xc], ecx
push 4
lea edx, [ebp - 0xc]
push edx
push 4
push 0
push 0x21075964
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x2102d4f4
Capabilities:
Connect pipe
Create pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x210640fa
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp - 0x40]
cmp dword [eax + 0x60], 0
jne 0x2102d549
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ecx, dword [ebp - 0x40]
mov dword [ecx + 0x60], eax
mov edx, dword [ebp - 0x40]
cmp dword [edx + 0x60], 0
jne 0x2102d549
push str.CreateEvent
call fcn.2100dfb1
xor eax, eax
jmp 0x2102d60d
mov eax, dword [ebp - 0x40]
cmp dword [eax + 0x4c], 0xffffffff
jne 0x2102d608
push 0
lea ecx, [ebp - 0x34]
call fcn.2104591b
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.21045aa3
push eax
push 0
push 0x800
push 0x800
push 0xff
push 6
push 0x40000003
mov ecx, dword [ebp - 0x40]
add ecx, 0x84
push ecx
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov edx, dword [ebp - 0x40]
mov dword [edx + 0x4c], eax
mov eax, dword [ebp - 0x40]
cmp dword [eax + 0x4c], 0xffffffff
jne 0x2102d5cc
push str.CreateNamedPipe
call fcn.2100dfb1
mov dword [ebp - 0x38], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.21045a82
mov eax, dword [ebp - 0x38]
jmp 0x2102d60d
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx + 0x60]
push edx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [ebp - 0x40]
add eax, 0x50
push eax
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx + 0x4c]
push edx
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
mov dword [ebp - 0x3c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.21045a82
mov eax, dword [ebp - 0x3c]
jmp 0x2102d60d
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x21032701
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], 0x7fff
cmp dword [0x2107bdbc], 0
je 0x21032725
cmp dword [ebp - 8], 0xffff
jbe 0x21032725
jmp 0x21032798
push 0
push 2
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x108
call fcn.21021019
test eax, eax
jne 0x21032743
xor eax, eax
jmp 0x210327b8
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x10c]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x14]
add eax, 4
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
push 0x2107c1b8
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x2103277c
xor eax, eax
jmp 0x210327b8
mov ecx, dword [ebp - 8]
sub ecx, 2
cmp dword [ebp - 4], ecx
jb 0x21032798
mov edx, dword [ebp - 8]
add edx, 0x7fff
mov dword [ebp - 8], edx
jmp 0x21032711
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x10c]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x120], eax
mov ecx, dword [ebp - 0x14]
call fcn.210327be
mov esp, ebp
pop ebp
ret 4

Function at 0x21032931
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x21064256
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
mov dword [ebp - 0x40], ecx
push 0xffffffffffffffff
push 0
mov ecx, dword [ebp + 0xc]
call fcn.21058104
lea ecx, [ebp - 0x24]
call fcn.21020f40
mov dword [ebp - 4], 0
mov dword [ebp - 0x28], 0x7fff
cmp dword [0x2107bdbc], 0
je 0x21032988
cmp dword [ebp - 0x28], 0xffff
jbe 0x21032988
jmp 0x21032a2d
push 0
push 2
mov eax, dword [ebp - 0x28]
push eax
lea ecx, [ebp - 0x24]
call fcn.21021019
test eax, eax
jne 0x210329ba
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.21021006
mov eax, dword [ebp - 0x34]
jmp 0x21032a48
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x40]
add edx, 4
push edx
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
push 0x2107c1bc
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x21032a04
mov dword [ebp - 0x38], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.21021006
mov eax, dword [ebp - 0x38]
jmp 0x21032a48
mov eax, dword [ebp - 0x28]
sub eax, 2
cmp dword [ebp - 0x30], eax
jb 0x21032a20
mov ecx, dword [ebp - 0x28]
add ecx, 0x7fff
mov dword [ebp - 0x28], ecx
jmp 0x21032971
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x2c]
push eax
call fcn.2102b548
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x3c], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.21021006
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x21032ad8
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
add eax, 4
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x21032afe
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0x7fff
cmp dword [0x2107bdbc], 0
je 0x21032b2c
cmp dword [ebp - 8], 0xffff
jbe 0x21032b2c
jmp 0x21032bc2
mov eax, dword [ebp - 8]
push eax
call fcn.21058728
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jne 0x21032b55
push str.CPrivateProfile::GetSection_could_not_allocate_a_buffer
call fcn.2100df3d
xor eax, eax
jmp 0x21032bc5
mov edx, dword [ebp - 0x1c]
add edx, 4
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x21032b8d
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.21058751
add esp, 4
xor eax, eax
jmp 0x21032bc5
mov edx, dword [ebp - 8]
sub edx, 2
cmp dword [ebp - 0xc], edx
jb 0x21032bc2
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.21058751
add esp, 4
mov dword [ebp - 4], 0
mov edx, dword [ebp - 8]
add edx, 0x7fff
mov dword [ebp - 8], edx
jmp 0x21032b15
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4

Function at 0x21032bcb
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
add eax, 4
push eax
push 0x200
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x124]
push edx
push 0x2107c1c0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x21032c03
xor eax, eax
jmp 0x21032c0c
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x124]
mov esp, ebp
pop ebp
ret 8

Function at 0x21032c12
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
add eax, 4
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push 0x2107c1c4
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x21032ff9
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x210642b3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x108
mov dword [ebp - 0x114], ecx
mov ecx, dword [ebp - 0x114]
add ecx, 4
call fcn.2103259c
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x114]
add ecx, 0x12c
call fcn.21039170
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x114]
mov dword [eax], 0x21066d7c
push 0x104
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea edx, [ebp - 0x110]
push edx
push str.wininit.ini
lea eax, [ebp - 0x110]
push eax
call fcn.21010b3d
lea ecx, [ebp - 0x110]
push ecx
mov edx, dword [ebp - 0x114]
add edx, 8
push edx
call fcn.21048fc0
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x210330b1
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
cmp dword [0x2107bdbc], 0
je 0x210330cf
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
call fcn.210330e3
jmp 0x210330dd
push 4
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
mov esp, ebp
pop ebp
ret 4
Function at 0x210333fa
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 0x2c], ecx
cmp dword [0x2107bdbc], 0
je 0x21033526
push 0x30c
call fcn.21058728
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
add edx, 0x104
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
add eax, 0x104
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
push 0x104
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test eax, eax
jne 0x21033471
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.21048fc0
add esp, 8
push 0
mov edx, dword [ebp + 0xc]
push edx
call fcn.2101077f
test eax, eax
jne 0x210334bc
push 0x1001
mov eax, dword [ebp + 0xc]
push eax
call fcn.21010613
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x20], 0
je 0x210334ae
push 1
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], eax
jmp 0x210334b5
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 1
push 0x104
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test eax, eax
jne 0x210334e3
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.21048fc0
add esp, 8
cmp dword [ebp - 4], 0
je 0x210334f4
push 1
mov edx, dword [ebp + 0xc]
push edx
call fcn.21011c82
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
push str.rename
mov ecx, dword [ebp - 0x2c]
add ecx, 4
call fcn.21032cde
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
push eax
call fcn.21058751
add esp, 4
mov eax, dword [ebp - 0x10]
jmp 0x21033536
push 5
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
mov esp, ebp
pop ebp
ret 8
Function at 0x21034a15
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1c], 0
jne 0x21034a2a
jmp 0x21034ab0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x406
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
mov edx, dword [ebp + 0x10]
push edx
push 0x404
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
mov edx, dword [ebp + 8]
push edx
push 0x402
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [ebp + 8], 0
jne 0x21034a97
cmp dword [ebp + 0xc], 0
jne 0x21034a97
cmp dword [ebp + 0x10], 0
jne 0x21034a97
push 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x1c]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x21034aa6
push 4
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x1c]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 4]
mov dword [eax + 0x24], 1
mov esp, ebp
pop ebp
ret 0xc

Function at 0x21034ab6
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1c], 0
jne 0x21034ac8
jmp 0x21034b18
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x406
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [ebp + 8], 0
jne 0x21034aff
cmp dword [ebp + 0xc], 0
jne 0x21034aff
push 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x1c]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x21034b0e
push 4
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x1c]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 4]
mov dword [eax + 0x24], 1
mov esp, ebp
pop ebp
ret 8

Function at 0x21034d5c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 1
je 0x21034d7f
jmp 0x21034dc0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x40], 0
push 4
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
push 2
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov esp, ebp
pop ebp
ret 8
Function at 0x2103889d
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov dword [ebp - 0x114], ecx
cmp dword [ebp + 8], 0
je 0x210388b8
mov eax, dword [ebp + 8]
mov byte [eax], 0
push 0
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 8]
push edx
push str.ProfileImagePath
mov ecx, dword [ebp - 0x114]
call fcn.2103a19f
test eax, eax
jne 0x210388dd
xor eax, eax
jmp 0x210389a4
mov eax, dword [ebp - 4]
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 1
je 0x2103891c
cmp dword [ebp - 0x118], 2
je 0x210388fd
jmp 0x210389a2
push 0x104
lea ecx, [ebp - 0x110]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea eax, [ebp - 0x110]
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x110]
push ecx
push str.ntuser.dat
mov edx, dword [ebp - 8]
push edx
call fcn.21010b3d
push 0xffffffffffffffff
push 0x5c
mov eax, dword [ebp - 0x114]
mov ecx, dword [eax + 4]
push ecx
call fcn.2102b90b
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x2103895b
mov edx, dword [ebp - 0x114]
mov eax, dword [edx + 4]
mov dword [ebp - 0xc], eax
jmp 0x21038964
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
cmp dword [ebp + 8], 0
je 0x2103897a
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.21048fc0
add esp, 8
lea ecx, [ebp - 0x110]
push ecx
mov edx, dword [ebp - 0xc]
push edx
push 0x80000003
call dword [sym.imp.ADVAPI32.dll_RegLoadKeyA]
test eax, eax
jne 0x210389a2
mov eax, dword [ebp - 0xc]
push eax
call fcn.21049450
add esp, 4
jmp 0x210389a4
xor eax, eax
mov esp, ebp
pop ebp
ret 4

Function at 0x21039569
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0xc], 0
jne 0x2103957f
xor eax, eax
jmp 0x210395d3
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
call fcn.2103a19f
test eax, eax
jne 0x2103959f
xor eax, eax
jmp 0x210395d3
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x210395c6
xor eax, eax
jmp 0x210395d3
mov ecx, dword [ebp - 0x10]
call fcn.21039b60
mov eax, 1
mov esp, ebp
pop ebp
ret 8

Function at 0x21039697
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
jne 0x210396ab
xor eax, eax
jmp 0x210396d1
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
je 0x210396c4
xor eax, eax
jmp 0x210396d1
mov ecx, dword [ebp - 4]
call fcn.21039b60
mov eax, 1
mov esp, ebp
pop ebp
ret 4