joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402ad0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x409040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x402b00
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040403f
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x402b3c
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x402b3c
lea ecx, [edi - 1]
mov eax, ebx
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
pop edi
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040403f
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x402c13
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x402b64
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x402b70
movsx eax, bl
jmp 0x402ba8
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x25], bl
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x25]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet___char_const___char_const___char_const____char___char___char___const]
sub eax, 0
je 0x402bd2
sub eax, 1
je 0x402bd2
sub eax, 2
jne 0x402c13
movsx eax, byte [ebp - 0x25]
push dword [esi + 0x4c]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmove ebx, ecx
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040403f
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x402bf0
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x402c13
lea ecx, [ebp - 0x25]
mov byte [esi + 0x3d], 1
or eax, 0xffffffff
cmp dword [ebp - 0x30], ecx
pop edi
pop esi
cmovne eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040403f
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040403f
mov esp, ebp
pop ebp
ret 4
Function at 0x4030f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x409040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x4031ac
cmp byte [esi + 0x3d], 0
je 0x4031ac
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x40319a
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x403161
sub eax, 1
je 0x403165
sub eax, 2
jne 0x40319a
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040403f
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x403183
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x40319a
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040403f
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040403f
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.0040403f
mov esp, ebp
pop ebp
ret

Function at 0x404a9a
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x404ad9
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x404ad9
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x404ad9
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x404ad9
cmp dword [ecx + 0x74], 0xe
jbe 0x404ad9
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x5dfcff
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x6ba00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
mov dword [ebp - 0x224], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x228], eax
push esi
mov ax, word [ebx + 4]
mov esi, dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov word [ebp - 0x14], ax
mov ax, word [ebx + 8]
push edi
mov word [ebp - 0x12], ax
call esi
mov word [ebp - 0x10], ax
mov edi, 0x4e4
mov ax, word [ebx + 8]
mov word [ebp - 0xe], ax
mov ax, word [ebx + 4]
mov word [ebp - 0xc], ax
mov word [ebp - 0xa], di
call esi
mov word [ebp - 8], ax
xor ecx, ecx
mov word [ebp - 6], di
push dword [ebp - 0x224]
movzx eax, word [ebp + ecx*2 - 0x12]
lea edi, [ecx + 2]
push eax
movzx eax, word [ebp + ecx*2 - 0x14]
push eax
push str.StringFileInfo_04x_04x_ls
push 0x104
lea eax, [ebp - 0x21c]
push 0x104
push eax
call fcn.00403e80
and dword [ebp - 0x220], 0
lea eax, [ebp - 0x22c]
add esp, 0x1c
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x21c]
push eax
push dword [ebx]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x5dfdce
mov esi, dword [ebp - 0x220]
test esi, esi
jne 0x5dfde8
mov ecx, edi
cmp edi, 8
jb 0x5dfd6a
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049ae07
leave
ret 8
push esi
call fcn.005f06f8
pop ecx
mov ecx, dword [ebp - 0x228]
push eax
push esi
call fcn.005dfe64
mov al, 1
jmp 0x5dfdd7

Function at 0x5ffb69
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005ff9e8

Function at 0x6059ff
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.006056bf

Function at 0x404910
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [ecx + 4]
test eax, eax
jne 0x40491a
ret 0xc
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push eax
mov eax, dword [esp + 0x10]
push eax
push ecx
push edx
call dword [sym.imp.MSVCR90.dll_fread]
add esp, 0x10
ret 0xc

Function at 0x404940
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [ecx + 4]
test eax, eax
jne 0x40494a
ret 0xc
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push eax
mov eax, dword [esp + 0x10]
push eax
push ecx
push edx
call dword [sym.imp.MSVCR90.dll_fwrite]
add esp, 0x10
ret 0xc

Function at 0x40575c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x412820]
jne 0x405766
repz ret
jmp fcn.00405c89
Function at 0x10001cdf
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi]
mov edx, dword [esi + 4]
and dword [ebp + 8], 0
push edi
mov edi, dword [eax + 4]
mov dword [ebp - 0xc], edi
mov edi, dword [eax]
mov dword [ebp - 8], edi
mov edi, dword [eax + 0xc]
mov eax, dword [eax + 8]
mov dword [ebp - 4], 0x20
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], eax
sub dword [ebp + 8], 0x61c88647
dec dword [ebp - 4]
mov eax, edx
shl eax, 4
add eax, dword [ebp - 8]
mov edi, edx
shr edi, 5
add edi, dword [ebp - 0xc]
xor eax, edi
mov edi, dword [ebp + 8]
add edi, edx
xor eax, edi
add ecx, eax
mov eax, ecx
shl eax, 4
add eax, dword [ebp - 0x10]
mov edi, ecx
shr edi, 5
add edi, dword [ebp - 0x14]
xor eax, edi
mov edi, dword [ebp + 8]
add edi, ecx
xor eax, edi
add edx, eax
cmp dword [ebp - 4], 0
ja 0x10001d14
pop edi
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
leave
ret

Function at 0x10001f9c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
push ebx
push esi
mov esi, dword [ebp + 0x10]
xor edx, edx
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x130]
mov dword [esi + 4], edx
mov dword [esi], edx
sub eax, edi
mov ebx, 0x12c
mov cl, byte [edi]
test cl, cl
je 0x10001fd1
inc edx
mov byte [eax + edi], cl
inc edi
cmp edx, ebx
jb 0x10001fc2
lea eax, [ebp - 0x130]
push eax
mov byte [ebp + edx - 0x130], 0
call fcn.10001ed1
mov edi, eax
pop ecx
test edi, edi
je 0x10002083
mov edx, dword [ebp + 0xc]
cmp byte [edx], 0
je 0x1000203d
mov byte [ebp + edi - 0x130], 0x2a
inc edi
mov eax, edi
cmp edi, ebx
jae 0x1000201a
mov cl, byte [edx]
test cl, cl
je 0x1000201a
mov byte [ebp + eax - 0x130], cl
inc eax
inc edx
cmp eax, ebx
jb 0x10002007
mov byte [ebp + eax - 0x130], 0
lea eax, [ebp + edi - 0x130]
push eax
call fcn.10001ed1
pop ecx
add edi, eax
jmp 0x1000203d
mov byte [ebp + edi - 0x130], 0
inc edi
mov eax, edi
and eax, 0x80000007
jns 0x1000204b
dec eax
or eax, 0xfffffff8
inc eax
jne 0x10002034
mov eax, edi
cdq
and edx, 7
add eax, edx
mov edi, eax
sar edi, 3
xor ebx, ebx
test edi, edi
jle 0x10002083
mov eax, dword [ebp + ebx*8 - 0x130]
xor dword [esi], eax
push dword [ebp + 0x14]
mov eax, dword [ebp + ebx*8 - 0x12c]
xor dword [esi + 4], eax
push esi
call fcn.10001da7
inc ebx
cmp ebx, edi
pop ecx
pop ecx
jl 0x10002060
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x521d11
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push esp
push 4
call fcn.00409350
add esp, 8
push 0x300033
call fcn.00521f18
push 0x300034
call fcn.00521f18
mov edx, dword [esp + 8]
push 0x300035
call fcn.00521f18
mov ecx, dword [esp + 0xc]
push 0x300036
call fcn.00521f18
mov eax, dword [esp + 4]
push 0x300037
call fcn.00521f18
push ebx
push 0x300038
call fcn.00521f18
push esi
push 0x300039
call fcn.00521f18
push edi
push 0x30003a
call fcn.00521f18
lea edi, [0x4ca1f4]
push 0x30003b
call fcn.00521f18
not eax
push 0x30003c
call fcn.00521f18
sub ecx, 4
jb 0x521e69
push 0x30003f
call fcn.00521f18
mov ebx, dword [edx]
push 0x300040
call fcn.00521f18
xor ebx, eax
push 0x300041
call fcn.00521f18
movzx esi, bl
push 0x300042
call fcn.00521f18
mov eax, dword [edi + esi*4 + 0xc00]
push 0x300043
call fcn.00521f18
shr ebx, 8
push 0x300044
call fcn.00521f18
movzx esi, bl
push 0x300045
call fcn.00521f18
xor eax, dword [edi + esi*4 + 0x800]
push 0x300046
call fcn.00521f18
shr ebx, 8
push 0x300047
call fcn.00521f18
movzx esi, bl
push 0x300048
call fcn.00521f18
xor eax, dword [edi + esi*4 + 0x400]
push 0x300049
call fcn.00521f18
shr ebx, 8
push 0x30004a
call fcn.00521f18
xor eax, dword [edi + ebx*4]
push 0x30004b
call fcn.00521f18
add edx, 4
push 0x30004c
call fcn.00521f18
sub ecx, 4
jae 0x521da3
push 0x30004f
call fcn.00521f18
add ecx, 4
je 0x521ec7
push 0x300052
call fcn.00521f18
movzx ebx, byte [edx]
push 0x300053
call fcn.00521f18
xor bl, al
push 0x300054
call fcn.00521f18
shr eax, 8
push 0x300055
call fcn.00521f18
xor eax, dword [edi + ebx*4]
push 0x300056
call fcn.00521f18
add edx, 1
push 0x300057
call fcn.00521f18
sub ecx, 1
jne 0x521e78
push 0x30005a
call fcn.00521f18
pop edi
push 0x30005b
call fcn.00521f18
pop esi
push 0x30005c
call fcn.00521f18
pop ebx
push 0x30005d
call fcn.00521f18
not eax
push 0x30005e
call fcn.00521f18
jmp 0x521f0c
push edx
push eax
call fcn.00409480
pop eax
pop edx
ret 0xc

Function at 0x521f18
Capabilities:
Packed with generic packer

Disassembly:
pushal
pushfd
push esp
push dword [esp + 0x2c]
call fcn.00408810
add esp, 8
or eax, eax
je 0x521f30
jmp 0x4f05b2
popfd
popal
ret 4

Function at 0x401000
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push esi
mov esi, dword [sym.imp.MSVCR100.dll_printf]
push str.as_sid_joasidj_iasido_jaosij_doas_doasjdas_jdo_as__Mio_amor_mio__ancor_pi
call esi
push str.as_sid_joasidj_iasido_jaosij_doas_doasjdas_jdo_as__Mio_amor_mio__ancor_pi
call esi
add esp, 8
push 0x40
push 0x1000
push 0x6da
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 0x6da
mov esi, eax
push 0x4020f8
push esi
call sub.MSVCR100.dll_memcpy
add esp, 0xc
call esi
xor eax, eax
pop esi
ret
Function at 0x1e003cde
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
xor edi, edi
cmp byte [0x1e02c5c8], 0
mov esi, 0x1e02c5c8
jne 0x1e003d00
push 0x104
push esi
call sym.MIGISM.dll_IsmGetTempDirectory
push 0
push dword [ebp + 8]
push esi
push 0
call fcn.1e01db38
add esp, 0x10
mov esi, eax
push esi
call fcn.1e01b4fd
test eax, eax
je 0x1e003d3a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 0xc]
push esi
call fcn.1e01b1f5
test eax, eax
je 0x1e003d33
xor edi, edi
inc edi
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push esi
push 0
call fcn.1e01bf2c
mov eax, edi
pop edi
pop esi
pop ebp
ret 8

Function at 0x1e004f22
Capabilities:
Copy file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
cmp dword [0x1e02c444], 0
mov eax, dword [0x1e02c028]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], eax
je 0x1e004f86
cmp byte [edi], 0x7c
je 0x1e004f86
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1e004f50
sub eax, edx
lea ecx, [eax + 1]
mov eax, 0x20a
cmp ecx, eax
ja 0x1e004f86
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_CopyFileA]
test eax, eax
jne 0x1e004f8a
xor eax, eax
jmp 0x1e004fc5
push 0
push 0
lea eax, [ebp - 0x210]
push eax
push dword [0x1e0304e8]
call fcn.1e01f35e
push edi
push 0x1e0014d4
call sym.MIGISM.dll_TrackedIsmCreateObjectHandle
mov esi, eax
push 1
lea eax, [ebp - 0x210]
push eax
push esi
call fcn.1e00ec4a
push esi
call fcn.1e01f8e4
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
call fcn.1e01ab9b
leave
ret 8

Function at 0x1e004fd8
Capabilities:
Copy file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x1e02c028]
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
xor ebx, ebx
push ebx
push ebx
lea ecx, [ebp - 0x238]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ecx
push eax
push dword [ebp + 8]
xor edi, edi
call sym.MIGISM.dll_IsmAcquireObjectEx
test eax, eax
je 0x1e005081
cmp dword [ebp - 0x234], ebx
je 0x1e005081
mov eax, dword [ebp - 0x230]
cmp eax, ebx
je 0x1e005081
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1e005023
sub eax, edx
lea ecx, [eax + 1]
mov eax, 0x20a
cmp ecx, eax
jae 0x1e005081
push eax
lea eax, [ebp - 0x210]
push eax
call sym.MIGISM.dll_IsmGetTempFile
push ebx
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x230]
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x1e005081
lea eax, [ebp - 0x210]
push eax
push esi
call fcn.1e01d8b9
push ebx
push ebx
lea eax, [ebp - 0x210]
push eax
push dword [0x1e0304e8]
call fcn.1e01f35e
xor edi, edi
inc edi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
pop ebx
call fcn.1e01ab9b
leave
ret 0xc
Function at 0x1e005097
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x1e02c028]
push edi
xor edi, edi
cmp dword [0x1e02c468], edi
mov dword [ebp - 4], eax
je 0x1e0050b9
xor eax, eax
jmp 0x1e00512e
mov eax, dword [0x1e02c458]
cmp eax, edi
je 0x1e0050c9
push eax
push edi
call fcn.1e01bf2c
cmp dword [ebp + 8], edi
je 0x1e005101
push 0x104
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x1e00512b
push edi
push 0x1e0014e0
lea eax, [ebp - 0x108]
push eax
push edi
call fcn.1e01db38
add esp, 0x10
mov dword [0x1e02c458], eax
jmp 0x1e00512b
push esi
call fcn.1e017acf
mov esi, eax
cmp esi, edi
je 0x1e00512a
push edi
push 0x1e0014e0
push dword [esi + 0xc]
push edi
call fcn.1e01db38
add esp, 0x10
push esi
mov dword [0x1e02c458], eax
call fcn.1e01762b
pop esi
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
call fcn.1e01ab9b
leave
ret 4
Function at 0x1e00519e
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x850
mov eax, dword [0x1e02c028]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x84c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x848], eax
mov eax, dword [ebp + 0x10]
push ebx
mov dword [ebp - 0x850], eax
mov eax, dword [ebp + 0x14]
xor ebx, ebx
cmp dword [0x1e02c464], ebx
mov dword [ebp - 0x844], eax
jne 0x1e00538f
cmp dword [0x1e02c458], ebx
je 0x1e00538f
mov eax, dword [0x1e02c460]
cmp eax, ebx
je 0x1e00538f
lea ecx, [ebp - 0x840]
push ecx
push eax
call fcn.1e01b584
test eax, eax
je 0x1e00538f
cmp dword [ebp - 0x840], 8
jne 0x1e005223
cmp dword [ebp - 0x83c], ebx
je 0x1e005239
push ebx
push 8
push dword [0x1e02c460]
call fcn.1e01b444
test eax, eax
je 0x1e00538f
xor eax, eax
mov edx, 0x82
push esi
push edi
mov ecx, edx
lea edi, [ebp - 0x628]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov ecx, edx
lea edi, [ebp - 0x834]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov ecx, edx
lea edi, [ebp - 0x41c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
cmp dword [ebp - 0x84c], ebx
mov ecx, edx
lea edi, [ebp - 0x210]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov esi, 0x20a
je 0x1e005298
push esi
push dword [ebp - 0x84c]
lea eax, [ebp - 0x628]
push eax
call fcn.1e01d906
cmp dword [ebp - 0x848], ebx
je 0x1e0052b3
push esi
push dword [ebp - 0x848]
lea eax, [ebp - 0x834]
push eax
call fcn.1e01d906
cmp dword [ebp - 0x850], ebx
je 0x1e0052ce
push esi
push dword [ebp - 0x850]
lea eax, [ebp - 0x41c]
push eax
call fcn.1e01d906
cmp dword [ebp - 0x844], ebx
je 0x1e0052e9
push esi
push dword [ebp - 0x844]
lea eax, [ebp - 0x210]
push eax
call fcn.1e01d906
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
lea eax, [ebp - 0x838]
push eax
push esi
lea eax, [ebp - 0x628]
push eax
push dword [0x1e02c460]
call edi
push ebx
lea eax, [ebp - 0x838]
push eax
push esi
lea eax, [ebp - 0x834]
push eax
push dword [0x1e02c460]
call edi
push ebx
lea eax, [ebp - 0x838]
push eax
push esi
lea eax, [ebp - 0x41c]
push eax
push dword [0x1e02c460]
call edi
push ebx
lea eax, [ebp - 0x838]
push eax
push esi
lea eax, [ebp - 0x210]
push eax
push dword [0x1e02c460]
call edi
push ebx
lea eax, [ebp - 0x838]
push eax
push 4
lea eax, [ebp + 0x18]
push eax
push dword [0x1e02c460]
call edi
cmp dword [ebp - 0x840], 8
pop edi
pop esi
jne 0x1e005378
cmp dword [ebp - 0x83c], ebx
je 0x1e00538f
push dword [ebp - 0x83c]
push dword [ebp - 0x840]
push dword [0x1e02c460]
call fcn.1e01b444
mov ecx, dword [ebp - 4]
pop ebx
call fcn.1e01ab9b
leave
ret 0x14
Function at 0x1e005d9d
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc0
cmp dword [ebp + 8], 0x10000000
mov eax, dword [0x1e02c028]
mov dword [ebp - 4], eax
jne 0x1e005ded
call fcn.1e010e40
test eax, eax
jne 0x1e005ded
push dword [0x1e030af8]
call sub.LOG.dll_LogBegin
push 5
push 0x3ec
push 0x1e0014f8
call sub.LOG.dll_LogA
add esp, 0xc
call sub.LOG.dll_LogEnd
xor eax, eax
jmp 0x1e005fcd
push esi
push edi
push 0x25
pop ecx
xor eax, eax
push 7
lea edi, [ebp - 0xa4]
rep stosd dword es:[edi], eax
pop ecx
lea edi, [ebp - 0xc0]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0xa4]
push eax
mov dword [ebp - 0xa4], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x1e005f8e
mov esi, dword [ebp - 0x9c]
xor eax, eax
push ebx
inc eax
cmp dword [ebp - 0x94], eax
push 4
pop edx
jne 0x1e005ea6
cmp dword [ebp - 0xa0], edx
mov dword [ebp - 0xc0], eax
jne 0x1e005ef5
test esi, esi
jne 0x1e005e77
xor ebx, ebx
cmp word [ebp - 0x98], 0x457
mov dword [ebp - 0xb8], eax
jb 0x1e005efb
mov dword [ebp - 0xb8], 2
jmp 0x1e005efb
cmp esi, 0xa
jne 0x1e005e97
xor ebx, ebx
cmp word [ebp - 0x98], 0x8ae
mov dword [ebp - 0xb8], 3
jb 0x1e005efb
mov ebx, eax
jmp 0x1e005efb
cmp esi, 0x5a
jne 0x1e005ef5
mov dword [ebp - 0xb8], edx
xor ebx, ebx
jmp 0x1e005eac
mov ebx, dword [ebp - 0xb0]
push 2
pop ecx
cmp dword [ebp - 0x94], ecx
jne 0x1e005efb
cmp dword [ebp - 0xa0], edx
mov dword [ebp - 0xc0], ecx
jne 0x1e005ecd
mov dword [ebp - 0xb8], eax
mov ebx, esi
cmp dword [ebp - 0xa0], 5
jne 0x1e005ede
mov dword [ebp - 0xb8], ecx
mov ebx, esi
cmp dword [ebp - 0xa0], 6
jne 0x1e005efb
mov dword [ebp - 0xb8], 3
mov ebx, esi
jmp 0x1e005efb
mov ebx, dword [ebp - 0xb0]
push dword [ebp - 0xc0]
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
mov edi, 0x1e0013c4
lea eax, [ebp - 0x10]
push edi
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
push 0x1e0015d0
push 0
push dword [ebp + 8]
call sym.MIGISM.dll_IsmSetEnvironmentString
push dword [ebp - 0xb8]
lea eax, [ebp - 0x10]
push edi
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
push 0x1e0015bc
push 0
push dword [ebp + 8]
call sym.MIGISM.dll_IsmSetEnvironmentString
push ebx
lea eax, [ebp - 0x10]
push edi
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
push 0x1e0015ac
push 0
push dword [ebp + 8]
call sym.MIGISM.dll_IsmSetEnvironmentString
push dword [ebp - 0x98]
lea eax, [ebp - 0x10]
push edi
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
push 0x1e00159c
push 0
push dword [ebp + 8]
call sym.MIGISM.dll_IsmSetEnvironmentString
pop ebx
mov edi, dword [ebp + 8]
cmp edi, 0x10000000
jne 0x1e005fc2
push 0
push 0x1e02c478
call sym.MIGISM.dll_TrackedIsmCreateObjectHandle
mov esi, eax
test esi, esi
je 0x1e005fc2
push esi
push 0x1e0014cc
call sym.MIGISM.dll_IsmGetObjectTypeId
push eax
call sym.MIGISM.dll_IsmRegisterStaticExclusion
push esi
call fcn.1e01f8e4
mov dword [0x1e02c444], edi
xor eax, eax
pop edi
inc eax
pop esi
mov ecx, dword [ebp - 4]
call fcn.1e01ab9b
leave
ret 4
Function at 0x1e006804
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x1e006818
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x1e006813
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x1e0067fd
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x1e006805
cmp edx, ebx
jne 0x1e006953
invalid
add byte [ebx + 0x45830448], cl
or byte [edx], al
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x1e0067d4
add eax, dword [eax + 4]
jmp 0x1e0067c1
mov dword [ebp + 0xc], ebx
jmp 0x1e006823
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x1e00683b
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x1e006859
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x1e0068b7
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x1e00689e
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x1e0068a7
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x1e0068b1
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x1e006893
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x1e00681d
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x1e006904
dec eax
je 0x1e0068fb
sub eax, 3
je 0x1e0068f2
mov dword [ebp - 4], 0x40
jmp 0x1e006921
mov dword [ebp - 4], 4
jmp 0x1e006907
mov dword [ebp - 4], 0x20
jmp 0x1e006907
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x1e006953
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x1e0068d3
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.1e006164
mov ecx, 0xff625572
jne 0x1e00695e
push 1
push esi
call edi
mov eax, esi
jmp 0x1e00695f
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
rcr byte [edi + 0x5e], 0x5b
pop edi
pop esi
pop ebx
leave
ret