joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1e00557b
Capabilities:
Copy file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
cmp dword [0x1e02e544], 0
mov eax, dword [0x1e02e028]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], eax
je 0x1e0055db
cmp word [edi], 0x7c
je 0x1e0055db
push esi
call dword [sym.imp.msvcrt.dll_wcslen]
pop ecx
lea ecx, [eax + eax + 2]
mov eax, 0x105
cmp ecx, eax
ja 0x1e0055db
push eax
lea eax, [ebp - 0x210]
push eax
call sym.MIGISM.dll_IsmGetTempFile
push 0
lea eax, [ebp - 0x210]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x1e0055df
xor eax, eax
jmp 0x1e00561a
push 0
push 0
lea eax, [ebp - 0x210]
push eax
push dword [0x1e032be8]
call fcn.1e01f908
push edi
push 0x1e0016b8
call sym.MIGISM.dll_TrackedIsmCreateObjectHandle
mov esi, eax
push 1
lea eax, [ebp - 0x210]
push eax
push esi
call fcn.1e00f18f
push esi
call fcn.1e01fe88
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
call fcn.1e01abd2
leave
ret 8

Function at 0x1e0056e6
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x1e02e028]
push edi
xor edi, edi
cmp dword [0x1e02e568], edi
mov dword [ebp - 4], eax
je 0x1e005708
xor eax, eax
jmp 0x1e00577d
mov eax, dword [0x1e02e558]
cmp eax, edi
je 0x1e005718
push eax
push edi
call fcn.1e01c0cf
cmp dword [ebp + 8], edi
je 0x1e005750
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x1e00577a
push edi
push 0x1e0016cc
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.1e01e6b4
add esp, 0x10
mov dword [0x1e02e558], eax
jmp 0x1e00577a
push esi
call fcn.1e017ae1
mov esi, eax
cmp esi, edi
je 0x1e005779
push edi
push 0x1e0016cc
push dword [esi + 0xc]
push edi
call fcn.1e01e6b4
add esp, 0x10
push esi
mov dword [0x1e02e558], eax
call fcn.1e01763c
pop esi
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
call fcn.1e01abd2
leave
ret 4
Function at 0x1e0057ed
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x84c
mov eax, dword [0x1e02e028]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x844], eax
mov eax, dword [ebp + 0x10]
push ebx
mov dword [ebp - 0x84c], eax
mov eax, dword [ebp + 0x14]
xor ebx, ebx
cmp dword [0x1e02e564], ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x848], eax
jne 0x1e0059cd
cmp dword [0x1e02e558], ebx
je 0x1e0059cd
mov eax, dword [0x1e02e560]
cmp eax, ebx
je 0x1e0059cd
lea ecx, [ebp - 0x840]
push ecx
push eax
call fcn.1e01b7b4
test eax, eax
je 0x1e0059cd
cmp dword [ebp - 0x840], 8
jne 0x1e00586d
cmp dword [ebp - 0x83c], ebx
je 0x1e005883
push ebx
push 8
push dword [0x1e02e560]
call fcn.1e01b644
test eax, eax
je 0x1e0059cd
push edi
xor eax, eax
push 0x41
pop edx
mov ecx, edx
lea edi, [ebp - 0x210]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
xor eax, eax
mov ecx, edx
lea edi, [ebp - 0x628]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
xor eax, eax
mov ecx, edx
lea edi, [ebp - 0x834]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
xor eax, eax
cmp esi, ebx
mov ecx, edx
lea edi, [ebp - 0x41c]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov edi, 0x20a
je 0x1e0058d2
push edi
push esi
lea eax, [ebp - 0x210]
push eax
call fcn.1e01bcd3
cmp dword [ebp - 0x844], ebx
je 0x1e0058ed
push edi
push dword [ebp - 0x844]
lea eax, [ebp - 0x628]
push eax
call fcn.1e01bcd3
cmp dword [ebp - 0x84c], ebx
je 0x1e005908
push edi
push dword [ebp - 0x84c]
lea eax, [ebp - 0x834]
push eax
call fcn.1e01bcd3
cmp dword [ebp - 0x848], ebx
je 0x1e005923
push edi
push dword [ebp - 0x848]
lea eax, [ebp - 0x41c]
push eax
call fcn.1e01bcd3
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
lea eax, [ebp - 0x838]
push eax
mov edi, 0x105
push edi
lea eax, [ebp - 0x210]
push eax
push dword [0x1e02e560]
call esi
push ebx
lea eax, [ebp - 0x838]
push eax
push edi
lea eax, [ebp - 0x628]
push eax
push dword [0x1e02e560]
call esi
push ebx
lea eax, [ebp - 0x838]
push eax
push edi
lea eax, [ebp - 0x834]
push eax
push dword [0x1e02e560]
call esi
push ebx
lea eax, [ebp - 0x838]
push eax
push edi
lea eax, [ebp - 0x41c]
push eax
push dword [0x1e02e560]
call esi
push ebx
lea eax, [ebp - 0x838]
push eax
push 4
lea eax, [ebp + 0x18]
push eax
push dword [0x1e02e560]
call esi
cmp dword [ebp - 0x840], 8
pop edi
jne 0x1e0059b6
cmp dword [ebp - 0x83c], ebx
je 0x1e0059cd
push dword [ebp - 0x83c]
push dword [ebp - 0x840]
push dword [0x1e02e560]
call fcn.1e01b644
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.1e01abd2
leave
ret 0x14
Function at 0x1e0063ce
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14c
cmp dword [ebp + 8], 0x10000000
mov eax, dword [0x1e02e028]
mov dword [ebp - 4], eax
jne 0x1e00641e
call fcn.1e0112c4
test eax, eax
jne 0x1e00641e
push dword [0x1e0331f8]
call sub.LOG.dll_LogBegin
push 5
push 0x3ec
push 0x1e0016f4
call sub.LOG.dll_LogW
add esp, 0xc
call sub.LOG.dll_LogEnd
xor eax, eax
jmp 0x1e0065fe
push esi
push edi
push 0x45
pop ecx
xor eax, eax
push 7
lea edi, [ebp - 0x130]
rep stosd dword es:[edi], eax
pop ecx
lea edi, [ebp - 0x14c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x130]
push eax
mov dword [ebp - 0x130], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1e0065bf
mov esi, dword [ebp - 0x128]
xor eax, eax
push ebx
inc eax
cmp dword [ebp - 0x120], eax
push 4
pop edx
jne 0x1e0064d7
cmp dword [ebp - 0x12c], edx
mov dword [ebp - 0x14c], eax
jne 0x1e006526
test esi, esi
jne 0x1e0064a8
xor ebx, ebx
cmp word [ebp - 0x124], 0x457
mov dword [ebp - 0x144], eax
jb 0x1e00652c
mov dword [ebp - 0x144], 2
jmp 0x1e00652c
cmp esi, 0xa
jne 0x1e0064c8
xor ebx, ebx
cmp word [ebp - 0x124], 0x8ae
mov dword [ebp - 0x144], 3
jb 0x1e00652c
mov ebx, eax
jmp 0x1e00652c
cmp esi, 0x5a
jne 0x1e006526
mov dword [ebp - 0x144], edx
xor ebx, ebx
jmp 0x1e0064dd
mov ebx, dword [ebp - 0x13c]
push 2
pop ecx
cmp dword [ebp - 0x120], ecx
jne 0x1e00652c
cmp dword [ebp - 0x12c], edx
mov dword [ebp - 0x14c], ecx
jne 0x1e0064fe
mov dword [ebp - 0x144], eax
mov ebx, esi
cmp dword [ebp - 0x12c], 5
jne 0x1e00650f
mov dword [ebp - 0x144], ecx
mov ebx, esi
cmp dword [ebp - 0x12c], 6
jne 0x1e00652c
mov dword [ebp - 0x144], 3
mov ebx, esi
jmp 0x1e00652c
mov ebx, dword [ebp - 0x13c]
push dword [ebp - 0x14c]
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
mov edi, 0x1e0014e8
lea eax, [ebp - 0x1c]
push edi
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
push 0x1e001884
push 0
push dword [ebp + 8]
call sym.MIGISM.dll_IsmSetEnvironmentString
push dword [ebp - 0x144]
lea eax, [ebp - 0x1c]
push edi
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
push 0x1e00185c
push 0
push dword [ebp + 8]
call sym.MIGISM.dll_IsmSetEnvironmentString
push ebx
lea eax, [ebp - 0x1c]
push edi
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
push 0x1e00183c
push 0
push dword [ebp + 8]
call sym.MIGISM.dll_IsmSetEnvironmentString
push dword [ebp - 0x124]
lea eax, [ebp - 0x1c]
push edi
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
push 0x1e00181c
push 0
push dword [ebp + 8]
call sym.MIGISM.dll_IsmSetEnvironmentString
pop ebx
mov edi, dword [ebp + 8]
cmp edi, 0x10000000
jne 0x1e0065f3
push 0
push 0x1e02e578
call sym.MIGISM.dll_TrackedIsmCreateObjectHandle
mov esi, eax
test esi, esi
je 0x1e0065f3
push esi
push 0x1e0016ac
call sym.MIGISM.dll_IsmGetObjectTypeId
push eax
call sym.MIGISM.dll_IsmRegisterStaticExclusion
push esi
call fcn.1e01fe88
mov dword [0x1e02e544], edi
xor eax, eax
pop edi
inc eax
pop esi
mov ecx, dword [ebp - 4]
call fcn.1e01abd2
leave
ret 4
Function at 0x1e007e0d
Capabilities:
Delete file

Disassembly:
push 0x21c
push 0x1e0019a0
call fcn.1e01ae8c
mov eax, dword [0x1e02e028]
mov dword [ebp - 0x1c], eax
xor edi, edi
mov dword [ebp - 0x22c], edi
call fcn.1e002bd4
test eax, eax
jne 0x1e008013
mov eax, dword [0x1e032bd8]
cmp eax, edi
je 0x1e007ff2
cmp dword [eax + 0x44], edi
je 0x1e007ff2
mov dword [ebp - 4], edi
xor esi, esi
inc esi
mov dword [0x1e02e56c], esi
push 0x104
lea eax, [ebp - 0x224]
push eax
call sym.MIGISM.dll_IsmGetTempFile
test eax, eax
jne 0x1e007e8e
push dword [0x1e0331f8]
call sub.LOG.dll_LogBegin
push 0x3f0
push 0x1e0016f4
call sub.LOG.dll_LogW
pop ecx
pop ecx
jmp 0x1e007ec0
mov eax, dword [0x1e02e554]
dec eax
je 0x1e007fa9
dec eax
je 0x1e007eca
push dword [0x1e0331f8]
call sub.LOG.dll_LogBegin
push dword [0x1e02e554]
push 0x3ef
push 0x1e0016f4
call sub.LOG.dll_LogW
add esp, 0xc
call sub.LOG.dll_LogEnd
jmp 0x1e007f6f
push edi
push 0x1e001940
call sym.MIGISM.dll_TrackedIsmCreateObjectHandle
mov dword [ebp - 0x228], eax
push esi
lea eax, [ebp - 0x224]
push eax
push dword [ebp - 0x228]
call fcn.1e00f18f
push dword [ebp - 0x228]
call sym.MIGISM.dll_IsmDestroyObjectHandle
call fcn.1e003824
lea eax, [ebp - 0x224]
push eax
call fcn.1e023617
test eax, eax
je 0x1e007e70
call fcn.1e0136d5
mov dword [0x1e032ba8], esi
mov dword [0x1e032bc8], edi
mov eax, dword [0x1e032bd8]
mov eax, dword [eax + 0x40]
cmp eax, edi
je 0x1e007f37
push dword [0x1e02e544]
call eax
push esi
call fcn.1e00520d
mov eax, dword [0x1e032bd8]
call dword [eax + 0x24]
mov dword [ebp - 0x22c], eax
cmp eax, edi
je 0x1e007f5c
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 3
call fcn.1e00520d
mov dword [0x1e032ba8], edi
mov dword [0x1e032bc8], edi
or dword [ebp - 4], 0xffffffff
call fcn.1e007feb
cmp dword [ebp - 0x22c], edi
jne 0x1e007fa1
push dword [0x1e0331f8]
call sub.LOG.dll_LogBegin
push 0x41e
push 0x1e0016f4
call sub.LOG.dll_LogW
pop ecx
pop ecx
call sub.LOG.dll_LogEnd
mov eax, dword [ebp - 0x22c]
jmp 0x1e008015
push edi
push 0x1e001904
call sym.MIGISM.dll_TrackedIsmCreateObjectHandle
mov dword [ebp - 0x228], eax
push esi
lea eax, [ebp - 0x224]
push eax
push dword [ebp - 0x228]
call fcn.1e00f18f
push dword [ebp - 0x228]
call sym.MIGISM.dll_IsmDestroyObjectHandle
lea eax, [ebp - 0x224]
push eax
call fcn.1e0038d9
jmp 0x1e007f0a
push dword [0x1e0331f8]
call sub.LOG.dll_LogBegin
push 0x3ee
push 0x1e0016f4
call sub.LOG.dll_LogW
pop ecx
pop ecx
call sub.LOG.dll_LogEnd
xor eax, eax
mov ecx, dword [ebp - 0x1c]
call fcn.1e01abd2
call fcn.1e01aec7
ret
Function at 0x1e00c912
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x260
mov eax, dword [0x1e02e028]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 1
xor ebx, ebx
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x260]
push eax
push esi
mov dword [ebp - 0x260], ebx
mov dword [ebp - 0x258], ebx
mov dword [ebp - 0x25c], ebx
call fcn.1e01ffb0
push ebx
push dword [ebp - 0x258]
push dword [ebp - 0x260]
push ebx
call fcn.1e01e6b4
add esp, 0x10
mov edi, eax
push edi
call fcn.1e00c806
test eax, eax
je 0x1e00c984
mov dword [ebp - 0x25c], 1
jmp 0x1e00ca03
lea eax, [ebp - 0x254]
push eax
push edi
call fcn.1e01b304
test eax, eax
je 0x1e00c9fb
test byte [ebp - 0x254], 0x10
je 0x1e00c9b5
push esi
push dword [0x1e02ea18]
push 2
call sym.MIGISM.dll_IsmRecordOperation
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x1e00c9da
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x1e00c9e2
push esi
push dword [0x1e02ea18]
push 2
call sym.MIGISM.dll_IsmRecordOperation
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x25c], eax
jmp 0x1e00ca03
call fcn.1e01c0f8
push dword [ebp - 0x254]
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
call fcn.1e01c120
jmp 0x1e00ca03
push 2
call dword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.1e01c0f8
push edi
push ebx
call fcn.1e01c0cf
push dword [ebp - 0x260]
call fcn.1e01fe88
push dword [ebp - 0x258]
mov dword [ebp - 0x260], ebx
call fcn.1e01fe88
mov dword [ebp - 0x258], ebx
call fcn.1e01c120
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x25c]
pop edi
pop esi
pop ebx
call fcn.1e01abd2
leave
ret 4
Function at 0x1e00ca50
Capabilities:
Create directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0
push dword [ebp + 8]
mov dword [ebp - 4], 1
call fcn.1e01c06d
mov esi, eax
mov ax, word [esi + 2]
cmp ax, 0x3a
push 0x5c
pop ebx
jne 0x1e00ca86
cmp word [esi + 4], bx
jne 0x1e00ca86
push ebx
lea eax, [esi + 6]
push eax
jmp 0x1e00caac
cmp word [esi], bx
jne 0x1e00caaa
cmp ax, bx
jne 0x1e00caaa
mov edi, dword [sym.imp.msvcrt.dll_wcschr]
lea eax, [esi + 4]
push ebx
push eax
call edi
test eax, eax
pop ecx
pop ecx
je 0x1e00cb16
push ebx
add eax, 2
push eax
jmp 0x1e00cab2
push ebx
push esi
mov edi, dword [sym.imp.msvcrt.dll_wcschr]
call edi
mov ebx, eax
test ebx, ebx
pop ecx
pop ecx
je 0x1e00cb16
and word [ebx], 0
push 0
push esi
call fcn.1e01b304
test eax, eax
jne 0x1e00cafc
push eax
push esi
call sym.MIGISM.dll_TrackedIsmCreateObjectHandle
push eax
push dword [0x1e02ea18]
mov dword [ebp + 8], eax
push 1
call sym.MIGISM.dll_IsmRecordOperation
push dword [ebp + 8]
call sym.MIGISM.dll_IsmDestroyObjectHandle
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
mov dword [ebp - 4], eax
je 0x1e00cb5c
mov word [ebx], 0x5c
push 0x5c
add ebx, 2
push ebx
call edi
mov ebx, eax
test ebx, ebx
pop ecx
pop ecx
jne 0x1e00cabc
cmp dword [ebp - 4], eax
je 0x1e00cb5c
push 0
push esi
call fcn.1e01b304
test eax, eax
jne 0x1e00cb4d
push eax
push esi
call sym.MIGISM.dll_TrackedIsmCreateObjectHandle
mov edi, eax
push edi
push dword [0x1e02ea18]
push 1
call sym.MIGISM.dll_IsmRecordOperation
push edi
call sym.MIGISM.dll_IsmDestroyObjectHandle
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [ebp - 4], eax
jmp 0x1e00cb5c
and dword [ebp - 4], 0
push 0xb7
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
push 0
call fcn.1e01c0cf
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x1e00cbb0
Capabilities:
Copy file
Delete directory
Delete file
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push edi
mov edi, dword [ebp + 0xc]
cmp edi, esi
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], esi
jne 0x1e00cbd3
xor eax, eax
jmp 0x1e00cd7b
push ebx
push 1
push esi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call fcn.1e01ffb0
push esi
push dword [ebp - 0xc]
push dword [ebp - 8]
push esi
call fcn.1e01e6b4
mov esi, dword [edi + 0x1c]
add esp, 0x10
mov ebx, eax
push ebx
call fcn.1e00c806
test eax, eax
je 0x1e00cc12
mov dword [ebp - 4], 1
jmp 0x1e00cd4e
push 0
push ebx
call fcn.1e01b304
test eax, eax
jne 0x1e00cd43
test esi, esi
je 0x1e00cd3f
test byte [esi], 0x10
je 0x1e00cc5e
push ebx
call fcn.1e00ca50
test eax, eax
je 0x1e00cd4e
push dword [esi]
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
mov dword [ebp - 4], eax
jne 0x1e00cca9
call fcn.1e01c0f8
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x1e00cceb
cmp dword [edi + 4], 0
push dword [ebp - 8]
je 0x1e00ccf2
call fcn.1e00ca50
push dword [ebp + 8]
push dword [0x1e02ea18]
push 1
call sym.MIGISM.dll_IsmRecordOperation
mov edi, dword [edi + 8]
test edi, edi
je 0x1e00cccc
push 1
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x1e00cd4e
push dword [esi]
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
mov dword [ebp - 4], eax
je 0x1e00ccdf
test byte [esi + 1], 8
je 0x1e00ccb5
push ebx
call fcn.1e00c0e4
lea eax, [esi + 0x14]
push eax
lea eax, [esi + 0xc]
push eax
add esi, 4
push esi
push ebx
call fcn.1e00cb73
jmp 0x1e00cd4e
push ebx
call fcn.1e01b72d
test eax, eax
je 0x1e00cd4e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1e00cc99
call fcn.1e01c0f8
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.1e01c120
jmp 0x1e00cd4e
call fcn.1e00ca50
push dword [ebp + 8]
push dword [0x1e02ea18]
push 1
call sym.MIGISM.dll_IsmRecordOperation
push ebx
call fcn.1e01b72d
test eax, eax
mov dword [ebp + 8], eax
je 0x1e00cd4e
push dword [edi + 0xc]
push dword [edi + 8]
push eax
call fcn.1e01b83d
push dword [ebp + 8]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], 0
jne 0x1e00cc99
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x1e00cd4e
push 0xd
jmp 0x1e00cd48
push 0xb7
call dword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.1e01c0f8
push ebx
xor esi, esi
push esi
call fcn.1e01c0cf
push dword [ebp - 8]
call fcn.1e01fe88
push dword [ebp - 0xc]
mov dword [ebp - 8], esi
call fcn.1e01fe88
mov dword [ebp - 0xc], esi
call fcn.1e01c120
mov eax, dword [ebp - 4]
pop ebx
pop edi
pop esi
leave
ret 8
Function at 0x1e00d85c
Capabilities:
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
push 1
xor esi, esi
push esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], esi
call fcn.1e01ffb0
cmp dword [ebp - 8], esi
je 0x1e00d8e1
push ebx
push 0x20006
call fcn.1e029044
push dword [ebp - 4]
mov ebx, eax
call fcn.1e0293d0
push ebx
mov edi, eax
call fcn.1e029044
cmp edi, esi
pop ebx
je 0x1e00d913
push dword [ebp + 8]
push dword [0x1e02ea30]
push 2
call sym.MIGISM.dll_IsmRecordOperation
push dword [ebp - 8]
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, esi
jne 0x1e00d8d2
mov dword [ebp - 0xc], 1
jmp 0x1e00d8d9
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
push edi
call fcn.1e029318
jmp 0x1e00d913
push dword [ebp + 8]
push dword [0x1e02ea30]
push 2
call sym.MIGISM.dll_IsmRecordOperation
push 0x20007
call fcn.1e029044
cmp dword [ebp - 4], esi
mov edi, eax
je 0x1e00d90d
push dword [ebp - 4]
call fcn.1e0294d0
mov dword [ebp - 0xc], eax
push edi
call fcn.1e029044
call fcn.1e01c0f8
push dword [ebp - 4]
call fcn.1e01fe88
push dword [ebp - 8]
mov dword [ebp - 4], esi
call fcn.1e01fe88
mov dword [ebp - 8], esi
call fcn.1e01c120
mov eax, dword [ebp - 0xc]
pop edi
pop esi
leave
ret 4
Function at 0x1e00dabd
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
cmp esi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], edi
jne 0x1e00dae0
xor eax, eax
jmp 0x1e00dc1b
push ebx
mov ebx, dword [esi + 0x1c]
push 1
push edi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call fcn.1e01ffb0
cmp dword [ebp - 8], edi
push 0x20006
je 0x1e00dbb6
call fcn.1e029044
push dword [ebp - 4]
mov dword [ebp - 0x10], eax
call fcn.1e0293d0
push dword [ebp - 0x10]
mov dword [ebp + 0xc], eax
call fcn.1e029044
cmp dword [ebp + 0xc], edi
jne 0x1e00db38
push dword [ebp - 4]
call fcn.1e00d941
cmp eax, edi
mov dword [ebp + 0xc], eax
je 0x1e00dbf7
cmp dword [esi + 4], edi
je 0x1e00db4d
push edi
push edi
push edi
push dword [esi + 8]
call fcn.1e01b49a
mov esi, dword [esi + 0x10]
jmp 0x1e00db53
mov eax, dword [esi + 8]
mov esi, dword [esi + 0xc]
push edi
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 8]
push dword [ebp + 0xc]
call fcn.1e029131
test eax, eax
jne 0x1e00db9b
push dword [ebp + 8]
push dword [0x1e02ea30]
push 1
call sym.MIGISM.dll_IsmRecordOperation
push esi
push dword [ebp - 0x10]
push dword [ebx]
push edi
push dword [ebp - 8]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
xor eax, eax
cmp esi, edi
sete al
mov dword [ebp - 0xc], eax
jmp 0x1e00dba0
mov esi, 0xb7
push dword [ebp + 0xc]
call fcn.1e029318
cmp dword [ebp - 0xc], edi
jne 0x1e00dbf7
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1e00dbf7
call fcn.1e029044
push dword [ebp - 4]
mov ebx, eax
call fcn.1e0293d0
push ebx
mov esi, eax
call fcn.1e029044
cmp esi, edi
je 0x1e00dbde
push esi
call fcn.1e029318
push 0xb7
jmp 0x1e00dbae
push dword [ebp - 4]
call fcn.1e00d941
cmp eax, edi
je 0x1e00dbf7
push eax
mov dword [ebp - 0xc], 1
call fcn.1e029318
call fcn.1e01c0f8
push dword [ebp - 4]
call fcn.1e01fe88
push dword [ebp - 8]
mov dword [ebp - 4], edi
call fcn.1e01fe88
mov dword [ebp - 8], edi
call fcn.1e01c120
mov eax, dword [ebp - 0xc]
pop ebx
pop edi
pop esi
leave
ret 8
Function at 0x1e00e489
Capabilities:
Read .ini file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x40014
call fcn.1e01aef0
mov eax, dword [0x1e02e028]
mov edx, dword [ebp + 8]
push ebx
push edi
mov dword [ebp - 4], eax
xor ebx, ebx
xor eax, eax
mov word [ebp - 0x40004], bx
mov ecx, 0xffff
lea edi, [ebp - 0x40002]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
lea eax, [ebp - 0x40008]
push eax
lea eax, [ebp - 0x4000c]
push eax
push edx
mov dword [ebp - 0x4000c], ebx
mov dword [ebp - 0x40008], ebx
mov dword [ebp - 0x40010], ebx
call sym.MIGISM.dll_TrackedIsmCreateObjectStringsFromHandleEx
test eax, eax
je 0x1e00e5ad
cmp dword [ebp - 0x4000c], ebx
je 0x1e00e597
cmp dword [ebp - 0x40008], ebx
je 0x1e00e597
push 0x5c
push dword [ebp - 0x40008]
call dword [sym.imp.msvcrt.dll_wcschr]
mov edi, eax
cmp edi, ebx
pop ecx
pop ecx
je 0x1e00e597
mov word [edi], bx
push esi
inc edi
inc edi
push 0x3d
push edi
call dword [sym.imp.msvcrt.dll_wcsrchr]
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
je 0x1e00e596
push ebx
mov word [esi], bx
push dword [ebp - 0x40008]
push dword [ebp - 0x4000c]
push ebx
call fcn.1e01e6b4
add esp, 0x10
cmp eax, ebx
mov dword [ebp - 0x40014], eax
je 0x1e00e596
push eax
push 0xffff
lea eax, [ebp - 0x40004]
push eax
push 0x1e001648
add esi, 2
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x1e00e58a
cmp word [ebp - 0x40004], bx
je 0x1e00e58a
mov dword [ebp - 0x40010], 1
push dword [ebp - 0x40014]
push ebx
call fcn.1e01c0cf
pop esi
push dword [ebp - 0x4000c]
call sym.MIGISM.dll_IsmDestroyObjectHandle
push dword [ebp - 0x40008]
call sym.MIGISM.dll_IsmDestroyObjectHandle
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x40010]
pop edi
pop ebx
call fcn.1e01abd2
leave
ret 4

Function at 0x1e00e694
Capabilities:
Create directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0
push dword [ebp + 8]
mov dword [ebp - 4], 1
call fcn.1e01c06d
mov edi, eax
mov ax, word [edi + 2]
cmp ax, 0x3a
push 0x5c
pop ebx
jne 0x1e00e6ca
cmp word [edi + 4], bx
jne 0x1e00e6ca
push ebx
lea eax, [edi + 6]
push eax
jmp 0x1e00e6f0
cmp word [edi], bx
jne 0x1e00e6ee
cmp ax, bx
jne 0x1e00e6ee
mov esi, dword [sym.imp.msvcrt.dll_wcschr]
lea eax, [edi + 4]
push ebx
push eax
call esi
test eax, eax
pop ecx
pop ecx
je 0x1e00e752
push ebx
add eax, 2
push eax
jmp 0x1e00e748
push ebx
push edi
mov esi, dword [sym.imp.msvcrt.dll_wcschr]
jmp 0x1e00e748
and word [ebx], 0
push 0
push edi
call fcn.1e01b304
test eax, eax
jne 0x1e00e73d
push eax
push edi
call sym.MIGISM.dll_TrackedIsmCreateObjectHandle
push eax
push 0x1e0016ac
mov dword [ebp + 8], eax
call sym.MIGISM.dll_IsmGetObjectTypeId
push eax
push 1
call sym.MIGISM.dll_IsmRecordOperation
push dword [ebp + 8]
call sym.MIGISM.dll_IsmDestroyObjectHandle
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
mov dword [ebp - 4], eax
je 0x1e00e752
mov word [ebx], 0x5c
push 0x5c
add ebx, 2
push ebx
call esi
mov ebx, eax
test ebx, ebx
pop ecx
pop ecx
jne 0x1e00e6f8
push edi
push 0
call fcn.1e01c0cf
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 4