Function at 0x1005d6c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e1a43
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x101279d8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov edi, ecx
lea eax, [edi + 0x20]
lea ecx, [ebx + 0x28]
push eax
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x70], ebx
call fcn.10003520
mov edx, 1
mov eax, 0x280
mov ecx, 0x1e0
mov dword [ebx + 0x38], edx
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x44], ecx
mov byte [ebx + 0x50], dl
mov dword [ebx + 0x48], edx
mov esi, dword [edi + 0x2c]
test esi, esi
je 0x1005dcac
jmp 0x1005d730
xor eax, eax
test esi, esi
setne al
test eax, eax
je 0x1005dcb9
mov edi, dword [esi + 8]
mov eax, dword [edi]
mov esi, dword [esi]
push str.Default
push eax
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x58], edi
call fcn.100a6a26
add esp, 8
test eax, eax
jne 0x1005d799
mov eax, dword [edi + 0x34]
cmp dword [eax - 0xc], 0
je 0x1005d799
push 0x100f034c
push eax
call fcn.100a6a26
add esp, 8
test eax, eax
jne 0x1005d780
mov eax, 2
jmp 0x1005d796
mov edi, dword [edi + 0x34]
push str.auto
push edi
call fcn.100a6a26
add esp, 8
mov eax, 1
mov dword [ebx + 0x48], eax
push 0xc0
call fcn.1008e631
add esp, 4
mov dword [ebp - 0x78], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x1005d7bf
mov ecx, eax
call fcn.10038980
mov edi, eax
jmp 0x1005d7c1
xor edi, edi
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x1005dca1
mov ecx, dword [ebp - 0x58]
mov eax, dword [ecx + 0x40]
cmp dword [eax - 0xc], 0
je 0x1005d804
mov edx, dword [ebx + 0x40]
push edx
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x68], esp
mov esi, esp
push eax
call fcn.10002980
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.1005c780
add esp, 8
mov dword [edi + 8], eax
mov dword [edi], eax
mov eax, dword [ebp - 0x58]
mov eax, dword [eax + 0x44]
cmp dword [eax - 0xc], 0
je 0x1005d839
mov ecx, dword [ebx + 0x44]
push ecx
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x68], esp
mov esi, esp
push eax
call fcn.10002980
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.1005c780
add esp, 8
mov dword [edi + 0xc], eax
mov dword [edi + 4], eax
mov edx, dword [ebp - 0x58]
mov ebx, dword [edx + 0x38]
push ecx
mov ecx, dword [ebx - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x68], esp
mov dword [ebp - 0x54], esp
call edx
cmp dword [ebx - 4], 0
lea ecx, [ebx - 4]
jl 0x1005d86c
cmp eax, dword [ebx - 0x10]
jne 0x1005d86c
lea esi, [ebx - 0x10]
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x1005d8a4
mov ecx, dword [ebx - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov esi, eax
test esi, esi
je 0x1005dcc3
mov eax, dword [ebx - 0xc]
mov dword [esi + 4], eax
mov eax, dword [ebx - 0xc]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [eax + eax + 2]
push ebx
push edx
lea eax, [esi + 0x10]
push eax
call fcn.100a6ab1
add esp, 0x10
mov ecx, dword [ebp - 0x54]
add esi, 0x10
mov dword [ecx], esi
call fcn.1005c630
mov esi, dword [ebp - 0x58]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x3c]
add esp, 4
cmp dword [eax - 0xc], 0
je 0x1005d8f5
push str.window
push eax
call fcn.100a6a26
add esp, 8
test eax, eax
je 0x1005d8ef
mov eax, dword [esi + 0x3c]
push str.video
push eax
call fcn.100a6a26
xor edx, edx
add esp, 8
test eax, eax
sete dl
mov eax, edx
mov dword [edi + 0xb8], eax
mov dword [edi + 0x14], 0
mov eax, dword [esi + 0x2c]
cmp dword [eax - 0xc], 0
je 0x1005d91e
push 0xa
push 0
push eax
call fcn.100aa475
mov dword [ebp - 0x54], eax
fild dword [ebp - 0x54]
add esp, 0xc
fst qword [edi + 0x20]
fstp qword [edi + 0x18]
mov eax, dword [esi + 0x30]
cmp dword [eax - 0xc], 0
je 0x1005d940
push 0xa
push 0
push eax
call fcn.100aa475
mov dword [ebp - 0x54], eax
fild dword [ebp - 0x54]
add esp, 0xc
fst qword [edi + 0x30]
fstp qword [edi + 0x28]
mov ecx, dword [ebp - 0x58]
xor ebx, ebx
lea eax, [edi + 0x38]
add ecx, 0xc
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x60]
mov esi, dword [edx]
push ecx
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
sub esi, 0x10
mov dword [ebp - 0x68], esp
mov dword [ebp - 0x54], esp
call edx
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x1005d985
cmp eax, dword [esi]
jne 0x1005d985
mov dword [ebp - 0x6c], esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x1005d9c4
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov dword [ebp - 0x6c], eax
test eax, eax
je 0x1005dcc3
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 0x6c]
mov dword [ecx + 4], eax
mov eax, dword [esi + 4]
lea edx, [eax + eax + 2]
push edx
add esi, 0x10
push esi
lea eax, [eax + eax + 2]
push eax
add ecx, 0x10
push ecx
call fcn.100a6ab1
add esp, 0x10
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x54]
add ecx, 0x10
mov dword [edx], ecx
call fcn.1005cfc0
mov esi, eax
mov eax, dword [ebp - 0x58]
mov eax, dword [eax + 0x28]
push 0xa
push 0
push eax
call fcn.100aa475
mov edx, dword [ebp - 0x5c]
mov ecx, esi
and ecx, 0xffffff
mov dword [edx], ecx
movzx eax, al
xor edx, edx
add esp, 0x10
mov ecx, esi
shr ecx, 0x18
test eax, eax
setle dl
mov byte [ebx + edi + 0x48], cl
dec edx
and eax, edx
cmp eax, 0x64
jl 0x1005da16
mov eax, 0x64
mov esi, ecx
mov edx, 0xff
sub edx, esi
imul edx, eax
mov eax, 0x51eb851f
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
add al, cl
mov byte [ebx + edi + 0x48], al
mov eax, 4
add dword [ebp - 0x60], eax
add dword [ebp - 0x5c], eax
inc ebx
cmp ebx, eax
jl 0x1005d951
mov ebx, dword [ebp - 0x58]
mov ecx, dword [ebx + 4]
mov eax, dword [ecx - 0xc]
test eax, eax
je 0x1005dab0
mov esi, dword [edi + 0x50]
lea eax, [ecx - 0x10]
sub esi, 0x10
cmp eax, esi
je 0x1005dab0
cmp dword [esi + 0xc], 0
jl 0x1005daa3
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x1005daa3
push eax
call fcn.10002980
mov dword [ebp - 0x54], eax
add esp, 4
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1005da98
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [ebp - 0x54]
add ecx, 0x10
mov dword [edi + 0x50], ecx
jmp 0x1005dab0
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [edi + 0x50]
call fcn.10001cd0
mov eax, dword [ebx + 8]
cmp dword [eax - 0xc], 0
je 0x1005dacf
push 0xa
push 0
push eax
call fcn.100aa475
mov dword [ebp - 0x54], eax
fild dword [ebp - 0x54]
add esp, 0xc
fstp qword [edi + 0x58]
mov eax, dword [ebx + 0x1c]
cmp dword [eax - 0xc], 0
je 0x1005db5c
push str.normal
push eax
call fcn.100a6a26
add esp, 8
test eax, eax
jne 0x1005daf5
mov eax, 0x190
jmp 0x1005db59
mov eax, dword [ebx + 0x1c]
push str.bold
push eax
call fcn.100a6a26
add esp, 8
test eax, eax
jne 0x1005db11
mov eax, 0x2bc
jmp 0x1005db59
mov eax, dword [ebx + 0x1c]
push str.lighter
push eax
call fcn.100a6a26
add esp, 8
test eax, eax
jne 0x1005db2d
mov eax, 0x12c
jmp 0x1005db59
mov eax, dword [ebx + 0x1c]
push str.bolder
push eax
call fcn.100a6a26
add esp, 8
test eax, eax
jne 0x1005db49
mov eax, 0x258
jmp 0x1005db59
mov eax, dword [ebx + 0x1c]
push 0xa
push 0
push eax
call fcn.100aa475
add esp, 0xc
mov dword [edi + 0x78], eax
cmp dword [edi + 0x78], 0
jne 0x1005db69
mov dword [edi + 0x78], 0x190
mov eax, dword [ebx + 0x20]
cmp dword [eax - 0xc], 0
je 0x1005db88
push 0x100f0490
push eax
call fcn.100a6a26
add esp, 8
test eax, eax
sete dl
mov byte [edi + 0x7c], dl
mov eax, dword [ebx + 0x24]
cmp dword [eax - 0xc], 0
je 0x1005dba7
push 0x100f0490
push eax
call fcn.100a6a26
add esp, 8
test eax, eax
sete al
mov byte [edi + 0x7d], al
mov eax, dword [ebx + 0x48]
cmp dword [eax - 0xc], 0
je 0x1005dbc9
push 0xa
push 0
push eax
call fcn.100aa475
mov dword [ebp - 0x54], eax
fild dword [ebp - 0x54]
add esp, 0xc
fstp qword [edi + 0x90]
mov eax, dword [ebx + 0x4c]
cmp dword [eax - 0xc], 0
je 0x1005dbeb
push 0xa
push 0
push eax
call fcn.100aa475
mov dword [ebp - 0x54], eax
fild dword [ebp - 0x54]
add esp, 0xc
fstp qword [edi + 0x98]
mov eax, dword [ebx + 0x50]
cmp dword [eax - 0xc], 0
je 0x1005dc0d
push 0xa
push 0
push eax
call fcn.100aa475
mov dword [ebp - 0x54], eax
fild dword [ebp - 0x54]
add esp, 0xc
fstp qword [edi + 0xa0]
push edi
push ecx
mov dword [edi + 0x4c], 1
mov esi, dword [ebx]
mov dword [ebp - 0x68], esp
mov dword [ebp - 0x64], esp
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x68], esp
mov dword [ebp - 0x54], esp
call eax
cmp dword [esi - 4], 0
lea edx, [esi - 4]
jl 0x1005dc4b
cmp eax, dword [esi - 0x10]
jne 0x1005dc4b
lea edi, [esi - 0x10]
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x1005dc7f
mov ecx, dword [esi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x1005dcc3
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov eax, dword [esi - 0xc]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.100a6ab1
add esp, 0x10
mov edx, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x54]
add edi, 0x10
push edx
mov dword [ecx], edi
call fcn.1005b6e0
mov ecx, dword [ebp - 0x70]
add esp, 8
call fcn.1003b370
mov ebx, dword [ebp - 0x70]
mov esi, dword [ebp - 0x74]
test esi, esi
jne 0x1005d730
mov edi, dword [ebp - 0x7c]
mov edi, dword [edi + 0x5c]
test edi, edi
je 0x1005e60e
jmp 0x1005dccb
push 0x80004005
call fcn.10001150
call fcn.10007630
mov edi, dword [ebp - 0x74]
xor eax, eax
test edi, edi
setne al
test eax, eax
je 0x1005dcb9
mov esi, dword [edi + 8]
mov ecx, dword [esi + 0x14]
cmp dword [ecx - 0xc], 0
mov eax, dword [edi]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x58], esi
je 0x1005deae
call fcn.10095170
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x1005dcb9
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x60], eax
mov esi, dword [esi + 0x14]
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
mov dword [ebp - 4], 1
mov dword [ebp - 0x54], esp
mov ebx, esp
call eax
cmp dword [esi - 4], 0
lea edx, [esi - 4]
jl 0x1005dd43
cmp eax, dword [esi - 0x10]
jne 0x1005dd43
lea edi, [esi - 0x10]
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x1005dd7b
mov ecx, dword [esi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x1005dcc3
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov eax, dword [esi - 0xc]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.100a6ab1
add esp, 0x10
add edi, 0x10
mov dword [ebx], edi
call fcn.1005c630
push eax
lea ecx, [ebp - 0x60]
push str._an_d
push ecx
call fcn.10003590
mov ebx, dword [ebp - 0x58]
add ebx, 0x10
push ebx
lea edx, [ebp - 0x60]
push edx
lea eax, [ebp - 0x80]
push eax
call fcn.1002a030
add esp, 0x1c
mov eax, dword [eax]
mov edi, dword [ebx]
lea esi, [eax - 0x10]
sub edi, 0x10
mov byte [ebp - 4], 2
cmp esi, edi
je 0x1005de65
cmp dword [edi + 0xc], 0
jl 0x1005de59
mov ecx, dword [esi]
cmp ecx, dword [edi]
jne 0x1005de59
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x1005ddf7
cmp eax, dword [esi]
jne 0x1005ddf7
mov dword [ebp - 0x5c], esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x1005de36
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x1005dcc3
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 0x5c]
mov dword [ecx + 4], eax
mov eax, dword [esi + 4]
lea edx, [eax + eax + 2]
push edx
add esi, 0x10
push esi
lea eax, [eax + eax + 2]
push eax
add ecx, 0x10
push ecx
call fcn.100a6ab1
add esp, 0x10
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1005de4f
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, dword [ebp - 0x5c]
add ecx, 0x10
mov dword [ebx], ecx
jmp 0x1005de65
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, ebx
call fcn.10001cd0
mov eax, dword [ebp - 0x80]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1005de88
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x60]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1005deae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor ebx, ebx
lea ecx, [ebp - 0x50]
push ecx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov edx, dword [ebp - 0x58]
mov esi, dword [edx + 0x1c]
cmp dword [esi - 0xc], ebx
je 0x1005dfa5
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
cmp dword [esi - 4], ebx
lea ecx, [esi - 4]
jl 0x1005defa
cmp eax, dword [esi - 0x10]
jne 0x1005defa
lea edi, [esi - 0x10]
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x1005df32
mov ecx, dword [esi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
cmp edi, ebx
je 0x1005dcc3
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov eax, dword [esi - 0xc]
lea edx, [eax + eax + 2]
push edx
push esi
lea eax, [eax + eax + 2]
lea ecx, [edi + 0x10]
push eax
push ecx
call fcn.100a6ab1
add esp, 0x10
mov ecx, dword [ebp - 0x70]
mov ebx, dword [ecx + 0x40]
lea esi, [edi + 0x10]
xor edi, edi
cmp dword [esi - 0xc], edi
je 0x1005df81
push 0xa
push edi
push esi
call fcn.100aa475
add esp, 0xc
cmp dword [esi - 0xc], 0
mov edi, eax
jle 0x1005df81
push 0x25
push esi
call fcn.100a9db0
add esp, 8
test eax, eax
je 0x1005df81
sub eax, esi
sar eax, 1
js 0x1005df81
mov ecx, edi
imul ecx, ebx
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov edi, edx
shr edi, 0x1f
add edi, edx
add esi, 0xfffffff0
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1005df9d
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x50], edi
xor ebx, ebx
mov eax, dword [ebp - 0x58]
mov esi, dword [eax + 0x20]
cmp dword [esi - 0xc], ebx
je 0x1005e084
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi - 4], ebx
lea ecx, [esi - 4]
jl 0x1005dfd9
cmp eax, dword [esi - 0x10]
jne 0x1005dfd9
lea edi, [esi - 0x10]
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x1005e011
mov ecx, dword [esi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
cmp edi, ebx
je 0x1005dcc3
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov eax, dword [esi - 0xc]
lea edx, [eax + eax + 2]
push edx
push esi
lea eax, [eax + eax + 2]
lea ecx, [edi + 0x10]
push eax
push ecx
call fcn.100a6ab1
add esp, 0x10
mov ecx, dword [ebp - 0x70]
mov ebx, dword [ecx + 0x44]
lea esi, [edi + 0x10]
xor edi, edi
cmp dword [esi - 0xc], edi
je 0x1005e060
push 0xa
push edi
push esi
call fcn.100aa475
add esp, 0xc
cmp dword [esi - 0xc], 0
mov edi, eax
jle 0x1005e060
push 0x25
push esi
call fcn.100a9db0
add esp, 8
test eax, eax
je 0x1005e060
sub eax, esi
sar eax, 1
js 0x1005e060
mov ecx, edi
imul ecx, ebx
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov edi, edx
shr edi, 0x1f
add edi, edx
add esi, 0xfffffff0
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1005e07c
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x4c], edi
xor ebx, ebx
mov ecx, dword [0x100f17a8]
mov eax, dword [str._rz_d]
mov edx, dword [0x100f17ac]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [str._rx_d]
mov dword [ebp - 0x40], eax
mov eax, dword [0x100f17b0]
mov dword [ebp - 0x30], ecx
mov ecx, dword [0x100f17a0]
mov dword [ebp - 0x38], edx
mov edx, dword [0x100f1798]
mov dword [ebp - 0x34], eax
mov eax, dword [0x100f179c]
mov dword [ebp - 0x24], ecx
mov ecx, dword [0x100f178c]
mov dword [ebp - 0x2c], edx
mov edx, dword [str._ry_d]
mov dword [ebp - 0x28], eax
mov eax, dword [0x100f1788]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x20], edx
mov edx, dword [0x100f1790]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x40]
add ecx, 0x24
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x6c], ecx
mov edi, edi
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx]
push 0xa
push 0
push eax
call fcn.100aa475
mov esi, eax
add esp, 0xc
test esi, esi
je 0x1005e26e
call fcn.10095170
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x1005dcb9
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x64]
push esi
push ecx
lea edx, [ebp - 0x60]
push edx
mov dword [ebp - 4], 3
call fcn.10003590
mov ebx, dword [ebp - 0x58]
add ebx, 0x10
push ebx
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x68]
push ecx
call fcn.1002a030
add esp, 0x18
mov eax, dword [eax]
mov edi, dword [ebx]
lea esi, [eax - 0x10]
sub edi, 0x10
mov byte [ebp - 4], 4
cmp esi, edi
je 0x1005e225
cmp dword [edi + 0xc], 0
jl 0x1005e219
mov ecx, dword [esi]
cmp ecx, dword [edi]
jne 0x1005e219
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x1005e1b7
cmp eax, dword [esi]
jne 0x1005e1b7
mov dword [ebp - 0x5c], esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x1005e1f6
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x1005dcc3
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 0x5c]
mov dword [ecx + 4], eax
mov eax, dword [esi + 4]
lea edx, [eax + eax + 2]
push edx
add esi, 0x10
push esi
lea eax, [eax + eax + 2]
push eax
add ecx, 0x10
push ecx
call fcn.100a6ab1
add esp, 0x10
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1005e20f
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, dword [ebp - 0x5c]
add ecx, 0x10
mov dword [ebx], ecx
jmp 0x1005e225
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, ebx
call fcn.10001cd0
mov eax, dword [ebp - 0x68]
add eax, 0xfffffff0
mov byte [ebp - 4], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1005e248
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x60]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1005e26e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x54]
add dword [ebp - 0x6c], 4
add dword [ebp - 0x64], 0x10
inc eax
mov dword [ebp - 0x54], eax
cmp eax, 3
jl 0x1005e100
mov ebx, dword [ebp - 0x58]
mov eax, dword [ebx + 0xc]
push str.Default
push eax
call fcn.100a6a26
add esp, 8
test eax, eax
je 0x1005e4ac
mov ecx, dword [ebp - 0x7c]
mov esi, dword [ecx + 0x2c]
test esi, esi
je 0x1005e4ac
xor eax, eax
test esi, esi
setne al
test eax, eax
je 0x1005dcb9
mov ecx, dword [ebx + 0xc]
mov edi, dword [esi + 8]
mov esi, dword [esi]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
je 0x1005dcb9
mov eax, dword [edi]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1005e2fe
test dx, dx
je 0x1005e2fa
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1005e2fe
add eax, 4
add ecx, 4
test dx, dx
jne 0x1005e2d8
xor eax, eax
jmp 0x1005e303
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
je 0x1005e315
mov edx, dword [edi + 0x34]
cmp dword [edx - 0xc], 0
jne 0x1005e31e
test esi, esi
jne 0x1005e2b0
jmp 0x1005e4ac
mov eax, edx
push 0x100f034c
push eax
call fcn.100a6a26
add esp, 8
test eax, eax
jne 0x1005e337
lea esi, [eax + 2]
jmp 0x1005e34d
mov eax, dword [edi + 0x34]
push str.auto
push eax
call fcn.100a6a26
add esp, 8
mov esi, 1
mov eax, dword [ebp - 0x70]
cmp esi, dword [eax + 0x48]
je 0x1005e4ac
call fcn.10095170
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x1005dcb9
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x5c], eax
push esi
lea ecx, [ebp - 0x5c]
push str.q_d
push ecx
mov dword [ebp - 4], 5
call fcn.10003590
mov ebx, dword [ebp - 0x58]
add ebx, 0x10
push ebx
lea edx, [ebp - 0x5c]
push edx
lea eax, [ebp - 0x78]
push eax
call fcn.1002a030
add esp, 0x18
mov eax, dword [eax]
mov edi, dword [ebx]
lea esi, [eax - 0x10]
sub edi, 0x10
mov byte [ebp - 4], 6
cmp esi, edi
je 0x1005e463
cmp dword [edi + 0xc], 0
jl 0x1005e457
mov ecx, dword [esi]
cmp ecx, dword [edi]
jne 0x1005e457
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x1005e3f5
cmp eax, dword [esi]
jne 0x1005e3f5
mov dword [ebp - 0x64], esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x1005e434
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov dword [ebp - 0x64], eax
test eax, eax
je 0x1005dcc3
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 0x64]
mov dword [ecx + 4], eax
mov eax, dword [esi + 4]
lea edx, [eax + eax + 2]
push edx
add esi, 0x10
push esi
lea eax, [eax + eax + 2]
push eax
add ecx, 0x10
push ecx
call fcn.100a6ab1
add esp, 0x10
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1005e44d
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, dword [ebp - 0x64]
add ecx, 0x10
mov dword [ebx], ecx
jmp 0x1005e463
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, ebx
call fcn.10001cd0
mov eax, dword [ebp - 0x78]
add eax, 0xfffffff0
mov byte [ebp - 4], 5
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1005e486
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x5c]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1005e4ac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x4c]
push 0xffffffffffffffff
push 0
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp - 0x48]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x44]
push ecx
mov dword [eax + 8], ecx
mov ecx, esp
mov dword [ebp - 0x64], esp
push 0x100e8020
mov dword [eax + 0xc], edx
call fcn.10001e10
push ecx
mov ecx, esp
mov dword [ebp - 0x5c], esp
push 0x100e8020
mov dword [ebp - 4], 7
call fcn.10001e10
mov eax, dword [ebp - 0x58]
mov esi, dword [eax + 0xc]
push ecx
mov ebx, esp
mov dword [ebp - 0x60], esp
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x54], esp
mov byte [ebp - 4], 8
mov dword [ebp - 0x54], esp
call eax
cmp dword [esi - 4], 0
lea edx, [esi - 4]
jl 0x1005e530
cmp eax, dword [esi - 0x10]
jne 0x1005e530
lea edi, [esi - 0x10]
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x1005e568
mov ecx, dword [esi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x1005dcc3
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov eax, dword [esi - 0xc]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.100a6ab1
add esp, 0x10
mov ecx, dword [ebp - 0x54]
add edi, 0x10
push ebx
mov dword [ecx], edi
call fcn.1005b6e0
add esp, 8
mov eax, dword [ebp - 0x58]
mov edx, dword [eax + 4]
mov ecx, dword [eax]
mov esi, dword [eax + 0x10]
push edx
push ecx
push 1
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
mov byte [ebp - 4], 9
mov dword [ebp - 0x54], esp
mov ebx, esp
call eax
cmp dword [esi - 4], 0
lea edx, [esi - 4]
jl 0x1005e5b8
cmp eax, dword [esi - 0x10]
jne 0x1005e5b8
lea edi, [esi - 0x10]
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x1005e5f0
mov ecx, dword [esi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x1005dcc3
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov eax, dword [esi - 0xc]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.100a6ab1
add esp, 0x10
mov ecx, dword [ebp - 0x70]
add edi, 0x10
mov dword [ebx], edi
mov dword [ebp - 4], 0xffffffff
call fcn.100347a0
cmp dword [ebp - 0x74], 0
jne 0x1005dcc8
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100a6f5d
mov esp, ebp
pop ebp
ret 4