joyce8/EMBER2024-capa huggingface dataset:
Function at 0x426050
Capabilities:
Check mutex on windows
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov esi, dword [ebp + 8]
mov dword [esp], esi
call sym._strlen
mov ebx, eax
add eax, 0x10
mov dword [ebp - 0x1c], eax
lea eax, [ebx + 0x40]
lea ecx, [ebx + 0x30]
shr eax, 4
mov dword [ebp - 0x20], ecx
shl eax, 4
call fcn.004134f0
mov edx, 0x326d
sub esp, eax
lea eax, [esp + 0x1b]
mov dword [esp + 8], ebx
lea edi, [esp + 0xc]
mov dword [esp + 4], esi
mov dword [esp], eax
mov word [esp + 0x18], dx
mov dword [esp + 0xc], 0x2d636367
mov dword [esp + 0x10], 0x656d6873
mov dword [esp + 0x14], 0x64742d6d
mov byte [esp + 0x1a], 0x2d
call sym._memcpy
lea eax, [ebx + 0x10]
add eax, edi
mov dword [eax], 0x61616161
mov dword [eax + 4], 0x61616161
mov dword [eax + 8], 0x61616161
mov dword [eax + 0xc], 0x61616161
mov dword [eax + 0x10], 0x61616161
mov dword [eax + 0x14], 0x61616161
mov dword [eax + 0x18], 0x61616161
mov dword [eax + 0x1c], 0x61616161
mov byte [esp + ebx + 0x3c], 0
mov byte [esp + ebx + 0x1b], 0
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov byte [edi + ebx + 0xf], 0x2d
sub esp, 0xc
mov dword [ebp - 0x24], eax
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
sub esp, 8
test eax, eax
je 0x426144
int3
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_FindAtomA]
sub esp, 4
test ax, ax
je 0x426190
mov ecx, dword [ebp - 0x1c]
movzx eax, ax
mov edx, edi
mov dword [esp], ecx
mov ecx, dword [ebp - 0x20]
call sym._get_ptr_from_atom_1
mov ebx, eax
mov edi, dword [ebp - 0x24]
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
sub esp, 4
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp + 0xc]
add ebx, edi
mov dword [esp], eax
call sym._malloc
mov edx, 0x20
mov esi, eax
lea esi, [esi]
bt esi, edx
jae 0x4261b6
mov eax, edx
neg eax
mov byte [ebx + eax + 0x30], 0x41
sub edx, 1
jne 0x4261a8
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_AddAtomA]
sub esp, 4
test ax, ax
jne 0x4261cd
int3
mov ecx, dword [ebp - 0x1c]
movzx eax, ax
mov edx, edi
mov dword [esp], ecx
mov ecx, dword [ebp - 0x20]
call sym._get_ptr_from_atom_1
mov ebx, eax
cmp esi, eax
je 0x4261f3
mov dword [esp], esi
call sym._free
jmp 0x42616a
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], 0
mov dword [esp], ebx
mov dword [esp + 8], eax
call sym._memset
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x42616a
mov dword [esp], ebx
call dword [ebp + 0x10]
jmp 0x42616a
Function at 0x47e0c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x6c
lea ebx, [esp + 0x1c]
lea esi, [esp + 0x60]
mov dword [esp + 0x14], ecx
mov dword [esp], ebx
mov dword [esp + 0x34], sym.___gxx_personality_sj0
mov dword [esp + 0x38], 0x4d1f00
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], 0x47e1ed
mov dword [esp + 0x44], esp
mov dword [esp + 0x18], ebx
call dbg._Unwind_SjLj_Register
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x5f]
mov dword [eax + 4], 0
mov dword [esp + 4], 1
mov dword [esp], eax
mov dword [esp + 0x20], 0xffffffff
call sym.std::istream::sentry::sentry_std::istream__bool_
sub esp, 8
cmp byte [esp + 0x5f], 0
jne 0x47e180
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 4]
test edx, edx
jne 0x47e161
mov eax, 4
mov esi, dword [esp + 0x14]
mov edx, dword [esi]
add esi, dword [edx - 0xc]
or eax, dword [esi + 0x14]
mov ecx, esi
mov dword [esp + 0x20], 0xffffffff
mov dword [esp], eax
call method.std::basic_ios_char__std::char_traits_char___.clear_std::_Ios_Iostate_
sub esp, 4
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call sym.__Unwind_SjLj_Unregister
mov eax, dword [esp + 0x14]
add esp, 0x6c
pop ebx
pop esi
pop edi
pop ebp
ret 4
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
mov ecx, dword [edi + eax + 0x78]
mov eax, dword [ecx + 8]
cmp dword [ecx + 0xc], eax
jbe 0x47e1c0
movzx edx, byte [eax]
add eax, 1
mov dword [ecx + 8], eax
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x80]
mov dword [edi + 4], 1
mov byte [eax], dl
mov eax, dword [edi + 4]
test eax, eax
je 0x47e13b
jmp 0x47e161
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
mov dword [esp + 0x20], 1
call eax
cmp eax, 0xffffffff
jne 0x47e1e9
mov eax, dword [esp + 0x14]
cmp dword [eax + 4], 1
sbb eax, eax
and eax, 4
add eax, 2
jmp 0x47e140
mov edx, eax
jmp 0x47e19e
Function at 0x10001000
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
mov eax, dword [0x10021454]
xor eax, ebp
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x100227c0], eax
cmp dword [ebp + 0xc], 1
jne 0x1000123b
fldz
fstp dword [ebp - 0x3f8]
fldz
fstp dword [ebp - 0x400]
fldz
fstp dword [ebp - 0x408]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x404], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x3f4], eax
mov eax, dword [ebp - 0x3f4]
push eax
call fcn.10007a99
add esp, 4
mov dword [ebp - 0x40c], 0
jmp 0x10001082
mov ecx, dword [ebp - 0x40c]
add ecx, 1
mov dword [ebp - 0x40c], ecx
cmp dword [ebp - 0x40c], 0xf4240
jae 0x10001102
call fcn.10007aab
mov dword [ebp - 0x414], eax
fild dword [ebp - 0x414]
fstp dword [ebp - 0x3f8]
call fcn.10007aab
mov dword [ebp - 0x418], eax
fild dword [ebp - 0x418]
fstp dword [ebp - 0x400]
call fcn.10007aab
mov dword [ebp - 0x41c], eax
fild dword [ebp - 0x41c]
fstp dword [ebp - 0x408]
fld dword [ebp - 0x400]
fmul dword [ebp - 0x3f8]
fmul dword [ebp - 0x408]
fmul dword [ebp - 0x3f8]
fmul dword [ebp - 0x408]
fsub dword [ebp - 0x400]
fstp dword [ebp - 0x408]
jmp 0x10001073
mov dword [ebp - 0x410], 0
jmp 0x1000111d
mov edx, dword [ebp - 0x410]
add edx, 1
mov dword [ebp - 0x410], edx
cmp dword [ebp - 0x410], 0xf4240
jae 0x10001205
call fcn.10007aab
mov dword [ebp - 0x420], eax
fild dword [ebp - 0x420]
fstp dword [ebp - 0x3f8]
fld dword [ebp - 0x3f8]
fcomp qword [0x1001c1a8]
fnstsw ax
test ah, 0x44
jnp 0x10001176
call fcn.10007aab
mov dword [ebp - 0x424], eax
fild dword [ebp - 0x424]
fdiv dword [ebp - 0x3f8]
fstp dword [ebp - 0x400]
jmp 0x1000118d
call fcn.10007aab
mov dword [ebp - 0x428], eax
fild dword [ebp - 0x428]
fstp dword [ebp - 0x400]
fld dword [ebp - 0x400]
fcomp qword [0x1001c1a8]
fnstsw ax
test ah, 0x44
jnp 0x100011bf
call fcn.10007aab
mov dword [ebp - 0x42c], eax
fild dword [ebp - 0x42c]
fdiv dword [ebp - 0x400]
fstp dword [ebp - 0x408]
jmp 0x100011d6
call fcn.10007aab
mov dword [ebp - 0x430], eax
fild dword [ebp - 0x430]
fstp dword [ebp - 0x408]
fld dword [ebp - 0x400]
fmul dword [ebp - 0x3f8]
fmul dword [ebp - 0x408]
fmul dword [ebp - 0x3f8]
fmul dword [ebp - 0x408]
fsub dword [ebp - 0x400]
fstp dword [ebp - 0x408]
jmp 0x1000110e
mov dword [ebp - 0x3fc], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x3fc], eax
fld dword [ebp - 0x408]
fadd qword [0x1001c1a0]
fstp dword [ebp - 0x408]
mov eax, dword [ebp - 0x3fc]
cmp eax, dword [ebp - 0x3f4]
jbe 0x1000120f
mov ecx, dword [ebp + 8]
mov dword [0x100227c4], ecx
mov byte [ebp - 0x3f0], 0
push 0x3e7
push 0
lea edx, [ebp - 0x3ef]
push edx
call fcn.10007b60
add esp, 0xc
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10007b50
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100031f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001b228
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x10021454]
xor eax, ebp
mov dword [ebp - 0x18], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x68], ecx
mov eax, dword [ebp - 0x68]
cmp dword [eax + 0x3c], 0
je 0x10003230
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x1000323c
mov al, 1
jmp 0x100033df
mov dword [ebp - 0x10], 8
call fcn.100027c0
push eax
mov eax, dword [ebp - 0x68]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x68]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x3c], eax
call fcn.100027c0
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.10002750
add esp, 8
movzx eax, al
test eax, eax
je 0x1000327f
xor al, al
jmp 0x100033df
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.100028e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x34]
call fcn.10002b20
mov ecx, eax
call fcn.100034c0
mov esi, eax
lea ecx, [ebp - 0x34]
call fcn.10001630
add esi, eax
push esi
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x34]
call fcn.10002b20
mov ecx, eax
call fcn.100034c0
push eax
mov ecx, dword [ebp - 0x68]
add ecx, 0x44
push ecx
mov edx, dword [ebp - 0x68]
mov ecx, dword [edx + 0x3c]
call fcn.10003bb0
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x100032fa
cmp dword [ebp - 0x6c], 1
je 0x10003301
cmp dword [ebp - 0x6c], 3
je 0x1000339b
jmp 0x100033b3
mov eax, dword [ebp - 0x68]
mov byte [eax + 0x41], 0
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x34]
call fcn.10002b20
mov ecx, eax
call fcn.100034c0
mov edx, dword [ebp - 0x14]
sub edx, eax
mov dword [ebp - 0x38], edx
je 0x10003364
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 1
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x34]
call fcn.10002b20
mov ecx, eax
call fcn.100034c0
push eax
call fcn.1000817e
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x10003364
mov byte [ebp - 0x61], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.10004cd0
mov al, byte [ebp - 0x61]
jmp 0x100033df
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x10003387
mov byte [ebp - 0x62], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.10004cd0
mov al, byte [ebp - 0x62]
jmp 0x100033df
cmp dword [ebp - 0x38], 0
jne 0x10003399
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.10002920
jmp 0x100033cb
mov byte [ebp - 0x63], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.10004cd0
mov al, byte [ebp - 0x63]
jmp 0x100033df
mov byte [ebp - 0x64], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.10004cd0
mov al, byte [ebp - 0x64]
jmp 0x100033df
jmp 0x10003292
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.10007b50
mov esp, ebp
pop ebp
ret

Function at 0x10007b50
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10021454]
jne 0x10007b5a
repz ret
jmp fcn.1000d79d
Function at 0x10017e6e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.1000c676
and dword [ebp - 4], 0
cmp dword [0x10023c00], 0
mov ebx, eax
jne 0x10017f1f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10017fd0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x10017fd0
push eax
call fcn.1000c604
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10023c00], eax
call esi
push eax
call fcn.1000c604
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10023c04], eax
call esi
push eax
call fcn.1000c604
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10023c08], eax
call esi
push eax
call fcn.1000c604
pop ecx
mov dword [0x10023c10], eax
test eax, eax
je 0x10017f1f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1000c604
pop ecx
mov dword [0x10023c0c], eax
mov eax, dword [0x10023c0c]
cmp eax, ebx
je 0x10017f77
cmp dword [0x10023c10], ebx
je 0x10017f77
push eax
call fcn.1000c67f
push dword [0x10023c10]
mov esi, eax
call fcn.1000c67f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10017f77
test edi, edi
je 0x10017f77
call esi
test eax, eax
je 0x10017f6e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10017f6e
test byte [ebp - 0xc], 1
jne 0x10017f77
or dword [ebp + 0x10], 0x200000
jmp 0x10017fb0
mov eax, dword [0x10023c04]
cmp eax, ebx
je 0x10017fb0
push eax
call fcn.1000c67f
pop ecx
test eax, eax
je 0x10017fb0
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10017fb0
mov eax, dword [0x10023c08]
cmp eax, ebx
je 0x10017fb0
push eax
call fcn.1000c67f
pop ecx
test eax, eax
je 0x10017fb0
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10023c00]
call fcn.1000c67f
pop ecx
test eax, eax
je 0x10017fd0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10017fd2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401ba0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x41a386
call fcn.0041994c
mov eax, dword [ebp + 0xc]
xor esi, esi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], esi
mov dword [ebp - 0x418], esi
push 0x60
push esi
push ebx
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x401c1d
push 2
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x401c1d
call fcn.00401225
mov esi, eax
jmp 0x401d23
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x401c40
call fcn.00401225
jmp 0x401d16
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x401c36
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
lea eax, [ebx + 1]
cmp eax, ebx
jae 0x401c73
mov esi, 0x8007000e
jmp 0x401d18
push 2
pop ecx
mul ecx
mov byte [ebp - 4], cl
cmp edx, esi
ja 0x401d46
jb 0x401c8e
cmp eax, 0xffffffff
ja 0x401d46
cmp eax, 0x400
jbe 0x401ca3
push eax
lea ecx, [ebp - 0x418]
call fcn.00405fa3
jmp 0x401cc5
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x401cc5
mov dword [ebp - 4], 1
cmp dword [ebp - 0x418], 0
je 0x401c69
push ebx
push dword [ebp - 0x418]
push ebx
push dword [ebp - 0x41c]
push esi
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x401c36
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.00402758
mov esi, eax
test edi, edi
je 0x401d23
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x401d3c
lea ecx, [ebp - 0x418]
call fcn.00405f9a
mov eax, esi
call fcn.00419899
ret 0x10
push 0x80070216
call fcn.004011a5
int3
Function at 0x4071dd
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x42600c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, 0x20a
lea eax, [ebp - 0x41c]
push edi
xor ebx, ebx
mov esi, ecx
push ebx
push eax
call fcn.004095e0
push edi
lea eax, [ebp - 0x210]
push ebx
push eax
call fcn.004095e0
add esp, 0x18
mov dword [ebp - 0x420], ebx
mov ecx, 0x105
mov dword [ebp - 0x428], ebx
lea eax, [ebp - 0x210]
mov dword [ebp - 0x424], ebx
push ecx
push eax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x420]
push eax
push ecx
lea eax, [ebp - 0x41c]
push eax
push 0x42281c
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov edi, 0x104
test eax, eax
je 0x40727d
push 0xa
push edi
push esi
push dword [ebp - 0x420]
call fcn.0040cf72
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x10
jge 0x407297
push str.thsnYaViMRAeBoda
mov edx, edi
mov ecx, esi
call fcn.00403aa0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040797f
leave
ret

Function at 0x407636
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x42600c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004095e0
add esp, 0xc
lea ecx, [ebp - 0x20c]
call fcn.004072a6
lea eax, [ebp - 0x20c]
push eax
push 0
push 0xf001f
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
test eax, eax
jne 0x4076a4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x4076a0
push ecx
push eax
mov edx, str.Could_not_open_file_mapping_object
mov ecx, str.ReleaseSharedMemory__
call fcn.00407336
pop ecx
pop ecx
xor eax, eax
jmp 0x4076ae
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040797f
leave
ret
Function at 0x40726c
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
and dword [ebp - 0x14], 0
push ebx
mov ebx, ecx
lea ecx, [ebp - 0x14]
push esi
mov esi, edx
mov dword [ebp - 0x38], ebx
push edi
mov eax, dword [ebx]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 0x24], eax
mov eax, dword [esi]
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x34], eax
call fcn.004071b0
mov edi, dword [ebp - 0x14]
mov eax, dword [esi + 8]
add edi, 0x23f
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0xc]
push 0x20
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x2c], eax
pop esi
mov dword [ebp - 0x20], 2
add dword [ebp - 0x20], 3
mov edx, dword [ebp - 0xc]
mov eax, edx
mov ecx, dword [0x1a27a64]
shl eax, 4
mov dword [ebp - 4], eax
cmp ecx, 0xc
jne 0x4072f4
push 0x401174
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov ecx, dword [0x1a27a64]
add eax, dword [ebp - 0x28]
cmp ecx, 0xfa9
mov dword [ebp - 4], eax
mov eax, dword [0x1a27aa8]
mov dword [ebp - 0x24], 0xedeb2e40
cmove eax, dword [ebp - 0x24]
and dword [ebp - 0x24], 0
cmp ecx, 0x3eb
mov dword [0x1a27aa8], eax
mov eax, dword [0x1a27ab0]
cmove eax, dword [ebp - 0x24]
mov dword [0x1a27ab0], eax
lea eax, [edi + edx]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xc]
shr eax, 5
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x2c]
add dword [ebp - 8], eax
mov eax, dword [ebp - 4]
and dword [ebp - 0x18], 0
mov dword [0x1a27aac], 0xf4ea3dee
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x24]
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
xor dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0x1c]
sub ebx, eax
mov dword [ebp - 8], eax
mov eax, ebx
mov dword [ebp - 0x1c], ebx
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x30]
add dword [ebp - 4], eax
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x14]
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
nop
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x20]
mov eax, ebx
shr eax, cl
add eax, dword [ebp - 0x34]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x24]
xor dword [ebp - 4], eax
cmp dword [0x1a27a64], 0xb03
jne 0x4073cb
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
push 0x401178
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov eax, dword [ebp - 4]
and dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
xor dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
sub dword [ebp - 0xc], eax
add edi, 0x61c88647
mov dword [ebp - 0x14], edi
dec esi
jne 0x4072bc
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x38]
pop edi
pop esi
mov dword [ebx], eax
mov eax, dword [ebp - 0x24]
mov dword [ebx + 4], eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x407415
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, edx
shr esi, 3
push edi
mov edi, ecx
test esi, esi
je 0x407453
cmp dword [0x1a27a64], 0x959
jne 0x407443
push 0
call dword [sym.imp.KERNEL32.dll_AttachConsole]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov edx, dword [ebp + 8]
mov ecx, edi
call fcn.0040726c
add edi, 8
dec esi
jne 0x407425
pop edi
pop esi
pop ebp
ret 4
Function at 0x410c2f
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4355a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0040a853
mov dword [ebp - 0x14], eax
cmp dword [0x1a28848], esi
jne 0x410d22
push 0x800
push esi
push 0x40514c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x410caf
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x410e02
push esi
push esi
push 0x40514c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x410e02
push 0x405164
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x410e02
push eax
call ebx
push 0x405170
push edi
mov dword [0x1a28848], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x405180
push edi
mov dword [0x1a2884c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x405194
push edi
mov dword [0x1a28850], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1a28858], eax
test eax, eax
je 0x410d1f
push 0x4051b0
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1a28854], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x410d47
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x410d3a
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x410d5c
push 4
pop eax
jmp 0x410e04
cmp dword [ebp - 0x14], esi
je 0x410d5c
push dword [0x1a28848]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x410d41
mov eax, dword [0x1a28854]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x410dba
cmp dword [0x1a28858], edi
je 0x410dba
push eax
call ebx
push dword [0x1a28858]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x410dba
test eax, eax
je 0x410dba
call ecx
test eax, eax
je 0x410daf
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x410daf
test byte [ebp - 8], 1
jne 0x410dba
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x410dea
mov eax, dword [0x1a2884c]
cmp eax, edi
je 0x410de7
push eax
call ebx
test eax, eax
je 0x410de7
call eax
mov esi, eax
test esi, esi
je 0x410de7
mov eax, dword [0x1a28850]
cmp eax, edi
je 0x410de7
push eax
call ebx
test eax, eax
je 0x410de7
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x1a28848]
call ebx
test eax, eax
je 0x410e02
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x410e04
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00409dfe
mov esp, ebp
pop ebp
ret