joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002bbb0
Capabilities:
Link many functions at runtime
Query environment variable

Disassembly:
sub esp, 0x108
mov eax, dword [0x1005e3c8]
xor eax, esp
mov dword [esp + 0x104], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x103
lea eax, [esp + 0x11]
push ebx
push eax
mov byte [esp + 0x18], bl
call sub.MSVCR80.dll_memset
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
add esp, 0xc
push 8
push ebx
push str.kdfdec.dll
call edi
mov esi, eax
test esi, esi
jne 0x1002bc6f
push 0x104
lea ecx, [esp + 0x10]
push ecx
push str.UserProfile
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
lea eax, [esp + 0xc]
add eax, 0xffffffff
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x1002bc12
mov edx, dword [str.kdfdec.dll]
mov ecx, dword [0x1004dda8]
mov dword [eax], edx
mov dx, word [0x1004ddac]
mov dword [eax + 4], ecx
mov cl, byte [0x1004ddae]
push 8
mov word [eax + 8], dx
push 0
lea edx, [esp + 0x14]
push edx
mov byte [eax + 0xa], cl
call edi
mov esi, eax
test esi, esi
jne 0x1002bc6f
pop edi
pop esi
mov eax, 0x4e21
pop ebx
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.10041218
add esp, 0x108
ret
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.kdfDecCreateContext
push esi
call edi
test eax, eax
jne 0x1002bc88
mov ebx, 0x4e22
jmp 0x1002bccb
push str.kdfDecSetPrivateKeyPEMA
push esi
call edi
test eax, eax
jne 0x1002bc9b
mov ebx, 0x4e23
jmp 0x1002bccb
push str.kdfDecSetDecryptionInfoA
push esi
call edi
test eax, eax
jne 0x1002bcae
mov ebx, 0x4e24
jmp 0x1002bccb
push str.kdfDecDecryptExA
push esi
call edi
test eax, eax
je 0x1002bcc6
push str.kdfDecDestroyContext
push esi
call edi
test eax, eax
jne 0x1002bccb
mov ebx, 0x4e25
test esi, esi
je 0x1002bcd6
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0x110]
pop edi
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.10041218
add esp, 0x108
ret
Function at 0x1002bf30
Capabilities:
Get common file path
Get program files directory

Disassembly:
sub esp, 0x108
mov eax, dword [0x1005e3c8]
xor eax, esp
mov dword [esp + 0x104], eax
push ebx
push esi
push edi
push 0x103
lea eax, [esp + 0x11]
push 0
push eax
mov ebx, ecx
mov byte [esp + 0x18], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0
push 0x26
lea ecx, [esp + 0x14]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea edi, [esp + 0xc]
add edi, 0xffffffff
lea ebx, [ebx]
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x1002bf80
mov ecx, 0xb
mov esi, str.SoftForumXecureWebNPPlugindllKTBDLL.dll
rep movsd dword es:[edi], dword [esi]
push 8
push 0
lea edx, [esp + 0x14]
push edx
movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
test eax, eax
mov dword [ebx + 0xc], eax
jne 0x1002bfc8
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.10041218
add esp, 0x108
ret
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.Initialize_DLL
push eax
call esi
mov dword [ebx], eax
mov eax, dword [ebx + 0xc]
push str.GetScanResultsSumLen
push eax
call esi
mov ecx, dword [ebx + 0xc]
push str.GetScanResultsSum
push ecx
mov dword [ebx + 4], eax
call esi
mov ecx, dword [esp + 0x110]
pop edi
mov dword [ebx + 8], eax
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.10041218
add esp, 0x108
ret

Function at 0x1002c010
Capabilities:
Get common file path
Get program files directory

Disassembly:
sub esp, 0x108
mov eax, dword [0x1005e3c8]
xor eax, esp
mov dword [esp + 0x104], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x103
lea eax, [esp + 0x11]
push ebx
push eax
mov byte [esp + 0x18], bl
call sub.MSVCR80.dll_memset
add esp, 0xc
push ebx
push 0x26
lea ecx, [esp + 0x14]
push ecx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea edi, [esp + 0xc]
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
cmp al, bl
jne 0x1002c056
mov ecx, 0xb
mov esi, str.SoftForumXecureWebNPPlugindllKTBDLL.dll
rep movsd dword es:[edi], dword [esi]
push 8
push ebx
lea edx, [esp + 0x14]
push edx
movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov esi, eax
cmp esi, ebx
jne 0x1002c09c
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.10041218
add esp, 0x108
ret
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.Initialize_DLL
push esi
call edi
test eax, eax
jne 0x1002c0b3
lea ebx, [eax - 0xb]
jmp 0x1002c0d3
push str.GetScanResultsSumLen
push esi
call edi
test eax, eax
jne 0x1002c0c4
lea ebx, [eax - 0xc]
jmp 0x1002c0d3
push str.GetScanResultsSum
push esi
call edi
test eax, eax
jne 0x1002c0d3
lea ebx, [eax - 0xd]
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0x110]
pop edi
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.10041218
add esp, 0x108
ret
Function at 0x1002c420
Capabilities:
Get common file path
Get program files directory

Disassembly:
sub esp, 0x1d4
mov eax, dword [0x1005e3c8]
xor eax, esp
mov dword [esp + 0x1d0], eax
mov eax, dword [esp + 0x1d8]
mov ecx, dword [esp + 0x1e0]
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push 0x103
lea edx, [esp + 0xe1]
push ebx
push edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
mov byte [esp + 0xe8], bl
call sub.MSVCR80.dll_memset
xor eax, eax
push 0x98
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x44]
push ebx
push eax
mov dword [esp + 0x48], ebx
call sub.MSVCR80.dll_memset
add esp, 0x18
push ebx
push 0x26
lea ecx, [esp + 0xe4]
push ecx
push ebx
or ebp, 0xffffffff
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xe0], ebx
mov dword [esp + 0xe4], ebx
mov dword [esp + 0x28], 0x1002c3f0
mov dword [esp + 0x30], 0x1002c3e0
mov dword [esp + 0x2c], 0x1002c400
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea edi, [esp + 0xdc]
add edi, ebp
mov al, byte [edi + 1]
add edi, 1
cmp al, bl
jne 0x1002c4e2
mov ecx, 0xa
mov esi, str.SoftForumXecureWebAnySigndllZip32.dll
rep movsd dword es:[edi], dword [esi]
push 8
movsw word es:[edi], word [esi]
push ebx
lea edx, [esp + 0xe4]
push edx
movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov edi, eax
cmp edi, ebx
je 0x1002c64c
push str.ZpArchive
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.ZpInit
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, ebx
je 0x1002c645
cmp eax, ebx
je 0x1002c645
lea ecx, [esp + 0x18]
push ecx
call eax
test eax, eax
je 0x1002c645
mov ecx, dword [esp + 0x1ec]
lea edx, [esp + 0x30]
push edx
mov edx, dword [esp + 0x14]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], 1
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xd8], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xd0], ebx
mov byte [esp + 0xdc], bl
mov dword [eax + 0xc], ebx
call esi
mov ebp, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0x1e0]
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
xor ecx, esp
call fcn.10041218
add esp, 0x1d4
ret
Function at 0x1002c670
Capabilities:
Get common file path
Get program files directory

Disassembly:
sub esp, 0x1a4
mov eax, dword [0x1005e3c8]
xor eax, esp
mov dword [esp + 0x1a0], eax
mov eax, dword [esp + 0x1a8]
mov ecx, dword [esp + 0x1ac]
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push 0x103
lea edx, [esp + 0xb1]
push ebx
push edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
mov byte [esp + 0xb8], bl
call sub.MSVCR80.dll_memset
push 0x50
lea eax, [esp + 0x2c]
push ebx
push eax
mov dword [esp + 0x30], ebx
call sub.MSVCR80.dll_memset
push 0x3c
lea ecx, [esp + 0x8c]
push ebx
push ecx
call sub.MSVCR80.dll_memset
add esp, 0x24
push ebx
push 0x26
lea edx, [esp + 0xb4]
push edx
push ebx
or ebp, 0xffffffff
mov dword [esp + 0x88], 0x1002c3e0
mov dword [esp + 0x7c], 0x1002c3f0
mov dword [esp + 0x84], 0x1002c410
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea edi, [esp + 0xac]
add edi, ebp
lea ebx, [ebx]
mov al, byte [edi + 1]
add edi, 1
cmp al, bl
jne 0x1002c720
mov ecx, 0xb
mov esi, str.SoftForumXecureWebAnySigndllUnzip32.dll
rep movsd dword es:[edi], dword [esi]
push 8
push ebx
lea eax, [esp + 0xb4]
push eax
movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov esi, eax
cmp esi, ebx
je 0x1002c7dc
push str.Wiz_SingleEntryUnzip
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x1002c7d5
mov edx, dword [esp + 0x10]
mov ecx, 1
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x64], ecx
lea ecx, [esp + 0x6c]
push ecx
mov dword [esp + 0x6c], edx
lea edx, [esp + 0x1c]
push edx
push ebx
push ebx
push ebx
push ebx
mov dword [esp + 0x30], 0x600
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call eax
mov ebp, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0x1b0]
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
xor ecx, esp
call fcn.10041218
add esp, 0x1a4
ret
Function at 0x1002c810
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x108
mov eax, dword [0x1005e3c8]
xor eax, esp
mov dword [esp + 0x104], eax
push esi
push edi
push 0x103
lea eax, [esp + 0xd]
push 0
push eax
mov esi, ecx
mov byte [esp + 0x14], 0
call sub.MSVCR80.dll_memset
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
add esp, 0xc
push 8
push 0
push str.ezkcrypt.dll
call edi
test eax, eax
mov dword [esi + 8], eax
jne 0x1002c8d0
push 0x104
lea ecx, [esp + 0xc]
push ecx
push str.UserProfile
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
lea eax, [esp + 8]
add eax, 0xffffffff
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x1002c875
mov edx, dword [str.ezkcrypt.dll]
mov ecx, dword [0x1004deb8]
mov dword [eax], edx
mov edx, dword [0x1004debc]
mov dword [eax + 4], ecx
mov cl, byte [0x1004dec0]
push 8
mov dword [eax + 8], edx
push 0
lea edx, [esp + 0x10]
push edx
mov byte [eax + 0xc], cl
call edi
test eax, eax
mov dword [esi + 8], eax
jne 0x1002c8d0
pop edi
mov eax, 0x7531
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.10041218
add esp, 0x108
ret
mov eax, dword [esi + 8]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.decrypt
push eax
call edi
mov ecx, dword [esi + 8]
push str.freeStr
push ecx
mov dword [esi], eax
call edi
mov ecx, dword [esp + 0x10c]
mov dword [esi + 4], eax
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.10041218
add esp, 0x108
ret
xor eax, eax
cmp dword [ecx + 8], eax
jne 0x1002c91c
jmp 0x1002c810
ret

Function at 0x1002c910
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x108
mov eax, dword [0x1005e3c8]
xor eax, esp
mov dword [esp + 0x104], eax
push esi
push edi
push 0x103
lea eax, [esp + 0xd]
push 0
push eax
mov esi, ecx
mov byte [esp + 0x14], 0
call sub.MSVCR80.dll_memset
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
add esp, 0xc
push 8
push 0
push str.ezkcrypt.dll
call edi
test eax, eax
mov dword [esi + 8], eax
jne 0x1002c8d0
push 0x104
lea ecx, [esp + 0xc]
push ecx
push str.UserProfile
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
lea eax, [esp + 8]
add eax, 0xffffffff
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x1002c875
mov edx, dword [str.ezkcrypt.dll]
mov ecx, dword [0x1004deb8]
mov dword [eax], edx
mov edx, dword [0x1004debc]
mov dword [eax + 4], ecx
mov cl, byte [0x1004dec0]
push 8
mov dword [eax + 8], edx
push 0
lea edx, [esp + 0x10]
push edx
mov byte [eax + 0xc], cl
call edi
test eax, eax
mov dword [esi + 8], eax
jne 0x1002c8d0
pop edi
mov eax, 0x7531
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.10041218
add esp, 0x108
ret
mov eax, dword [esi + 8]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.decrypt
push eax
call edi
mov ecx, dword [esi + 8]
push str.freeStr
push ecx
mov dword [esi], eax
call edi
mov ecx, dword [esp + 0x10c]
mov dword [esi + 4], eax
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.10041218
add esp, 0x108
ret
xor eax, eax
cmp dword [ecx + 8], eax
jne 0x1002c91c
jmp 0x1002c810
ret
Function at 0x1002c920
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x108
mov eax, dword [0x1005e3c8]
xor eax, esp
mov dword [esp + 0x104], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x103
lea eax, [esp + 0x11]
push ebx
push eax
mov byte [esp + 0x18], bl
call sub.MSVCR80.dll_memset
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
add esp, 0xc
push 8
push ebx
push str.ezkcrypt.dll
call edi
mov esi, eax
test esi, esi
jne 0x1002c9dd
push 0x104
lea ecx, [esp + 0x10]
push ecx
push str.UserProfile
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
lea eax, [esp + 0xc]
add eax, 0xffffffff
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x1002c982
mov edx, dword [str.ezkcrypt.dll]
mov ecx, dword [0x1004deb8]
mov dword [eax], edx
mov edx, dword [0x1004debc]
mov dword [eax + 4], ecx
mov cl, byte [0x1004dec0]
push 8
mov dword [eax + 8], edx
push 0
lea edx, [esp + 0x14]
push edx
mov byte [eax + 0xc], cl
call edi
mov esi, eax
test esi, esi
jne 0x1002c9dd
pop edi
pop esi
mov eax, 0x7531
pop ebx
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.10041218
add esp, 0x108
ret
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.decrypt
push esi
call edi
test eax, eax
je 0x1002c9fb
push str.freeStr
push esi
call edi
test eax, eax
jne 0x1002ca00
mov ebx, 0x7532
test esi, esi
je 0x1002ca0b
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0x110]
pop edi
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.10041218
add esp, 0x108
ret
Function at 0x1002cbd0
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x108
mov eax, dword [0x1005e3c8]
xor eax, esp
mov dword [esp + 0x104], eax
push ebx
push esi
push edi
push 0x103
lea eax, [esp + 0x11]
push 0
push eax
mov ebx, ecx
mov byte [esp + 0x18], 0
call sub.MSVCR80.dll_memset
mov esi, dword [sym.imp.MSVCR80.dll_getenv]
push str.USERPROFILE
call esi
add esp, 0x10
test eax, eax
je 0x1002cc33
mov edx, eax
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1002cc15
lea edi, [esp + 0xc]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x1002cc27
jmp 0x1002cc9d
push str.HOMEPATH
call esi
mov edi, eax
add esp, 4
test edi, edi
jne 0x1002cc5d
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.10041218
add esp, 0x108
ret
push str.HOMEDRIVE
call esi
add esp, 4
test eax, eax
je 0x1002cc43
lea edx, [esp + 0xc]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x1002cc71
mov eax, edi
mov edx, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1002cc81
lea edi, [esp + 0xc]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x1002cc93
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [ebx + 0x58]
call dword [sym.imp.XecureMacuxCSM.dll_public:_char____thiscall_XWClientSM::encodePathString_char_const__]
mov esi, eax
push esi
call dword [sym.imp.MSVCR80.dll__strdup]
push esi
mov edi, eax
call dword [sym.imp.MSVCR80.dll_free]
mov ecx, dword [esp + 0x118]
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10041218
add esp, 0x108
ret

Function at 0x1002ccf0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
sub esp, 0x230
mov eax, dword [0x1005e3c8]
xor eax, esp
mov dword [esp + 0x22c], eax
push ebx
push esi
push edi
push 0
push 0xf
mov dword [esp + 0x14], 0x22c
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
lea eax, [esp + 0xc]
push eax
push ebx
call sub.KERNEL32.dll_Process32FirstW
mov esi, dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea ecx, [esp + 0x30]
mov eax, str.AnyFCMSViewer.exe
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1002cd66
test dx, dx
je 0x1002cd62
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1002cd66
add eax, 4
add ecx, 4
test dx, dx
jne 0x1002cd40
xor eax, eax
jmp 0x1002cd6b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1002cd89
mov ecx, dword [esp + 0x14]
push ecx
push eax
push 0x21f0fff
call esi
test eax, eax
je 0x1002cd9f
push 0
push eax
call edi
test eax, eax
je 0x1002cd9f
lea edx, [esp + 0xc]
push edx
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1002cd31
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x238]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.10041218
add esp, 0x230
ret
Function at 0x1002cea0
Capabilities:
Delete file

Disassembly:
sub esp, 8
push esi
mov esi, dword [esp + 0x14]
mov eax, esi
push edi
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
lea edi, [eax + 1]
mov edi, edi
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x1002cec0
sub eax, edi
push eax
push esi
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x14]
push edx
push eax
call sym.NativeMng.dll_public:_int___thiscall_NativeFCMSWrapper::XMF_MultiByteToWideChar_unsigned_int__wchar_t____int___char___int_
test eax, eax
je 0x1002cef0
pop edi
or eax, 0xffffffff
pop esi
add esp, 8
ret 8
mov esi, dword [esp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test esi, esi
je 0x1002cf09
push esi
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
pop edi
xor eax, eax
pop esi
add esp, 8
ret 8

Function at 0x1002cf20
Capabilities:
Move file

Disassembly:
sub esp, 0x10
mov edx, dword [esp + 0x18]
push ebx
xor ebx, ebx
push esi
mov eax, edx
push edi
mov esi, ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
lea edi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1002cf43
sub eax, edi
mov edi, dword [esp + 0x20]
push eax
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
push ecx
push edi
mov ecx, esi
call sym.NativeMng.dll_public:_int___thiscall_NativeFCMSWrapper::XMF_MultiByteToWideChar_unsigned_int__wchar_t____int___char___int_
test eax, eax
je 0x1002cf76
pop edi
pop esi
or eax, 0xffffffff
pop ebx
add esp, 0x10
ret 0xc
mov edx, dword [esp + 0x28]
mov eax, edx
push ebp
lea ebp, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1002cf80
sub eax, ebp
push eax
push edx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x20]
push eax
push edi
mov ecx, esi
call sym.NativeMng.dll_public:_int___thiscall_NativeFCMSWrapper::XMF_MultiByteToWideChar_unsigned_int__wchar_t____int___char___int_
test eax, eax
je 0x1002cfc2
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x1002cfb5
push eax
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
pop ebp
pop edi
pop esi
or eax, 0xffffffff
pop ebx
add esp, 0x10
ret 0xc
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
push edi
push esi
call dword [sym.imp.MSVCR80.dll__wrename]
add esp, 8
cmp esi, ebx
mov ebx, dword [sym.imp.MSVCR80.dll_free]
mov ebp, eax
je 0x1002cfe7
push esi
call ebx
add esp, 4
test edi, edi
je 0x1002cff1
push edi
call ebx
add esp, 4
mov eax, ebp
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x10
ret 0xc
Function at 0x1002d9c0
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x52c
mov eax, dword [0x1005e3c8]
xor eax, esp
mov dword [esp + 0x528], eax
push ebx
push esi
mov esi, dword [esp + 0x538]
xor ebx, ebx
push 0x104
lea eax, [esp + 0xd]
push ebx
push eax
mov byte [esp + 0x14], bl
call sub.MSVCR80.dll_memset
push 0x104
lea ecx, [esp + 0x121]
push ebx
push ecx
mov byte [esp + 0x128], bl
call sub.MSVCR80.dll_memset
push 0x104
lea edx, [esp + 0x235]
push ebx
push edx
mov byte [esp + 0x23c], bl
call sub.MSVCR80.dll_memset
push 0x104
lea eax, [esp + 0x349]
push ebx
push eax
mov byte [esp + 0x350], bl
call sub.MSVCR80.dll_memset
push 0x104
lea ecx, [esp + 0x45d]
push ebx
push ecx
mov byte [esp + 0x464], bl
call sub.MSVCR80.dll_memset
add esp, 0x3c
cmp dword [esi + 0x14], ebx
jne 0x1002da6b
or eax, 0xffffffff
jmp 0x1002db79
cmp dword [esi + 0x18], 0x10
jb 0x1002da76
mov esi, dword [esi + 4]
jmp 0x1002da79
add esi, 4
push 0x104
lea edx, [esp + 0xc]
push esi
push edx
call dword [sym.imp.MSVCR80.dll__fullpath]
add esp, 0xc
test eax, eax
je 0x1002da63
mov esi, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
push edi
push 0x105
lea eax, [esp + 0x328]
push eax
push str.AppData
call esi
mov edi, dword [sym.imp.MSVCR80.dll_sprintf_s]
lea ecx, [esp + 0x324]
push ecx
push str._sMicrosoftWindowsStart_MenuProgramsStartup
lea edx, [esp + 0x11c]
push 0x104
push edx
call edi
lea eax, [esp + 0x124]
add esp, 0x10
lea edx, [eax + 1]
jmp 0x1002dae0
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x1002dae0
push ebp
mov ebp, dword [sym.imp.MSVCR80.dll__strnicmp]
sub eax, edx
push eax
lea eax, [esp + 0x11c]
push eax
lea ecx, [esp + 0x18]
push ecx
call ebp
add esp, 0xc
test eax, eax
jne 0x1002db0e
or eax, 0xffffffff
jmp 0x1002db77
push 0x105
lea edx, [esp + 0x434]
push edx
push str.ProgramData
call esi
lea eax, [esp + 0x430]
push eax
push str._sMicrosoftWindowsStart_MenuProgramsStartup
lea ecx, [esp + 0x228]
push 0x104
push ecx
call edi
lea eax, [esp + 0x230]
add esp, 0x10
lea edx, [eax + 1]
jmp 0x1002db50
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x1002db50
sub eax, edx
push eax
lea edx, [esp + 0x224]
push edx
lea eax, [esp + 0x18]
push eax
call ebp
add esp, 0xc
neg eax
sbb eax, eax
neg eax
sub eax, 1
pop ebp
pop edi
mov ecx, dword [esp + 0x530]
pop esi
pop ebx
xor ecx, esp
call fcn.10041218
add esp, 0x52c
ret 4
Function at 0x1002dba0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x320
mov eax, dword [0x1005e3c8]
xor eax, esp
mov dword [esp + 0x31c], eax
push esi
mov esi, dword [esp + 0x328]
push 0x104
lea eax, [esp + 0x21d]
push 0
push eax
mov byte [esp + 0x224], 0
call sub.MSVCR80.dll_memset
push 0x104
lea ecx, [esp + 0x121]
push 0
push ecx
mov byte [esp + 0x128], 0
call sub.MSVCR80.dll_memset
push 0x104
lea edx, [esp + 0x25]
push 0
push edx
mov byte [esp + 0x2c], 0
call sub.MSVCR80.dll_memset
add esp, 0x24
cmp dword [esi + 0x14], 0
jne 0x1002dc2e
or eax, 0xffffffff
pop esi
mov ecx, dword [esp + 0x31c]
xor ecx, esp
call fcn.10041218
add esp, 0x320
ret 4
push 0x104
lea eax, [esp + 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x104
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryA]
cmp dword [esi + 0x18], 0x10
jb 0x1002dc5c
mov esi, dword [esi + 4]
jmp 0x1002dc5f
add esi, 4
push 0x104
lea edx, [esp + 0x21c]
push esi
push edx
call dword [sym.imp.MSVCR80.dll__fullpath]
add esp, 0xc
test eax, eax
je 0x1002dc13
lea eax, [esp + 0x110]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1002dc84
mov esi, dword [sym.imp.MSVCR80.dll__strnicmp]
sub eax, edx
push eax
lea eax, [esp + 0x114]
push eax
lea ecx, [esp + 0x220]
push ecx
call esi
add esp, 0xc
test eax, eax
je 0x1002dc13
lea eax, [esp + 8]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1002dcc0
sub eax, edx
je 0x1002dcfa
lea eax, [esp + 8]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1002dcd4
sub eax, edx
push eax
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x220]
push eax
call esi
add esp, 0xc
test eax, eax
je 0x1002dc13
mov ecx, dword [esp + 0x320]
pop esi
xor ecx, esp
xor eax, eax
call fcn.10041218
add esp, 0x320
ret 4