joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1f40058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.01f401a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1f4007e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1f4006a
add dl, dl
jne 0x1f40089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1f400dc
xor eax, eax
add dl, dl
jne 0x1f40096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1f4017d
add dl, dl
jne 0x1f400a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1f400b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1f400bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1f400c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x1f400d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1f40075
mov eax, 1
add dl, dl
jne 0x1f400ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1f400f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1f400e1
sub eax, ebx
mov ebx, 1
jne 0x1f40128
mov ecx, 1
add dl, dl
jne 0x1f4010e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1f40119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1f40105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1f40075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1f4013f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1f4014a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1f40136
cmp eax, 0x7d00
jae 0x1f4016d
cmp eax, 0x500
jb 0x1f40168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1f40075
cmp eax, 0x7f
ja 0x1f40170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1f40075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1f4019e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x1f40075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x43a945
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0042f88a
and dword [ebp - 4], 0
cmp dword [0x454778], 0
mov ebx, eax
jne 0x43a9f6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x43aaa7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x447118
push edi
call esi
test eax, eax
je 0x43aaa7
push eax
call fcn.0042f818
mov dword [esp], 0x447108
push edi
mov dword [0x454778], eax
call esi
push eax
call fcn.0042f818
mov dword [esp], 0x4470f4
push edi
mov dword [0x45477c], eax
call esi
push eax
call fcn.0042f818
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x454780], eax
call esi
push eax
call fcn.0042f818
pop ecx
mov dword [0x454788], eax
test eax, eax
je 0x43a9f6
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0042f818
pop ecx
mov dword [0x454784], eax
mov eax, dword [0x454784]
cmp eax, ebx
je 0x43aa4e
cmp dword [0x454788], ebx
je 0x43aa4e
push eax
call fcn.0042f893
push dword [0x454788]
mov esi, eax
call fcn.0042f893
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x43aa4e
test edi, edi
je 0x43aa4e
call esi
test eax, eax
je 0x43aa45
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x43aa45
test byte [ebp - 0xc], 1
jne 0x43aa4e
or dword [ebp + 0x10], 0x200000
jmp 0x43aa87
mov eax, dword [0x45477c]
cmp eax, ebx
je 0x43aa87
push eax
call fcn.0042f893
pop ecx
test eax, eax
je 0x43aa87
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x43aa87
mov eax, dword [0x454780]
cmp eax, ebx
je 0x43aa87
push eax
call fcn.0042f893
pop ecx
test eax, eax
je 0x43aa87
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x454778]
call fcn.0042f893
pop ecx
test eax, eax
je 0x43aaa7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x43aaa9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403ac5
sub eax, 0x403a6b
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x401006
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x426004]
jne 0x401010
repz ret
jmp fcn.0040176d

Function at 0x40655b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004032f4
and dword [ebp - 4], 0
cmp dword [0x4280dc], 0
mov ebx, eax
jne 0x40660c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4066bd
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4066bd
push eax
call fcn.00403282
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4280dc], eax
call esi
push eax
call fcn.00403282
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4280e0], eax
call esi
push eax
call fcn.00403282
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4280e4], eax
call esi
push eax
call fcn.00403282
pop ecx
mov dword [0x4280ec], eax
test eax, eax
je 0x40660c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00403282
pop ecx
mov dword [0x4280e8], eax
mov eax, dword [0x4280e8]
cmp eax, ebx
je 0x406664
cmp dword [0x4280ec], ebx
je 0x406664
push eax
call fcn.004032fd
push dword [0x4280ec]
mov esi, eax
call fcn.004032fd
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x406664
test edi, edi
je 0x406664
call esi
test eax, eax
je 0x40665b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40665b
test byte [ebp - 0xc], 1
jne 0x406664
or dword [ebp + 0x10], 0x200000
jmp 0x40669d
mov eax, dword [0x4280e0]
cmp eax, ebx
je 0x40669d
push eax
call fcn.004032fd
pop ecx
test eax, eax
je 0x40669d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40669d
mov eax, dword [0x4280e4]
cmp eax, ebx
je 0x40669d
push eax
call fcn.004032fd
pop ecx
test eax, eax
je 0x40669d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4280dc]
call fcn.004032fd
pop ecx
test eax, eax
je 0x4066bd
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4066bf
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x420892
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0x40
push dword [0x436044]
push dword [0x435d60]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
leave
ret

Function at 0x420921
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp ebx, 0x19f
jne 0x420935
push 0
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
push edi
xor edi, edi
test ebx, ebx
jle 0x420959
push esi
and dword [ebp - 4], 0
lea esi, [ebp - 4]
call fcn.00420916
mov eax, dword [ebp + 8]
mov cl, byte [ebp - 4]
add eax, edi
xor byte [eax], cl
inc edi
cmp edi, ebx
jl 0x42093d
pop esi
pop edi
cmp ebx, 0x2d
jne 0x420970
or dword [0x436054], 0xffffffff
mov dword [0x436050], 0xa62e7790
leave
ret
Function at 0x401000
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0x48
push 0
push 0x444628
call fcn.00407027
add esp, 0xc
push 0
call fcn.00407033
mov dword [0x44462c], eax
push 0
push 0x1000
push 0
call fcn.00407039
mov dword [0x444628], eax
call fcn.0040ab80
call fcn.0040a32d
call fcn.0040a268
call fcn.0040a013
call fcn.00409fff
call fcn.0040945c
call fcn.004092c9
call fcn.00408610
call fcn.00407675
call fcn.004075a7
call fcn.00407051
jmp 0x403b7f
mov edx, 0x41501e
lea ecx, [0x444650]
call fcn.00407008
mov ebp, 0x443444
mov ebx, ebp
mov ebp, 0x415044
sub ebx, ebp
mov dword [0x444654], ebx
push dword [0x444650]
mov ebp, 0x4438c3
mov ebx, ebp
mov ebp, 0x443444
sub ebx, ebp
push ebx
mov ebp, 0x443444
push ebp
call fcn.00403d3d
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
mov dword [0x444658], eax
mov edx, 0x41501a
lea ecx, [0x44465c]
call fcn.00407008
mov eax, dword [0x444aa8]
push eax
push eax
mov edx, 0x415016
call fcn.0040abd0
mov edx, dword [0x44465c]
call fcn.0040abd0
mov edx, 0x41502c
call fcn.0040abd0
mov edx, dword [0x44465c]
call fcn.0040abd0
mov edx, 0x415012
call fcn.0040abd0
mov edx, dword [0x44465c]
call fcn.0040abd0
mov edx, dword [0x44465c]
call fcn.0040abd0
mov edx, 0x415034
call fcn.0040abd0
add dword [0x444aa8], 2
call fcn.0040ac30
push eax
push dword [0x444658]
call fcn.0040703f
pop dword [0x444aa8]
mov dword [0x444660], eax
mov ebp, 0x4438c3
mov ebx, ebp
mov ebp, 0x443444
sub ebx, ebp
mov dword [0x444668], ebx
push dword [0x444668]
push 0
call dword [0x444660]
nop
mov dword [0x444664], eax
mov ebp, 0x4438c3
mov ebx, ebp
mov ebp, 0x443444
sub ebx, ebp
push ebx
mov ebp, 0x443444
push ebp
push dword [0x444664]
call fcn.00407010
push dword [0x444650]
mov ebp, 0x443444
mov ebx, ebp
mov ebp, 0x415044
sub ebx, ebp
push ebx
mov ebp, 0x415044
push ebp
call fcn.00403d3d
mov ebp, 0x415044
mov dword [0x44466c], ebp
nop
nop
push dword [0x444654]
push dword [0x44466c]
call dword [0x444664]
push 0
call fcn.00403d0a
push dword [0x444628]
call fcn.00407045
call fcn.0040704b
Function at 0x1000f043
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1000f082
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1000f082
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1000f082
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1000f082
cmp dword [ecx + 0x74], 0xe
jbe 0x1000f082
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x10011d02
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x10011d9f
push ebx
push esi
call fcn.10011ccb
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.10011c5f
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10011d4c
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10011d9e
push edi
push eax
call fcn.10012cbe
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x10011d6c
call fcn.100107a7
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10011d9d
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10011c5f
add esp, 0x20
test eax, eax
jne 0x10011d8b
push edi
call fcn.100107a7
jmp 0x10011d93
push ebx
call fcn.100107a7
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1001200d
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10019888
push 0x10019880
push str.FlsAlloc
push 0x1f
call fcn.10011f28
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10012041
push dword [ebp + 8]
mov ecx, esi
call dword [0x10018150]
call esi
jmp 0x10012047
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1001208b
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10019898
push 0x10019890
push str.FlsGetValue
push 0x21
call fcn.10011f28
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100120c2
push dword [ebp + 8]
mov ecx, esi
call dword [0x10018150]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x100120ca
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100198a0
push 0x10019898
push str.FlsSetValue
push 0x22
call fcn.10011f28
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10012104
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10018150]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x100177b0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100177dd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100177dd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x402241
Capabilities:
Identify system language via api

Disassembly:
push ebp
push ebx
call fcn.00475020
call fcn.00402f37
push 0x5a
call fcn.0046d770
push eax
mov eax, 0x52f028
push eax
push 0
push 0xaf
call fcn.00455280
push 0x17
call fcn.0046d770
push eax
mov eax, 0x52f028
push eax
push 1
push 0xaf
call fcn.00455280
push 8
call fcn.0046d770
push eax
mov eax, 0x52f028
push eax
push 2
push 0xaf
call fcn.00455280
call sub.KERNEL32.dll_GetUserDefaultLangID
mov ebx, eax
and ebx, 0x3ff
push ebx
mov ebx, 4
cmp ebx, dword [esp]
je 0x4022d9
mov ebx, 4
cmp ebx, dword [esp]
je 0x4022d9
mov ebx, 0x7c04
cmp ebx, dword [esp]
jne 0x40231b
mov ebp, dword [0x63d5fc]
mov edx, 0x53c904
lea ecx, [ebp]
call fcn.0042b008
mov eax, 0x53c904
push eax
call fcn.0040f369
push 2
push 0xaf
call fcn.004552e5
mov eax, 0x53c904
push eax
push 0xaf
call fcn.0045531d
jmp 0x4023a1
mov ebx, 9
cmp ebx, dword [esp]
jne 0x402364
mov ebp, dword [0x63d5fc]
mov edx, str.English
lea ecx, [ebp]
call fcn.0042b008
mov eax, str.English
push eax
call fcn.0040f369
push 1
push 0xaf
call fcn.004552e5
mov eax, str.English
push eax
push 0xaf
call fcn.0045531d
jmp 0x4023a1
mov ebp, dword [0x63d5fc]
mov edx, 0x52fd14
lea ecx, [ebp]
call fcn.0042b008
mov eax, 0x52fd14
push eax
call fcn.0040f369
push 0
push 0xaf
call fcn.004552e5
mov eax, 0x52fd14
push eax
push 0xaf
call fcn.0045531d
pop eax
call fcn.004023bd
call fcn.0040e91f
call fcn.004073f4
call fcn.0040a1b8
jmp 0x4023a7
Function at 0x408417
Capabilities:
Delete registry value

Disassembly:
push ebp
push ebx
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00475020
mov edx, dword [esp + 0x24]
lea ecx, [esp]
call fcn.0042b000
mov edx, dword [esp + 0x28]
lea ecx, [esp + 4]
call fcn.0042b000
mov dword [esp + 0xc], 0x20006
cmp dword [esp + 0x2c], 0
je 0x40845b
mov ebx, dword [esp + 0xc]
or ebx, 0x100
mov dword [esp + 0xc], ebx
push edx
call fcn.00474eb0
pop edx
push eax
push edx
call fcn.00474eb0
pop edx
push eax
push 1
push dword [esp + 0xc]
call fcn.00472790
call fcn.00475080
mov edx, 0x530a1e
call fcn.0042b330
mov ecx, eax
call fcn.0042b340
je 0x4084c1
push edx
call fcn.00474eb0
pop edx
push eax
push edx
call fcn.00474eb0
pop edx
push eax
push dword [esp + 8]
call fcn.00472760
mov ebx, eax
dec ebx
push ebx
push dword [esp + 0xc]
call fcn.00472800
lea eax, [esp + 4]
push eax
call fcn.00474f50
push edx
call fcn.00474eb0
pop edx
push eax
push edx
call fcn.00474eb0
pop edx
push eax
push 1
push dword [esp + 0xc]
call fcn.00472800
call fcn.00475080
mov edx, 0x530a1e
call fcn.0042b330
mov ecx, eax
call fcn.0042b340
je 0x408527
push edx
call fcn.00474eb0
pop edx
push eax
push edx
call fcn.00474eb0
pop edx
push eax
push dword [esp + 8]
call fcn.00472760
mov ebx, eax
dec ebx
push ebx
push dword [esp + 0xc]
call fcn.00472790
lea eax, [esp + 4]
push eax
call fcn.00474f50
mov ebx, dword [esp + 0x30]
and ebx, ebx
je 0x408542
push 0x53f9f0
push 0x24
push dword [esp + 0x38]
call fcn.00473d70
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x10]
push 0
push dword [esp + 0xc]
push dword [esp + 0x30]
call sub.ADVAPI32.dll_RegOpenKeyExW
mov dword [esp + 8], eax
cmp dword [esp + 8], 0
je 0x4085ad
mov ebx, dword [esp + 0x30]
and ebx, ebx
je 0x408599
push dword [esp + 8]
mov ebp, dword [esp + 0x34]
pop dword [ebp + 8]
push edx
call fcn.00474eb0
pop edx
push eax
push dword [esp + 0xc]
call fcn.004099ff
mov ebp, dword [esp + 0x34]
lea eax, [ebp + 0xc]
push eax
call fcn.00474f50
cmp dword [esp + 0x10], 0
je 0x4085a9
push dword [esp + 0x10]
call sub.ADVAPI32.dll_RegCloseKey
xor eax, eax
jmp 0x40860c
push dword [esp + 4]
push dword [esp + 0x14]
call sub.ADVAPI32.dll_RegDeleteValueW
mov dword [esp + 8], eax
push dword [esp + 0x10]
call sub.ADVAPI32.dll_RegCloseKey
cmp dword [esp + 8], 0
je 0x408603
mov ebx, dword [esp + 0x30]
and ebx, ebx
je 0x4085ff
push dword [esp + 8]
mov ebp, dword [esp + 0x34]
pop dword [ebp + 8]
push edx
call fcn.00474eb0
pop edx
push eax
push dword [esp + 0xc]
call fcn.004099ff
mov ebp, dword [esp + 0x34]
lea eax, [ebp + 0xc]
push eax
call fcn.00474f50
xor eax, eax
jmp 0x40860c
mov eax, 1
jmp 0x40860c
push dword [esp]
call fcn.004750b0
push dword [esp + 4]
call fcn.004750b0
add esp, 0x14
pop ebx
pop ebp
ret 0x14
Function at 0x408c5f
Capabilities:
Delete registry key

Disassembly:
push ebp
push ebx
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00475020
mov edx, dword [esp + 0x24]
lea ecx, [esp]
call fcn.0042b000
push edx
call fcn.00474eb0
pop edx
push eax
push edx
call fcn.00474eb0
pop edx
push eax
push 0x104
call fcn.00472c10
call fcn.00475080
lea eax, [esp + 0x14]
push eax
call fcn.00474f50
push edx
call fcn.00474eb0
pop edx
push eax
push edx
call fcn.00474eb0
pop edx
push eax
push 1
push dword [esp + 0xc]
call fcn.00472790
call fcn.00475080
mov edx, 0x530a1e
call fcn.0042b330
mov ecx, eax
call fcn.0042b340
je 0x408d08
push edx
call fcn.00474eb0
pop edx
push eax
push edx
call fcn.00474eb0
pop edx
push eax
push dword [esp + 8]
call fcn.00472760
mov ebx, eax
dec ebx
push ebx
push dword [esp + 0xc]
call fcn.00472800
lea eax, [esp + 4]
push eax
call fcn.00474f50
push edx
call fcn.00474eb0
pop edx
push eax
push edx
call fcn.00474eb0
pop edx
push eax
push 1
push dword [esp + 0xc]
call fcn.00472800
call fcn.00475080
mov edx, 0x530a1e
call fcn.0042b330
mov ecx, eax
call fcn.0042b340
je 0x408d6e
push edx
call fcn.00474eb0
pop edx
push eax
push edx
call fcn.00474eb0
pop edx
push eax
push dword [esp + 8]
call fcn.00472760
mov ebx, eax
dec ebx
push ebx
push dword [esp + 0xc]
call fcn.00472790
lea eax, [esp + 4]
push eax
call fcn.00474f50
mov ebx, dword [esp + 0x28]
and ebx, ebx
je 0x408d89
push 0x53f9f0
push 0x24
push dword [esp + 0x30]
call fcn.00473d70
lea eax, [esp + 4]
push eax
push 8
push 0
push dword [esp + 0xc]
push dword [esp + 0x30]
call sub.ADVAPI32.dll_RegOpenKeyExW
mov dword [esp + 8], eax
cmp dword [esp + 8], 0
je 0x408df8
mov ebx, dword [esp + 0x28]
and ebx, ebx
je 0x408de1
push dword [esp + 8]
mov ebp, dword [esp + 0x2c]
pop dword [ebp + 8]
push edx
call fcn.00474eb0
pop edx
push eax
push dword [esp + 0xc]
call fcn.004099ff
mov ebp, dword [esp + 0x2c]
lea eax, [ebp + 0xc]
push eax
call fcn.00474f50
cmp dword [esp + 4], 0
je 0x408df1
push dword [esp + 4]
call sub.ADVAPI32.dll_RegCloseKey
xor eax, eax
jmp 0x408ebc
mov dword [esp + 0xc], 0x104
push 0
push 0
push 0
push 0
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x24]
push eax
push 0
push dword [esp + 0x20]
call dword [0x63d5e4]
mov dword [esp + 8], eax
cmp dword [esp + 8], 0
je 0x408e3c
xor eax, eax
jmp 0x408e41
mov eax, 1
and eax, eax
je 0x408e57
push 0
push dword [esp + 0x14]
push dword [esp + 0xc]
call fcn.00408c5f
cmp dword [esp + 8], 0
je 0x408df8
push dword [esp + 4]
call sub.ADVAPI32.dll_RegCloseKey
push dword [esp]
push dword [esp + 0x24]
call sub.ADVAPI32.dll_RegDeleteKeyW
mov dword [esp + 8], eax
cmp dword [esp + 8], 0
je 0x408eb3
mov ebx, dword [esp + 0x28]
and ebx, ebx
je 0x408eaf
push dword [esp + 8]
mov ebp, dword [esp + 0x2c]
pop dword [ebp + 8]
push edx
call fcn.00474eb0
pop edx
push eax
push dword [esp + 0xc]
call fcn.004099ff
mov ebp, dword [esp + 0x2c]
lea eax, [ebp + 0xc]
push eax
call fcn.00474f50
xor eax, eax
jmp 0x408ebc
mov eax, 1
jmp 0x408ebc
push dword [esp]
call fcn.004750b0
push dword [esp + 0x10]
call fcn.004750b0
add esp, 0x14
pop ebx
pop ebp
ret 0xc
Function at 0x41df24
Capabilities:
Get common file path

Disassembly:
push ebx
xor eax, eax
push eax
push eax
call fcn.00475020
push dword [esp + 0x14]
call fcn.0042b320
lea eax, [esp]
push eax
push dword [esp + 0x14]
push 0
call sub.SHELL32.dll_SHGetSpecialFolderLocation
mov ebx, eax
and ebx, ebx
jne 0x41dff7
push edx
call fcn.00474eb0
pop edx
push eax
push edx
call fcn.00474eb0
pop edx
push eax
push 0x104
call fcn.00472c10
lea eax, [esp + 8]
push eax
call fcn.00474f50
mov eax, dword [esp + 4]
push eax
push dword [esp + 4]
call sub.SHELL32.dll_SHGetPathFromIDListW
mov edx, dword [esp + 4]
xor ecx, ecx
call fcn.0042b340
jne 0x41dfef
push edx
call fcn.00474eb0
pop edx
push eax
push edx
call fcn.00474eb0
pop edx
push eax
push 1
push dword [esp + 0x10]
call fcn.00472800
call fcn.00475080
mov edx, 0x530a1e
call fcn.0042b330
mov ecx, eax
call fcn.0042b340
jne 0x41dfef
mov edx, dword [esp + 4]
push edx
call fcn.00474eb0
pop edx
push eax
push edx
call fcn.00474ef0
mov edx, 0x530a1e
push edx
call fcn.00474ef0
lea eax, [esp + 8]
push eax
call fcn.00474f50
push dword [esp]
call sub.ole32.dll_CoTaskMemFree
mov edx, dword [esp + 4]
push edx
call fcn.00474eb0
pop edx
push eax
push edx
call fcn.00474ef0
pop eax
push eax
call fcn.0042b2f0
pop edx
add eax, edx
jmp 0x41e01f
push dword [esp + 4]
call fcn.004750b0
add esp, 8
pop ebx
ret 4
Function at 0x41e47d
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
push ebx
mov edx, 9
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x41e484
call fcn.00475020
mov edx, dword [esp + 0x30]
lea ecx, [esp]
call fcn.0042b000
mov edx, dword [esp + 0x34]
lea ecx, [esp + 4]
call fcn.0042b000
mov edx, dword [esp + 0x38]
lea ecx, [esp + 8]
call fcn.0042b000
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0xc]
call fcn.0042b000
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x10]
call fcn.0042b000
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0x14]
call fcn.0042b000
push 0
call sub.ole32.dll_CoInitialize
lea eax, [esp + 0x18]
push eax
mov ebp, 0x63972f
push ebp
push 1
push 0
mov ebp, 0x63970f
push ebp
call sub.ole32.dll_CoCreateInstance
mov ebx, eax
and ebx, ebx
jne 0x41e5f1
sub esp, 4
push dword [esp + 4]
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [eax]
call dword [eax + 0x50]
add esp, 4
sub esp, 4
push dword [esp + 0xc]
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
add esp, 4
sub esp, 4
push dword [esp + 0x14]
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [eax]
call dword [eax + 0x24]
add esp, 4
sub esp, 4
push dword [esp + 0x10]
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
add esp, 4
push dword [esp + 0x44]
mov eax, dword [esp + 0x1c]
push eax
mov eax, dword [eax]
call dword [eax + 0x3c]
push 0
mov eax, dword [esp + 0x1c]
push eax
mov eax, dword [eax]
call dword [eax + 0x34]
sub esp, 4
push dword [esp + 0x50]
push dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
push eax
mov eax, dword [eax]
call dword [eax + 0x44]
add esp, 4
lea eax, [esp + 0x1c]
push eax
mov ebp, 0x63971f
push ebp
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [eax]
call dword [eax]
mov ebx, eax
and ebx, ebx
jne 0x41e5e7
sub esp, 4
push 1
push dword [esp + 0xc]
mov eax, dword [esp + 0x28]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
add esp, 4
mov ebx, eax
and ebx, ebx
jne 0x41e5dd
mov dword [esp + 0x20], 1
mov eax, dword [esp + 0x1c]
push eax
mov eax, dword [eax]
call dword [eax + 8]
mov eax, dword [esp + 0x18]
push eax
mov eax, dword [eax]
call dword [eax + 8]
call sub.ole32.dll_CoUninitialize
mov eax, dword [esp + 0x20]
jmp 0x41e5fe
push dword [esp + 8]
call fcn.004750b0
push dword [esp + 0xc]
call fcn.004750b0
push dword [esp]
call fcn.004750b0
push dword [esp + 4]
call fcn.004750b0
push dword [esp + 0x10]
call fcn.004750b0
push dword [esp + 0x14]
call fcn.004750b0
add esp, 0x24
pop ebx
pop ebp
ret 0x20