joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1e006d9e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x50f], 0x79
mov byte [ebp - 0x50e], 0x68
mov byte [ebp - 0x50d], 0x5a
mov byte [ebp - 0x50c], 0x75
mov byte [ebp - 0x50b], 0x70
mov byte [ebp - 0x50a], 0x79
mov byte [ebp - 0x509], 0x4f
mov byte [ebp - 0x508], 0x75
mov byte [ebp - 0x507], 0x66
mov byte [ebp - 0x506], 0x79
mov byte [ebp - 0x505], 0x1c
lea eax, [ebp - 0x514]
push eax
call fcn.1e006174
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.1e006129
add esp, 0xc
mov dword [ebp - 0x33c], eax
call fcn.1e006164
sub bl, byte [eax + 0x50]
jmp 0x1e017282
xor eax, eax
jmp 0x1e017314
push eax
push dword [0x1e02c444]
call sym.MIGISM.dll_IsmGetOsVersionInfo
test eax, eax
je 0x1e0172d0
cmp dword [ebp - 0x14], 2
ja 0x1e0172ab
jne 0x1e0172d0
cmp dword [ebp - 0xc], 1
ja 0x1e0172ab
jne 0x1e0172d0
cmp dword [ebp - 4], 0x9a0
jb 0x1e0172d0
push 0x99
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1e0172dd
push 0
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x1e017314
push 0x6d
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x1e017303
push dword [0x1e030af8]
call sub.LOG.dll_LogBegin
push 0x40c
push 0x1e0014f8
call sub.LOG.dll_LogA
pop ecx
pop ecx
call sub.LOG.dll_LogEnd
jmp 0x1e017278
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
pop esi
leave
ret 0x14
Function at 0x1e00c360
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x150
mov eax, dword [0x1e02c028]
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 - 0x148]
push eax
lea eax, [ebp - 0x150]
push eax
push esi
mov dword [ebp - 0x150], ebx
mov dword [ebp - 0x148], ebx
mov dword [ebp - 0x14c], ebx
call fcn.1e01fd40
push ebx
push dword [ebp - 0x148]
push dword [ebp - 0x150]
push ebx
call fcn.1e01db38
add esp, 0x10
mov edi, eax
push edi
call fcn.1e00c257
test eax, eax
je 0x1e00c3d2
mov dword [ebp - 0x14c], 1
jmp 0x1e00c451
lea eax, [ebp - 0x144]
push eax
push edi
call fcn.1e01b1f5
test eax, eax
je 0x1e00c449
test byte [ebp - 0x144], 0x10
je 0x1e00c403
push esi
push dword [0x1e02c714]
push 2
call sym.MIGISM.dll_IsmRecordOperation
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
jmp 0x1e00c428
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
je 0x1e00c430
push esi
push dword [0x1e02c714]
push 2
call sym.MIGISM.dll_IsmRecordOperation
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 0x14c], eax
jmp 0x1e00c451
call fcn.1e01bf55
push dword [ebp - 0x144]
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
call fcn.1e01bf7d
jmp 0x1e00c451
push 2
call dword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.1e01bf55
push edi
push ebx
call fcn.1e01bf2c
push dword [ebp - 0x150]
call fcn.1e01f8e4
push dword [ebp - 0x148]
mov dword [ebp - 0x150], ebx
call fcn.1e01f8e4
mov dword [ebp - 0x148], ebx
call fcn.1e01bf7d
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x14c]
pop edi
pop esi
pop ebx
call fcn.1e01ab9b
leave
ret 4
Function at 0x1e00c49e
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.1e01db7c
mov esi, eax
mov al, byte [esi + 1]
cmp al, 0x3a
jne 0x1e00c4cf
cmp byte [esi + 2], 0x5c
jne 0x1e00c4cf
push 0x5c
lea eax, [esi + 3]
push eax
jmp 0x1e00c4f5
cmp byte [esi], 0x5c
jne 0x1e00c4f2
cmp al, 0x5c
jne 0x1e00c4f2
mov edi, dword [sym.imp.msvcrt.dll__mbschr]
lea eax, [esi + 2]
push 0x5c
push eax
call edi
test eax, eax
pop ecx
pop ecx
je 0x1e00c55a
push 0x5c
inc eax
push eax
jmp 0x1e00c4fb
push 0x5c
push esi
mov edi, dword [sym.imp.msvcrt.dll__mbschr]
call edi
mov ebx, eax
test ebx, ebx
pop ecx
pop ecx
je 0x1e00c55a
push 0
push esi
mov byte [ebx], 0
call fcn.1e01b1f5
test eax, eax
jne 0x1e00c544
push eax
push esi
call sym.MIGISM.dll_TrackedIsmCreateObjectHandle
push eax
push dword [0x1e02c714]
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_CreateDirectoryA]
test eax, eax
mov dword [ebp - 4], eax
je 0x1e00c59f
mov byte [ebx], 0x5c
push 0x5c
inc ebx
push ebx
call edi
mov ebx, eax
test ebx, ebx
pop ecx
pop ecx
jne 0x1e00c505
cmp dword [ebp - 4], eax
je 0x1e00c59f
xor ebx, ebx
push ebx
push esi
call fcn.1e01b1f5
test eax, eax
jne 0x1e00c591
push ebx
push esi
call sym.MIGISM.dll_TrackedIsmCreateObjectHandle
mov edi, eax
push edi
push dword [0x1e02c714]
push 1
call sym.MIGISM.dll_IsmRecordOperation
push edi
call sym.MIGISM.dll_IsmDestroyObjectHandle
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov dword [ebp - 4], eax
jmp 0x1e00c59f
push 0xb7
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
push 0
call fcn.1e01bf2c
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x1e00c5f3
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 0x1e00c616
xor eax, eax
jmp 0x1e00c7be
push ebx
push 1
push esi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call fcn.1e01fd40
push esi
push dword [ebp - 0xc]
push dword [ebp - 8]
push esi
call fcn.1e01db38
mov esi, dword [edi + 0x1c]
add esp, 0x10
mov ebx, eax
push ebx
call fcn.1e00c257
test eax, eax
je 0x1e00c655
mov dword [ebp - 4], 1
jmp 0x1e00c791
push 0
push ebx
call fcn.1e01b1f5
test eax, eax
jne 0x1e00c786
test esi, esi
je 0x1e00c782
test byte [esi], 0x10
je 0x1e00c6a1
push ebx
call fcn.1e00c49e
test eax, eax
je 0x1e00c791
push dword [esi]
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
mov dword [ebp - 4], eax
jne 0x1e00c6ec
call fcn.1e01bf55
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
jmp 0x1e00c72e
cmp dword [edi + 4], 0
push dword [ebp - 8]
je 0x1e00c735
call fcn.1e00c49e
push dword [ebp + 8]
push dword [0x1e02c714]
push 1
call sym.MIGISM.dll_IsmRecordOperation
mov edi, dword [edi + 8]
test edi, edi
je 0x1e00c70f
push 1
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x1e00c791
push dword [esi]
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
mov dword [ebp - 4], eax
je 0x1e00c722
test byte [esi + 1], 8
je 0x1e00c6f8
push ebx
call fcn.1e00bae6
lea eax, [esi + 0x14]
push eax
lea eax, [esi + 0xc]
push eax
add esi, 4
push esi
push ebx
call fcn.1e00c5b6
jmp 0x1e00c791
push ebx
call fcn.1e01b4fd
test eax, eax
je 0x1e00c791
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1e00c6dc
call fcn.1e01bf55
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
call fcn.1e01bf7d
jmp 0x1e00c791
call fcn.1e00c49e
push dword [ebp + 8]
push dword [0x1e02c714]
push 1
call sym.MIGISM.dll_IsmRecordOperation
push ebx
call fcn.1e01b4fd
test eax, eax
mov dword [ebp + 8], eax
je 0x1e00c791
push dword [edi + 0xc]
push dword [edi + 8]
push eax
call fcn.1e01b60d
push dword [ebp + 8]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], 0
jne 0x1e00c6dc
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x1e00c791
push 0xd
jmp 0x1e00c78b
push 0xb7
call dword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.1e01bf55
push ebx
xor esi, esi
push esi
call fcn.1e01bf2c
push dword [ebp - 8]
call fcn.1e01f8e4
push dword [ebp - 0xc]
mov dword [ebp - 8], esi
call fcn.1e01f8e4
mov dword [ebp - 0xc], esi
call fcn.1e01bf7d
mov eax, dword [ebp - 4]
pop ebx
pop edi
pop esi
leave
ret 8
Function at 0x1e00d341
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.1e01fd40
cmp dword [ebp - 8], esi
je 0x1e00d3c6
push ebx
push 0x20006
call fcn.1e02783b
push dword [ebp - 4]
mov ebx, eax
call fcn.1e027bdc
push ebx
mov edi, eax
call fcn.1e02783b
cmp edi, esi
pop ebx
je 0x1e00d3f8
push dword [ebp + 8]
push dword [0x1e02c72c]
push 2
call sym.MIGISM.dll_IsmRecordOperation
push dword [ebp - 8]
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
cmp eax, esi
jne 0x1e00d3b7
mov dword [ebp - 0xc], 1
jmp 0x1e00d3be
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
push edi
call fcn.1e027b22
jmp 0x1e00d3f8
push dword [ebp + 8]
push dword [0x1e02c72c]
push 2
call sym.MIGISM.dll_IsmRecordOperation
push 0x20007
call fcn.1e02783b
cmp dword [ebp - 4], esi
mov edi, eax
je 0x1e00d3f2
push dword [ebp - 4]
call fcn.1e027ccf
mov dword [ebp - 0xc], eax
push edi
call fcn.1e02783b
call fcn.1e01bf55
push dword [ebp - 4]
call fcn.1e01f8e4
push dword [ebp - 8]
mov dword [ebp - 4], esi
call fcn.1e01f8e4
mov dword [ebp - 8], esi
call fcn.1e01bf7d
mov eax, dword [ebp - 0xc]
pop edi
pop esi
leave
ret 4
Function at 0x1e00d59b
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 0x1e00d5be
xor eax, eax
jmp 0x1e00d6f9
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.1e01fd40
cmp dword [ebp - 8], edi
push 0x20006
je 0x1e00d694
call fcn.1e02783b
push dword [ebp - 4]
mov dword [ebp - 0x10], eax
call fcn.1e027bdc
push dword [ebp - 0x10]
mov dword [ebp + 0xc], eax
call fcn.1e02783b
cmp dword [ebp + 0xc], edi
jne 0x1e00d616
push dword [ebp - 4]
call fcn.1e00d426
cmp eax, edi
mov dword [ebp + 0xc], eax
je 0x1e00d6d5
cmp dword [esi + 4], edi
je 0x1e00d62b
push edi
push edi
push edi
push dword [esi + 8]
call fcn.1e01b2c8
mov esi, dword [esi + 0x10]
jmp 0x1e00d631
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.1e027915
test eax, eax
jne 0x1e00d679
push dword [ebp + 8]
push dword [0x1e02c72c]
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_RegSetValueExA]
mov esi, eax
xor eax, eax
cmp esi, edi
sete al
mov dword [ebp - 0xc], eax
jmp 0x1e00d67e
mov esi, 0xb7
push dword [ebp + 0xc]
call fcn.1e027b22
cmp dword [ebp - 0xc], edi
jne 0x1e00d6d5
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1e00d6d5
call fcn.1e02783b
push dword [ebp - 4]
mov ebx, eax
call fcn.1e027bdc
push ebx
mov esi, eax
call fcn.1e02783b
cmp esi, edi
je 0x1e00d6bc
push esi
call fcn.1e027b22
push 0xb7
jmp 0x1e00d68c
push dword [ebp - 4]
call fcn.1e00d426
cmp eax, edi
je 0x1e00d6d5
push eax
mov dword [ebp - 0xc], 1
call fcn.1e027b22
call fcn.1e01bf55
push dword [ebp - 4]
call fcn.1e01f8e4
push dword [ebp - 8]
mov dword [ebp - 4], edi
call fcn.1e01f8e4
mov dword [ebp - 8], edi
call fcn.1e01bf7d
mov eax, dword [ebp - 0xc]
pop ebx
pop edi
pop esi
leave
ret 8
Function at 0x1e00df43
Capabilities:
Read .ini file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x10014
call fcn.1e01aeb0
mov eax, dword [0x1e02c028]
mov edx, dword [ebp + 8]
push ebx
push edi
mov dword [ebp - 4], eax
xor ebx, ebx
xor eax, eax
mov byte [ebp - 0x10004], bl
mov ecx, 0x3fff
lea edi, [ebp - 0x10003]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push ebx
lea eax, [ebp - 0x10008]
push eax
lea eax, [ebp - 0x1000c]
push eax
push edx
mov dword [ebp - 0x1000c], ebx
mov dword [ebp - 0x10008], ebx
mov dword [ebp - 0x10010], ebx
call sym.MIGISM.dll_TrackedIsmCreateObjectStringsFromHandleEx
test eax, eax
je 0x1e00e061
cmp dword [ebp - 0x1000c], ebx
je 0x1e00e04b
cmp dword [ebp - 0x10008], ebx
je 0x1e00e04b
push 0x5c
push dword [ebp - 0x10008]
call dword [sym.imp.msvcrt.dll__mbschr]
mov edi, eax
cmp edi, ebx
pop ecx
pop ecx
je 0x1e00e04b
push esi
mov byte [edi], bl
inc edi
push 0x3d
push edi
call dword [sym.imp.msvcrt.dll__mbsrchr]
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
je 0x1e00e04a
push ebx
mov byte [esi], bl
push dword [ebp - 0x10008]
push dword [ebp - 0x1000c]
push ebx
call fcn.1e01db38
add esp, 0x10
cmp eax, ebx
mov dword [ebp - 0x10014], eax
je 0x1e00e04a
push eax
push 0xffff
lea eax, [ebp - 0x10004]
push eax
push 0x1e00147c
inc esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x1e00e03e
cmp byte [ebp - 0x10004], bl
je 0x1e00e03e
mov dword [ebp - 0x10010], 1
push dword [ebp - 0x10014]
push ebx
call fcn.1e01bf2c
pop esi
push dword [ebp - 0x1000c]
call sym.MIGISM.dll_IsmDestroyObjectHandle
push dword [ebp - 0x10008]
call sym.MIGISM.dll_IsmDestroyObjectHandle
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x10010]
pop edi
pop ebx
call fcn.1e01ab9b
leave
ret 4

Function at 0x1e00e143
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.1e01db7c
mov edi, eax
mov al, byte [edi + 1]
cmp al, 0x3a
jne 0x1e00e174
cmp byte [edi + 2], 0x5c
jne 0x1e00e174
push 0x5c
lea eax, [edi + 3]
push eax
jmp 0x1e00e19a
cmp byte [edi], 0x5c
jne 0x1e00e197
cmp al, 0x5c
jne 0x1e00e197
mov esi, dword [sym.imp.msvcrt.dll__mbschr]
lea eax, [edi + 2]
push 0x5c
push eax
call esi
test eax, eax
pop ecx
pop ecx
je 0x1e00e1f7
push 0x5c
inc eax
push eax
jmp 0x1e00e1ed
push 0x5c
push edi
mov esi, dword [sym.imp.msvcrt.dll__mbschr]
jmp 0x1e00e1ed
push 0
push edi
mov byte [ebx], 0
call fcn.1e01b1f5
test eax, eax
jne 0x1e00e1e6
push eax
push edi
call sym.MIGISM.dll_TrackedIsmCreateObjectHandle
push eax
push 0x1e0014cc
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_CreateDirectoryA]
test eax, eax
mov dword [ebp - 4], eax
je 0x1e00e1f7
mov byte [ebx], 0x5c
push 0x5c
inc ebx
push ebx
call esi
mov ebx, eax
test ebx, ebx
pop ecx
pop ecx
jne 0x1e00e1a2
push edi
push 0
call fcn.1e01bf2c
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x1e011c4f
Capabilities:
Copy file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x13c
mov eax, dword [0x1e02c028]
push ebx
mov ebx, 0x10000000
cmp dword [ebp + 8], ebx
push esi
mov dword [ebp - 4], eax
push edi
jne 0x1e011cfe
push 0x104
lea eax, [ebp - 0x108]
push eax
call sym.MIGISM.dll_IsmGetTempFile
xor edi, edi
push edi
lea eax, [ebp - 0x108]
push eax
call fcn.1e01db7c
push eax
mov dword [0x1e03047c], eax
call fcn.1e01b4fd
cmp eax, edi
mov dword [0x1e030478], eax
je 0x1e011dcd
push 8
lea ecx, [ebp - 0x114]
push ecx
push eax
mov dword [ebp - 0x114], 0xf062298f
mov dword [ebp - 0x110], 0x10000
call fcn.1e01b60d
test eax, eax
je 0x1e011dd8
push edi
push 0x1e00192c
call sym.MIGISM.dll_TrackedIsmCreateObjectHandle
mov esi, eax
xor eax, eax
cmp dword [ebp + 0xc], edi
sete al
push eax
push dword [0x1e03047c]
push esi
call fcn.1e00ec4a
push esi
jmp 0x1e011dc8
xor edi, edi
push edi
push 0x1e00192c
call sym.MIGISM.dll_TrackedIsmCreateObjectHandle
push edi
push 2
lea ecx, [ebp - 0x13c]
push ecx
push eax
mov esi, 0x1e001630
push esi
mov dword [ebp - 0x10c], eax
call sym.MIGISM.dll_IsmGetObjectTypeId
or eax, ebx
push eax
call sym.MIGISM.dll_IsmAcquireObjectEx
test eax, eax
je 0x1e011d75
push 0x1e001780
push 0x104
lea eax, [ebp - 0x108]
push eax
call fcn.1e01ba7c
push edi
lea eax, [ebp - 0x108]
push eax
call fcn.1e01db7c
push edi
push eax
push dword [ebp - 0x134]
mov dword [0x1e03047c], eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x1e011db6
push dword [0x1e03047c]
jmp 0x1e011dac
push edi
push 2
lea eax, [ebp - 0x13c]
push eax
push dword [ebp - 0x10c]
push esi
call sym.MIGISM.dll_IsmGetObjectTypeId
or eax, 0x20000000
push eax
call sym.MIGISM.dll_IsmAcquireObjectEx
test eax, eax
je 0x1e011dc2
push edi
push dword [ebp - 0x134]
call fcn.1e01db7c
mov dword [0x1e03047c], eax
push eax
call fcn.1e01b4cd
mov dword [0x1e030478], eax
lea eax, [ebp - 0x13c]
push eax
call sym.MIGISM.dll_IsmReleaseObject
push dword [ebp - 0x10c]
call sym.MIGISM.dll_IsmDestroyObjectHandle
xor eax, eax
cmp dword [0x1e030478], edi
setne al
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.1e01ab9b
leave
ret 8
Function at 0x1e01b1f5
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x148
mov eax, dword [0x1e02c028]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
mov dword [ebp - 4], eax
jne 0x1e01b22f
test esi, esi
jne 0x1e01b21c
xor eax, eax
jmp 0x1e01b288
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
jmp 0x1e01b288
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 1
call ebx
mov dword [ebp - 0x148], eax
lea eax, [ebp - 0x144]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x1e01b25d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1e01b271
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x50
pop ecx
lea esi, [ebp - 0x144]
rep movsd dword es:[edi], dword [esi]
xor esi, esi
push dword [ebp - 0x148]
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
test esi, esi
sete al
pop ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
call fcn.1e01ab9b
leave
ret 8

Function at 0x1e01b29b
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
je 0x1e01b2bd
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1e01b2bd
test al, 0x10
je 0x1e01b2bd
xor eax, eax
inc eax
jmp 0x1e01b2bf
xor eax, eax
pop ebp
ret 4
Function at 0x1e01b63f
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.1e01db7c
mov edi, eax
mov al, byte [edi + 1]
cmp al, 0x3a
jne 0x1e01b670
cmp byte [edi + 2], 0x5c
jne 0x1e01b670
push 0x5c
lea eax, [edi + 3]
push eax
jmp 0x1e01b6a6
cmp byte [edi], 0x5c
jne 0x1e01b6a3
cmp al, 0x5c
jne 0x1e01b6a3
mov esi, dword [sym.imp.msvcrt.dll__mbschr]
lea eax, [edi + 2]
push 0x5c
push eax
call esi
test eax, eax
pop ecx
pop ecx
je 0x1e01b719
inc eax
push 0x5c
push eax
call esi
test eax, eax
pop ecx
pop ecx
je 0x1e01b719
push 0x5c
inc eax
push eax
jmp 0x1e01b6ac
push 0x5c
push edi
mov esi, dword [sym.imp.msvcrt.dll__mbschr]
call esi
mov ebx, eax
test ebx, ebx
pop ecx
pop ecx
je 0x1e01b719
push 0
push edi
mov byte [ebx], 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
mov dword [ebp - 4], eax
jne 0x1e01b6dd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1e01b6f0
mov dword [ebp - 4], 1
mov byte [ebx], 0x5c
push 0x5c
inc ebx
push ebx
call esi
mov ebx, eax
test ebx, ebx
pop ecx
pop ecx
jne 0x1e01b6b6
jmp 0x1e01b713
push dword [0x1e030af8]
call sub.LOG.dll_LogBegin
push edi
push 0x1e001ed4
push 0x1e0012d4
call sub.LOG.dll_LogA
add esp, 0xc
call sub.LOG.dll_LogEnd
cmp dword [ebp - 4], 0
je 0x1e01b743
cmp dword [ebp + 0xc], 0
je 0x1e01b743
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
mov dword [ebp - 4], eax
jne 0x1e01b743
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1e01b743
mov dword [ebp - 4], 1
push edi
push 0
call fcn.1e01bf2c
cmp dword [ebp - 4], 0
jne 0x1e01b77b
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x1e01b754
sub edi, ecx
cmp edi, 0xf8
jb 0x1e01b77b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
jne 0x1e01b77b
push 0xce
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x1e01ba7c
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x1e02c028]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x210]
push eax
push 0x20a
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x1e01bb64
push ebx
lea eax, [ebp - 0x210]
push 0x5c
push eax
call dword [sym.imp.msvcrt.dll__mbsrchr]
xor ebx, ebx
cmp eax, ebx
pop ecx
pop ecx
je 0x1e01bad0
cmp byte [eax + 1], bl
jne 0x1e01bad0
mov byte [eax], bl
push ebx
lea eax, [ebp - 0x210]
push eax
call fcn.1e01b1f5
test eax, eax
jne 0x1e01baef
push 1
lea eax, [ebp - 0x210]
push eax
call fcn.1e01b63f
cmp dword [ebp + 0xc], 0x104
jb 0x1e01bb10
push edi
push ebx
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x1e01bb60
xor eax, eax
jmp 0x1e01bb63
lea eax, [ebp - 0x41c]
push eax
push ebx
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x1e01bb32
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1e01bb0c
lea eax, [ebp - 0x41c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1e01bb3b
sub eax, edx
lea ecx, [eax + 1]
cmp ecx, dword [ebp + 0xc]
ja 0x1e01bb0c
mov eax, ecx
shr ecx, 2
lea esi, [ebp - 0x41c]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor eax, eax
inc eax
pop ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
call fcn.1e01ab9b
leave
ret 0xc