joyce8/EMBER2024-capa huggingface dataset:
Function at 0x108e59c
Capabilities:
Create directory
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x11d05b0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x103
lea eax, [ebp - 0x414]
push eax
push 0x1006f6c
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
jne 0x108e5d7
mov esi, 0x80004005
jmp 0x108e6ff
push ebx
push edi
mov edi, 0x1006ea0
push edi
lea eax, [ebp - 0x414]
push eax
push 0x1006f60
mov ebx, 0x104
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.0108e53d
mov esi, eax
add esp, 0x14
test esi, esi
jl 0x108e6fd
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x108e644
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x108e62c
xor eax, eax
test eax, eax
jle 0x108e63a
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
test esi, esi
jl 0x108e6fd
push 0x1006eb8
push edi
lea eax, [ebp - 0x414]
push eax
push 0x1006f4c
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.0108e53d
mov esi, eax
add esp, 0x18
test esi, esi
jl 0x108e6fd
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0
lea eax, [ebp - 0x20c]
push eax
call edi
test eax, eax
jne 0x108e6a8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x108e694
xor eax, eax
test eax, eax
jle 0x108e6a2
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
test esi, esi
jl 0x108e6fd
push 0x1006ec8
lea eax, [ebp - 0x414]
push eax
push 0x1006f60
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.0108e53d
mov esi, eax
add esp, 0x14
test esi, esi
jl 0x108e6fd
push 0
lea eax, [ebp - 0x20c]
push eax
call edi
test eax, eax
jne 0x108e6fd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x108e6ed
xor eax, eax
test eax, eax
jle 0x108e6fb
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.010aa5e1
leave
ret

Function at 0x108eba5
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [0x1232c34]
cmp dword [eax], 0
je 0x108ebc7
mov ecx, dword [ebp + 8]
push 0x1232c34
call fcn.01097a4d
xor eax, eax
pop ebp
ret 4
pop ebp
jmp fcn.010ae407
Function at 0x108f4eb
Capabilities:
Delete file
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x11d05b0]
xor eax, ebp
mov dword [ebp - 4], eax
or dword [ebp - 0x214], 0xffffffff
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
push edi
push edi
lea ecx, [ebp - 0x210]
call fcn.0107b963
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
lea ecx, [ebp - 0x214]
push ecx
push 0x22
push eax
call fcn.010b7b7b
push edi
test eax, eax
je 0x108f586
lea ecx, [ebp - 0x210]
call fcn.0108e45e
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
lea ecx, [ebp - 0x210]
push ecx
push eax
push 0x2720
push 0x2d5
push 0x10070a8
call fcn.010b32f7
push eax
push 0x1235d38
call fcn.01084781
add esp, 0x18
push eax
call fcn.01084781
push eax
call fcn.010855f6
add esp, 0xc
jmp 0x108f652
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [ebp - 0x218]
push eax
push 2
push 0x10070d0
push dword [ebp - 0x214]
call edi
test eax, eax
jne 0x108f5c3
push eax
lea ecx, [ebp - 0x210]
call fcn.0108e45e
mov eax, dword [esi]
push dword [eax + 0xc]
push 0x2723
push 0x2e3
jmp 0x108f607
cmp dword [ebp - 0x218], 2
jne 0x108f645
mov eax, dword [ebx]
mov ecx, dword [eax]
mov eax, dword [eax + 0xc]
push 0
lea edx, [ebp - 0x218]
push edx
add ecx, ecx
push ecx
push eax
push dword [ebp - 0x214]
call edi
test eax, eax
jne 0x108f637
push eax
lea ecx, [ebp - 0x210]
call fcn.0108e45e
mov eax, dword [esi]
push dword [eax + 0xc]
push 0x2724
push 0x2f6
push 0x10070a8
call fcn.010b32f7
push eax
push 0x1235d38
call fcn.01084781
add esp, 0x18
lea ecx, [ebp - 0x210]
push ecx
push eax
call fcn.010855f6
pop ecx
push eax
call fcn.01084781
pop ecx
pop ecx
jmp 0x108f652
mov eax, dword [ebx]
mov eax, dword [eax]
add eax, eax
cmp dword [ebp - 0x218], eax
je 0x108f652
push 0x1d
lea ecx, [ebp - 0x210]
call fcn.0107ea4b
cmp dword [ebp - 0x214], 0xffffffff
je 0x108f66e
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 0x214], 0xffffffff
cmp dword [ebp - 0x10], 0
je 0x108f67f
mov eax, dword [esi]
push dword [eax + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.010aa5e1
leave
ret 8
Function at 0x108f6a1
Capabilities:
Delete file

Disassembly:
push 0x214
mov eax, 0x11b4c6a
call fcn.010aa669
mov esi, dword [ebp + 8]
jmp 0x108f6f4
mov eax, dword [esi + 8]
add eax, 0xfffffffc
push eax
lea ecx, [ebp - 0x220]
call fcn.0107df5e
and dword [ebp - 4], 0
mov ecx, esi
call fcn.0108f390
mov eax, dword [ebp - 0x220]
push dword [eax + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x108f70a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call fcn.0107d6e4
mov ecx, esi
call fcn.010b94dd
cmp eax, dword [ebp + 0xc]
ja 0x108f6b5
xor eax, eax
call fcn.010aa6fb
ret 8
push 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x21c]
call fcn.0107b963
lea eax, [ebp - 0x21c]
push eax
push 0x100367c
push 0xa
push 0x2732
push 0x36e
push 0x10070a8
call fcn.010b32d2
push eax
push 0x1235d38
call fcn.01084781
pop ecx
pop ecx
mov ecx, eax
call fcn.01084b7d
push eax
call fcn.01084781
pop ecx
pop ecx
push eax
call fcn.01084781
push eax
call fcn.010855f6
add esp, 0xc
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x220]
call fcn.0107d6e4
mov eax, esi
jmp 0x108f702

Function at 0x1090708
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebx
push esi
push edi
mov esi, ecx
call fcn.0109057e
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
and dword [esi + 0x1c], 0
and dword [esi + 0x24], 0
push 2
lea eax, [esi + 0x20]
push eax
push 0x20000012
mov ebx, 0x400
push ebx
call edi
test eax, eax
jne 0x1090756
mov ecx, esi
call fcn.0109057e
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x10907bc
and eax, 0xffff
or eax, 0x80070000
jmp 0x10907bc
push 2
lea eax, [esi + 0x30]
push eax
push 0x20001010
push ebx
call edi
test eax, eax
je 0x1090739
push 4
lea eax, [esi + 8]
push eax
push 0xf
push ebx
call edi
test eax, eax
je 0x1090739
push 4
push esi
push 0xe
lea eax, [esi + 8]
push ebx
mov dword [esi + 0x2c], eax
call edi
test eax, eax
je 0x1090739
push 6
lea eax, [esi + 0x10]
push eax
push 0x10
push ebx
mov dword [esi + 0x28], esi
call edi
test eax, eax
je 0x1090739
lea eax, [esi + 0x10]
push eax
lea eax, [esi + 0x24]
push eax
call fcn.010905c8
test eax, eax
jge 0x10907ba
mov ecx, esi
call fcn.0109057e
mov eax, 0x80004005
jmp 0x10907bc
xor eax, eax
pop edi
pop esi
pop ebx
ret
Function at 0x1091cf1
Capabilities:
Get storage device properties

Disassembly:
push 0x414
mov eax, 0x11b4fb3
call fcn.010aa6a4
mov eax, dword [ebp + 8]
mov dword [ebp - 0x414], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov edi, edx
mov esi, 0x1002128
push esi
mov dword [ebp - 0x41c], ecx
mov dword [ebp - 0x420], edi
mov dword [ebp - 0x410], eax
mov dword [ebp - 0x40c], ebx
mov dword [ebp - 0x418], ebx
mov dword [ebp - 4], ebx
call fcn.0108354b
push esi
mov ecx, edi
call fcn.0108354b
mov ecx, dword [ebp - 0x410]
push esi
call fcn.0108354b
or dword [ebp - 4], 0xffffffff
xor eax, eax
lea edi, [ebp - 0x408]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x3e8
lea eax, [ebp - 0x3fc]
push ebx
push eax
mov dword [ebp - 0x408], ebx
mov dword [ebp - 0x404], ebx
call sub.msvcrt.dll_memset
add esp, 0xc
push ebx
lea eax, [ebp - 0x418]
push eax
mov esi, 0x3e7
push esi
lea eax, [ebp - 0x3fc]
push eax
push 0xc
lea eax, [ebp - 0x408]
push eax
push 0x2d1400
push dword [ebp - 0x414]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [ebp - 0x40c], eax
cmp eax, ebx
je 0x1091e2d
mov eax, dword [ebp - 0x3ec]
mov dword [ebp - 4], 2
cmp eax, ebx
je 0x1091de1
cmp eax, esi
jae 0x1091de1
mov ecx, dword [ebp - 0x420]
lea eax, [ebp + eax - 0x3fc]
push eax
call fcn.01091c73
mov eax, dword [ebp - 0x3f0]
cmp eax, ebx
je 0x1091e02
cmp eax, esi
jae 0x1091e02
mov ecx, dword [ebp - 0x41c]
lea eax, [ebp + eax - 0x3fc]
push eax
call fcn.01091c73
mov eax, dword [ebp - 0x3e4]
cmp eax, ebx
je 0x1091e23
cmp eax, esi
jae 0x1091e23
mov ecx, dword [ebp - 0x410]
lea eax, [ebp + eax - 0x3fc]
push eax
call fcn.01091c73
mov dword [ebp - 0x40c], 1
mov eax, dword [ebp - 0x40c]
call fcn.010aa70f
ret 8
Function at 0x10997eb
Capabilities:
Read file on windows

Disassembly:
push 0x260
mov eax, 0x11b5ef8
call fcn.010aa6a4
mov esi, dword [ebp + 8]
mov eax, dword [esi]
cmp dword [eax], 0
mov edi, ecx
mov dword [ebp - 0x268], edi
jne 0x109981d
call fcn.010831c6
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0x57
jmp 0x1099885
mov eax, dword [eax + 0xc]
lea ecx, [ebp - 0x264]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x109984d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, edi
mov esi, eax
call fcn.010831c6
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
jmp 0x1099886
mov ebx, dword [ebp - 0x264]
and ebx, 0x1010
neg ebx
sbb bl, bl
push eax
inc bl
call dword [sym.imp.KERNEL32.dll_FindClose]
test bl, bl
je 0x1099833
xor ebx, ebx
cmp dword [ebp - 0x248], ebx
je 0x109988e
mov ecx, edi
call fcn.010831c6
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0xe
pop eax
call fcn.010aa70f
ret 4
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
push ebx
push 0x80
push 3
push ebx
push 1
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x1099833
mov eax, dword [ebp - 0x244]
shr eax, 1
push eax
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.01083218
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
or dword [ebp - 4], 0xffffffff
push ebx
lea ecx, [ebp - 0x26c]
push ecx
push dword [ebp - 0x244]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1099905
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, edi
call fcn.010831c6
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, ebx
jmp 0x1099886
mov ecx, dword [edi]
push dword [ecx]
call fcn.010816bb
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1099886
Function at 0x10a3748
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x1c
mov eax, 0x11b6d5c
call fcn.010aa62e
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov edi, 0x800
mov dword [ebp - 4], ebx
push edi
mov byte [ebp - 4], 1
call fcn.010a96af
pop ecx
mov esi, eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
mov dword [ebp - 0x18], ebx
call dword [sym.imp.ole32.dll_StringFromCLSID]
test eax, eax
jge 0x10a37a1
push esi
call fcn.010a960b
pop ecx
lea ecx, [ebp - 0x28]
call fcn.010a12eb
xor eax, eax
call fcn.010aa6e2
ret 4
mov ebx, 0x20019
push ebx
push 0x10022a4
push 0x80000000
lea ecx, [ebp - 0x28]
call fcn.010a1309
test eax, eax
jne 0x10a3804
push ebx
push dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
push dword [ebp - 0x28]
call fcn.010a1309
test eax, eax
jne 0x10a3804
lea eax, [ebp - 0x14]
push eax
push esi
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x14], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10a3804
push 0x100512c
push 0x400
push esi
call sub.msvcrt.dll_wcscat_s
add esp, 0xc
test eax, eax
je 0x10a3809
xor eax, eax
mov word [esi], ax
lea ecx, [ebp - 0x28]
call fcn.010a12eb
push ebx
push 0x10022b8
push 0x80000000
lea ecx, [ebp - 0x28]
call fcn.010a1309
test eax, eax
jne 0x10a387b
push ebx
push dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
push dword [ebp - 0x28]
call fcn.010a1309
test eax, eax
jne 0x10a387b
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x10a3840
sub eax, edx
sar eax, 1
lea ecx, [esi + eax*2]
mov edx, 0x400
sub edx, eax
lea eax, [ebp - 0x14]
push eax
push ecx
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push dword [ebp - 0x28]
add edx, edx
mov dword [ebp - 0x14], edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
neg eax
sbb al, al
inc al
jne 0x10a38a1
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x10a3880
sub eax, edx
sar eax, 1
mov dword [ebp - 0x14], eax
cmp eax, 2
jb 0x10a38a1
xor ecx, ecx
mov word [esi + eax*2 - 4], cx
sub dword [ebp - 0x14], 2
push dword [ebp - 0x18]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp word [esi], 0
jne 0x10a38b9
push esi
call fcn.010a9620
pop ecx
xor esi, esi
lea ecx, [ebp - 0x28]
call fcn.010a12eb
mov eax, esi
jmp 0x10a3799
Function at 0x10a38d3
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x11d05b0]
xor eax, ebp
mov dword [ebp - 4], eax
test byte [0x1232e9c], 1
mov eax, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
jne 0x10a3907
mov cl, byte [eax]
or dword [0x1232e9c], 1
mov byte [0x1232e98], cl
cmp byte [eax], 0
je 0x10a3a74
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_EventEnabled]
push 0x1002670
push dword [0x1231704]
push dword [0x1231700]
call ebx
cmp dword [0x11d04e4], 0xffffffff
movzx eax, al
jne 0x10a393e
test eax, eax
je 0x10a3a73
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push dword [ebp + 0xc]
mov esi, eax
push edi
call fcn.0107b8d4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push 0x100e4c8
push 0xffffffffffffffff
mov esi, 0x400
lea eax, [ebp - 0x404]
push esi
push eax
call sub.msvcrt.dll__snprintf_s
add esp, 0x20
test eax, eax
jle 0x10a3a72
cmp eax, esi
jae 0x10a398c
lea ecx, [ebp + eax - 0x404]
sub esi, eax
jmp 0x10a3992
lea ecx, [ebp - 0x404]
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
push 0xffffffffffffffff
push esi
push ecx
call sub.msvcrt.dll__vsnprintf_s
add esp, 0x14
mov dword [ebp - 0x408], eax
test eax, eax
jle 0x10a3a72
mov edi, 0x1002670
push edi
push dword [0x1231704]
push dword [0x1231700]
call ebx
test al, al
je 0x10a3a30
mov eax, dword [ebp - 0x408]
sub eax, esi
add eax, 0x3ff
movzx eax, ax
lea ecx, [ebp - 0x403]
test ax, ax
jbe 0x10a3a03
mov edx, 0xffff
cmp byte [ecx], 0x20
jne 0x10a39f6
cmp byte [ecx - 1], 0x2d
je 0x10a3a00
add eax, edx
inc ecx
test ax, ax
ja 0x10a39eb
jmp 0x10a3a03
inc ecx
add eax, edx
cmp dword [0x123172c], 0
je 0x10a3a30
mov dl, byte [0x1231730]
cmp dl, 4
jae 0x10a3a1b
test dl, dl
jne 0x10a3a30
push ecx
inc eax
push eax
push edi
push dword [0x1231704]
push dword [0x1231700]
call fcn.010a3344
sub esi, dword [ebp - 0x408]
cmp esi, 2
jae 0x10a3a3e
push 2
pop esi
mov ecx, dword [0x11d04e4]
lea eax, [ebp - 4]
sub eax, esi
mov byte [eax], 0xd
inc eax
mov byte [eax], 0xa
cmp ecx, 0xffffffff
je 0x10a3a72
push 0
lea edx, [ebp - 0x40c]
push edx
lea edx, [ebp - 0x404]
sub eax, edx
inc eax
push eax
mov eax, edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.010aa5e1
leave
ret
Function at 0x10a57ef
Capabilities:
Get file size
Write file on windows

Disassembly:
push 0x20
mov eax, 0x11b6f88
call fcn.010aa5f6
push 0x104
lea ecx, [ebp - 0x10]
call fcn.01081fbb
lea eax, [ebp - 0x10]
xor edi, edi
push eax
mov dword [ebp - 4], edi
call fcn.010ac576
test eax, eax
jl 0x10a592f
push 0x100e704
lea ecx, [ebp - 0x10]
call fcn.010830c4
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
push edi
push 0x80000000
push 4
push edi
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
or esi, 0xffffffff
mov dword [0x11d04e4], eax
cmp eax, esi
je 0x10a592f
lea ecx, [ebp - 0x1c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x10a58e1
cmp dword [ebp - 0x18], edi
jl 0x10a5887
jg 0x10a5877
cmp dword [ebp - 0x1c], 0x19000
jbe 0x10a5887
push dword [0x11d04e4]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jmp 0x10a5899
push 2
push edi
push edi
push dword [0x11d04e4]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, esi
jne 0x10a58ad
push dword [0x11d04e4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x11d04e4], esi
mov eax, dword [0x11d04e4]
cmp eax, esi
je 0x10a58e1
cmp dword [ebp - 0x18], edi
jl 0x10a58e1
jg 0x10a58c2
cmp dword [ebp - 0x1c], edi
jbe 0x10a58e1
push edi
lea ecx, [ebp - 0x14]
push ecx
push 2
push 0x100e700
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [0x11d04e4]
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x80
mov esi, 0x1232eb0
push esi
push edi
lea eax, [ebp - 0x2c]
push eax
push 8
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTimeFormatW]
movzx eax, word [ebp - 0x26]
push esi
push eax
movzx eax, word [ebp - 0x2a]
push eax
movzx eax, word [ebp - 0x2c]
push eax
push 0x100e6e4
push 0x32f
push 0x100e510
call fcn.010a38d3
add esp, 0x1c
lea ecx, [ebp - 0x10]
call fcn.0107d6e4
call fcn.010aa6e2
ret
Function at 0x10a5942
Capabilities:
Get system information on windows

Disassembly:
push 0x9c
mov eax, 0x11b6fc2
call fcn.010aa62e
and dword [ebp - 4], 0
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.0107cb17
test al, al
jne 0x10a5971
lea ecx, [ebp + 8]
call fcn.0108ce0b
test al, al
je 0x10a59ba
lea eax, [ebp + 8]
push eax
call fcn.010ac576
test eax, eax
jl 0x10a5ab5
lea ecx, [ebp - 0x40]
call fcn.0108ca8e
lea ecx, [ebp - 0x40]
call fcn.010b62a8
fld dword [ebp - 0x28]
push ecx
push ecx
fstp qword [esp]
push dword [ebp - 0x2c]
lea eax, [ebp + 8]
push dword [ebp - 0x30]
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
push 0x100e7b8
push eax
call fcn.010a57bb
add esp, 0x24
push 0x80
lea ecx, [ebp - 0x14]
call fcn.01081fbb
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [ebp - 0x14]
push 0x100e798
push eax
call fcn.0108446c
add esp, 0xc
push 0x68
call fcn.010a9635
pop ecx
mov ecx, eax
mov dword [ebp - 0x18], ecx
mov byte [ebp - 4], 3
test ecx, ecx
je 0x10a5a01
call fcn.010a64ab
mov ecx, eax
jmp 0x10a5a03
xor ecx, ecx
push 0
push 0
push 0x11d04f0
mov byte [ebp - 4], 2
mov dword [0x1232e48], ecx
call fcn.010a650d
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov ecx, dword [0x1232e48]
mov edx, dword [ecx]
push eax
call dword [edx + 0xc]
mov ecx, dword [0x1232e48]
mov eax, dword [ecx]
lea edx, [ebp - 0x14]
push edx
call dword [eax + 8]
lea ecx, [ebp - 0x84]
call fcn.010a3068
lea eax, [ebp - 0xa8]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x94]
mov ecx, dword [0x1232e48]
add eax, eax
mov dword [ebp - 0x7c], eax
shl eax, 2
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x84]
push eax
mov dword [ebp - 0x80], 8
call fcn.010a5f90
mov ecx, dword [0x1232e48]
call fcn.010a60be
test eax, eax
je 0x10a5aab
push eax
call fcn.010a3bd3
push eax
push 0x100e774
push 0x376
push 0x100e510
call fcn.010a38d3
add esp, 0x10
lea ecx, [ebp - 0x14]
call fcn.0107d6e4
jmp 0x10a5acc
push 0x100e720
push 0x357
push 0x100e510
call fcn.010a38d3
add esp, 0xc
lea ecx, [ebp + 8]
call fcn.0107d6e4
call fcn.010aa6e2
ret 4
Function at 0x10a8fc0
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
cmp dword [0x1232fb0], 0
je 0x10a90d3
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CancelWaitableTimer]
push edi
push dword [0x1232fbc]
call esi
push dword [0x1232fb8]
call esi
push dword [0x1232fc0]
call esi
push dword [0x1232fd4]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x3e8
push dword [0x1232fb0]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 4], eax
mov esi, 0x100f7a8
cmp eax, 0x80
jne 0x10a9046
push 0x100f730
push 0x124
push esi
call fcn.010a51b6
add esp, 0xc
push 0xc
call ebx
push eax
call edi
cmp dword [ebp - 4], 0x102
jne 0x10a9069
push 0x100f6c0
push 0x128
push esi
call fcn.010a51b6
add esp, 0xc
push 0xc
call ebx
push eax
call edi
cmp dword [ebp - 4], 0xffffffff
jne 0x10a9090
push 0x100f650
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x12c
push esi
call fcn.010a4cf0
add esp, 0x10
push 0xc
call ebx
push eax
call edi
push dword [0x1232fbc]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [0x1232fb8]
call edi
push dword [0x1232fc0]
call edi
push dword [0x1232fb0]
call edi
and dword [0x1232fb0], 0
push 0x100f630
push 0x137
push esi
call fcn.010a38d3
add esp, 0xc
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10a9439
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [0x1232fb0], esi
je 0x10a9453
mov eax, 0xb7
jmp 0x10a9601
push edi
mov edi, dword [ebp + 8]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
jne 0x10a9477
push 0x100fca0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xcd
jmp 0x10a9494
fld1
fcomp qword [ebp + 0xc]
fnstsw ax
test ah, 0x41
jne 0x10a94a9
push 0x100fc50
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xd2
push 0x100f7a8
call fcn.010a4cf0
add esp, 0x10
push 0x57
pop eax
jmp 0x10a9600
fld qword [ebp + 0xc]
push esi
push esi
fstp qword [0x1232fc8]
mov ecx, 0x1232fd4
mov dword [0x1232fc4], edi
call fcn.0107ae11
test al, al
jne 0x10a94db
push 0x100fc08
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xda
jmp 0x10a9500
mov edi, dword [sym.imp.KERNEL32.dll_CreateWaitableTimerW]
push esi
push esi
push esi
call edi
mov dword [0x1232fb8], eax
cmp eax, esi
jne 0x10a9512
push 0x100fbc8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xe3
push 0x100f7a8
call fcn.010a4cf0
add esp, 0x10
jmp 0x10a9600
push esi
push esi
push esi
call edi
mov dword [0x1232fbc], eax
cmp eax, esi
jne 0x10a9553
push 0x100fb80
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xec
push 0x100f7a8
call fcn.010a4cf0
add esp, 0x10
push dword [0x1232fb8]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x10a9600
push esi
push esi
push esi
call edi
mov dword [0x1232fc0], eax
cmp eax, esi
jne 0x10a9597
push 0x100fb80
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xf7
push 0x100f7a8
call fcn.010a4cf0
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0x10
push dword [0x1232fb8]
mov edi, eax
call esi
push dword [0x1232fbc]
jmp 0x10a95f0
push 0x1232fb4
push esi
push esi
push 0x10a91db
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x1232fb0], eax
cmp eax, esi
jne 0x10a95f6
push 0x100fb44
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x106
push 0x100f7a8
call fcn.010a4cf0
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0x10
push dword [0x1232fb8]
mov edi, eax
call esi
push dword [0x1232fbc]
call esi
push dword [0x1232fc0]
call esi
mov eax, edi
jmp 0x10a9600
push 0x20
call dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
pop edi
pop esi
pop ebp
ret 0xc