Function at 0x100e26e
Capabilities:
Get system information on windows
Write file on windows

Disassembly:
push 0xaa4
mov eax, 0x10398ef
call fcn.0103738d
mov esi, dword [ebp + 8]
or dword [ebp - 0xa48], 0xffffffff
xor ebx, ebx
push 0x118
lea eax, [ebp - 0xa30]
push ebx
push eax
mov dword [ebp - 0xa44], ecx
mov dword [ebp - 0xa5c], esi
mov dword [ebp - 0xa40], ebx
mov dword [ebp - 0xa3c], ebx
mov dword [ebp - 0xa34], ebx
call sub.msvcrt.dll_memset
add esp, 0xc
lea ecx, [ebp - 0xa8c]
call fcn.01015c7b
push 8
pop ecx
xor eax, eax
mov dword [ebp - 0xab0], ebx
lea edi, [ebp - 0xaac]
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0xa54]
mov dword [ebp - 4], ebx
call fcn.01014810
mov byte [ebp - 4], 1
mov dword [ebp - 0xa58], ebx
cmp esi, ebx
je 0x100eaab
cmp dword [ebp + 0xc], ebx
je 0x100eaab
lea eax, [ebp - 0xab0]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov ecx, dword [ebp - 0xa44]
lea eax, [ebp - 0xa48]
push eax
push dword [ebp + 0xc]
push esi
call fcn.0100d964
cmp eax, ebx
mov dword [ebp - 0xa38], eax
jge 0x100e3d1
mov eax, dword [section..data]
cmp eax, section..data
je 0x100e367
test byte [eax + 0x1c], 1
je 0x100e367
push 0x1001e78
push 0x40
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010078b5
mov edi, dword [ebp - 0xa48]
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
cmp edi, 0xffffffff
je 0x100e387
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0xa40], ebx
je 0x100e39b
push dword [ebp - 0xa40]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
cmp dword [ebp - 0xa38], ebx
jge 0x100e3a8
xor eax, eax
mov word [esi], ax
lea ecx, [ebp - 0xa54]
mov byte [ebp - 4], 0
call fcn.01014822
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa8c]
call fcn.01015cbc
mov eax, dword [ebp - 0xa38]
jmp 0x100eace
mov esi, 0x11c
push esi
lea eax, [ebp - 0xa34]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0xa34]
push eax
mov dword [ebp - 0xa34], esi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x100e42d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [section..data]
mov edi, section..data
cmp eax, edi
je 0x100e432
test byte [eax + 0x1c], 1
je 0x100e432
mov esi, 0x1001e78
push esi
push 0x41
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010078b5
jmp 0x100e437
mov edi, section..data
mov esi, 0x1001e78
lea eax, [ebp - 0xa58]
push eax
movzx eax, word [ebp - 0x91e]
push eax
movzx eax, word [ebp - 0x920]
push eax
push dword [ebp - 0xa2c]
push dword [ebp - 0xa30]
call dword [sym.imp.KERNEL32.dll_GetProductInfo]
test eax, eax
jne 0x100e493
mov eax, dword [section..data]
cmp eax, edi
je 0x100e48d
test byte [eax + 0x1c], 1
je 0x100e48d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [section..data]
push esi
push 0x42
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01008600
mov dword [ebp - 0xa58], ebx
xor eax, eax
test byte [ebp - 0x91c], 0x40
mov word [ebp - 0x114], ax
mov ebx, 0x80
je 0x100e4dd
push 0x1002a30
push ebx
lea eax, [ebp - 0x114]
push eax
call fcn.0100cb9c
test eax, eax
jge 0x100e4dd
mov eax, dword [section..data]
cmp eax, edi
je 0x100e4dd
test byte [eax + 0x1c], 1
je 0x100e4dd
push esi
push 0x43
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010078b5
cmp byte [ebp - 0x91a], 1
jne 0x100e55e
test dword [ebp - 0x91c], 0x200
lea eax, [ebp - 0x114]
je 0x100e52b
push 0x1002a14
push ebx
push eax
call fcn.0100cb9c
test eax, eax
jge 0x100e71e
mov eax, dword [section..data]
cmp eax, edi
je 0x100e71e
test byte [eax + 0x1c], 1
je 0x100e71e
push esi
push 0x44
jmp 0x100e713
push 0x10029f8
push ebx
push eax
call fcn.0100cb9c
test eax, eax
jge 0x100e71e
mov eax, dword [section..data]
cmp eax, edi
je 0x100e71e
test byte [eax + 0x1c], 1
je 0x100e71e
push esi
push 0x45
jmp 0x100e713
mov eax, dword [ebp - 0x91c]
test bl, al
je 0x100e5a1
push 0x10029d4
push ebx
lea eax, [ebp - 0x114]
push eax
call fcn.0100cb9c
test eax, eax
jge 0x100e71e
mov eax, dword [section..data]
cmp eax, edi
je 0x100e71e
test byte [eax + 0x1c], 1
je 0x100e71e
push esi
push 0x46
jmp 0x100e713
test al, 2
je 0x100e5de
push 0x10029b4
push ebx
lea eax, [ebp - 0x114]
push eax
call fcn.0100cb9c
test eax, eax
jge 0x100e71e
mov eax, dword [section..data]
cmp eax, edi
je 0x100e71e
test byte [eax + 0x1c], 1
je 0x100e71e
push esi
push 0x47
jmp 0x100e713
test eax, 0x400
je 0x100e61e
push 0x100299c
push ebx
lea eax, [ebp - 0x114]
push eax
call fcn.0100cb9c
test eax, eax
jge 0x100e71e
mov eax, dword [section..data]
cmp eax, edi
je 0x100e71e
test byte [eax + 0x1c], 1
je 0x100e71e
push esi
push 0x48
jmp 0x100e713
test al, 4
je 0x100e65b
push 0x1002974
push ebx
lea eax, [ebp - 0x114]
push eax
call fcn.0100cb9c
test eax, eax
jge 0x100e71e
mov eax, dword [section..data]
cmp eax, edi
je 0x100e71e
test byte [eax + 0x1c], 1
je 0x100e71e
push esi
push 0x49
jmp 0x100e713
test al, 1
je 0x100e695
push 0x1002948
push ebx
lea eax, [ebp - 0x114]
push eax
call fcn.0100cb9c
test eax, eax
jge 0x100e71e
mov eax, dword [section..data]
cmp eax, edi
je 0x100e71e
test byte [eax + 0x1c], 1
je 0x100e71e
push esi
push 0x4a
jmp 0x100e713
test al, 0x20
je 0x100e6c3
push 0x1002900
push ebx
lea eax, [ebp - 0x114]
push eax
call fcn.0100cb9c
test eax, eax
jge 0x100e71e
mov eax, dword [section..data]
cmp eax, edi
je 0x100e71e
test byte [eax + 0x1c], 1
je 0x100e71e
push esi
push 0x4b
jmp 0x100e713
test al, 8
lea eax, [ebp - 0x114]
je 0x100e6f1
push 0x10028d4
push ebx
push eax
call fcn.0100cb9c
test eax, eax
jge 0x100e71e
mov eax, dword [section..data]
cmp eax, edi
je 0x100e71e
test byte [eax + 0x1c], 1
je 0x100e71e
push esi
push 0x4c
jmp 0x100e713
push 0x10028c4
push ebx
push eax
call fcn.0100cb9c
test eax, eax
jge 0x100e71e
mov eax, dword [section..data]
cmp eax, edi
je 0x100e71e
test byte [eax + 0x1c], 1
je 0x100e71e
push esi
push 0x4d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010078b5
push 0
push 0x1001ee4
xor edi, edi
push 0x1001e88
inc edi
push edi
lea ecx, [ebp - 0xa8c]
call fcn.01015a87
test eax, eax
jl 0x100e7e9
push 0
push 0x80000002
lea ecx, [ebp - 0xa8c]
call fcn.01015def
test eax, eax
jl 0x100e7e9
lea ecx, [ebp - 0xa8c]
call fcn.01015d4d
test eax, eax
je 0x100e7e9
lea ecx, [ebp - 0xa8c]
call fcn.01015d4d
add eax, eax
mov esi, eax
shr esi, 1
mov dword [ebp - 0xa38], esi
cmp esi, 0x10000
jae 0x100e7e9
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
mov byte [ebp - 4], 2
neg ecx
or ecx, eax
push ecx
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0xa40], eax
mov dword [ebp - 4], edi
jmp 0x100e7c2
cmp dword [ebp - 0xa40], 0
je 0x100e7e9
push esi
push dword [ebp - 0xa40]
lea ecx, [ebp - 0xa8c]
call fcn.01015d09
mov ecx, dword [ebp - 0xa44]
push eax
call fcn.0100cc12
mov esi, dword [ebp - 0xa40]
mov eax, 0xfeff
mov word [ebp - 0x918], ax
test esi, esi
jne 0x100e804
mov esi, 0x10017a8
movzx eax, word [ebp - 0xab0]
push dword [ebp - 0xa58]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx eax, ax
push eax
movzx eax, word [ebp - 0x91e]
push eax
movzx eax, word [ebp - 0x920]
push eax
push dword [ebp - 0xa28]
lea eax, [ebp - 0x114]
push dword [ebp - 0xa2c]
push dword [ebp - 0xa30]
push eax
push esi
push 0x10020b8
lea eax, [ebp - 0x916]
push 0x401
push eax
call fcn.0100878d
add esp, 0x34
test eax, eax
jl 0x100e89e
lea eax, [ebp - 0x918]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x100e86c
mov edi, dword [ebp - 0xa48]
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
sub eax, edx
push 0
sar eax, 1
lea ecx, [ebp - 0xa3c]
push ecx
add eax, eax
push eax
lea eax, [ebp - 0x918]
push eax
push edi
call esi
jmp 0x100e8aa
mov edi, dword [ebp - 0xa48]
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
xor ebx, ebx
push ebx
lea eax, [ebp - 0xa3c]
push eax
push 0x16
push 0x1002278
push edi
call esi
mov ecx, dword [ebp - 0xa44]
lea eax, [ebp - 0xa54]
push eax
push 0x10028a0
push 0x1002810
push 0x80000002
call fcn.0100c787
test eax, eax
jl 0x100e908
push ebx
lea eax, [ebp - 0xa3c]
push eax
lea ecx, [ebp - 0xa54]
call fcn.0101482f
add eax, eax
push eax
lea ecx, [ebp - 0xa54]
call fcn.01015d45
push eax
push edi
call esi
mov ecx, dword [ebp - 0xa44]
lea eax, [ebp - 0xa54]
push eax
push 0x10027f4
push 0x1002778
push 0x80000002
call fcn.0100c787
test eax, eax
jl 0x100e952
push ebx
lea eax, [ebp - 0xa3c]
push eax
lea ecx, [ebp - 0xa54]
call fcn.0101482f
add eax, eax
push eax
lea ecx, [ebp - 0xa54]
call fcn.01015d45
push eax
push edi
call esi
push ebx
lea eax, [ebp - 0xa3c]
push eax
push 0x16
push 0x1001f64
push edi
call esi
mov ecx, dword [ebp - 0xa44]
push edi
call fcn.0100d4d3
cmp eax, ebx
mov dword [ebp - 0xa38], eax
jge 0x100e9e3
push eax
push 0x1002758
lea eax, [ebp - 0xa54]
push 0x1002540
push eax
call fcn.010157db
add esp, 0x10
push ebx
lea eax, [ebp - 0xa3c]
push eax
lea ecx, [ebp - 0xa54]
call fcn.0101482f
add eax, eax
push eax
lea ecx, [ebp - 0xa54]
call fcn.01015d45
push eax
push edi
call esi
mov eax, dword [section..data]
cmp eax, section..data
je 0x100e9e3
test byte [eax + 0x1c], 1
je 0x100e9e3
push dword [ebp - 0xa38]
push 0x1001e78
push 0x4e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01008600
push ebx
lea eax, [ebp - 0xa3c]
push eax
push 0x18
push 0x1001f7c
push edi
call esi
push ebx
lea eax, [ebp - 0xa3c]
push eax
push 0x16
push 0x1002290
push edi
call esi
mov ecx, dword [ebp - 0xa44]
push edi
call fcn.0100e248
cmp eax, ebx
mov dword [ebp - 0xa38], eax
jge 0x100ea86
push eax
push 0x100273c
lea eax, [ebp - 0xa54]
push 0x1002540
push eax
call fcn.010157db
add esp, 0x10
push ebx
lea eax, [ebp - 0xa3c]
push eax
lea ecx, [ebp - 0xa54]
call fcn.0101482f
add eax, eax
push eax
lea ecx, [ebp - 0xa54]
call fcn.01015d45
push eax
push edi
call esi
mov eax, dword [section..data]
cmp eax, section..data
je 0x100ea86
test byte [eax + 0x1c], 1
je 0x100ea86
push dword [ebp - 0xa38]
push 0x1001e78
push 0x4f
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01008600
push ebx
lea eax, [ebp - 0xa3c]
push eax
push 0x36
push 0x100247c
push edi
call esi
mov esi, dword [ebp - 0xa5c]
mov dword [ebp - 0xa38], ebx
xor ebx, ebx
jmp 0x100e36d
lea ecx, [ebp - 0xa54]
mov byte [ebp - 4], 0
call fcn.01014822
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa8c]
call fcn.01015cbc
mov eax, 0x80070057
call fcn.010373f8
ret 8