Function at 0x100684d9
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10091193
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2dc
movzx eax, byte [ebp + 0x24]
test eax, eax
je 0x1006942c
lea eax, [ebp + 0x14]
mov dword [ebp - 0x188], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x1b8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x1ac], eax
mov dword [ebp - 0x108], 0x4bce
mov dword [ebp - 0x13c], 0x1000de80
cmp dword [ebp - 0x108], 0x4c0a
jle 0x10068606
and dword [ebp - 0x7c], 0
jmp 0x10068561
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0x744e
jge 0x10068606
and dword [ebp - 0x5c], 0
jmp 0x1006857b
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0x596a
jge 0x10068601
and dword [ebp - 0x2c], 0
jmp 0x10068591
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x75e3
jge 0x100685fc
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x2c]
shl eax, cl
or eax, dword [ebp - 0x7c]
cdq
mov dword [ebp - 0x184], eax
mov dword [ebp - 0x180], edx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x248], eax
push dword [ebp - 0x180]
push dword [ebp - 0x184]
lea ecx, [ebp - 0x270]
call fcn.1001147b
pop ecx
pop ecx
mov dword [ebp - 0x178], eax
mov ecx, dword [ebp - 0x178]
call fcn.100252e9
push eax
call fcn.1008287d
pop ecx
lea ecx, [ebp - 0x270]
call fcn.100252df
jmp 0x1006858a
jmp 0x10068574
jmp 0x1006855a
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x108], 0x488b
jge 0x10068627
push dword [ebp - 0x13c]
call fcn.1008287d
pop ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1d0], eax
mov eax, dword [ebp - 0x188]
movzx eax, byte [eax]
test eax, eax
je 0x100686ae
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x1b8]
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x1cc], eax
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x1cc]
mov dword [ebp - 0x15c], eax
push 0
push 1
mov eax, dword [ebp - 0x15c]
push dword [eax]
mov eax, dword [ebp - 0x1a0]
push dword [eax]
mov eax, dword [ebp - 0x130]
push dword [eax]
call fcn.100566f7
add esp, 0x14
jmp 0x1006942a
mov eax, dword [ebp - 0x1d0]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x84]
mov ecx, dword [ecx + 0x10]
mov dword [eax], ecx
push 4
lea ecx, [ebp - 0x240]
call fcn.100254f9
and dword [ebp - 4], 0
mov dword [ebp - 0x34], 0xba76aabe
push 0x2298
push 0
push 1
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x240]
push eax
push 0
call fcn.1006dc3c
add esp, 0x18
mov dword [ebp - 0x34], 0
jmp 0x10068726
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 3
jg 0x100688dd
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x22c], 9
mov dword [ebp - 0x20c], 1
mov dword [ebp - 0x234], 0xa5852835
mov dword [ebp - 0x64], 0
jmp 0x10068765
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 3
jg 0x100688bd
push 4
lea ecx, [ebp - 0x1c8]
call fcn.100254f9
mov byte [ebp - 4], 1
mov dword [ebp - 0x3c], 0xffffffff
mov dword [ebp - 0x250], 0xfffffff7
push 0x38de
push 0
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x1c8]
push eax
push 0xe09
push 0
push 0x3cbf
push 0x4d1a
push 1
push 0x71fa
call fcn.1006c72f
add esp, 0x28
push 1
lea ecx, [ebp - 0x1c8]
call fcn.10025597
and dword [eax], 0
jmp 0x100687fc
push 1
lea ecx, [ebp - 0x1c8]
call fcn.10025597
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa0]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xa0]
mov dword [ecx], eax
push 1
lea ecx, [ebp - 0x1c8]
call fcn.10025597
cmp dword [eax], 3
jg 0x1006887b
push 3
lea ecx, [ebp - 0x208]
call fcn.100254f9
mov byte [ebp - 4], 2
push 0
push 0x362
push 1
push 0x7434
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.10053330
add esp, 0x18
push 2
lea ecx, [ebp - 0x208]
call fcn.10025597
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xe8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xe8]
mov dword [ecx], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x208]
call fcn.1002557b
jmp 0x100687d8
mov dword [ebp - 0x3c], 3
jmp 0x1006888b
mov eax, dword [ebp - 0x3c]
dec eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jl 0x100688a9
push 0
push 0x5e0b
push 1
push 0x3500
call fcn.100645d6
add esp, 0x10
jmp 0x10068884
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c8]
call fcn.1002557b
jmp 0x1006875e
push 0x4b34
push 0x3691
push 0
push 1
push 0x3883
call fcn.1005316f
add esp, 0x14
jmp 0x1006871f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x240]
call fcn.1002557b
mov eax, dword [ebp - 0x68]
cmp dword [eax], 0
jne 0x1006942a
mov dword [ebp - 0x8c], 0xffffffff
mov dword [ebp - 0xc4], 0x51abe719
mov dword [ebp - 0x50], 0xc71f8b10
mov dword [ebp - 0xa8], 0x789b
mov dword [ebp - 0x1bc], 0x1000dee0
cmp dword [ebp - 0xa8], 0x78c2
jle 0x100689c9
and dword [ebp - 0x74], 0
jmp 0x10068944
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0x506d
jge 0x100689c9
and dword [ebp - 0x44], 0
jmp 0x1006895a
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x3879
jge 0x100689c4
mov eax, dword [ebp - 0x74]
cdq
idiv dword [ebp - 0x44]
mov eax, edx
cdq
mov dword [ebp - 0x190], eax
mov dword [ebp - 0x18c], edx
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov word [ebp - 0x164], ax
push dword [ebp - 0x18c]
push dword [ebp - 0x190]
lea ecx, [ebp - 0x2a0]
call fcn.1001147b
pop ecx
pop ecx
mov dword [ebp - 0x174], eax
mov ecx, dword [ebp - 0x174]
call fcn.100252e9
push eax
call fcn.1008287d
pop ecx
lea ecx, [ebp - 0x2a0]
call fcn.100252df
jmp 0x10068953
jmp 0x1006893d
cmp dword [ebp - 0xa8], 0x7669
jge 0x100689e1
push dword [ebp - 0x1bc]
call fcn.1008287d
pop ecx
mov dword [ebp - 0x120], 0x27a8
mov dword [ebp - 0xcc], 0x49c99c4d
mov dword [ebp - 0x9c], 0xa14e
mov dword [ebp - 0x128], 0x18bb
mov dword [ebp - 0x134], 0x1000df50
cmp dword [ebp - 0x128], 0x1bad
jle 0x10068afb
and dword [ebp - 0x20], 0
jmp 0x10068a30
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x611a
jge 0x10068afb
and dword [ebp - 0x54], 0
jmp 0x10068a4a
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0xd0d
jge 0x10068af6
and dword [ebp - 0x4c], 0
jmp 0x10068a64
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0x7d4f
jge 0x10068af1
and dword [ebp - 0x58], 0
jmp 0x10068a7e
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0x796f
jge 0x10068aec
mov eax, dword [ebp - 0x54]
imul eax, dword [ebp - 0x4c]
imul eax, dword [ebp - 0x58]
and eax, dword [ebp - 0x20]
cdq
mov dword [ebp - 0x19c], eax
mov dword [ebp - 0x198], edx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov dword [ebp - 0x218], eax
push dword [ebp - 0x198]
push dword [ebp - 0x19c]
lea ecx, [ebp - 0x2d0]
call fcn.1001147b
pop ecx
pop ecx
mov dword [ebp - 0x17c], eax
mov ecx, dword [ebp - 0x17c]
call fcn.100252e9
push eax
call fcn.1008287d
pop ecx
lea ecx, [ebp - 0x2d0]
call fcn.100252df
jmp 0x10068a77
jmp 0x10068a5d
jmp 0x10068a43
jmp 0x10068a29
mov dword [ebp - 0x60], 0
jmp 0x10068b0b
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 1
jge 0x10068b21
mov eax, dword [ebp - 0x60]
mov dword [ebp + eax*4 - 0xd0], 0xff020a73
jmp 0x10068b04
cmp dword [ebp - 0x128], 0x16aa
jge 0x10068b39
push dword [ebp - 0x134]
call fcn.1008287d
pop ecx
xor eax, eax
je 0x10068e33
mov dword [ebp - 0x10], 0xffffffff
push 3
lea ecx, [ebp - 0x1f0]
call fcn.100254f9
mov dword [ebp - 4], 3
mov dword [ebp - 0x158], 0x86a0230a
mov dword [ebp - 0xb0], 0x72b7
mov dword [ebp - 0x140], 0x1000df90
cmp dword [ebp - 0xb0], 0x732f
jle 0x10068c65
and dword [ebp - 0x38], 0
jmp 0x10068b97
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x9e2
jge 0x10068c65
and dword [ebp - 0x30], 0
jmp 0x10068bb1
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x5d05
jge 0x10068c60
and dword [ebp - 0x24], 0
jmp 0x10068bcb
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x70ec
jge 0x10068c5b
and dword [ebp - 0x28], 0
jmp 0x10068be5
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x6cb5
jge 0x10068c56
mov eax, dword [ebp - 0x24]
cdq
idiv dword [ebp - 0x28]
mov eax, dword [ebp - 0x30]
mov ecx, edx
sar eax, cl
or eax, dword [ebp - 0x38]
cdq
mov dword [ebp - 0x1a8], eax
mov dword [ebp - 0x1a4], edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x220], eax
push dword [ebp - 0x1a4]
push dword [ebp - 0x1a8]
lea ecx, [ebp - 0x288]
call fcn.1001147b
pop ecx
pop ecx
mov dword [ebp - 0x138], eax
mov ecx, dword [ebp - 0x138]
call fcn.100252e9
push eax
call fcn.1008287d
pop ecx
lea ecx, [ebp - 0x288]
call fcn.100252df
jmp 0x10068bde
jmp 0x10068bc4
jmp 0x10068baa
jmp 0x10068b90
push 0x4357
push 0
push 0x3cf0
lea eax, [ebp - 0x228]
push eax
push 0
lea eax, [ebp - 0x1f0]
push eax
push 0xb6
push 0xf60
call fcn.10052d3f
add esp, 0x20
cmp dword [ebp - 0xb0], 0x7275
jge 0x10068cab
push dword [ebp - 0x140]
call fcn.1008287d
pop ecx
mov dword [ebp - 0x10], 0
jmp 0x10068cbb
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x1d
jg 0x10068d0f
mov dword [ebp - 0x148], 0xcf257925
lea eax, [ebp - 0x1f0]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x148]
push eax
push 0
push 0xa87
push 0x13c0
push 1
lea eax, [ebp - 0x8c]
push eax
push 0x6f91
call fcn.100518fd
add esp, 0x24
push 0x5d72
push 0
call fcn.1006dc1b
pop ecx
pop ecx
jmp 0x10068cb4
mov dword [ebp - 0xf0], 0x6b29
mov dword [ebp - 0x160], 0x1000dfb0
cmp dword [ebp - 0xf0], 0x6c90
jle 0x10068dc1
and dword [ebp - 0x40], 0
jmp 0x10068d40
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0x7848
jge 0x10068dc1
and dword [ebp - 0x48], 0
jmp 0x10068d56
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0x8eb
jge 0x10068dbc
mov eax, dword [ebp - 0x40]
xor eax, dword [ebp - 0x48]
cdq
mov dword [ebp - 0x1b4], eax
mov dword [ebp - 0x1b0], edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x230], eax
push dword [ebp - 0x1b0]
push dword [ebp - 0x1b4]
lea ecx, [ebp - 0x2b8]
call fcn.1001147b
pop ecx
pop ecx
mov dword [ebp - 0x150], eax
mov ecx, dword [ebp - 0x150]
call fcn.100252e9
push eax
call fcn.1008287d
pop ecx
lea ecx, [ebp - 0x2b8]
call fcn.100252df
jmp 0x10068d4f
jmp 0x10068d39
lea eax, [ebp - 0x158]
push eax
push 0x6553
lea eax, [ebp - 0x1f0]
push eax
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x8c]
push eax
push 1
push 1
lea eax, [ebp - 0x50]
push eax
push 0
push 0x40d8
call fcn.10054664
add esp, 0x2c
cmp dword [ebp - 0xf0], 0x6ac2
jge 0x10068e1f
mov dword [ebp - 0x214], 0x100952dc
push dword [ebp - 0x160]
call fcn.1008287d
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1f0]
call fcn.1002557b
jmp 0x1006901d
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x100], 0x20eb
mov dword [ebp - 0xb8], 0x44157f02
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xd0]
sub eax, dword [ebp - 0x8c]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0xb8], eax
jne 0x10068e7e
mov dword [ebp - 0x110], 1
jmp 0x10068e85
and dword [ebp - 0x110], 0
mov eax, dword [ebp - 0x120]
cmp dword [ebp - 0x110], eax
jle 0x10068e9f
mov dword [ebp - 0xc0], 1
jmp 0x10068ea6
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0xc0]
dec eax
cmp dword [ebp - 0x100], eax
jl 0x10068ec1
mov dword [ebp - 0xf8], 1
jmp 0x10068ec8
and dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0xf8], eax
jl 0x10068ee2
cmp dword [ebp - 0x14], 0
jne 0x10068ee2
and dword [ebp - 0xc8], 0
jmp 0x10068eec
mov dword [ebp - 0xc8], 1
mov eax, dword [ebp - 0xc8]
sub eax, dword [ebp - 0x120]
push 4
pop ecx
imul ecx, ecx, 0
cmp eax, dword [ebp + ecx - 0xd0]
je 0x10068f13
mov dword [ebp - 0xd8], 1
jmp 0x10068f1a
and dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0x100]
cmp dword [ebp - 0xd8], eax
jl 0x10068f3a
mov eax, 0xca98
test eax, eax
jne 0x10068f3a
and dword [ebp - 0x118], 0
jmp 0x10068f44
mov dword [ebp - 0x118], 1
mov eax, dword [ebp - 0xcc]
cmp dword [ebp - 0x118], eax
jne 0x10068f5e
mov dword [ebp - 0xe0], 1
jmp 0x10068f65
and dword [ebp - 0xe0], 0
cmp dword [ebp - 0xe0], 0xad959fc8
jbe 0x10068f7d
mov dword [ebp - 0x98], 1
jmp 0x10068f84
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
sub eax, 0xfffa
cmp eax, dword [ebp - 0x50]
jle 0x10068fac
mov dword [ebp - 0xa4], 1
jmp 0x10068fb3
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 0xa4]
jg 0x10068fca
mov dword [ebp - 0xac], 1
jmp 0x10068fd1
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0xac], eax
jle 0x10068fe8
mov dword [ebp - 0xb4], 1
jmp 0x10068fef
and dword [ebp - 0xb4], 0
cmp dword [ebp - 0xb4], 0xfffd
ja 0x10069007
mov dword [ebp - 0xbc], 1
jmp 0x1006900e
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0xbc]
mov dword [ebp - 0xc4], eax
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x50]
push eax
push 0
push 0x7257
call fcn.1006c6fe
add esp, 0x10
mov eax, dword [ebp - 0x84]
mov eax, dword [eax + 0x24]
and eax, 0x40
je 0x100692dc
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x18], 0
push 3
lea ecx, [ebp - 0x1e4]
call fcn.100254f9
mov dword [ebp - 4], 4
mov dword [ebp - 0x1c], 0
jmp 0x1006907e
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
jge 0x10069094
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x1fc], 0xfffffff9
jmp 0x10069077
push 1
push 0x78f
push 1
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x1e4]
push eax
call fcn.1004dfee
add esp, 0x14
mov dword [ebp - 0x258], 0x100952e4
mov eax, dword [ebp - 0x90]
sub eax, dword [ebp - 0x18]
imul eax, dword [ebp - 0x18]
cmp eax, 0xa32a17d0
ja 0x100690da
mov dword [ebp - 0xd4], 1
jmp 0x100690e1
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0xd4], eax
jge 0x100690f8
mov dword [ebp - 0xdc], 1
jmp 0x100690ff
and dword [ebp - 0xdc], 0
mov eax, dword [ebp - 0x90]
cmp dword [ebp - 0xdc], eax
jl 0x10069119
mov dword [ebp - 0xe4], 1
jmp 0x10069120
and dword [ebp - 0xe4], 0
cmp dword [ebp - 0xe4], 0
jb 0x10069135
mov dword [ebp - 0xec], 1
jmp 0x1006913c
and dword [ebp - 0xec], 0
cmp dword [ebp - 0xec], 0x512a
je 0x10069154
mov dword [ebp - 0xf4], 1
jmp 0x1006915b
and dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0xf4]
shl eax, 1
jne 0x10069177
mov eax, 0xcfd6
test eax, eax
jne 0x10069177
and dword [ebp - 0x88], 0
jmp 0x10069181
mov dword [ebp - 0x88], 1
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x88]
mov dword [ebp + eax - 0x1fc], ecx
mov eax, dword [ebp - 0x88]
sub eax, 0x448112de
cmp dword [ebp - 0x18], eax
jne 0x100691b0
mov dword [ebp - 0xfc], 1
jmp 0x100691b7
and dword [ebp - 0xfc], 0
push 0
lea ecx, [ebp - 0x1e4]
call fcn.10025597
mov ecx, dword [ebp - 0xfc]
mov dword [eax], ecx
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1fc]
mov dword [ebp - 0x104], eax
push 1
lea ecx, [ebp - 0x1e4]
call fcn.10025597
mov ecx, dword [ebp - 0x104]
mov dword [eax], ecx
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x1fc]
cmp eax, dword [ebp - 0x104]
je 0x10069215
mov dword [ebp - 0x94], 1
jmp 0x1006921c
and dword [ebp - 0x94], 0
cmp dword [ebp - 0x94], 0
jbe 0x10069231
mov dword [ebp - 0x10c], 1
jmp 0x10069238
and dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24c], eax
mov eax, 0xff57
cmp eax, 0xe70
jl 0x10069265
mov dword [ebp - 0x114], 1
jmp 0x1006926c
and dword [ebp - 0x114], 0
mov eax, dword [ebp - 0x10c]
cmp eax, dword [ebp - 0x114]
jge 0x10069286
mov dword [ebp - 0x11c], 1
jmp 0x1006928d
and dword [ebp - 0x11c], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x11c]
mov dword [ebp + eax - 0x1fc], ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e4]
call fcn.1002557b
push 0x6166
push 1
push 0x737b
push 0
lea eax, [ebp - 0x68]
push eax
push 1
lea eax, [ebp - 0x124]
push eax
push 0x43c3
call fcn.10063ba0
add esp, 0x20
jmp 0x1006942a
mov eax, dword [ebp - 0x84]
mov eax, dword [eax + 0x24]
and eax, 0x80
je 0x1006942a
push 0x7d0c
push 0
push 0x61df
lea eax, [ebp - 0x68]
push eax
push 0x1ae5
lea eax, [ebp - 0x124]
push eax
call fcn.10076613
add esp, 0x18
mov dword [ebp - 0x12c], 0x16af
mov dword [ebp - 0x170], 0x1000e000
cmp dword [ebp - 0x12c], 0x1868
jle 0x10069412
and dword [ebp - 0x6c], 0
jmp 0x10069345
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x403e
jge 0x10069412
and dword [ebp - 0x70], 0
jmp 0x1006935f
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0x47c5
jge 0x1006940d
and dword [ebp - 0x78], 0
jmp 0x10069379
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x450b
jge 0x10069408
and dword [ebp - 0x80], 0
jmp 0x10069393
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0x799c
jge 0x10069403
mov eax, dword [ebp - 0x70]
imul eax, dword [ebp - 0x78]
cdq
idiv dword [ebp - 0x80]
or edx, dword [ebp - 0x6c]
mov eax, edx
cdq
mov dword [ebp - 0x1d8], eax
mov dword [ebp - 0x1d4], edx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x224], eax
push dword [ebp - 0x1d4]
push dword [ebp - 0x1d8]
lea ecx, [ebp - 0x2e8]
call fcn.1001147b
pop ecx
pop ecx
mov dword [ebp - 0x168], eax
mov ecx, dword [ebp - 0x168]
call fcn.100252e9
push eax
call fcn.1008287d
pop ecx
lea ecx, [ebp - 0x2e8]
call fcn.100252df
jmp 0x1006938c
jmp 0x10069372
jmp 0x10069358
jmp 0x1006933e
cmp dword [ebp - 0x12c], 0x131a
jge 0x1006942a
push dword [ebp - 0x170]
call fcn.1008287d
pop ecx
jmp 0x1006943a
push 0
push 0x4246
call fcn.1004e84f
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret