Function at 0x10063a9b
Capabilities:
Access peb ldr_data
Connect pipe
Get common file path
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1007def9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x158
push ebx
push esi
push edi
mov dword [esp + 0x3c], ecx
mov esi, edx
mov dword [esp + 0x14], 0x3ae35568
lea ecx, [esp + 0xa8]
push 2
mov dword [esp + 0x30], esi
call fcn.1001d86d
push 8
pop edi
xor ebx, ebx
lea ecx, [esp + 0xc0]
mov dword [esp + 0x16c], ebx
mov dword [esp + 0x24], 0xd66a0756
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x24], 0x1c17c774
mov dword [esp + 0x24], 0x61b583dc
push 4
mov dword [esp + 0x28], 0xfffffffa
pop eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x24], 0xffffffff
push eax
call fcn.1001d86d
xor edx, edx
inc edx
mov byte [esp + 0x16c], dl
mov dword [esp + 0xc], ebx
jmp 0x10063b59
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0xa8]
mov dword [eax + ecx*4], edx
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 2
jl 0x10063b47
mov dword [esp + 0xc], ebx
jmp 0x10063b78
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0xc0]
mov dword [eax + ecx*4], edx
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 4
jl 0x10063b66
mov dword [esp + 0x14], ebx
cmp dword [esp + 0x14], 2
jl 0x10063bb7
mov dword [esp + 0x28], 0xfffffff7
mov byte [esp + 0x1f], bl
cmp byte [esp + 0x1f], 0
je 0x10063ba5
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
mov eax, dword [esp + 0x28]
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 2
jge 0x10063b8a
xor edx, edx
inc edx
mov dword [esp + 0x14], edx
cmp dword [esp + 0x14], ebx
jl 0x10063da1
mov dword [esp + 0x10], 0xe8588d0d
lea ecx, [esp + 0xcc]
push 2
call fcn.1001d86d
mov byte [esp + 0x16c], 2
mov dword [esp + 0x24], 0x2076acb8
mov dword [esp + 0x28], ebx
mov dword [esp + 0x10], ebx
jmp 0x10063c07
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xcc]
mov dword [eax + ecx*4], ebx
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 2
jl 0x10063bf5
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x10], 1
jg 0x10063d6a
push 4
pop esi
mov dword [esp + 0x24], 0x615e
mov dword [esp + 0x24], 0xc28cae2f
mov dword [esp + 0x24], 0xd7006986
mov dword [esp + 0x20], 0x2894
cmp dword [esp + 0x20], 0x2c35
jle 0x10063c90
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov edi, ebx
mov esi, ebx
mov dword [esp + 0x28], ebx
lea eax, [ebx + esi]
mov ecx, 0x10082bb8
or eax, edi
cdq
push edx
push eax
call fcn.1001d55e
inc ebx
cmp ebx, 0x988
jl 0x10063c5d
inc esi
push 0
pop ebx
cmp esi, 0x55aa
jl 0x10063c59
inc edi
cmp edi, 0x4422
jl 0x10063c57
push 4
pop esi
push esi
lea ecx, [esp + 0xe0]
call fcn.1001d86d
mov byte [esp + 0x16c], 3
cmp dword [esp + 0x20], 0x2553
jge 0x10063cbe
mov edx, 0x1000ef60
mov ecx, 0x10082bb8
call fcn.100202a3
push 1
lea ecx, [esp + 0xec]
call fcn.1001d86d
mov dword [esp + 0x20], 0xfc33
mov dword [esp + 0xc], ebx
jmp 0x10063cf0
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0xdc]
mov dword [eax + ecx*4], 0x98ab79ae
inc dword [esp + 0xc]
cmp dword [esp + 0xc], esi
jl 0x10063cda
mov dword [esp + 0xc], ebx
jmp 0x10063d12
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0xe8]
mov dword [eax + ecx*4], 0x85e1
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 1
jl 0x10063cfc
inc dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xa8]
imul eax, dword [eax + ecx*4], 0xfffe
xor ecx, ecx
cmp eax, 1
setg cl
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0xe8]
call fcn.1001d8ef
lea ecx, [esp + 0xdc]
mov byte [esp + 0x16c], 2
call fcn.1001d8ef
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 1
jle 0x10063c20
mov byte [esp + 0x1f], bl
cmp byte [esp + 0x1f], 0
je 0x10063d7c
push ebx
call dword [sym.imp.GDI32.dll_CreateHalftonePalette]
lea ecx, [esp + 0xcc]
mov byte [esp + 0x16c], 1
call fcn.1001d8ef
dec dword [esp + 0x14]
jns 0x10063bc5
mov esi, dword [esp + 0x2c]
push 8
pop edi
lea ecx, [esp + 0xc0]
call fcn.1001d8ef
or dword [esp + 0x16c], 0xffffffff
lea ecx, [esp + 0xa8]
call fcn.1001d8ef
mov eax, dword [0x10083c7c]
test al, 1
jne 0x10063e5e
or eax, 1
mov dword [0x10083c7c], eax
push ebx
mov dword [esp + 0x170], 4
push ebx
mov dword [0x1062b8f0], ebx
mov dword [0x1062b8f4], ebx
call fcn.10020195
mov dword [0x1062b8f0], eax
mov dword [0x1062b8f8], ebx
mov dword [0x1062b900], ebx
mov byte [esp + 0x16c], 6
mov ecx, 0x1062b8f8
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x6c]
push eax
push 0x10
push ebx
lea eax, [esp + 0xe4]
mov dword [0x1062b90c], 0x3f800000
push eax
mov dword [0x1062b8fc], ebx
call fcn.1001ff6d
push 0x1007e12c
mov dword [0x1062b904], 7
mov dword [0x1062b908], edi
call fcn.10067b39
or dword [esp + 0x170], 0xffffffff
pop ecx
imul eax, dword [esp + 0x3c], 0x2710
add eax, esi
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x4c]
push eax
call fcn.1006484a
mov eax, dword [eax]
test eax, eax
je 0x10063e85
mov dword [esp + 0x74], eax
jmp 0x10064829
mov eax, dword [0x10083c7c]
test al, 2
jne 0x10063f1d
or eax, 2
mov dword [0x10083c7c], eax
push 7
pop esi
push ebx
mov dword [esp + 0x170], esi
push ebx
mov dword [0x1062b910], ebx
mov dword [0x1062b914], ebx
call fcn.10020195
mov dword [0x1062b910], eax
mov dword [0x1062b918], ebx
mov dword [0x1062b920], ebx
mov byte [esp + 0x16c], 9
mov ecx, 0x1062b918
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x5c]
push eax
push 0x10
push ebx
lea eax, [esp + 0x110]
mov dword [0x1062b92c], 0x3f800000
push eax
mov dword [0x1062b91c], ebx
call fcn.1001ff6d
push 0x1007e127
mov dword [0x1062b924], esi
mov dword [0x1062b928], edi
call fcn.10067b39
or dword [esp + 0x170], 0xffffffff
pop ecx
mov dword [esp + 0x20], 0x3ce7
cmp dword [esp + 0x20], 0x3d6e
jle 0x10063f7b
mov esi, ebx
mov edi, ebx
mov eax, esi
lea ecx, [esp + 0x138]
cdq
idiv edi
mov eax, edx
cdq
push edx
push eax
call fcn.1001072e
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10063f53
mov eax, dword [eax]
push eax
call fcn.10067b63
pop ecx
push ebx
push 1
lea ecx, [esp + 0x140]
call fcn.1001e023
inc edi
cmp edi, 0x3ea0
jl 0x10063f33
inc esi
cmp esi, 0x3c14
jl 0x10063f31
cmp dword [esp + 0x20], 0x3acc
xorps xmm0, xmm0
movdqu xmmword [esp + 0x80], xmm0
jge 0x10063f9c
push 0x1000efb8
call fcn.10067b63
pop ecx
mov dword [esp + 0x20], 0x950707df
mov dword [esp + 0x14], 0x58e17c10
mov dword [esp + 0x18], 0x5c8100c4
mov dword [esp + 0x18], 0x290a
cmp dword [esp + 0x18], 0x2a23
jle 0x10063fef
mov esi, ebx
mov edi, ebx
mov ecx, edi
mov eax, esi
sar eax, cl
mov ecx, 0x10082bb8
cdq
push edx
push eax
call fcn.1001d55e
inc edi
cmp edi, 0xd82
jl 0x10063fca
inc esi
cmp esi, 0x254f
jl 0x10063fc8
mov dword [esp + 0x30], 0x90611bc3
cmp dword [esp + 0x18], 0x25c5
jge 0x10064010
mov edx, 0x1000f000
mov ecx, 0x10082bb8
call fcn.100202a3
mov dword [esp + 0x70], 0xffffffff
mov dword [esp + 0x18], 0x463c
cmp dword [esp + 0x18], 0x46ea
jle 0x10064080
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.USER32.dll_SetScrollRange]
mov esi, ebx
mov edi, ebx
mov ecx, edi
mov eax, esi
shl eax, cl
lea ecx, [esp + 0x120]
cdq
push edx
push eax
call fcn.1001072e
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10064058
mov eax, dword [eax]
push eax
call fcn.10067b63
pop ecx
push ebx
push 1
lea ecx, [esp + 0x128]
call fcn.1001e023
inc edi
cmp edi, 0x3025
jl 0x10064039
inc esi
cmp esi, 0x560f
jl 0x10064037
mov dword [esp + 0x24], 0x2f3f6085
cmp dword [esp + 0x18], 0x4396
jge 0x1006409d
push 0x1000f058
call fcn.10067b63
pop ecx
mov dword [esp + 0x10], 0xfffffff6
mov dword [esp + 0x44], 0xffffffff
mov dword [esp + 0x58], 0xae97
mov dword [esp + 0x18], 0x62b2faa9
mov dword [esp + 0xc], 0xf32f520a
mov dword [esp + 0x68], ebx
mov dword [esp + 0xc], 0x6b68
cmp dword [esp + 0xc], 0x6bff
jle 0x10064105
mov esi, ebx
mov edi, ebx
mov eax, esi
mov ecx, 0x10082bb8
cdq
idiv edi
mov eax, edx
cdq
push edx
push eax
call fcn.1001d55e
inc edi
cmp edi, 0x1c29
jl 0x100640df
inc esi
cmp esi, 0x5a82
jl 0x100640dd
mov dword [esp + 0x44], 0x10082668
mov dword [esp + 0x64], 0x8d7e
cmp dword [esp + 0xc], 0x695e
jge 0x1006412e
mov edx, 0x1000f0a0
mov ecx, 0x10082bb8
call fcn.100202a3
push 4
mov dword [esp + 0x48], 0xfff8
mov dword [esp + 0x10], ebx
pop ecx
jmp 0x10064152
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0xf4], 0xfffffff6
inc dword [esp + 0xc]
cmp dword [esp + 0xc], ecx
jl 0x1006413f
mov dword [esp + 0xc], ebx
jmp 0x10064171
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0x9c], 0x355fff83
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 3
jl 0x1006415e
mov dword [esp + 0x28], 0x459d
cmp dword [esp + 0x28], 0x4850
jle 0x100641fa
mov edi, ebx
mov dword [esp + 0x38], ebx
mov esi, ebx
mov dword [esp + 0x34], ebx
mov ecx, esi
mov dword [esp + 0xc], ebx
mov esi, edi
mov dword [esp + 0x60], edi
sar esi, cl
mov edi, ebx
mov ebx, dword [esp + 0xc]
mov ecx, edi
mov eax, ebx
shl eax, cl
mov ecx, 0x10082bb8
and eax, esi
cdq
push edx
push eax
call fcn.1001d55e
inc edi
cmp edi, 0x6a7a
jl 0x100641aa
inc ebx
push 0
mov dword [esp + 0x10], ebx
cmp ebx, 0x39d1
pop ebx
jl 0x100641a4
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x38]
inc esi
mov dword [esp + 0x34], esi
cmp esi, 0x6c13
jl 0x10064196
inc edi
mov dword [esp + 0x38], edi
cmp edi, 0x4fa6
jl 0x10064190
mov eax, dword [esp + 0xf4]
mov dword [esp + 0xc], 1
mov eax, dword [esp + 0x68]
mov eax, dword [esp + 0x70]
mov eax, dword [esp + 0x30]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x20]
sub ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x64]
sub ecx, 0xddb2097e
neg ecx
sbb ecx, ecx
inc ecx
add eax, ecx
xor ecx, ecx
mov dword [esp + 0x9c], eax
mov edx, dword [esp + 0x14]
imul edx, eax
mov eax, dword [esp + 0x14]
cmp edx, eax
setl cl
cmp ecx, dword [esp + 0x30]
jle 0x1006425c
mov eax, dword [esp + 0x14]
inc dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x58]
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x24], 7
jl 0x1006433b
mov dword [esp + 0x18], 0x16
cmp dword [esp + 0x18], 1
je 0x1006434e
push 2
pop edx
mov dword [esp + 0x10], ebx
jmp 0x100642ae
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x114], 0xe4446ca3
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 3
jl 0x1006429b
mov dword [esp + 0xc], ebx
jmp 0x10064306
mov dword [esp + 0x10], edx
cmp dword [esp + 0x10], ebx
jl 0x10064302
mov dword [esp + 0x14], 3
cmp dword [esp + 0x14], ebx
jl 0x100642fc
mov eax, dword [esp + 0xc]
cmp dword [esp + eax*4 + 0x9c], ebx
jne 0x100642fc
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + eax*4 + 0xf8]
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0xf4], ecx
dec dword [esp + 0x14]
jns 0x100642d3
dec dword [esp + 0x10]
jns 0x100642c5
inc dword [esp + 0xc]
cmp dword [esp + 0xc], edx
jle 0x100642bb
mov dword [esp + 0xc], 0xfffffff6
jmp 0x10064323
cmp dword [esp + 0x118], ebx
jne 0x1006432a
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 7
jle 0x10064316
dec dword [esp + 0x18]
cmp dword [esp + 0x18], 1
jne 0x10064295
jmp 0x1006434e
mov byte [esp + 0x1f], bl
cmp byte [esp + 0x1f], 0
je 0x1006434e
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp dword [esp + 0x28], 0x4554
jge 0x10064367
mov edx, 0x1000f0f0
mov ecx, 0x10082bb8
call fcn.100202a3
lea eax, [esp + 0x3c]
push eax
call fcn.100648ac
mov esi, dword [eax]
mov dword [esp + 0x14], 0xfffffff6
mov dword [esp + 0x20], 0xe662db8e
mov dword [esp + 0x34], 0x68
cmp dword [esp + 0x34], 0x358
mov dword [esp + 0x18], esi
jle 0x10064404
mov edi, ebx
mov dword [esp + 0x38], ebx
mov esi, ebx
mov eax, edi
mov dword [esp + 0x30], 0x41ae
cdq
mov ecx, ebx
idiv esi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], edx
mov ebx, ecx
mov edi, 0x4443
mov eax, ebx
mov ecx, 0x10082bb8
cdq
push edx
push eax
call fcn.1001d55e
dec ebx
dec edi
jne 0x100643bf
mov ecx, dword [esp + 0x28]
add ecx, dword [esp + 0x24]
dec dword [esp + 0x30]
mov dword [esp + 0x28], ecx
jne 0x100643b8
inc esi
push edi
mov edi, dword [esp + 0x3c]
pop ebx
cmp esi, 0x1e80
jl 0x100643a1
inc edi
mov dword [esp + 0x38], edi
cmp edi, 0x1e63
jl 0x1006439f
mov esi, dword [esp + 0x18]
mov dword [esp + 0x10], 0x63785551
cmp dword [esp + 0x34], 0x24
jge 0x10064422
mov edx, 0x1000f138
mov ecx, 0x10082bb8
call fcn.100202a3
mov dword [esp + 0x14], ebx
jmp 0x100644d3
push 3
lea ecx, [esp + 0xb8]
call fcn.1001d86d
push 1
lea ecx, [esp + 0x94]
mov dword [esp + 0x170], 0xa
call fcn.1001d86d
push 3
mov dword [esp + 0x10], ebx
pop edx
jmp 0x1006446d
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0xb4]
mov dword [eax + ecx*4], edx
inc dword [esp + 0xc]
cmp dword [esp + 0xc], edx
jl 0x1006445b
mov dword [esp + 0xc], ebx
jmp 0x1006448f
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x90]
mov dword [eax + ecx*4], 0xe446df37
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 1
jl 0x10064479
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0xb4]
mov dword [eax], ebx
mov dword [ecx], ebx
inc dword [eax]
cmp dword [eax], 2
jle 0x100644a6
lea ecx, [esp + 0x90]
call fcn.1001d8ef
or dword [esp + 0x16c], 0xffffffff
lea ecx, [esp + 0xb4]
call fcn.1001d8ef
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 2
jl 0x1006442b
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x20], eax
jg 0x1006451f
mov ecx, dword [esp + 0x10]
xor edx, edx
mov eax, dword [esp + 0x10]
cmp ecx, eax
setl dl
xor eax, eax
cmp edx, 0x93e6
setg al
sub eax, dword [esp + 0x14]
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
xor edx, edx
mov eax, dword [esp + 0x14]
cmp ecx, eax
setne dl
cmp dword [esp + 0x14], edx
jle 0x1006453f
cmp dword [esp + 0x10], ebx
je 0x1006453f
xor eax, eax
inc eax
jmp 0x10064541
mov eax, ebx
cmp eax, 0xf40e13f5
sbb eax, eax
neg eax
mov dword [esp + 0x14], eax
mov al, byte [ebp + 0xc]
test al, al
jne 0x10064559
test esi, esi
jne 0x1006459e
lea ecx, [esp + 0x150]
mov dl, al
push ecx
mov ecx, dword [esp + 0x40]
call fcn.100622aa
cmp byte [ebp + 0xc], 0
lea edi, [esp + 0x84]
mov esi, eax
pop ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x18]
je 0x1006459e
mov ecx, dword [esp + 0x88]
test ecx, ecx
je 0x1006459e
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x14], 0x10b999fb
or edi, 0xffffffff
mov dword [esp + 0x28], 0x4891
xor ecx, ecx
mov dword [esp + 0x28], edi
inc ecx
mov dword [esp + 0x10], 6
mov dword [esp + 0x18], 4
mov dword [esp + 0x20], 9
mov dword [esp + 0x24], 0xbae9140d
mov dword [esp + 0xc], ebx
jmp 0x100645ea
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0x48], edi
inc dword [esp + 0xc]
cmp dword [esp + 0xc], ecx
jl 0x100645de
mov dword [esp + 0xc], ebx
jmp 0x10064606
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0x40], 0x24015fb2
inc dword [esp + 0xc]
cmp dword [esp + 0xc], ecx
jl 0x100645f6
mov dword [esp + 0xc], ebx
jmp 0x10064621
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0x108], edi
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 3
jl 0x10064612
mov eax, dword [esp + 0x14]
xor edx, edx
cmp eax, ecx
mov eax, dword [esp + 0x14]
setg dl
sub edx, 0xfff8
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, eax
setl cl
dec ecx
jne 0x10064656
cmp dword [esp + 0x14], ebx
jne 0x10064656
mov ecx, ebx
jmp 0x10064659
xor ecx, ecx
inc ecx
mov dword [esp + 0x48], ecx
xor eax, eax
cmp ecx, 0xee28
sete al
xor ecx, ecx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x14]
cmp eax, 1
mov eax, dword [esp + 0x14]
setge cl
xor edx, edx
cmp ecx, eax
setne dl
mov dword [esp + 0x40], edx
mov dword [esp + 0x28], edx
mov eax, dword [esp + 0x28]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], 1
mov eax, dword [esp + 0x18]
neg eax
sbb eax, eax
neg eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x40]
sub ecx, 0x58a13c4
neg ecx
sbb ecx, ecx
xor eax, eax
inc ecx
cmp ecx, 0xe74bb93
setne al
xor ecx, ecx
mov dword [esp + 0x108], eax
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
cmp eax, edi
setne cl
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x40]
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], 0xcfb861a7
test esi, esi
jne 0x10064740
cmp dword [esp + 0x80], esi
jle 0x10064740
mov ecx, dword [esp + 0x84]
test ecx, ecx
je 0x10064740
call fcn.10063882
mov esi, eax
lea eax, [esp + 0x3c]
push eax
call fcn.100648ac
mov dword [eax], esi
lea ecx, [esp + 0x80]
call fcn.100634ad
test esi, esi
je 0x1006476d
mov edx, dword [esp + 0x2c]
mov ecx, esi
call fcn.10063a0b
mov esi, eax
lea eax, [esp + 0x4c]
push eax
mov dword [esp + 0x78], esi
call fcn.1006484a
mov dword [eax], esi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 0x9df9481f
mov dword [esp + 0x24], 0xa63a74ad
mov dword [esp + 0x2c], 0x8d92426f
mov dword [esp + 0x2c], 0x9c6fec1b
mov dword [esp + 0x24], 0x3650dfa0
mov dword [esp + 0x18], ebx
jmp 0x100647af
mov eax, dword [esp + 0x18]
mov dword [esp + eax*4 + 0x50], 0xfffffffb
inc dword [esp + 0x18]
cmp dword [esp + 0x18], 2
jl 0x1006479f
cmp dword [esp + 0x10], ebx
je 0x100647bf
xor ebx, ebx
inc ebx
push 4
pop eax
cmp eax, ebx
sbb eax, eax
xor edx, edx
neg eax
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x54]
mov eax, dword [esp + 0x54]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x14]
cmp ecx, eax
setge dl
mov dword [esp + 0x24], edx
xor edx, edx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x14]
cmp ecx, eax
mov eax, dword [esp + 0x10]
setge dl
xor ecx, ecx
cmp edx, eax
sete cl
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 8]
lea esi, [esp + 0x74]
mov ecx, dword [esp + 0x164]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret