Function at 0x100247e5
Capabilities:
Check os version

Disassembly:
mov eax, 0x100705a0
call fcn.1006f5b8
sub esp, 0x1ac
movdqa xmm0, xmmword [0x10009490]
mov eax, ecx
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x74]
push dword [ebp + 8]
mov dword [ebp - 0x24], eax
xor ebx, ebx
mov dword [ebp - 0x34], eax
or esi, 0xffffffff
lea eax, [ebp - 0x170]
mov dword [ebp - 0x28], 0xf606
push eax
lea eax, [ebp - 0x180]
mov dword [ebp - 0x28], 0x2667a876
push eax
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x28], esi
push ebx
mov byte [ebp - 0x40], dl
movdqu xmmword [ebp - 0x180], xmm0
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
call fcn.1002433e
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0x28], 0x1a0734f0
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x28], 0x8ebd
push 4
call fcn.1001f1f8
xor edi, edi
mov dword [ebp - 0x20], ebx
inc edi
cmp dword [ebp - 0x20], 4
jge 0x10024893
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0xf0]
mov dword [eax + ecx*4], edi
inc dword [ebp - 0x20]
jmp 0x1002487c
mov eax, dword [ebp - 0xf0]
lea ecx, [ebp - 0xf0]
dec dword [eax + 8]
call fcn.1001f27a
lea ecx, [ebp - 0x74]
mov dword [ebp - 4], esi
call fcn.1001f27a
mov dword [ebp - 0x14], 0xf5540d7f
mov dword [ebp - 0x3c], esi
push 0xfffffffffffffffe
pop esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x30], 0xc130268d
mov dword [ebp - 0x14], 8
jmp 0x1002497c
mov dword [ebp - 0x1c], 0x9d6b9c2d
lea ecx, [ebp - 0x64]
push edi
call fcn.1001f1f8
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x20], ebx
jmp 0x100248fd
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x64]
mov dword [eax + ecx*4], 0x89f2
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], edi
jl 0x100248ed
mov eax, dword [ebp - 0x1c]
xor edx, edx
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x64]
cmp ecx, dword [eax]
setne dl
mov dword [ebp - 0x3c], edx
xor edx, edx
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x14]
cmp ecx, eax
setge dl
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x64]
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], edi
mov ecx, dword [ebp - 0x64]
jle 0x10024965
mov edx, edi
cmp dword [ecx], ebx
jne 0x10024967
mov edx, ebx
xor eax, eax
cmp edx, dword [ecx]
lea ecx, [ebp - 0x64]
setl al
mov dword [ebp - 0x30], eax
call fcn.1001f27a
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 7
jl 0x100248d5
mov eax, dword [0x1007760c]
mov dword [ebp - 0x2c], 0xa61928c1
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
mov dword [ebp - 0x3c], eax
je 0x100249a5
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov dword [ebp - 0x2c], ebx
cmp dword [ebp - 0x2c], 0xfffffff1
jle 0x10024a12
push 2
pop esi
push esi
lea ecx, [ebp - 0xd8]
call fcn.1001f1f8
mov dword [ebp - 0x1c], 0x4822b165
mov dword [ebp - 0x20], ebx
jmp 0x100249dc
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0xd8]
mov dword [eax + ecx*4], 0xa9ac70c3
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], esi
jl 0x100249c9
mov dword [ebp - 0x1c], ebx
jmp 0x100249f9
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xd8]
mov dword [eax + ecx*4], 0xfffffffe
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], esi
jl 0x100249e6
lea ecx, [ebp - 0xd8]
call fcn.1001f27a
dec dword [ebp - 0x2c]
cmp dword [ebp - 0x2c], 0xfffffff1
jg 0x100249b1
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x98]
push 3
pop esi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x38], 0xfa5c62e0
push esi
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
call fcn.1001f1f8
mov dword [ebp - 0x1c], 0xc0001115
mov dword [ebp - 0x28], 0xfe936be8
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x30], 0xe2ccf58d
mov dword [ebp - 0x2c], 0xfffffff8
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x14], ebx
jmp 0x10024a76
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x98]
mov dword [eax + ecx*4], 0x66a756a3
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], esi
jl 0x10024a63
mov dword [ebp - 0x14], ebx
jmp 0x10024a91
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x1ac], 0x86335c0
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], esi
jl 0x10024a80
inc dword [ebp - 0x20]
xor edx, edx
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x38]
cmp eax, ecx
mov esi, dword [ebp - 0x98]
mov eax, dword [ebp - 0x20]
setge dl
xor ecx, ecx
cmp edx, dword [esi + 8]
setg cl
dec eax
neg eax
sbb eax, eax
inc eax
cmp eax, ecx
jg 0x10024ac4
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
cmp dword [esi + 8], ebx
setne cl
add eax, ecx
je 0x10024ada
mov edx, edi
cmp dword [ebp - 0x20], ebx
jne 0x10024adc
mov edx, ebx
dec dword [ebp - 0x1c]
xor ecx, ecx
mov eax, dword [ebp - 0x98]
cmp edx, dword [eax + 4]
setle cl
xor eax, eax
cmp ecx, dword [esi + 8]
setg al
sub eax, dword [esi + 8]
neg eax
sbb eax, eax
xor edx, edx
inc eax
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x38]
cmp ecx, eax
mov eax, dword [ebp - 0x14]
setg dl
sub eax, 0xb95ae649
neg eax
sbb eax, eax
xor ecx, ecx
inc eax
cmp edx, eax
setg cl
xor eax, eax
cmp ecx, dword [esi + 8]
lea ecx, [ebp - 0x98]
setl al
mov dword [ebp - 0x30], eax
call fcn.1001f27a
cmp byte [ebp - 0x40], 0
je 0x10024c03
cmp dword [ebp - 0x3c], edi
jne 0x10024c03
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x118], edi
mov dword [ebp - 0x114], edi
mov dword [ebp - 0x110], edi
mov dword [ebp - 0x10c], edi
mov dword [ebp - 0x20], 0x99a5
mov dword [ebp - 0x30], 0xfffffff7
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
mov dword [esi + 8], 4
je 0x10024b8f
push ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
cmp dword [ebp - 0x1c], 0xbd42ca8c
jae 0x10024ba2
mov dword [ebp - 0x114], edi
mov ecx, edi
jmp 0x10024ba4
mov ecx, ebx
mov eax, dword [ebp - 0x1c]
sub ecx, eax
cmp dword [ebp - 0x1c], ecx
jl 0x10024bb5
mov eax, ebx
cmp dword [ebp - 0x20], ebx
je 0x10024bb7
mov eax, edi
add eax, 0x1afcb7a7
mov ecx, 0xa1405524
cmp ecx, eax
sbb eax, eax
neg eax
add eax, 0x6aac8953
cmp eax, dword [ebp - 0x1c]
jg 0x10024bd8
mov edx, edi
cmp dword [ebp - 0x1c], ebx
jne 0x10024bda
mov edx, ebx
mov eax, dword [ebp - 0x20]
xor ecx, ecx
cmp edx, eax
mov dword [esi + 0xc], 0x1007760c
mov eax, dword [ebp - 0x1c]
sete cl
xor edx, edx
cmp ecx, 0xe81de98
setge dl
xor ecx, ecx
cmp eax, edx
setge cl
mov dword [ebp - 0x30], ecx
push 4
lea ecx, [ebp - 0x13c]
call fcn.1001f1f8
push 3
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x124]
pop esi
mov dword [ebp - 0x1c], 0xe1e87df2
mov dword [ebp - 0x28], 0x1fc3eee
mov dword [ebp - 0x28], 0x99d94b4b
push esi
call fcn.1001f1f8
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x14], ebx
jmp 0x10024c4e
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x13c]
mov dword [eax + ecx*4], ebx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 4
jl 0x10024c3f
mov dword [ebp - 0x14], ebx
jmp 0x10024c69
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x124]
or dword [eax + ecx*4], 0xffffffff
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], esi
jl 0x10024c59
mov dword [ebp - 0x14], ebx
jmp 0x10024c80
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x1a0], ebx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 2
jl 0x10024c73
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x10024c96
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x1c], esi
cmp dword [ebp - 0x1c], ebx
jl 0x10024ce1
mov dword [ebp - 0x28], 0x7d65
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x20], ebx
jmp 0x10024cbe
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x190], 6
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 2
jl 0x10024cad
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x10024cd9
push 0x86c
push ebx
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
inc dword [ebp - 0x2c]
dec dword [ebp - 0x1c]
jns 0x10024c9e
lea ecx, [ebp - 0x124]
call fcn.1001f27a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x13c]
call fcn.1001f27a
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x24], eax
jge 0x100256ef
push esi
lea ecx, [ebp - 0xe4]
call fcn.1001f1f8
mov dword [ebp - 0x1c], 0x38ecf54c
mov dword [ebp - 0x14], ebx
jmp 0x10024d32
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xe4]
mov dword [eax + ecx*4], 0xeb90da11
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], esi
jl 0x10024d1f
push 2
mov dword [ebp - 0x14], ebx
pop edx
jmp 0x10024d50
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x160], 0x3126ff23
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edx
jl 0x10024d3f
mov dword [ebp - 0x1c], ebx
jmp 0x10024d71
mov dword [ebp - 0x15c], ebx
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xe4]
cmp dword [eax + ecx*4], ebx
jne 0x10024d76
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], edx
jle 0x10024d5a
lea ecx, [ebp - 0xe4]
call fcn.1001f27a
mov dword [ebp - 0x30], 0x1e0f
cmp dword [ebp - 0x30], 0x1e2b
jle 0x10024df7
mov dword [ebp - 0x14], ebx
mov ecx, ebx
mov dword [ebp - 0x38], 0x7fbe
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], 0x4148
mov esi, ebx
mov ebx, dword [ebp - 0x20]
mov eax, ebx
mov ecx, 0x10618c38
or eax, esi
cdq
push edx
push eax
call fcn.1001efdc
inc esi
cmp esi, 0x28e7
jl 0x10024daf
inc ebx
dec dword [ebp - 0x1c]
push 0
mov dword [ebp - 0x20], ebx
pop ebx
jne 0x10024daa
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x14]
add ecx, eax
dec dword [ebp - 0x38]
mov dword [ebp - 0x2c], ecx
jne 0x10024da0
inc eax
mov dword [ebp - 0x14], eax
cmp eax, 0x7e4a
jl 0x10024d94
push ebx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov esi, 0x10077610
mov dword [ebp - 4], 2
cmp dword [ebp - 0x30], 0x1c65
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x20], esi
jge 0x10024e21
mov edx, 0x10007fc0
mov ecx, 0x10618c38
call fcn.100234ff
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x28], 6
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x10024e3c
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x10024e56
push 0x1ee1
push ebx
push 0x24f7
call dword [sym.imp.USER32.dll_GetClassNameW]
cmp dword [ebp - 0x24], 0
jle 0x10025289
mov dword [ebp - 0x2c], 0x68206240
mov dword [ebp - 0x34], 0xe831e341
mov dword [ebp - 0x2c], 0x17
cmp dword [ebp - 0x2c], 0xfffffff5
jne 0x10025046
mov dword [ebp - 0x1c], 0x976ff55e
lea ecx, [ebp - 0xcc]
mov dword [ebp - 0x30], 0x6e40424b
push 4
call fcn.1001f1f8
mov dword [ebp - 4], 4
mov dword [ebp - 0x28], 8
mov dword [ebp - 0x20], ebx
jmp 0x10024ef4
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0xcc]
mov dword [eax + ecx*4], 0xa2967684
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 4
jl 0x10024ee1
mov dword [ebp - 0x1c], 2
cmp dword [ebp - 0x1c], edi
jle 0x10025027
mov esi, dword [ebp - 0xcc]
mov dword [ebp - 0x20], 0x1f2e9667
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x14], 0xfffffffe
push edi
call fcn.1001f1f8
mov dword [ebp - 0x14], ebx
jmp 0x10024f3a
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x44], 0xffffffff
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
jl 0x10024f2c
mov dword [ebp - 0x14], ebx
jmp 0x10024f54
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x80]
mov dword [eax + ecx*4], 0xc9dffbe5
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
jl 0x10024f44
mov eax, dword [ebp - 0x2c]
xor edx, edx
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
cmp ecx, eax
setl dl
mov dword [ebp - 0x14], edx
xor edx, edx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x1c]
add ecx, eax
mov eax, dword [ebp - 0x1c]
cmp ecx, 0xab5c
setl dl
xor ecx, ecx
cmp eax, edx
mov eax, dword [ebp - 0x80]
setge cl
mov dword [eax], ecx
mov eax, dword [ebp - 0x2c]
neg eax
je 0x10024fa5
mov edx, edi
cmp dword [ebp - 0x20], ebx
jne 0x10024fa7
mov edx, ebx
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
cmp eax, edx
mov eax, dword [ebp - 0x1c]
setne cl
mov dword [esi + 8], ecx
xor ecx, ecx
cmp eax, 0x5a955069
mov eax, 0xfb41ce09
setl cl
cmp eax, ecx
mov eax, dword [ebp - 0x80]
sbb ecx, ecx
neg ecx
mov dword [eax], ecx
imul eax, dword [ebp - 0x28], 0xffff
test eax, eax
je 0x10024fe3
mov ecx, edi
cmp dword [ebp - 0x44], ebx
jne 0x10024fe5
mov ecx, ebx
mov eax, dword [ebp - 0x20]
xor edx, edx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x2c]
imul eax, ecx
imul ecx, eax, 0x1e16
mov eax, dword [ebp - 0x14]
cmp eax, ecx
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x80]
setl dl
imul edx, eax
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x34], edx
call fcn.1001f27a
dec dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], edi
jg 0x10024f10
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xcc]
call fcn.1001f27a
dec dword [ebp - 0x2c]
cmp dword [ebp - 0x2c], 0xfffffff5
je 0x10024e7f
mov esi, dword [ebp - 0x38]
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x1002505a
push 0x199f
call dword [sym.imp.GDI32.dll_CloseEnhMetaFile]
mov eax, dword [esi]
mov dword [ebp - 0x34], eax
mov eax, 0x61928c17
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], 0xbfc3938d
mov dword [ebp - 0x1c], 3
cmp dword [ebp - 0x1c], ebx
jl 0x100250fc
push edi
lea ecx, [ebp - 0x8c]
call fcn.1001f1f8
mov dword [ebp - 0x20], ebx
jmp 0x100250b2
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x8c]
mov dword [eax + ecx*4], edi
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], edi
jl 0x100250a3
mov eax, dword [ebp - 0x8c]
mov dword [eax], 3
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x100250e2
push 0x1daa
push ebx
push 0x23bb
push 0xc20
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
mov eax, dword [ebp - 0x8c]
dec dword [eax]
jns 0x100250c3
lea ecx, [ebp - 0x8c]
call fcn.1001f27a
dec dword [ebp - 0x1c]
jns 0x10025092
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x10025110
push 0x4c4
call dword [sym.imp.USER32.dll_GetParent]
mov eax, dword [esi + 4]
add esi, 8
mov dword [ebp - 0x30], 6
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
mov dword [ebp - 0x28], eax
je 0x10025130
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x1002514a
push 0x1ee1
push ebx
push 0x24f7
call dword [sym.imp.USER32.dll_GetClassNameW]
cmp dword [ebp - 0x28], 0
jne 0x10025153
add esi, 8
mov dword [ebp - 0x28], edi
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0x38], 0xfa5c62e0
push 3
call fcn.1001f1f8
mov dword [ebp - 0x2c], 0xc0001115
mov dword [ebp - 0x28], 0xfe936be8
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x28], 0xe2ccf58d
mov dword [ebp - 0x30], 0xfffffff8
push 3
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x14], ebx
pop edx
jmp 0x100251aa
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xa4]
mov dword [eax + ecx*4], 0x66a756a3
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edx
jl 0x10025197
mov dword [ebp - 0x14], ebx
jmp 0x100251c5
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x1b8], 0x86335c0
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edx
jl 0x100251b4
inc dword [ebp - 0x20]
xor edx, edx
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x38]
cmp eax, ecx
mov eax, dword [ebp - 0x1c]
setge dl
xor ecx, ecx
cmp edx, dword [eax + 8]
mov eax, dword [ebp - 0x20]
setg cl
dec eax
neg eax
sbb eax, eax
inc eax
cmp eax, ecx
jg 0x100251fe
mov eax, dword [ebp - 0x30]
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
cmp dword [eax + 8], ebx
mov eax, dword [ebp - 0x30]
setne cl
add eax, ecx
je 0x10025217
mov edx, edi
cmp dword [ebp - 0x20], ebx
jne 0x10025219
mov edx, ebx
dec dword [ebp - 0x2c]
xor ecx, ecx
mov eax, dword [ebp - 0xa4]
cmp edx, dword [eax + 4]
mov edx, dword [ebp - 0x1c]
setle cl
xor eax, eax
cmp ecx, dword [edx + 8]
setg al
sub eax, dword [edx + 8]
neg eax
sbb eax, eax
xor edx, edx
inc eax
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x38]
cmp ecx, eax
mov eax, dword [ebp - 0x14]
setg dl
sub eax, 0xb95ae649
neg eax
sbb eax, eax
xor ecx, ecx
inc eax
cmp edx, eax
mov edx, dword [ebp - 0x1c]
setg cl
xor eax, eax
cmp ecx, dword [edx + 8]
lea ecx, [ebp - 0xa4]
setl al
mov dword [ebp - 0x28], eax
call fcn.1001f27a
add esi, dword [ebp - 0x34]
dec dword [ebp - 0x24]
mov dword [ebp - 0x38], esi
jne 0x10024e60
mov dword [ebp - 0x20], 0xcaa8e55a
mov dword [ebp - 0x28], 8
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0x2c], 0xc3e5f88
mov dword [ebp - 0x24], ebx
jmp 0x100252b8
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x4c], 0x24a8c6a5
inc dword [ebp - 0x24]
cmp dword [ebp - 0x24], 2
jl 0x100252aa
mov dword [ebp - 0x4c], ebx
jmp 0x10025331
mov dword [ebp - 0x24], 0xffffffff
xor edx, edx
mov dword [ebp - 0x30], 4
mov dword [ebp - 0x1c], 0x9d010789
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x30], 0x8306
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x24]
cmp eax, ecx
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x24]
setne dl
mov esi, dword [ebp - 0x1c]
add ecx, edx
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0x4c]
setl dl
sub esi, edx
neg esi
sbb esi, esi
xor ecx, ecx
inc esi
sub esi, eax
mov eax, dword [ebp - 0x1c]
cmp esi, eax
mov eax, edi
setg cl
sub eax, ecx
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x20], 0xffffffff
inc dword [ebp - 0x4c]
cmp dword [ebp - 0x4c], 7
jg 0x100252c3
cmp dword [ebp - 0x48], 0xfffffffe
jae 0x10025372
mov eax, dword [ebp - 0x2c]
dec dword [ebp - 0x2c]
neg eax
jne 0x1002534e
mov edx, ebx
cmp dword [ebp - 0x20], ebx
je 0x10025350
mov edx, edi
xor ecx, ecx
mov dword [ebp - 0x48], 0x832397bd
mov eax, dword [ebp - 0x28]
cmp edx, eax
setg cl
xor eax, eax
cmp ecx, 0xfffffffc
setl al
sub eax, 0x71c25028
mov eax, ebx
je 0x10025374
mov eax, edi
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0xfc]
mov eax, dword [ebp - 0x38]
push 3
mov esi, dword [eax]
add eax, 4
mov dword [ebp - 0x1c], 0xade19d29
mov dword [ebp - 0x38], eax
or eax, 0xffffffff
mov dword [ebp - 0x24], edi
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], eax
call fcn.1001f1f8
mov dword [ebp - 0x28], 0x34e1054
mov dword [ebp - 0x24], ebx
jmp 0x100253cf
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xfc]
mov dword [eax + ecx*4], edi
inc dword [ebp - 0x24]
cmp dword [ebp - 0x24], 3
jl 0x100253c0
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], 0xffffffff
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
cmp eax, 5
mov edx, dword [ebp - 0x1c]
setge cl
sub edx, ecx
neg edx
sbb edx, edx
inc edx
sub edx, dword [ebp - 0x1c]
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
mov dword [ebp - 0xc0], edx
mov eax, dword [ebp - 0x1c]
cmp edx, eax
mov eax, dword [ebp - 0xfc]
sete cl
mov dword [ebp - 0x34], eax
mov dword [eax + 8], ecx
mov eax, dword [eax + 4]
sub eax, ecx
jne 0x10025441
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x1c], ebx
je 0x10025436
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x28], 0xfff9
mov edx, ebx
jbe 0x10025443
mov edx, edi
mov eax, dword [ebp - 0xc0]
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x34]
setl cl
mov dword [eax + 8], ecx
lea ecx, [ebp - 0xfc]
call fcn.1001f27a
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0xb0]
push dword [ebp + 8]
movdqa xmm0, xmmword [0x10009490]
movdqu xmmword [ebp - 0x170], xmm0
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x160]
push eax
mov dword [ebp - 0x34], 0xf606
lea eax, [ebp - 0x170]
mov dword [ebp - 0x34], 0x2667a876
push eax
mov dword [ebp - 0x34], 0xffffffff
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x34], 0xffffffff
push ebx
mov dword [ebp - 0xb0], ebx
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0xa8], ebx
call fcn.1002433e
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x34], 0x1a0734f0
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x34], 0x8ebd
push 4
call fcn.1001f1f8
mov dword [ebp - 0x24], ebx
jmp 0x10025500
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x108]
mov dword [eax + ecx*4], edi
inc dword [ebp - 0x24]
cmp dword [ebp - 0x24], 4
jl 0x100254f1
mov eax, dword [ebp - 0x108]
lea ecx, [ebp - 0x108]
dec dword [eax + 8]
call fcn.1001f27a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb0]
call fcn.1001f27a
add dword [ebp - 0x38], 4
lea ecx, [ebp - 0x130]
push 4
call fcn.1001f1f8
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x20], 0xe1e87df2
mov dword [ebp - 0x34], 0x1fc3eee
mov dword [ebp - 0x34], 0x99d94b4b
push 3
call fcn.1001f1f8
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x14], ebx
jmp 0x1002557a
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x130]
mov dword [eax + ecx*4], ebx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 4
jl 0x1002556b
mov dword [ebp - 0x14], ebx
jmp 0x10025595
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x148]
or dword [eax + ecx*4], 0xffffffff
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 3
jl 0x10025585
mov dword [ebp - 0x14], ebx
jmp 0x100255ad
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x188], ebx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 2
jl 0x100255a0
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x100255c3
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x20], 3
cmp dword [ebp - 0x20], ebx
jl 0x10025612
mov dword [ebp - 0x34], 0x7d65
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x24], ebx
jmp 0x100255ef
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x198], 6
inc dword [ebp - 0x24]
cmp dword [ebp - 0x24], 2
jl 0x100255de
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x1002560a
push 0x86c
push ebx
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
inc dword [ebp - 0x30]
dec dword [ebp - 0x20]
jns 0x100255cf
lea ecx, [ebp - 0x148]
call fcn.1001f27a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x130]
call fcn.1001f27a
cmp dword [ebp - 0x28], 0
jne 0x100256ef
cmp byte [ebp - 0x40], 0
je 0x1002564a
cmp dword [ebp - 0x3c], edi
jne 0x1002564a
mov ecx, dword [ebp + 8]
lea eax, [esi + 0x10]
add dword [ecx + 8], eax
mov eax, dword [ebp - 0x38]
push esi
mov ecx, dword [eax]
mov dword [ebp - 0x30], ecx
mov ecx, dword [eax + 4]
add eax, 8
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x38], eax
call fcn.10053e8f
pop ecx
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x58]
lea eax, [ebp - 0x68]
mov dword [ebp - 0x68], ebx
push eax
push esi
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
call fcn.1002977e
mov ecx, dword [ebp - 0x58]
mov edx, ebx
mov dword [ebp - 0x44], edx
test esi, esi
jle 0x100256d7
mov eax, edx
and eax, 0x80000001
jns 0x1002569b
dec eax
or eax, 0xfffffffe
inc eax
neg eax
sbb eax, eax
and eax, dword [ebp - 0x30]
add eax, edx
add eax, dword [ebp - 0x30]
imul eax, dword [ebp - 0x28]
jmp 0x100256b0
lea eax, [edx + 1]
cdq
idiv esi
cmp word [ecx + edx*2], bx
jne 0x100256ad
mov eax, dword [ebp - 0x38]
mov word [ecx + edx*2], di
mov ecx, dword [ebp - 0x3c]
mov al, byte [edx + eax]
mov edx, dword [ebp - 0x44]
mov byte [edx + ecx], al
inc edx
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x44], edx
cmp edx, esi
jl 0x1002568d
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 0x3c]
mov dword [edi], esi
mov dword [edi + 4], eax
test ecx, ecx
je 0x100256f2
push ecx
call fcn.10058b87
pop ecx
jmp 0x100256f2
mov edi, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret