joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10006080
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov ecx, dword [0x10163784]
test ecx, ecx
je 0x100060e8
mov eax, dword [ecx]
mov edx, 0x10163798
cmp eax, dword [edx]
jne 0x100060a4
movzx eax, byte [ecx + 4]
cmp al, byte [edx + 4]
je 0x100060e8
mov ecx, 0xf
call fcn.10020c10
push eax
push 0
push 0x10157d08
call fcn.10015b60
add esp, 0xc
xorps xmm0, xmm0
movups xmmword [0x10163c20], xmm0
movups xmmword [0x10163c30], xmm0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp dword [pe_dos_header]
mov ecx, dword [0x10163780]
test ecx, ecx
je 0x1000614a
mov eax, dword [ecx]
mov edx, 0x10163790
cmp eax, dword [edx]
jne 0x10006106
movzx eax, byte [ecx + 4]
cmp al, byte [edx + 4]
je 0x1000614a
mov ecx, 0x10
call fcn.10020c10
push eax
push 0
push 0x10157d08
call fcn.10015b60
add esp, 0xc
xorps xmm0, xmm0
movups xmmword [0x10163c20], xmm0
movups xmmword [0x10163c30], xmm0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp dword [pe_dos_header]
mov ecx, dword [0x1016377c]
test ecx, ecx
je 0x100061a8
mov eax, dword [ecx]
mov edx, 0x10163788
cmp eax, dword [edx]
jne 0x10006168
movzx eax, byte [ecx + 4]
cmp al, byte [edx + 4]
je 0x100061a8
mov ecx, 0x11
call fcn.10020c10
push eax
push 0
push 0x10157d08
call fcn.10015b60
add esp, 0xc
xorps xmm0, xmm0
movups xmmword [0x10163c20], xmm0
movups xmmword [0x10163c30], xmm0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp dword [pe_dos_header]
mov esp, ebp
pop ebp
ret
Function at 0x100065d0
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x100571b8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_TerminateProcess]
test esi, esi
jne 0x1000663a
mov edx, 0x5f
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ecx + 0x1004eff4]
xor al, dl
mov byte [ebp + ecx - 0x20], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x17
jb 0x10006600
xorps xmm0, xmm0
push 0
movups xmmword [0x10163c20], xmm0
movups xmmword [0x10163c30], xmm0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
jmp dword [pe_dos_header]
push ecx
push 0x1d
lea edx, [ebp - 0x24]
mov dword [ebp - 0x24], 0xcccccccc
mov ecx, esi
mov dword [ebp - 0x20], 0xcccccccc
mov dword [ebp - 0x1c], 0x8904ff8b
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x14], 0x8ff8bff
mov dword [ebp - 0x10], 0xffffff89
mov dword [ebp - 0xc], 0xff8bffff
mov byte [ebp - 8], 0xc
call fcn.10020d20
add esp, 8
test eax, eax
je 0x100066f8
lea edi, [eax + 8]
mov dword [0x10163800], 0x70
mov dword [0x101638fc], edi
call fcn.10002180
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.10002660
push 0x100065b0
push 0x101638fc
call fcn.10001c30
call fcn.100021f0
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x2c]
push eax
push 0x40
push 5
push edi
call esi
mov eax, 0x100065c0
mov byte [edi], 0xe9
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x2c]
push 5
push edi
call esi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10026c75
mov esp, ebp
pop ebp
ret
mov edx, 0x67
xor ecx, ecx
nop
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x21
jb 0x10006700
xorps xmm0, xmm0
push 0
movups xmmword [0x10163c20], xmm0
movups xmmword [0x10163c30], xmm0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
jmp dword [pe_dos_header]
Function at 0x10006a80
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push 0x5b55ea
call esi
mov eax, 0x10006820
mov byte [0x5b55ea], 0xe9
sub eax, 0x5b55ef
mov dword [0x5b55eb], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
push 5
push 0x5b55ea
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push 0x5a3c70
call esi
mov eax, 0x100068c0
mov byte [0x5a3c70], 0xe9
sub eax, 0x5a3c75
mov dword [0x5a3c71], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
push 5
push 0x5a3c70
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push 0x59c6dd
call esi
mov eax, 0x10006860
mov byte [0x59c6dd], 0xe9
sub eax, 0x59c6e2
mov dword [0x59c6de], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
push 5
push 0x59c6dd
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 3
push 0x556d5a
call esi
mov ax, word [0x1004f00c]
mov ecx, 0x556d5a
mov word [ecx], ax
mov al, byte [0x1004f00e]
mov byte [ecx + 2], al
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 3
push ecx
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push 0x6f0c56
call esi
mov eax, 0x100068f0
mov byte [0x6f0c56], 0xe9
sub eax, 0x6f0c5b
mov dword [0x6f0c57], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
push 5
push 0x6f0c56
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push 0x551231
call esi
mov eax, 0x10006960
mov byte [0x551231], 0xe9
sub eax, 0x551236
mov dword [0x551232], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
push 5
push 0x551231
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push 0x557739
call esi
mov eax, 0x100069a0
mov byte [0x557739], 0xe9
sub eax, 0x55773e
mov dword [0x55773a], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
push 5
push 0x557739
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push 0x550b4c
call esi
mov eax, 0x100069d0
mov byte [0x550b4c], 0xe9
sub eax, 0x550b51
mov dword [0x550b4d], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
push 5
push 0x550b4c
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push 0x5b6d0b
call esi
mov eax, 0x10006a10
mov byte [0x5b6d0b], 0xe9
sub eax, 0x5b6d10
mov dword [0x5b6d0c], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
push 5
push 0x5b6d0b
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push 0x5a15ae
call esi
mov eax, 0x5a15ae
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 5
push 0x5a15ae
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push 0x706727
call esi
mov eax, 0x10006a30
mov byte [0x706727], 0xe9
sub eax, 0x70672c
mov dword [0x706728], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
push 5
push 0x706727
call esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10007950
Capabilities:
Check for time delay via gettickcount
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10041718
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x100571b8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10163054]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10564628]
cmp eax, dword [ecx + 4]
jle 0x100079c5
push 0x10564628
call fcn.10027150
add esp, 4
cmp dword [0x10564628], 0xffffffff
jne 0x100079c5
call esi
push 0x10564628
mov dword [0x1056462c], eax
call fcn.10027111
add esp, 4
call esi
sub eax, dword [0x1056462c]
cmp eax, 0xea60
jb 0x10007b9e
call esi
cmp byte [0x10163a7d], 0
mov dword [0x1056462c], eax
jne 0x10007a32
mov edx, 0xcb
xor ecx, ecx
nop
mov al, byte [ecx + 0x1004f010]
xor al, dl
mov byte [ebp + ecx - 0x28], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x14
jb 0x100079f0
mov byte [ebp - 0x14], 0
push ecx
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
push ecx
mov edx, 2
mov ecx, 0x10161dd8
call fcn.1001f670
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
cmp byte [0x10163a7e], 0
jne 0x10007a84
mov edx, 0x6f
xor ecx, ecx
mov al, byte [ecx + str.4P_:_142W_]
xor al, dl
mov byte [ebp + ecx - 0x24], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x10
jb 0x10007a42
mov byte [ebp - 0x14], 0
push ecx
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 1
push eax
push ecx
mov edx, 2
mov ecx, 0x10161dd8
call fcn.1001f670
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
cmp byte [0x10163a7f], 0
jne 0x10007ad6
mov edx, 6
xor ecx, ecx
mov al, byte [ecx + str._AXNMI.RSqvb]
xor al, dl
mov byte [ebp + ecx - 0x28], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x11
jb 0x10007a94
mov byte [ebp - 0x17], 0
push ecx
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 2
push eax
push ecx
mov edx, 2
mov ecx, 0x10161dd8
call fcn.1001f670
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
cmp byte [0x10163c5c], 0
jne 0x10007b25
xor edx, edx
xor ecx, ecx
mov al, byte [ecx + str.__VKV_GC_TYhhka]
xor al, dl
mov byte [ebp + ecx - 0x24], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x10
jb 0x10007ae3
mov byte [ebp - 0x14], 0
push ecx
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 3
push eax
push ecx
mov edx, 2
mov ecx, 0x10161dd8
call fcn.1001f670
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
cmp byte [0x10163c5d], 0
jne 0x10007b7b
mov edx, 0x4f
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ecx + 0x1004f064]
xor al, dl
mov byte [ebp + ecx - 0x24], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0xd
jb 0x10007b40
mov byte [ebp - 0x17], 0
push ecx
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 4
push eax
push ecx
mov edx, 2
mov ecx, 0x10161dd8
call fcn.1001f670
add esp, 0xc
mov byte [0x10163a7d], 0
mov byte [0x10163a7e], 0
mov byte [0x10163a7f], 0
mov byte [0x10163c5c], 0
mov byte [0x10163c5d], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10026c75
mov esp, ebp
pop ebp
ret
Function at 0x1000d4d0
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x100571b8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x1f27781f
lea ecx, [ebp - 0x18]
mov byte [0x101637ed], 1
call fcn.10012020
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea ecx, [ebp - 0xc]
mov word [ebp - 0x10], 0
push ecx
xorps xmm0, xmm0
mov byte [ebp - 0xe], 0
push eax
movq qword [ebp - 0x18], xmm0
mov dword [ebp - 0xc], 0x74696e49
mov byte [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], 0
mov byte [ebp - 8], 0
call eax
mov esi, dword [0x101638d8]
lea eax, [ebp - 0x1c]
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
add esi, 0x1b
push eax
push 0x40
push 5
push esi
call ebx
mov edi, 0x10007bc0
mov byte [esi], 0xe9
mov eax, edi
sub eax, esi
sub eax, 5
mov dword [esi + 1], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x1c]
push 5
push esi
call ebx
call fcn.1001cbf0
push 0x400000
push 0
push 0x10163c60
call fcn.1002a1a0
add esp, 0xc
push 0
push 0x400000
push 0x10163c60
push 0x400000
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
movaps xmm1, xmmword [0x10051290]
xor eax, eax
movaps xmm2, xmmword [0x100512b0]
movups xmm0, xmmword [eax + 0x10163c60]
psubb xmm0, xmm1
movups xmmword [eax + 0x10163c60], xmm0
movups xmm0, xmmword [eax + 0x10163c60]
pxor xmm0, xmm2
movups xmmword [eax + 0x10163c60], xmm0
movups xmm0, xmmword [eax + 0x10163c70]
psubb xmm0, xmm1
movups xmmword [eax + 0x10163c70], xmm0
movups xmm0, xmmword [eax + 0x10163c70]
pxor xmm0, xmm2
movups xmmword [eax + 0x10163c70], xmm0
add eax, 0x20
cmp eax, 0x400000
jb 0x1000d5b2
mov esi, dword [0x101638d8]
lea eax, [ebp - 0x1c]
push eax
push 0x40
push 5
add esi, 0x1b
push esi
call ebx
lea eax, [ebp - 0xc]
mov byte [esi], 0xe9
push eax
push dword [ebp - 0x1c]
sub edi, esi
push 5
sub edi, 5
push esi
mov dword [esi + 1], edi
call ebx
push 0
push ecx
push 0
push 0x1000c4c0
call fcn.10020e30
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10026c75
mov esp, ebp
pop ebp
ret
Function at 0x1000d650
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x100571b8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x1f27781f
lea ecx, [ebp - 0x10]
call fcn.10012020
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
xorps xmm0, xmm0
mov word [ebp - 8], 0
push 0x5cca7a73
lea ecx, [ebp - 0x1c]
movq qword [ebp - 0x10], xmm0
mov esi, eax
mov byte [ebp - 6], 0
call fcn.10012240
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
xorps xmm0, xmm0
mov word [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
call eax
mov esi, dword [0x101638d8]
lea eax, [ebp - 0x20]
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
add esi, 0x1b
push eax
push 0x40
push 5
push esi
call ebx
mov edi, 0x10007bc0
mov byte [esi], 0xe9
mov eax, edi
sub eax, esi
sub eax, 5
mov dword [esi + 1], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x20]
push 5
push esi
call ebx
push 0x400000
push 0
push 0x10163c60
call fcn.1002a1a0
add esp, 0xc
push 0
push 0x400000
push 0x10163c60
push 0x400000
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
movaps xmm1, xmmword [0x10051290]
xor eax, eax
movaps xmm2, xmmword [0x100512b0]
nop word [eax + eax]
movups xmm0, xmmword [eax + 0x10163c60]
psubb xmm0, xmm1
movups xmmword [eax + 0x10163c60], xmm0
movups xmm0, xmmword [eax + 0x10163c60]
pxor xmm0, xmm2
movups xmmword [eax + 0x10163c60], xmm0
movups xmm0, xmmword [eax + 0x10163c70]
psubb xmm0, xmm1
movups xmmword [eax + 0x10163c70], xmm0
movups xmm0, xmmword [eax + 0x10163c70]
pxor xmm0, xmm2
movups xmmword [eax + 0x10163c70], xmm0
add eax, 0x20
cmp eax, 0x400000
jb 0x1000d730
mov esi, dword [0x101638d8]
lea eax, [ebp - 0x20]
push eax
push 0x40
push 5
add esi, 0x1b
push esi
call ebx
lea eax, [ebp - 0x24]
mov byte [esi], 0xe9
push eax
push dword [ebp - 0x20]
sub edi, esi
push 5
sub edi, 5
push esi
mov dword [esi + 1], edi
call ebx
push 0
push ecx
push 0
push 0x1000c4c0
call fcn.10020e30
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10026c75
mov esp, ebp
pop ebp
ret
Function at 0x10011ec0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0xf0
xor eax, eax
mov dl, byte [edi + eax + 0x79ddc0fb]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x1e
jb 0x10011ed1
pop edi
mov byte [esi + 0x1e], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10011f00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 9
xor eax, eax
mov dl, byte [edi + eax - 0x7bd60ae8]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x1a
jb 0x10011f11
pop edi
mov byte [esi + 0x1a], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10013780
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10042106
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x100571b8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.10026fe5
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.1002328f
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10015740
Capabilities:
Parse pe header
Read file on windows
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x100571b8]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push edi
push 0
push 0
push 3
push 0
push 1
push connect
mov dword [ebp - 0x48], ecx
mov ecx, dword [ebp + 0x10]
push eax
mov dword [ebp - 0x44], ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x10015793
lea eax, [ebp - 0x38]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
jne 0x100157a6
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10026c75
mov esp, ebp
pop ebp
ret 0xc
push ebx
push 0
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ebx, eax
test ebx, ebx
jne 0x100157db
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10026c75
mov esp, ebp
pop ebp
ret 0xc
push esi
push dword [ebp - 0x14]
push 0
push 0
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
je 0x1001585b
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x10015854
mov eax, dword [esi + 0x3c]
add eax, esi
mov dword [ebp - 0x3c], eax
cmp dword [eax], 0x4550
jne 0x10015854
movzx ecx, word [eax + 4]
mov edx, 0x14c
cmp cx, dx
je 0x10015824
mov edx, 0x8664
cmp cx, dx
jne 0x10015854
push dword [eax + 0x28]
push dword [eax + 0x34]
push eax
call dword [sym.imp.dbghelp.dll_ImageRvaToSection]
mov ecx, eax
test ecx, ecx
je 0x10015854
mov eax, dword [ecx + 0x14]
sub eax, dword [ecx + 0xc]
mov ecx, dword [ebp - 0x3c]
push 0
push 0
add eax, dword [ecx + 0x28]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x1001587c
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call esi
push edi
call esi
pop esi
pop ebx
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10026c75
mov esp, ebp
pop ebp
ret 0xc
push 0
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], 0
push eax
push 0x20
push dword [ebp - 0x44]
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
test eax, eax
je 0x10015855
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ecx + 0x28]
add eax, dword [ecx + 0x34]
mov ecx, dword [ebp - 0x48]
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call esi
push edi
call esi
mov ecx, dword [ebp - 4]
mov al, 1
pop esi
pop ebx
xor ecx, ebp
pop edi
call fcn.10026c75
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10015a40
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x100571b8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10157f20]
mov ecx, dword [ebp + 0xc]
test eax, eax
js 0x10015b4c
cmp eax, 1
jge 0x10015b4c
push ebx
push edi
imul edi, eax, 0x214
inc eax
push ecx
push 0x100
mov dword [0x10157f20], eax
add edi, 0x10157d0c
lea ebx, [edi + 4]
mov dword [edi], 1
push ebx
call fcn.1002eaab
add esp, 0xc
cmp dword [edi], 0
je 0x10015b4a
push esi
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx edx, word [ebp - 0xe]
lea esi, [edi + 0x110]
movzx ecx, word [ebp - 0x12]
movzx eax, word [ebp - 0x14]
push edx
push ecx
push eax
push ebx
push str.._s_04d__02d__02d.log
push esi
mov dword [edi + 0x104], edx
mov dword [edi + 0x108], ecx
mov dword [edi + 0x10c], eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
push 0
push 0x80
push 4
push 0
push 1
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [edi + 0x210], eax
pop esi
cmp eax, 0xffffffff
jne 0x10015b26
mov dword [edi], 0
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10026c75
mov esp, ebp
pop ebp
ret 8
push 2
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x10015b4a
push dword [edi + 0x210]
mov dword [edi], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10026c75
mov esp, ebp
pop ebp
ret 8
Function at 0x10015b60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x824
mov eax, dword [0x100571b8]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push esi
push edi
test eax, eax
js 0x10015d4a
cmp eax, dword [ecx + 0x218]
jge 0x10015d4a
imul edi, eax, 0x214
add edi, ecx
cmp dword [edi + 4], 0
je 0x10015d4a
lea eax, [ebp - 0x81c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x816]
cmp eax, dword [edi + 0x108]
jne 0x10015bdf
movzx eax, word [ebp - 0x81a]
cmp eax, dword [edi + 0x10c]
jne 0x10015bdf
movzx eax, word [ebp - 0x81c]
cmp eax, dword [edi + 0x110]
je 0x10015c9e
push dword [edi + 0x214]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movzx edx, word [ebp - 0x816]
lea esi, [edi + 0x114]
movzx ecx, word [ebp - 0x81a]
movzx eax, word [ebp - 0x81c]
push edx
push ecx
push eax
mov dword [edi + 0x110], eax
lea eax, [edi + 8]
push eax
push str.._s_04d__02d__02d.log
push esi
mov dword [edi + 0x108], edx
mov dword [edi + 0x10c], ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
push 0
push 0x80
push 4
push 0
push 1
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [edi + 0x214], eax
cmp eax, 0xffffffff
jne 0x10015c69
mov dword [edi + 4], 0
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.10026c75
mov esp, ebp
pop ebp
ret
push 2
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x10015c9e
push dword [edi + 0x214]
mov dword [edi + 4], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.10026c75
mov esp, ebp
pop ebp
ret
push 0x400
lea eax, [ebp - 0x80c]
push 0
push eax
call fcn.1002a1a0
add esp, 0xc
lea eax, [ebp + 0x14]
push eax
push 0
push dword [ebp + 0x10]
lea eax, [ebp - 0x80c]
push 0x400
push eax
call fcn.10014dc0
add esp, 0x14
lea eax, [ebp - 0x40c]
push 0x400
push 0
push eax
call fcn.1002a1a0
add esp, 0xc
lea eax, [ebp - 0x80c]
push eax
movzx eax, word [ebp - 0x810]
push eax
movzx eax, word [ebp - 0x812]
push eax
movzx eax, word [ebp - 0x814]
push eax
lea eax, [ebp - 0x40c]
push str._02d:_02d:_02d__s_r_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [ebp - 0x40c]
add esp, 0x18
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10015d24
push 0
lea eax, [ebp - 0x820]
sub ecx, edx
push eax
push ecx
lea eax, [ebp - 0x40c]
push eax
push dword [edi + 0x214]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop esi
call fcn.10026c75
mov esp, ebp
pop ebp
ret

Function at 0x10015d90
Capabilities:
Create thread

Disassembly:
cmp dword [0x10163740], 0
je 0x10015dcd
mov eax, dword [0x10163900]
xorps xmm0, xmm0
push 0x10163c30
push 0
push 0x10157f24
push 0x10015eb0
push 0
push 0
mov dword [0x10157f28], eax
movups xmmword [0x10157f30], xmm0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x10157f2c], eax
ret 4
Function at 0x10015dd0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x10163724], 0
je 0x10015dec
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, dword [0x10163724]
cmp eax, dword [ecx]
jne 0x10015e5d
push esi
mov esi, dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi*4 + 0x10157f30]
cmp eax, 0x1388
jb 0x10015e1c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi*4 + 0x10157f30], eax
mov dword [esi*4 + 0x10157f38], 0
mov eax, dword [0x1016373c]
cmp eax, 5
ja case.default.0x10015e26
jmp dword [eax*4 + 0x10015e64]
push 0
jmp 0x10015e43
push 0x19
jmp 0x10015e43
push 0x14
jmp 0x10015e43
push 0xf
jmp 0x10015e43
push 0xa
jmp 0x10015e43
push 5
push esi
call fcn.10015e80
test al, al
jne 0x10015e5c
xor edx, edx
push 0
lea ecx, [edx + 9]
call fcn.10004f30
add esp, 4
pop esi
pop ebp
ret 4