joyce8/EMBER2024-capa huggingface dataset:
Function at 0x486fc2
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
and byte [ebp - 0x104], 0
push ebx
push esi
push edi
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x103
push dword [ebp + 8]
stosb byte es:[edi], al
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.MSVCRT.dll__mbsnbcpy]
lea eax, [ebp - 0x104]
push eax
call sub.MSVCRT.dll_strlen
add esp, 0x10
xor edx, edx
test eax, eax
jle 0x487028
cmp byte [ebp + edx - 0x104], 0x2f
lea ecx, [ebp + edx - 0x104]
jne 0x487023
mov byte [ecx], 0x5c
inc edx
cmp edx, eax
jl 0x48700f
mov edi, dword [sym.imp.MSVCRT.dll__mbscmp]
lea esi, [ebp - 0x104]
push 0x5c
push esi
call dword [sym.imp.MSVCRT.dll__mbschr]
pop ecx
test eax, eax
pop ecx
je 0x48708a
mov bl, byte [eax + 1]
lea esi, [eax + 1]
test bl, bl
je 0x487098
and byte [esi], 0
lea eax, [ebp - 0x104]
push eax
push 0x4a68cc
call edi
pop ecx
test eax, eax
pop ecx
je 0x487086
lea eax, [ebp - 0x104]
push eax
push 0x4a68c8
call edi
pop ecx
test eax, eax
pop ecx
je 0x487086
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.MSVCRT.dll__mkdir]
pop ecx
mov byte [esi], bl
jmp 0x487034
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.MSVCRT.dll__mkdir]
pop ecx
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll__mkdir]
pop ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x487a60
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [0x4f7820]
sub esp, 0x208
cmp dword [eax + 0x1c], 0x2710
ja 0x487ada
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 6]
mov word [esp + 4], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [0x4f7814]
pop edi
test eax, eax
jne 0x487a9a
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push eax
push 0x4a6930
lea ecx, [esp + 8]
push 0x103
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov eax, dword [0x4f7820]
add esp, 0x10
lea edx, [esp]
mov ecx, dword [eax + 0x1c]
push edx
push ecx
push 0x4a691c
push 0x4a690c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, dword [0x4f7820]
mov dword [edx + 0x1c], eax
add esp, 0x208
ret
Function at 0x488200
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x94
xor eax, eax
mov edx, dword [esp + 0x98]
mov dword [esp + 9], eax
push ebx
mov dword [esp + 0x11], eax
mov ebx, ecx
mov ecx, dword [esp + 0xa8]
mov word [esp + 0x15], ax
mov byte [esp + 0x17], al
mov dword [esp + 8], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0xc], ecx
test eax, eax
mov dword [esp + 0x14], edx
je 0x488346
mov eax, dword [0x4a69f4]
mov ecx, dword [0x4a69f8]
mov dx, word [0x4a69fc]
mov dword [esp + 0x18], eax
mov al, byte [0x4a69fe]
push ebp
push esi
push edi
mov dword [esp + 0x28], ecx
mov byte [esp + 0x2e], al
mov ecx, 0x1d
xor eax, eax
lea edi, [esp + 0x2f]
mov word [esp + 0x2c], dx
rep stosd dword es:[edi], eax
mov edx, dword [ebx + 0x24]
lea esi, [ebx + 0x24]
stosb byte es:[edi], al
mov edi, dword [esp + 0xac]
mov ecx, esi
push edi
call dword [edx]
push eax
mov dword [esp + 0x14], eax
call sub.MFC42.DLL_operatornew
add esp, 4
lea ecx, [esp + 0x10]
mov ebp, eax
mov eax, dword [esi]
push ecx
mov ecx, dword [esp + 0xb4]
lea edx, [esp + 0x28]
push ebp
push edx
push edi
push ecx
mov ecx, esi
call dword [eax + 4]
mov edx, dword [esp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea esi, [ebx + 0x10]
lea eax, [esp + 0x14]
push esi
mov dword [esp + 0x20], edx
mov edx, dword [ebx + 8]
push eax
lea ecx, [esp + 0x20]
push 0xc
push ecx
push edx
call edi
test eax, eax
jne 0x48831e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xc
push eax
mov ecx, ebx
call fcn.00488380
cmp eax, 1
jne 0x48833a
mov ecx, dword [esp + 0x10]
mov edx, dword [ebx + 8]
lea eax, [esp + 0x14]
push esi
push eax
push ecx
push ebp
push edx
call edi
test eax, eax
jne 0x488327
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x10]
push ecx
push eax
mov ecx, ebx
call fcn.00488380
jmp 0x48833a
cmp dword [esp + 0x14], 0xc
je 0x4882f3
jmp 0x488333
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
cmp edx, eax
je 0x48833a
mov ecx, ebx
call fcn.004883d0
push ebp
call sub.MFC42.DLL_operatordelete
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x94
ret 0x10

Function at 0x488470
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
mov ecx, dword [esp + 0xc]
mov dword [esi + 4], eax
mov dword [0x4f7874], ecx
mov ecx, esi
call fcn.004887b0
mov eax, dword [esi + 4]
lea edx, [esp + 8]
push edx
push 0
push eax
push 0x4884c0
push 0
push 0
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop esi
ret 8
Function at 0x10002319
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x1014f440]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
push 4
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x100023f9
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x100023f2
push ebx
cmp dword [ebp - 0x20], 0x10
jb 0x100023d7
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x14], eax
jne 0x100023d7
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x100023d7
mov edx, dword [esi]
test edx, edx
jne 0x100023a5
push 0x200
push edx
push dword [0x101c05a4]
mov dword [esi + 4], 0x80
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x100023f1
lea ebx, [esi + 8]
jmp 0x100023cd
mov eax, dword [esi + 4]
lea ebx, [esi + 8]
cmp dword [ebx], eax
jb 0x100023cd
shl eax, 3
push eax
push edx
push 0
push dword [0x101c05a4]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x100023f1
shl dword [esi + 4], 1
mov dword [esi], edx
mov ecx, dword [ebx]
mov eax, dword [ebp - 0x18]
mov dword [edx + ecx*4], eax
inc dword [ebx]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x1000235d
pop ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1011c450
leave
ret

Function at 0x10002407
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
xor ebx, ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
call fcn.10002319
cmp dword [esi], ebx
je 0x10002467
push edi
mov edi, ebx
cmp dword [esi + 8], ebx
jbe 0x10002466
mov eax, dword [esi]
push dword [eax + edi*4]
push ebx
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x1000245d
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 8]
mov edx, dword [ebp - 4]
mov ecx, ebx
call fcn.10002222
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
push 0
pop ebx
cmp edi, dword [esi + 8]
jb 0x1000242d
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1000246b
Capabilities:
Resume thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
je 0x100024b7
push edi
xor edi, edi
cmp dword [esi + 8], edi
jbe 0x100024a6
push ebx
mov eax, dword [esi]
push dword [eax + edi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x1000249f
push ebx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [esi + 8]
jb 0x1000247c
pop ebx
push dword [esi]
push 0
push dword [0x101c05a4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
ret
Function at 0x100024b9
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
imul esi, ecx, 0x2c
push edi
mov edi, edx
mov dword [ebp - 0x10], edi
add esi, dword [0x101c05c0]
mov dword [ebp - 8], esi
mov al, byte [esi + 0x14]
mov ebx, dword [esi]
and al, 1
je 0x100024df
sub ebx, 5
movzx eax, al
lea ecx, [ebp - 4]
push ecx
push 0x40
lea eax, [eax*2 + 5]
push eax
push ebx
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10002506
push 0xa
pop eax
jmp 0x10002586
test edi, edi
je 0x10002527
mov byte [ebx], 0xe9
mov eax, dword [esi + 4]
sub eax, ebx
sub eax, 5
mov dword [ebx + 1], eax
test byte [esi + 0x14], 1
je 0x10002546
mov eax, dword [esi]
mov word [eax], 0xf9eb
jmp 0x10002546
test byte [esi + 0x14], 1
je 0x1000253b
lea esi, [esi + 0xc]
mov edi, ebx
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 8]
jmp 0x10002546
mov eax, dword [esi + 0xc]
mov dword [ebx], eax
mov al, byte [esi + 0x10]
mov byte [ebx + 4], al
mov edi, dword [ebp - 0xc]
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov edx, dword [ebp - 0x10]
mov cl, byte [esi + 0x14]
and dl, 1
mov al, dl
and cl, 0xfd
add al, al
shl dl, 2
or cl, al
and cl, 0xfb
or cl, dl
xor eax, eax
mov byte [esi + 0x14], cl
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10002ecf
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword [0x101c05b0]
push esi
xor esi, esi
jmp 0x10002ee0
cmp dword [eax + 4], esi
jne 0x10002f2e
mov eax, dword [eax]
test eax, eax
jne 0x10002ed9
push 0x40
push 0x3000
push 0x1000
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, eax
test ecx, ecx
je 0x10002f2c
push edi
push 0x20
lea edx, [ecx + 0x20]
mov dword [ecx + 8], esi
pop edi
mov dword [edx], esi
mov eax, edx
mov dword [ecx + 4], edx
add edi, 0x20
add edx, 0x20
mov esi, eax
cmp edi, 0xfe0
jbe 0x10002f07
mov eax, dword [0x101c05b0]
pop edi
mov dword [ecx], eax
mov dword [0x101c05b0], ecx
mov eax, ecx
pop esi
ret
Function at 0x10014f10
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x48]
mov ecx, 0x12
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 8], ecx
mov ecx, 0x101c119b
call fcn.1011c410
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 4]
jg 0x10014f4a
jmp 0x10015017
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0
jne 0x10014f60
mov dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 8]
jge 0x10014f72
mov eax, dword [ebp - 0x14]
shl eax, 1
mov dword [ebp - 0x14], eax
jmp 0x10014f60
mov eax, dword [ebp - 0x14]
push eax
call fcn.1011bf20
add esp, 4
mov dword [ebp - 0xf8], eax
mov ecx, dword [ebp - 0xf8]
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x20], 0
jne 0x10014fa6
mov esi, esp
push 0
call dword [sym.imp.ucrtbased.dll_exit]
cmp esi, esp
call fcn.1011c3e0
jmp 0x10015017
mov eax, dword [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp - 0x20]
push ecx
call sub.VCRUNTIME140D.dll_memset
add esp, 0xc
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 4], ecx
mov dword [ebp - 0x2c], 0
jmp 0x10014fd3
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [eax]
jge 0x10014ff3
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 8]
mov edx, dword [ebp - 0x20]
add edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x2c]
mov cl, byte [ecx + eax]
mov byte [edx], cl
jmp 0x10014fca
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x104], ecx
mov edx, dword [ebp - 0x104]
push edx
call fcn.1011bf40
add esp, 4
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x20]
mov dword [eax + 8], ecx
pop edi
pop esi
pop ebx
add esp, 0x108
cmp ebp, esp
call fcn.1011c3e0
mov esp, ebp
pop ebp
ret 4
Function at 0x10015030
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x48]
mov ecx, 0x12
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 8], ecx
mov ecx, 0x101c119b
call fcn.1011c410
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 4]
jg 0x1001506a
jmp 0x1001514b
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0
jne 0x10015080
mov dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 8]
jge 0x10015092
mov eax, dword [ebp - 0x14]
shl eax, 1
mov dword [ebp - 0x14], eax
jmp 0x10015080
xor ecx, ecx
mov eax, dword [ebp - 0x14]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1011bf20
add esp, 4
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x100150d6
mov esi, esp
push 0
call dword [sym.imp.ucrtbased.dll_exit]
cmp esi, esp
call fcn.1011c3e0
jmp 0x1001514b
mov eax, dword [ebp - 0x14]
shl eax, 2
push eax
push 0
mov ecx, dword [ebp - 0x20]
push ecx
call sub.VCRUNTIME140D.dll_memset
add esp, 0xc
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 4], ecx
mov dword [ebp - 0x2c], 0
jmp 0x10015106
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [eax]
jge 0x10015127
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 8]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x20]
mov esi, dword [ebp - 0x2c]
mov ecx, dword [ecx + esi*4]
mov dword [eax + edx*4], ecx
jmp 0x100150fd
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x104], ecx
mov edx, dword [ebp - 0x104]
push edx
call fcn.1011bf40
add esp, 4
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x20]
mov dword [eax + 8], ecx
pop edi
pop esi
pop ebx
add esp, 0x108
cmp ebp, esp
call fcn.1011c3e0
mov esp, ebp
pop ebp
ret 4
Function at 0x10015170
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x48]
mov ecx, 0x12
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 8], ecx
mov ecx, 0x101c119b
call fcn.1011c410
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 4]
jg 0x100151aa
jmp 0x1001528b
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0
jne 0x100151c0
mov dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 8]
jge 0x100151d2
mov eax, dword [ebp - 0x14]
shl eax, 1
mov dword [ebp - 0x14], eax
jmp 0x100151c0
xor ecx, ecx
mov eax, dword [ebp - 0x14]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1011bf20
add esp, 4
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x10015216
mov esi, esp
push 0
call dword [sym.imp.ucrtbased.dll_exit]
cmp esi, esp
call fcn.1011c3e0
jmp 0x1001528b
mov eax, dword [ebp - 0x14]
shl eax, 2
push eax
push 0
mov ecx, dword [ebp - 0x20]
push ecx
call sub.VCRUNTIME140D.dll_memset
add esp, 0xc
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 4], ecx
mov dword [ebp - 0x2c], 0
jmp 0x10015246
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [eax]
jge 0x10015267
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 8]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x20]
mov esi, dword [ebp - 0x2c]
mov ecx, dword [ecx + esi*4]
mov dword [eax + edx*4], ecx
jmp 0x1001523d
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x104], ecx
mov edx, dword [ebp - 0x104]
push edx
call fcn.1011bf40
add esp, 4
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x20]
mov dword [eax + 8], ecx
pop edi
pop esi
pop ebx
add esp, 0x108
cmp ebp, esp
call fcn.1011c3e0
mov esp, ebp
pop ebp
ret 4
Function at 0x100152b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x48]
mov ecx, 0x12
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 8], ecx
mov ecx, 0x101c119b
call fcn.1011c410
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 4]
jg 0x100152ea
jmp 0x100153cb
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0
jne 0x10015300
mov dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 8]
jge 0x10015312
mov eax, dword [ebp - 0x14]
shl eax, 1
mov dword [ebp - 0x14], eax
jmp 0x10015300
xor ecx, ecx
mov eax, dword [ebp - 0x14]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1011bf20
add esp, 4
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x10015356
mov esi, esp
push 0
call dword [sym.imp.ucrtbased.dll_exit]
cmp esi, esp
call fcn.1011c3e0
jmp 0x100153cb
mov eax, dword [ebp - 0x14]
shl eax, 2
push eax
push 0
mov ecx, dword [ebp - 0x20]
push ecx
call sub.VCRUNTIME140D.dll_memset
add esp, 0xc
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 4], ecx
mov dword [ebp - 0x2c], 0
jmp 0x10015386
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [eax]
jge 0x100153a7
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 8]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x20]
mov esi, dword [ebp - 0x2c]
mov ecx, dword [ecx + esi*4]
mov dword [eax + edx*4], ecx
jmp 0x1001537d
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x104], ecx
mov edx, dword [ebp - 0x104]
push edx
call fcn.1011bf40
add esp, 4
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x20]
mov dword [eax + 8], ecx
pop edi
pop esi
pop ebx
add esp, 0x108
cmp ebp, esp
call fcn.1011c3e0
mov esp, ebp
pop ebp
ret 4
Function at 0x100153f0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x48]
mov ecx, 0x12
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 8], ecx
mov ecx, 0x101c119b
call fcn.1011c410
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 4]
jg 0x1001542a
jmp 0x1001550b
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0
jne 0x10015440
mov dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 8]
jge 0x10015452
mov eax, dword [ebp - 0x14]
shl eax, 1
mov dword [ebp - 0x14], eax
jmp 0x10015440
xor ecx, ecx
mov eax, dword [ebp - 0x14]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1011bf20
add esp, 4
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x10015496
mov esi, esp
push 0
call dword [sym.imp.ucrtbased.dll_exit]
cmp esi, esp
call fcn.1011c3e0
jmp 0x1001550b
mov eax, dword [ebp - 0x14]
shl eax, 2
push eax
push 0
mov ecx, dword [ebp - 0x20]
push ecx
call sub.VCRUNTIME140D.dll_memset
add esp, 0xc
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 4], ecx
mov dword [ebp - 0x2c], 0
jmp 0x100154c6
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [eax]
jge 0x100154e7
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 8]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x20]
mov esi, dword [ebp - 0x2c]
mov ecx, dword [ecx + esi*4]
mov dword [eax + edx*4], ecx
jmp 0x100154bd
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x104], ecx
mov edx, dword [ebp - 0x104]
push edx
call fcn.1011bf40
add esp, 4
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x20]
mov dword [eax + 8], ecx
pop edi
pop esi
pop ebx
add esp, 0x108
cmp ebp, esp
call fcn.1011c3e0
mov esp, ebp
pop ebp
ret 4
Function at 0x10015530
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x48]
mov ecx, 0x12
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 8], ecx
mov ecx, 0x101c119b
call fcn.1011c410
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 4]
jg 0x1001556a
jmp 0x1001564b
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0
jne 0x10015580
mov dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 8]
jge 0x10015592
mov eax, dword [ebp - 0x14]
shl eax, 1
mov dword [ebp - 0x14], eax
jmp 0x10015580
xor ecx, ecx
mov eax, dword [ebp - 0x14]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1011bf20
add esp, 4
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x100155d6
mov esi, esp
push 0
call dword [sym.imp.ucrtbased.dll_exit]
cmp esi, esp
call fcn.1011c3e0
jmp 0x1001564b
mov eax, dword [ebp - 0x14]
shl eax, 2
push eax
push 0
mov ecx, dword [ebp - 0x20]
push ecx
call sub.VCRUNTIME140D.dll_memset
add esp, 0xc
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 4], ecx
mov dword [ebp - 0x2c], 0
jmp 0x10015606
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [eax]
jge 0x10015627
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 8]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x20]
mov esi, dword [ebp - 0x2c]
mov ecx, dword [ecx + esi*4]
mov dword [eax + edx*4], ecx
jmp 0x100155fd
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x104], ecx
mov edx, dword [ebp - 0x104]
push edx
call fcn.1011bf40
add esp, 4
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x20]
mov dword [eax + 8], ecx
pop edi
pop esi
pop ebx
add esp, 0x108
cmp ebp, esp
call fcn.1011c3e0
mov esp, ebp
pop ebp
ret 4
Function at 0x10015670
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x48]
mov ecx, 0x12
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 8], ecx
mov ecx, 0x101c119b
call fcn.1011c410
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 4]
jg 0x100156aa
jmp 0x1001578b
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0
jne 0x100156c0
mov dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 8]
jge 0x100156d2
mov eax, dword [ebp - 0x14]
shl eax, 1
mov dword [ebp - 0x14], eax
jmp 0x100156c0
xor ecx, ecx
mov eax, dword [ebp - 0x14]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1011bf20
add esp, 4
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x10015716
mov esi, esp
push 0
call dword [sym.imp.ucrtbased.dll_exit]
cmp esi, esp
call fcn.1011c3e0
jmp 0x1001578b
mov eax, dword [ebp - 0x14]
shl eax, 2
push eax
push 0
mov ecx, dword [ebp - 0x20]
push ecx
call sub.VCRUNTIME140D.dll_memset
add esp, 0xc
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 4], ecx
mov dword [ebp - 0x2c], 0
jmp 0x10015746
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [eax]
jge 0x10015767
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 8]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x20]
mov esi, dword [ebp - 0x2c]
mov ecx, dword [ecx + esi*4]
mov dword [eax + edx*4], ecx
jmp 0x1001573d
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x104], ecx
mov edx, dword [ebp - 0x104]
push edx
call fcn.1011bf40
add esp, 4
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x20]
mov dword [eax + 8], ecx
pop edi
pop esi
pop ebx
add esp, 0x108
cmp ebp, esp
call fcn.1011c3e0
mov esp, ebp
pop ebp
ret 4