Function at 0x1000a388
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10062402
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xd0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1000a5fb
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x90], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0x88]
movzx eax, byte [eax]
test eax, eax
je 0x1000a599
mov dword [ebp - 0x6c], 0xa47
mov dword [ebp - 0x80], str.nqizq_rkcbrb_zme_ijzpxr_flth_zozpk
cmp dword [ebp - 0x6c], 0xb85
jle 0x1000a4e3
push 0
push 0
push 0x2533
push 0
push 0x7bc
push 0
push 0
push 0x2026
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
and dword [ebp - 0x38], 0
jmp 0x1000a43e
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x3cb0
jge 0x1000a4d0
and dword [ebp - 0x24], 0
jmp 0x1000a458
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x7046
jge 0x1000a4cb
and dword [ebp - 0x30], 0
jmp 0x1000a46e
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x4a04
jge 0x1000a4c9
mov eax, dword [ebp - 0x38]
cdq
idiv dword [ebp - 0x24]
imul edx, dword [ebp - 0x30]
mov eax, edx
cdq
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], edx
push dword [ebp - 0xb4]
push dword [ebp - 0xb8]
lea ecx, [ebp - 0xe0]
call fcn.10002a23
pop ecx
pop ecx
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x78]
call fcn.10002bfc
push eax
call fcn.10049a06
pop ecx
lea ecx, [ebp - 0xe0]
call fcn.10002bf2
jmp 0x1000a467
jmp 0x1000a451
jmp 0x1000a437
push 0
push 0
push 0x1309
push 0
push 0
call dword [sym.imp.USER32.dll_DialogBoxParamA]
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x70], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x6c], 0x8b0
jge 0x1000a502
push dword [ebp - 0x80]
call fcn.10049a06
pop ecx
jmp 0x1000a51e
or dword [ebp - 4], 0xffffffff
jmp 0x1000a528
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], 1
jmp 0x1000a559
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
jl 0x1000a597
mov eax, dword [ebp - 0x18]
push dword [eax]
mov ecx, dword [ebp - 0x48]
call fcn.10001f76
cmp dword [eax], 0xd0b5486b
jne 0x1000a57f
mov dword [ebp - 0x68], 1
jmp 0x1000a583
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x18]
push dword [eax]
mov ecx, dword [ebp - 0x48]
call fcn.10001f76
mov ecx, dword [ebp - 0x68]
mov dword [eax], ecx
jmp 0x1000a54e
jmp 0x1000a5f6
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x20]
mov dword [eax], 0
jmp 0x1000a5d9
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x20]
mov dword [ecx], eax
mov eax, dword [ebp - 0x20]
cmp dword [eax], 2
jge 0x1000a5f6
mov eax, dword [ebp - 0x20]
push dword [eax]
mov ecx, dword [ebp - 0x74]
call fcn.10001f76
mov dword [eax], 4
jmp 0x1000a5ce
jmp 0x1000a86a
lea eax, [ebp + 0x18]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
movzx eax, byte [eax]
test eax, eax
je 0x1000a61c
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1000a86a
mov dword [ebp - 0x1c], 0x8901
mov dword [ebp - 0x40], 0x49c9fb37
mov dword [ebp - 0x3c], 0xfffffff9
mov dword [ebp - 0x1c], 9
cmp dword [ebp - 0x1c], 0x8d383303
jb 0x1000a64a
mov dword [ebp - 0x50], 1
jmp 0x1000a64e
and dword [ebp - 0x50], 0
cmp dword [ebp - 0x50], 0x2fd2
je 0x1000a660
mov dword [ebp - 0x60], 1
jmp 0x1000a664
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x60]
je 0x1000a675
mov dword [ebp - 0x58], 1
jmp 0x1000a679
and dword [ebp - 0x58], 0
cmp dword [ebp - 0x58], 1
jl 0x1000a688
mov dword [ebp - 0x44], 1
jmp 0x1000a68c
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x44]
sub eax, 4
cmp dword [ebp - 0x1c], eax
jl 0x1000a6a0
mov dword [ebp - 0x4c], 1
jmp 0x1000a6a4
and dword [ebp - 0x4c], 0
cmp dword [ebp - 0x4c], 1
jae 0x1000a6b3
mov dword [ebp - 0x54], 1
jmp 0x1000a6b7
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x54]
cmp eax, 1
jne 0x1000a6d1
mov dword [ebp - 0x5c], 1
jmp 0x1000a6d5
and dword [ebp - 0x5c], 0
cmp dword [ebp - 0x5c], 0xffffffff
jge 0x1000a713
cmp dword [ebp - 0x1c], 0
je 0x1000a713
cmp dword [ebp - 0x3c], 0
je 0x1000a713
push 0
push 0
push 0x50f9
call fcn.10008407
add esp, 0xc
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x1000a70e
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
jmp 0x1000a86a
mov dword [ebp - 0x9c], 0x8cd54673
mov dword [ebp - 0x64], 0x3375
mov dword [ebp - 0x84], str.mko_fwsxud_okezpt_vzh_plrcfkax_bug_agtmkpddl_zgaapp
cmp dword [ebp - 0x64], 0x36aa
jle 0x1000a7b3
and dword [ebp - 0x28], 0
jmp 0x1000a744
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x747d
jge 0x1000a7ab
and dword [ebp - 0x2c], 0
jmp 0x1000a75a
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x3415
jge 0x1000a7a9
and dword [ebp - 0x34], 0
jmp 0x1000a770
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x7e5
jge 0x1000a7a7
mov eax, dword [ebp - 0x28]
or eax, dword [ebp - 0x2c]
or eax, dword [ebp - 0x34]
cdq
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xc0], edx
push dword [ebp - 0xc0]
push dword [ebp - 0xc4]
mov ecx, 0x1007f138
call fcn.10002c1c
jmp 0x1000a769
jmp 0x1000a753
jmp 0x1000a73d
push 0
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov dword [ebp - 0xa4], 0x279e56e6
mov dword [ebp - 4], 2
cmp dword [ebp - 0x64], 0x3253
jge 0x1000a7dd
mov edx, dword [ebp - 0x84]
mov ecx, 0x1007f138
call fcn.100045d3
jmp 0x1000a7f9
or dword [ebp - 4], 0xffffffff
jmp 0x1000a803
mov dword [ebp - 0x94], 0xdf47f28a
mov dword [ebp - 0x8c], 0xca862934
mov dword [ebp - 0xac], 0x41adf890
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x94]
push eax
push 0
lea eax, [ebp - 0x9c]
push eax
push 0x3a5b
push 0x7d6
push 0x1b4d
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0xac]
push eax
push 0x6bf4
call fcn.1000bfdc
add esp, 0x30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret