joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10004e30
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x340
mov eax, dword [0x100561b8]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [0x10162648], 0
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, edx
mov ebx, ecx
jne 0x10005089
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x10162648], eax
mov word [ebp - 0x33c], 0x85c1
call fcn.1002b224
and eax, 0x800000ff
jns 0x10004e81
dec eax
or eax, 0xffffff00
inc eax
cmp dword [0x10056b64], 0xffffffff
mov byte [ebp - 0x33a], al
mov byte [ebp - 0x339], 3
mov byte [ebp - 0x338], bl
je 0x1000507e
cmp byte [0x10156b98], 0
je 0x1000507e
mov word [ebp - 0x2b4], 0x9bc1
call fcn.1002b224
and eax, 0x800000ff
jns 0x10004eca
dec eax
or eax, 0xffffff00
inc eax
mov ecx, dword [0x10162644]
mov byte [ebp - 0x2b2], al
mov byte [ebp - 0x2b1], 3
mov byte [ebp - 0x2b0], bl
test ecx, ecx
jne 0x10004f01
xorps xmm0, xmm0
mov word [ebp - 0x2a7], cx
movq qword [ebp - 0x2af], xmm0
mov byte [ebp - 0x2a5], cl
jmp 0x10004f21
movq xmm0, qword [ecx]
movq qword [ebp - 0x2af], xmm0
mov ax, word [ecx + 8]
mov word [ebp - 0x2a7], ax
mov al, byte [ecx + 0xa]
mov byte [ebp - 0x2a5], al
mov ecx, dword [0x10162640]
test ecx, ecx
je 0x10004f53
mov ecx, dword [ecx]
test ecx, ecx
je 0x10004f53
movq xmm0, qword [ecx]
movq qword [ebp - 0x2a4], xmm0
mov ax, word [ecx + 8]
mov word [ebp - 0x29c], ax
mov al, byte [ecx + 0xa]
mov byte [ebp - 0x29a], al
jmp 0x10004f6e
xorps xmm0, xmm0
mov word [ebp - 0x29c], 0
movq qword [ebp - 0x2a4], xmm0
mov byte [ebp - 0x29a], 0
test esi, esi
jne 0x10004f86
push 0x40
lea eax, [ebp - 0x299]
push esi
push eax
call fcn.10028610
add esp, 0xc
jmp 0x10004fb1
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x299], xmm0
movups xmm0, xmmword [esi + 0x10]
movups xmmword [ebp - 0x289], xmm0
movups xmm0, xmmword [esi + 0x20]
movups xmmword [ebp - 0x279], xmm0
movups xmm0, xmmword [esi + 0x30]
movups xmmword [ebp - 0x269], xmm0
push 0x40
lea eax, [ebp - 0x259]
push 0
push eax
call fcn.10028610
add esp, 0xc
test edi, edi
je 0x1000501b
push edi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x1000501b
push 0x104
lea eax, [ebp - 0x214]
push eax
push esi
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
je 0x10005014
lea ecx, [ebp - 0x214]
call fcn.1001dea0
push eax
lea eax, [ebp - 0x259]
push 0x1004df0c
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x259]
mov ecx, 0x20
push eax
lea eax, [ebp - 0x299]
push eax
lea eax, [ebp - 0x2a4]
push eax
lea eax, [ebp - 0x2af]
push eax
movzx eax, byte [ebp - 0x2b0]
push eax
call fcn.1001f200
push eax
push 0
push 0x10156d28
call fcn.10014ef0
movzx eax, byte [ebp - 0x2b3]
add esp, 0x20
push eax
lea eax, [ebp - 0x2b4]
push eax
call fcn.10003f10
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.100250e5
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x33c]
call fcn.10004bd0
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100250e5
mov esp, ebp
pop ebp
ret
Function at 0x10005d60
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
push esi
mov esi, ecx
test edx, edx
jle 0x10005e23
push ebx
mov bl, byte [0x101625f2]
mov bh, byte [0x101625f1]
cmp edx, 0x20
jb 0x10005e03
mov ecx, edx
push edi
and ecx, 0x8000001f
jns 0x10005d93
dec ecx
or ecx, 0xffffffe0
inc ecx
movaps xmm3, xmmword [0x10050790]
mov edi, edx
sub edi, ecx
movaps xmm2, xmm3
movsx ecx, bl
movd xmm0, ecx
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
movsx ecx, bh
pshufd xmm1, xmm0, 0
paddb xmm2, xmm1
movd xmm0, ecx
lea ecx, [esi + 0x10]
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm4, xmm0, 0
movups xmm0, xmmword [ecx - 0x10]
add eax, 0x20
lea ecx, [ecx + 0x20]
pxor xmm0, xmm2
psubb xmm0, xmm4
paddb xmm0, xmm3
movups xmmword [ecx - 0x30], xmm0
movups xmm0, xmmword [ecx - 0x20]
pxor xmm0, xmm2
psubb xmm0, xmm4
paddb xmm0, xmm3
movups xmmword [ecx - 0x20], xmm0
cmp eax, edi
jl 0x10005dd0
pop edi
cmp eax, edx
jge 0x10005e22
add bl, 0xf
nop word [eax + eax]
mov cl, byte [eax + esi]
xor cl, bl
sub cl, bh
add cl, 0xf
mov byte [eax + esi], cl
inc eax
cmp eax, edx
jl 0x10005e10
pop ebx
pop esi
ret

Function at 0x10005e30
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
push esi
mov esi, ecx
test edx, edx
jle 0x10005ee6
push ebx
mov bh, byte [0x101625f1]
mov bl, byte [0x101625f2]
cmp edx, 0x20
jb 0x10005ecc
mov ecx, edx
push edi
and ecx, 0x8000001f
jns 0x10005e63
dec ecx
or ecx, 0xffffffe0
inc ecx
movaps xmm1, xmmword [0x10050790]
mov edi, edx
sub edi, ecx
movsx ecx, bh
movd xmm0, ecx
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
movsx ecx, bl
pshufd xmm2, xmm0, 0
psubb xmm2, xmm1
movd xmm0, ecx
lea ecx, [esi + 0x10]
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
paddb xmm1, xmm0
movups xmm0, xmmword [ecx - 0x10]
add eax, 0x20
lea ecx, [ecx + 0x20]
paddb xmm0, xmm2
pxor xmm0, xmm1
movups xmmword [ecx - 0x30], xmm0
movups xmm0, xmmword [ecx - 0x20]
paddb xmm0, xmm2
pxor xmm0, xmm1
movups xmmword [ecx - 0x20], xmm0
cmp eax, edi
jl 0x10005ea1
pop edi
cmp eax, edx
jge 0x10005ee5
add bl, 0xf
mov cl, byte [eax + esi]
sub cl, 0xf
add cl, bh
xor cl, bl
mov byte [eax + esi], cl
inc eax
cmp eax, edx
jl 0x10005ed3
pop ebx
pop esi
ret
Function at 0x10005f70
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov ecx, dword [0x1016269c]
test ecx, ecx
je 0x10005fd8
mov eax, dword [ecx]
mov edx, 0x101626b0
cmp eax, dword [edx]
jne 0x10005f94
movzx eax, byte [ecx + 4]
cmp al, byte [edx + 4]
je 0x10005fd8
mov ecx, 0xf
call fcn.1001f200
push eax
push 0
push 0x10156d28
call fcn.10014ef0
add esp, 0xc
xorps xmm0, xmm0
movups xmmword [0x10162b40], xmm0
movups xmmword [0x10162b50], 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 [0x10162698]
test ecx, ecx
je 0x1000603a
mov eax, dword [ecx]
mov edx, 0x101626a8
cmp eax, dword [edx]
jne 0x10005ff6
movzx eax, byte [ecx + 4]
cmp al, byte [edx + 4]
je 0x1000603a
mov ecx, 0x10
call fcn.1001f200
push eax
push 0
push 0x10156d28
call fcn.10014ef0
add esp, 0xc
xorps xmm0, xmm0
movups xmmword [0x10162b40], xmm0
movups xmmword [0x10162b50], 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 [0x10162694]
test ecx, ecx
je 0x10006098
mov eax, dword [ecx]
mov edx, 0x101626a0
cmp eax, dword [edx]
jne 0x10006058
movzx eax, byte [ecx + 4]
cmp al, byte [edx + 4]
je 0x10006098
mov ecx, 0x11
call fcn.1001f200
push eax
push 0
push 0x10156d28
call fcn.10014ef0
add esp, 0xc
xorps xmm0, xmm0
movups xmmword [0x10162b40], xmm0
movups xmmword [0x10162b50], 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 0x100064e0
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 [0x100561b8]
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 0x1000654a
mov edx, 0x5f
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ecx + 0x1004dfac]
xor al, dl
mov byte [ebp + ecx - 0x20], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x17
jb 0x10006510
xorps xmm0, xmm0
push 0
movups xmmword [0x10162b40], xmm0
movups xmmword [0x10162b50], 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], 0xccccccc3
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.1001f310
add esp, 8
test eax, eax
je 0x10006608
lea edi, [eax + 8]
mov dword [0x10162714], 0x70
mov dword [0x10162818], edi
call fcn.10002180
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.10002660
push 0x100064c0
push 0x10162818
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, 0x100064d0
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.100250e5
mov esp, ebp
pop ebp
ret
mov edx, 0x13
xor ecx, ecx
nop
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x21
jb 0x10006610
xorps xmm0, xmm0
push 0
movups xmmword [0x10162b40], xmm0
movups xmmword [0x10162b50], xmm0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
jmp dword [pe_dos_header]

Function at 0x100066b0
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, 0x10006650
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, 0x10006690
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
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10007120
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push dword [0x101627fc]
mov esi, 0x41fe10
movss dword [ebp - 4], xmm1
mov ebx, edx
movss dword [ebp - 8], xmm0
mov edi, ecx
call esi
mov edx, 0x420120
mov ecx, eax
call edx
push 0xff
push 0xff
push 0xff
push 0xff
call esi
mov edx, 0x420040
mov ecx, eax
call edx
push 0
push 0
push 0
push 0
call esi
mov edx, 0x4200b0
mov ecx, eax
call edx
cmp byte [edi], 0
je 0x10007189
xorps xmm0, xmm0
jmp 0x10007191
movsd xmm0, qword [0x10050758]
cvtpd2ps xmm0, xmm0
sub esp, 0x18
mov eax, 0x790e40
movss dword [esp + 0x14], xmm0
movss xmm0, dword [ebp - 4]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x41700000
mov dword [esp + 8], 0x41700000
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 8]
movss dword [esp], xmm0
push 0x7b69
call eax
add esp, 0x1c
push 0xff
push 0
push 0
push 0
call esi
mov ecx, eax
mov eax, 0x420040
call eax
movss xmm0, dword [ebp - 4]
addss xmm0, dword [0x10050760]
push 0
push 1
push 0
push 0xe6
movss dword [ebp - 0x10], xmm0
addss xmm0, dword [0x10050740]
push ebx
cvttss2si esi, xmm0
movss xmm0, dword [ebp - 8]
addss xmm0, dword [0x10050764]
push esi
movss dword [ebp - 0xc], xmm0
addss xmm0, dword [0x10050740]
cvttss2si eax, xmm0
push eax
mov eax, 0x41fe10
call eax
mov edx, 0x420150
mov ecx, eax
call edx
push 0xff
push 0
push 0
push 0
mov eax, 0x41fe10
call eax
mov ecx, eax
mov eax, 0x420040
call eax
movss xmm0, dword [ebp - 0xc]
addss xmm0, dword [0x10050750]
push 0
push 1
push 0
push 0xe6
cvttss2si eax, xmm0
push ebx
push esi
push eax
mov eax, 0x41fe10
call eax
mov ecx, eax
mov esi, 0x420150
call esi
push 0xff
push 0xff
push 0xff
push 0xff
mov eax, 0x41fe10
call eax
mov ecx, eax
mov eax, 0x420040
call eax
push 0
push 1
push 0
push 0xe6
movss xmm0, dword [ebp - 0x10]
xorps xmm1, xmm1
addss xmm0, xmm1
push ebx
mov ebx, 0x41fe10
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 0xc]
addss xmm0, xmm1
push eax
cvttss2si eax, xmm0
push eax
call ebx
mov ecx, eax
call esi
cvttss2si eax, dword [ebp - 4]
push 0xf
push 0xf
push eax
cvttss2si eax, dword [ebp - 8]
push eax
mov eax, 0x790b10
call eax
add esp, 0x10
cmp al, 1
jne 0x10007353
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0xe8c578]
jne 0x10007353
push dword [0x10156cc8]
mov byte [0x10162771], 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1000734c
cmp byte [0x10156ccc], 0
jne 0x10007353
mov byte [0x10156ccc], 1
cmp byte [edi], 0
sete al
mov byte [edi], al
jmp 0x10007353
mov byte [0x10156ccc], 0
push dword [0xe8c58c]
call ebx
mov ecx, eax
mov eax, 0x420120
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000c720
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x100561b8]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x1f27628b
lea ecx, [ebp - 0x18]
call fcn.10011040
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
push 0
push ecx
push 0
push 0x1000b0f0
call fcn.1001f420
push 0x400000
push 0
push 0x10162b80
call fcn.10028610
add esp, 0xc
push 0
push 0x400000
push 0x10162b80
push 0x400000
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
movaps xmm1, xmmword [0x100507a0]
xor eax, eax
movaps xmm2, xmmword [0x100507c0]
nop word [eax + eax]
movups xmm0, xmmword [eax + 0x10162b80]
psubb xmm0, xmm1
movups xmmword [eax + 0x10162b80], xmm0
movups xmm0, xmmword [eax + 0x10162b80]
pxor xmm0, xmm2
movups xmmword [eax + 0x10162b80], xmm0
movups xmm0, xmmword [eax + 0x10162b90]
psubb xmm0, xmm1
movups xmmword [eax + 0x10162b90], xmm0
movups xmm0, xmmword [eax + 0x10162b90]
pxor xmm0, xmm2
movups xmmword [eax + 0x10162b90], xmm0
add eax, 0x20
cmp eax, 0x400000
jb 0x1000c7d0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100250e5
mov esp, ebp
pop ebp
ret
Function at 0x10011160
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 0x10011171
pop edi
mov byte [esi + 0x1e], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x100111a0
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 0x100111b1
pop edi
mov byte [esi + 0x1a], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10012b80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10040526
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x100561b8]
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.10025472
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.100215f4
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 0x10014ad0
Capabilities:
Parse pe header
Read file on windows
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x100561b8]
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 0x10014b23
lea eax, [ebp - 0x38]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
jne 0x10014b36
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100250e5
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 0x10014b6b
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.100250e5
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 0x10014beb
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x10014be4
mov eax, dword [esi + 0x3c]
add eax, esi
mov dword [ebp - 0x3c], eax
cmp dword [eax], 0x4550
jne 0x10014be4
movzx ecx, word [eax + 4]
mov edx, 0x14c
cmp cx, dx
je 0x10014bb4
mov edx, 0x8664
cmp cx, dx
jne 0x10014be4
push dword [eax + 0x28]
push dword [eax + 0x34]
push eax
call dword [sym.imp.dbghelp.dll_ImageRvaToSection]
mov ecx, eax
test ecx, ecx
je 0x10014be4
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 0x10014c0c
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.100250e5
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 0x10014be5
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.100250e5
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10014dd0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x100561b8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10156f40]
mov ecx, dword [ebp + 0xc]
test eax, eax
js 0x10014edc
cmp eax, 1
jge 0x10014edc
push ebx
push edi
imul edi, eax, 0x214
inc eax
push ecx
push 0x100
mov dword [0x10156f40], eax
add edi, 0x10156d2c
lea ebx, [edi + 4]
mov dword [edi], 1
push ebx
call fcn.1002cd8b
add esp, 0xc
cmp dword [edi], 0
je 0x10014eda
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 0x10014eb6
mov dword [edi], 0
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100250e5
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 0x10014eda
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.100250e5
mov esp, ebp
pop ebp
ret 8
Function at 0x10014ef0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x824
mov eax, dword [0x100561b8]
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 0x100150da
cmp eax, dword [ecx + 0x218]
jge 0x100150da
imul edi, eax, 0x214
add edi, ecx
cmp dword [edi + 4], 0
je 0x100150da
lea eax, [ebp - 0x81c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x816]
cmp eax, dword [edi + 0x108]
jne 0x10014f6f
movzx eax, word [ebp - 0x81a]
cmp eax, dword [edi + 0x10c]
jne 0x10014f6f
movzx eax, word [ebp - 0x81c]
cmp eax, dword [edi + 0x110]
je 0x1001502e
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 0x10014ff9
mov dword [edi + 4], 0
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.100250e5
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 0x1001502e
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.100250e5
mov esp, ebp
pop ebp
ret
push 0x400
lea eax, [ebp - 0x80c]
push 0
push eax
call fcn.10028610
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.10014150
add esp, 0x14
lea eax, [ebp - 0x40c]
push 0x400
push 0
push eax
call fcn.10028610
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 0x100150b4
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.100250e5
mov esp, ebp
pop ebp
ret

Function at 0x10015120
Capabilities:
Create thread

Disassembly:
cmp dword [0x10162658], 0
je 0x1001515d
mov eax, dword [0x10162820]
xorps xmm0, xmm0
push 0x10162b50
push 0
push 0x10156d0c
push 0x10015240
push 0
push 0
mov dword [0x10156d10], eax
movups xmmword [0x10156d18], xmm0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x10156d14], eax
ret 4
Function at 0x10015160
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x1016263c], 0
je 0x1001517c
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, dword [0x1016263c]
cmp eax, dword [ecx]
jne 0x100151ed
push esi
mov esi, dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi*4 + 0x10156d18]
cmp eax, 0x1388
jb 0x100151ac
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi*4 + 0x10156d18], eax
mov dword [esi*4 + 0x10156d20], 0
mov eax, dword [0x10162654]
cmp eax, 5
ja case.default.0x100151b6
jmp dword [eax*4 + 0x100151f4]
push 0
jmp 0x100151d3
push 0x19
jmp 0x100151d3
push 0x14
jmp 0x100151d3
push 0xf
jmp 0x100151d3
push 0xa
jmp 0x100151d3
push 5
push esi
call fcn.10015210
test al, al
jne 0x100151ec
xor edx, edx
push 0
lea ecx, [edx + 9]
call fcn.10004e30
add esp, 4
pop esi
pop ebp
ret 4