joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413bc2
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [0x4276dc]
push esi
push 0xf0000000
xor esi, esi
push 0x18
push esi
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x424]
push eax
mov dword [ebp - 0x42c], 0x20
mov dword [ebp - 0x424], esi
mov dword [ebp - 0x420], esi
mov byte [ebp - 0x1c], 0xeb
mov byte [ebp - 0x1b], 0x7a
mov byte [ebp - 0x1a], 0x75
mov byte [ebp - 0x19], 0xd0
mov byte [ebp - 0x18], 0x38
mov byte [ebp - 0x17], 0xce
mov byte [ebp - 0x16], 0xa9
mov byte [ebp - 0x15], 0x85
mov byte [ebp - 0x14], 0x6e
mov byte [ebp - 0x13], 0xd8
mov byte [ebp - 0x12], 0x67
mov byte [ebp - 0x11], 0x14
mov byte [ebp - 0x10], 0x38
mov byte [ebp - 0xf], 0xe7
mov byte [ebp - 0xe], 0xb5
mov byte [ebp - 0xd], 0x9c
mov byte [ebp - 0xc], 0x39
mov byte [ebp - 0xb], 0xb8
mov byte [ebp - 0xa], 0xef
mov byte [ebp - 9], 0xf5
mov byte [ebp - 8], 0x56
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x413d49
push ebx
push edi
lea eax, [ebp - 0x420]
push eax
push esi
push esi
push 0x800c
push dword [ebp - 0x424]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x413c85
xor edi, edi
jmp 0x413d38
mov edi, dword [sym.imp.ADVAPI32.dll_CryptHashData]
push esi
push 0x15
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x420]
call edi
test eax, eax
jne 0x413ca5
xor edi, edi
jmp 0x413d2c
push 0x401b5c
push dword [ebp + 8]
mov dword [ebp - 0x428], esi
call dword [sym.imp.msvcrt.dll__wfopen]
mov ebx, eax
cmp ebx, esi
pop ecx
pop ecx
je 0x413d0c
push ebx
push 0x400
lea eax, [ebp - 0x41c]
push 1
push eax
call dword [sym.imp.msvcrt.dll_fread]
add esp, 0x10
cmp eax, esi
jbe 0x413d04
add dword [ebp - 0x428], eax
push esi
push eax
lea eax, [ebp - 0x41c]
push eax
push dword [ebp - 0x420]
call edi
test eax, eax
je 0x413d56
cmp dword [ebp - 0x428], 0x2c00
jb 0x413cc1
push ebx
call dword [sym.imp.msvcrt.dll_fclose]
pop ecx
push esi
lea eax, [ebp - 0x42c]
push eax
push dword [ebp + 0xc]
push 2
push dword [ebp - 0x420]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
xor edi, edi
test eax, eax
je 0x413d2c
inc edi
push dword [ebp - 0x420]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push esi
push dword [ebp - 0x424]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, edi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
pop esi
call fcn.00416443
leave
ret 8
push dword [ebp - 0x420]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push esi
push dword [ebp - 0x424]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push ebx
call dword [sym.imp.msvcrt.dll_fclose]
pop ecx
xor eax, eax
jmp 0x413d47
Function at 0x413d7b
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using aes via winapi
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x4276dc]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push 8
pop ecx
push 0xf0000000
push 0x18
push 0x401b68
xor ebx, ebx
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 0x3c]
mov byte [ebp - 0x30], cl
mov byte [ebp - 0x2f], 2
mov word [ebp - 0x2e], bx
mov dword [ebp - 0x2c], 0x6610
mov dword [ebp - 0x28], 0x20
lea edi, [ebp - 0x24]
push eax
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x413e67
lea eax, [ebp + 0xc]
push eax
push ebx
push ebx
push 0x2c
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
xor edi, edi
test eax, eax
je 0x413e5b
mov esi, dword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
push ebx
lea eax, [ebp - 0x34]
push eax
push 4
push dword [ebp + 0xc]
inc edi
mov dword [ebp - 0x34], edi
call esi
test eax, eax
jne 0x413e0a
xor edi, edi
jmp 0x413e52
push ebx
lea eax, [ebp - 0x34]
push eax
push 3
push dword [ebp + 0xc]
mov dword [ebp - 0x34], edi
call esi
test eax, eax
je 0x413e06
mov esi, dword [ebp + 8]
mov eax, dword [esi + 8]
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x413e32
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
lea ecx, [ebp - 0x38]
push ecx
push eax
push ebx
push edi
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
je 0x413e06
push dword [ebp - 0x38]
mov ecx, esi
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::resize_unsigned_int_]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
push ebx
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.00416443
leave
ret 8
Function at 0x414a15
Capabilities:
Enumerate devices by category

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
lea eax, [ebp - 8]
push eax
push 0x403d30
push 1
xor ebx, ebx
push ebx
push 0x403dd0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
cmp edi, ebx
jl 0x414ac8
mov eax, dword [ebp - 8]
push ebx
lea edx, [ebp - 4]
push edx
push 0x401b4c
mov dword [ebp - 4], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov edi, eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp edi, ebx
jne 0x414ac8
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x14]
mov esi, dword [ebp + 0xc]
jmp 0x414ac3
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ebx
lea edx, [ebp + 0xc]
push edx
push 1
push eax
call dword [ecx + 0xc]
mov edi, eax
cmp edi, ebx
jne 0x414ac7
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push esi
push 0x403d20
push ebx
push ebx
push eax
call dword [ecx + 0x20]
mov edi, eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp edi, ebx
jl 0x414ac3
push dword [ebp + 8]
push dword [esi]
call fcn.004149a3
mov edi, eax
cmp edi, ebx
jge 0x414ac7
mov eax, dword [esi]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi], ebx
cmp dword [esi], ebx
je 0x414a73
pop esi
mov eax, edi
pop edi
pop ebx
leave
ret 8

Function at 0x416443
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4276dc]
jne 0x41644c
ret
jmp 0x416451
push ebp
lea ebp, [esp - 0x2a8]
sub esp, 0x328
mov eax, dword [0x4276dc]
mov dword [ebp + 0x2a4], eax
mov eax, dword [0x429974]
test eax, eax
je 0x416475
call eax
cmp dword [0x429978], 0
je 0x4164bc
push edi
xor eax, eax
and dword [ebp - 0x28], eax
push 0x13
pop ecx
lea edi, [ebp - 0x7c]
rep stosd dword es:[edi], eax
mov ecx, 0xb2
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x80]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x28]
push 0
mov dword [ebp - 0x80], 0xc0000409
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea eax, [ebp - 0x30]
push eax
call dword [0x429978]
pop edi
push 0x502
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp + 0x2a4]
call fcn.00416443
add ebp, 0x2a8
leave
ret
Function at 0x41d307
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4
push ebx
push esi
push edi
push 5
pop ecx
mov esi, 0x409890
lea edi, [ebp - 0x60]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 5
pop ecx
mov esi, 0x409878
lea edi, [ebp - 0x48]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, 0x409864
lea edi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, dword [ebp + 8]
movsw word es:[edi], word [esi]
mov esi, 0x409850
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push ebx
push 0x409830
movsb byte es:[edi], byte [esi]
xor esi, esi
lea eax, [ebp - 0xc4]
push 0x64
push eax
mov dword [0x4298dc], esi
mov dword [0x4298e0], esi
mov dword [0x4298e4], esi
call fcn.0041d2af
add esp, 0x10
test eax, eax
jl 0x41d4ab
lea eax, [ebp + 8]
push eax
push 0x20019
push esi
lea eax, [ebp - 0xc4]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41d4b4
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 4]
push eax
push 0x4298dc
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp - 0x60]
push eax
push dword [ebp + 8]
mov dword [ebp - 4], 4
call edi
test eax, eax
je 0x41d3d5
mov dword [0x4298dc], esi
lea eax, [ebp - 4]
push eax
push 0x4298e0
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp - 0x48]
push eax
push dword [ebp + 8]
call edi
test eax, eax
je 0x41d3f6
mov dword [0x4298e0], esi
lea eax, [ebp - 4]
push eax
push 0x4298e4
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 8]
call edi
test eax, eax
je 0x41d417
mov dword [0x4298e4], esi
lea eax, [ebp - 4]
push eax
push 0x4298e8
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp - 0x30]
push eax
push dword [ebp + 8]
call edi
test eax, eax
je 0x41d43c
mov dword [0x4298e8], 0xffff0000
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x4298dc], esi
jne 0x41d465
cmp dword [0x4298e0], esi
jne 0x41d475
cmp dword [0x4298e4], esi
jne 0x41d475
xor eax, eax
inc eax
jmp 0x41d4e9
cmp dword [0x4298e0], esi
jne 0x41d475
cmp dword [0x4298e4], esi
je 0x41d49a
push ebx
push 0x40982c
push 0x64
push 0x429878
call fcn.0041d2af
add esp, 0x10
test eax, eax
jl 0x41d4ab
push esi
push ebx
call sub.rtutils.dll_TraceRegisterExW
mov dword [0x428f78], eax
cmp dword [0x4298dc], esi
jne 0x41d4af
cmp dword [0x428f78], 0xffffffff
jne 0x41d4af
xor eax, eax
jmp 0x41d4e9
xor eax, eax
inc eax
jmp 0x41d4e4
push ebx
push 0x40982c
push 0x64
push 0x429878
call fcn.0041d2af
add esp, 0x10
test eax, eax
jl 0x41d4ab
push esi
push ebx
call sub.rtutils.dll_TraceRegisterExW
mov ecx, eax
xor eax, eax
inc eax
cmp ecx, 0xffffffff
mov dword [0x428f78], ecx
je 0x41d4e9
mov dword [0x4298ec], eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x41d4f0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push ebx
push esi
xor esi, esi
cmp dword [0x4298dc], esi
push edi
mov edi, dword [ebp + 8]
mov ebx, 0x201
jbe 0x41d617
test dword [0x4298e8], edi
je 0x41d617
cmp edi, 0x10002
je 0x41d55c
cmp edi, 0x20002
je 0x41d559
cmp edi, 0x40002
je 0x41d555
cmp edi, 0x80002
je 0x41d550
xor eax, eax
cmp edi, 0x100002
setne al
add eax, 4
mov esi, eax
jmp 0x41d55c
push 3
pop esi
jmp 0x41d55c
push 2
jmp 0x41d552
xor esi, esi
inc esi
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push dword [esi*4 + 0x428f7c]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
movzx eax, word [ebp - 6]
push eax
movzx eax, word [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
movzx eax, word [ebp - 0xc]
push eax
push 0x429878
push 0x4098f0
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.0041d2af
add esp, 0x28
test eax, eax
jl 0x41d6af
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push ebx
lea eax, [ebp - 0x218]
push eax
call fcn.0041d22f
test eax, eax
jl 0x41d6af
mov eax, dword [ebp - 4]
cmp eax, ebx
jae 0x41d6af
lea ecx, [ebp + 0x10]
push ecx
push dword [ebp + 0xc]
mov ecx, ebx
sub ecx, eax
push ecx
lea eax, [ebp + eax - 0x218]
push eax
call fcn.0041d294
test eax, eax
jge 0x41d5f8
cmp eax, 0x7a
jne 0x41d6af
push 0x4098ec
push ebx
lea eax, [ebp - 0x218]
push eax
call fcn.0041d2d6
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [0x428f78], 0xffffffff
je 0x41d6af
xor eax, eax
cmp dword [0x4298e0], eax
ja 0x41d636
cmp dword [0x4298e4], eax
jbe 0x41d6af
cmp edi, 0x10002
je 0x41d672
cmp edi, 0x20002
je 0x41d66f
cmp edi, 0x40002
je 0x41d66b
cmp edi, 0x80002
je 0x41d666
xor eax, eax
cmp edi, 0x100002
setne al
add eax, 4
jmp 0x41d672
push 3
pop eax
jmp 0x41d672
push 2
jmp 0x41d668
xor eax, eax
inc eax
push dword [ebp + 0xc]
push dword [eax*4 + 0x428f7c]
lea eax, [ebp - 0x218]
push 0x4098e4
push ebx
push eax
call fcn.0041d2af
add esp, 0x14
test eax, eax
jl 0x41d6af
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 0x218]
push eax
or edi, 4
push edi
push dword [0x428f78]
call sub.rtutils.dll_TraceVprintfExA
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4236c2
Capabilities:
Create thread

Disassembly:
mov eax, 0x4252d1
call fcn.00416750
push ecx
push ecx
push ebx
push esi
push edi
xor edi, edi
cmp dword [0x4298ec], edi
mov esi, ecx
mov ebx, 0x80002
je 0x4236ef
push 0x40f2a0
push ebx
call fcn.0041d4f0
pop ecx
pop ecx
push esi
mov dword [ebp - 0x10], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi + 0x30], edi
mov dword [ebp - 4], edi
jne 0x42376f
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
cmp eax, edi
mov dword [esi + 0x3c], eax
jne 0x423732
cmp dword [0x4298ec], edi
je 0x42372b
push 0x40f280
push 0x10002
call fcn.0041d4f0
pop ecx
pop ecx
mov edi, 0x80004005
jmp 0x423787
lea eax, [ebp - 0x14]
push eax
push edi
push esi
push 0x4236b6
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, edi
mov dword [esi + 0x40], eax
jne 0x42376f
cmp dword [0x4298ec], edi
je 0x42372b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x40f264
push 0x10002
call fcn.0041d4f0
add esp, 0xc
jmp 0x42372b
inc dword [esi + 0x30]
cmp dword [0x4298ec], edi
je 0x423787
push 0x40f244
push ebx
call fcn.0041d4f0
pop ecx
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x401a00
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x54
push ebx
push ebp
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push esi
push edi
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x3c]
rep stosd dword es:[edi], eax
mov dword [esp + 0x3c], eax
mov eax, dword [sym.imp.USER32.dll_DefWindowProcA]
push 0
mov dword [esp + 0x44], eax
call ebx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x4c], eax
push ecx
mov dword [esp + 0x64], str.Warcraft_III_Root
call dword [sym.imp.USER32.dll_RegisterClassA]
mov ebp, dword [sym.imp.USER32.dll_GetDesktopWindow]
lea edx, [esp + 0x10]
push edx
call ebp
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
add eax, ecx
push 0
cdq
sub eax, edx
mov edx, dword [esp + 0x18]
mov esi, eax
mov eax, dword [esp + 0x20]
add eax, edx
push 0
cdq
sub eax, edx
mov edi, eax
sar esi, 1
sar edi, 1
sub esi, 0x10
sub edi, 0x10
call ebx
push eax
push 0
call ebp
push eax
push 0x10
push 0x10
push edi
push esi
push 0x80000000
push str.Launching_Warcraft_III
push str.Warcraft_III_Root
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
push 1
push eax
mov dword [0x40aad0], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x40aad0]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov edx, dword [0x40aad0]
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
push 0
push 0
push 0
lea eax, [esp + 0x2c]
push edx
push eax
call esi
test eax, eax
je 0x401b2a
mov edi, dword [sym.imp.USER32.dll_GetMessageA]
mov ebx, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebp, dword [sym.imp.USER32.dll_DispatchMessageA]
mov ecx, dword [0x40aad0]
push 0
push 0
lea edx, [esp + 0x28]
push ecx
push edx
call edi
lea eax, [esp + 0x20]
push eax
call ebx
lea ecx, [esp + 0x20]
push ecx
call ebp
mov edx, dword [0x40aad0]
push 0
push 0
push 0
lea eax, [esp + 0x2c]
push edx
push eax
call esi
test eax, eax
jne 0x401af2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret

Function at 0x401b40
Capabilities:
Create thread

Disassembly:
push esi
call fcn.00401a00
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
push 1
push 0
mov dword [0x40aadc], 1
call esi
push 0
push 0
push 1
push 0
mov dword [0x40aad4], eax
call esi
push 0
push 0x2000
push 0x401850
mov dword [0x40aad8], eax
call fcn.00401ffb
mov eax, dword [0x40aad0]
add esp, 0xc
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [0x40aad0]
pop esi
ret
Function at 0x404a90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40a4e0
cmp edx, dword [eax]
je 0x404ab2
add eax, 8
inc ecx
cmp eax, 0x40a570
jl 0x404aa3
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40a4e0]
jne 0x404be0
mov eax, dword [0x40aae8]
cmp eax, 1
je 0x404bba
test eax, eax
jne 0x404ae3
cmp dword [0x4080c0], 1
je 0x404bba
cmp edx, 0xfc
je 0x404be0
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x404b1a
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004054b0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004028c0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x404b5d
lea eax, [ebp - 0x1a4]
push eax
call fcn.004028c0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40751c
push edi
call fcn.00405960
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004054b0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004054c0
lea eax, [ebp - 0xa0]
push 0x4074fc
push eax
call fcn.004054c0
push dword [esi + 0x40a4e4]
lea eax, [ebp - 0xa0]
push eax
call fcn.004054c0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004058d5
add esp, 0x2c
pop edi
jmp 0x404be0
lea eax, [ebp + 8]
lea esi, [esi + 0x40a4e4]
push 0
push eax
push dword [esi]
call fcn.004028c0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x10001d40
Capabilities:
Check for debugger via api
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x10141084]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
call fcn.10001ca0
test eax, eax
jne 0x10001e97
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
cmp dword [ebp - 8], 0
jne 0x10001e97
movaps xmm0, xmmword [0x10131da0]
push ebx
push esi
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x24], 0xe303137
xor esi, esi
mov dword [ebp - 0x20], 0x3b3d312c
mov word [ebp - 0x1c], 0x2d2d
mov byte [ebp - 0x1a], 0
nop dword [eax]
cmp esi, 0x1a
jb 0x10001dcc
push 0x90
push str.C:Program_Files__x86_Microsoft_Visual_Studio_14.0VCinclude_array
push str.array_subscript_out_of_range
call fcn.1005ff50
add esp, 0xc
mov bl, byte [ebp + esi - 0x33]
xor bl, byte [ebp - 0x34]
cmp esi, 0x1a
jb 0x10001def
push 0x90
push str.C:Program_Files__x86_Microsoft_Visual_Studio_14.0VCinclude_array
push str.array_subscript_out_of_range
call fcn.1005ff50
add esp, 0xc
mov byte [ebp + esi - 0x33], bl
inc esi
cmp esi, 0x19
jb 0x10001db0
mov byte [ebp - 0x1a], 0
xor esi, esi
mov dword [ebp - 0x18], 0x1909137d
mov dword [ebp - 0x14], 0x19531111
mov word [ebp - 0x10], 0x1111
mov byte [ebp - 0xe], 0
cmp esi, 0xa
jb 0x10001e33
push 0x90
push str.C:Program_Files__x86_Microsoft_Visual_Studio_14.0VCinclude_array
push str.array_subscript_out_of_range
call fcn.1005ff50
add esp, 0xc
mov bl, byte [ebp + esi - 0x17]
xor bl, byte [ebp - 0x18]
cmp esi, 0xa
jb 0x10001e56
push 0x90
push str.C:Program_Files__x86_Microsoft_Visual_Studio_14.0VCinclude_array
push str.array_subscript_out_of_range
call fcn.1005ff50
add esp, 0xc
mov byte [ebp + esi - 0x17], bl
inc esi
cmp esi, 9
jb 0x10001e17
lea eax, [ebp - 0x33]
mov byte [ebp - 0xe], 0
push eax
lea eax, [ebp - 0x17]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
pop esi
pop ebx
test eax, eax
je 0x10001e9f
push 0
push 4
lea ecx, [ebp - 0xc]
push ecx
push 7
push 0xffffffffffffffff
call eax
test eax, eax
je 0x10001e9f
cmp dword [ebp - 0xc], 0
je 0x10001e9f
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006fa90
mov esp, ebp
pop ebp
ret
Function at 0x10001eb0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
movaps xmm0, xmmword [0x101317b0]
push ebx
push esi
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0x140e2204
xor esi, esi
mov dword [ebp - 0x18], 0x1304150f
mov byte [ebp - 0x14], 0
cmp esi, 0x18
jb 0x10001ef3
push 0x90
push str.C:Program_Files__x86_Microsoft_Visual_Studio_14.0VCinclude_array
push str.array_subscript_out_of_range
call fcn.1005ff50
add esp, 0xc
mov bl, byte [ebp + esi - 0x2b]
xor bl, byte [ebp - 0x2c]
cmp esi, 0x18
jb 0x10001f16
push 0x90
push str.C:Program_Files__x86_Microsoft_Visual_Studio_14.0VCinclude_array
push str.array_subscript_out_of_range
call fcn.1005ff50
add esp, 0xc
mov byte [ebp + esi - 0x2b], bl
inc esi
cmp esi, 0x17
jb 0x10001ed7
mov byte [ebp - 0x14], 0
xor esi, esi
mov dword [ebp - 0x10], 0x1a0d0368
mov dword [ebp - 0xc], 0x5b040d06
mov dword [ebp - 8], 0x40c465a
mov word [ebp - 4], 4
cmp esi, 0xd
jb 0x10001f5d
push 0x90
push str.C:Program_Files__x86_Microsoft_Visual_Studio_14.0VCinclude_array
push str.array_subscript_out_of_range
call fcn.1005ff50
add esp, 0xc
mov bl, byte [ebp + esi - 0xf]
xor bl, byte [ebp - 0x10]
cmp esi, 0xd
jb 0x10001f80
push 0x90
push str.C:Program_Files__x86_Microsoft_Visual_Studio_14.0VCinclude_array
push str.array_subscript_out_of_range
call fcn.1005ff50
add esp, 0xc
mov byte [ebp + esi - 0xf], bl
inc esi
cmp esi, 0xc
jb 0x10001f41
lea eax, [ebp - 0x2b]
mov byte [ebp - 3], 0
push eax
lea eax, [ebp - 0xf]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
call fcn.10019ed0
pop esi
pop ebx
cmp al, 0xe9
jne 0x10001fb8
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esp, ebp
pop ebp
ret
Function at 0x10001fc0
Capabilities:
Contain obfuscated stackstrings
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov dword [ebp - 0x10], 0x4a4e5327
xor esi, esi
mov dword [ebp - 0xc], 0x53426042
mov dword [ebp - 8], 0x424a4e73
mov byte [ebp - 4], 0
cmp esi, 0xc
jb 0x10001fff
push 0x90
push str.C:Program_Files__x86_Microsoft_Visual_Studio_14.0VCinclude_array
push str.array_subscript_out_of_range
call fcn.1005ff50
add esp, 0xc
mov bl, byte [ebp + esi - 0xf]
xor bl, byte [ebp - 0x10]
cmp esi, 0xc
jb 0x10002022
push 0x90
push str.C:Program_Files__x86_Microsoft_Visual_Studio_14.0VCinclude_array
push str.array_subscript_out_of_range
call fcn.1005ff50
add esp, 0xc
mov byte [ebp + esi - 0xf], bl
inc esi
cmp esi, 0xb
jb 0x10001fe3
mov byte [ebp - 4], 0
xor esi, esi
mov dword [ebp - 0x20], 0x495e503b
mov dword [ebp - 0x1c], 0x8575e55
mov dword [ebp - 0x18], 0x575f1509
mov word [ebp - 0x14], 0x57
nop dword [eax]
cmp esi, 0xd
jb 0x1000206c
push 0x90
push str.C:Program_Files__x86_Microsoft_Visual_Studio_14.0VCinclude_array
push str.array_subscript_out_of_range
call fcn.1005ff50
add esp, 0xc
mov bl, byte [ebp + esi - 0x1f]
xor bl, byte [ebp - 0x20]
cmp esi, 0xd
jb 0x1000208f
push 0x90
push str.C:Program_Files__x86_Microsoft_Visual_Studio_14.0VCinclude_array
push str.array_subscript_out_of_range
call fcn.1005ff50
add esp, 0xc
mov byte [ebp + esi - 0x1f], bl
inc esi
cmp esi, 0xc
jb 0x10002050
lea eax, [ebp - 0xf]
mov byte [ebp - 0x13], 0
push eax
lea eax, [ebp - 0x1f]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
call fcn.10019ed0
pop esi
pop ebx
cmp al, 0xe9
jne 0x100020c7
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esp, ebp
pop ebp
ret