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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007d87a
mov eax, dword fs:[0]
push eax
sub esp, 0x20c
mov eax, dword [0x1009b01c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 4], 1
mov edi, dword [esi + 0x18]
cmp byte [edi + 0x105], 0
je 0x10034ba9
sub esp, 8
mov ecx, esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x10034b8f
lock inc dword [eax + 4]
mov eax, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp + 0x10]
mov dword [ecx + 4], eax
mov ecx, esi
push dword [ebp + 8]
call fcn.10035ca0
jmp 0x10035c3e
mov eax, dword [esi + 0x38]
add eax, dword [esi + 4]
mov ecx, dword [esi + 8]
mov dword [ebp - 0x1f0], eax
mov eax, dword [esi + 0x3c]
add eax, ecx
mov dword [ebp - 0x1d4], 0
mov dword [ebp - 0x1d0], 0
test dword [edi + 0x19c], 0xff000000
mov dword [ebp - 0x1e4], ecx
mov dword [ebp - 0x1c4], eax
je 0x10034d37
lea eax, [ebp - 0x200]
mov dword [ebp - 0x200], 0
push eax
sub esp, 8
mov dword [ebp - 0x1fc], 0
cmp dword [edi + 0xf4], 0
mov ecx, esp
mov dword [ebp - 0x1dc], esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [ebp + 0x10]
jne 0x10034c8b
test eax, eax
je 0x10034c34
lock inc dword [eax + 4]
mov eax, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp + 0x10]
mov dword [ecx + 4], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 0xc]
push ecx
mov eax, esp
mov dword [ebp - 0x1bc], esp
mov ecx, dword [ecx + 0x18]
mov dword [eax], ecx
test ecx, ecx
je 0x10034c5e
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
push 1
sub esp, 0x18
mov byte [ebp - 4], 3
mov ecx, esp
xorps xmm0, xmm0
push 1
movups xmmword [ecx], xmm0
push 0x1008ba48
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10003660
jmp 0x10034cda
test eax, eax
je 0x10034c93
lock inc dword [eax + 4]
mov eax, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp + 0x10]
mov dword [ecx + 4], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp + 0xc]
push ecx
mov eax, esp
mov dword [ebp - 0x1bc], esp
mov ecx, dword [ecx + 0x18]
mov dword [eax], ecx
test ecx, ecx
je 0x10034cbd
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov byte [ebp - 4], 5
mov eax, dword [esi + 0x18]
push dword [eax + 0xf4]
add eax, 0xe4
sub esp, 0x18
mov ecx, esp
push eax
call fcn.10004140
mov eax, dword [esi]
mov ecx, esi
mov byte [ebp - 4], 1
call dword [eax + 0x58]
mov edi, dword [esi + 0x18]
mov eax, dword [ebp - 0x200]
mov ecx, dword [ebp - 0x1fc]
mov dword [esi + 0xc], eax
mov dword [esi + 0x14], ecx
cmp dword [edi + 0xf4], 0
jne 0x10034d18
mov eax, ecx
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
mov dword [esi + 0x14], ecx
cmp dword [edi + 0xf4], 0
je 0x10034d1e
add ecx, dword [edi + 0x12c]
mov dword [esi + 0x10], ecx
test dword [edi + 0x19c], 0xff000000
je 0x10034d37
mov edx, ecx
mov dword [ebp - 0x1ec], edx
jmp 0x10034d41
mov dword [ebp - 0x1ec], 0
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x20c], 0
push eax
sub esp, 8
mov dword [ebp - 0x208], 0
mov ecx, esp
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x210], 0
mov dword [ebp - 0x1dc], esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x10034d93
lock inc dword [eax + 4]
mov eax, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp + 0x10]
mov dword [ecx + 4], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp + 0xc]
push ecx
mov eax, esp
mov dword [ebp - 0x1bc], esp
mov ecx, dword [ecx + 0x14]
mov dword [eax], ecx
test ecx, ecx
je 0x10034dbd
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov byte [ebp - 4], 7
lea eax, [esi + 0x1bf4]
push dword [esi + 0x1c04]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.10004140
mov eax, dword [esi]
mov ecx, esi
mov byte [ebp - 4], 1
call dword [eax + 0x58]
lea eax, [ebp - 0x214]
push eax
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x1dc], esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x10034e0d
lock inc dword [eax + 4]
mov eax, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp + 0x10]
mov dword [ecx + 4], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp + 0xc]
push ecx
mov eax, esp
mov dword [ebp - 0x1bc], esp
mov ecx, dword [ecx + 0x14]
mov dword [eax], ecx
test ecx, ecx
je 0x10034e37
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov byte [ebp - 4], 9
lea eax, [esi + 0x1c0c]
push dword [esi + 0x1c1c]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.10004140
mov eax, dword [esi]
mov ecx, esi
mov byte [ebp - 4], 1
call dword [eax + 0x58]
mov eax, dword [esi + 0x18]
test dword [eax + 0x1a0], 0xff000000
je 0x10034eb5
test dword [eax + 0x1a4], 0xff000000
je 0x10034eb5
mov ecx, dword [eax + 0x134]
mov eax, dword [eax + 0x12c]
mov edi, dword [ebp - 0x214]
mov byte [ebp - 0x1de], 1
lea eax, [eax + ecx*2]
add eax, dword [ebp - 0x210]
add eax, dword [ebp - 0x208]
cmp dword [ebp - 0x20c], edi
mov dword [ebp - 0x1f4], eax
cmovg edi, dword [ebp - 0x20c]
jmp 0x10034ec8
mov byte [ebp - 0x1de], 0
xor edi, edi
mov dword [ebp - 0x1f4], 0
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x50]
call eax
test al, al
jne 0x10034ffb
mov eax, dword [esi + 0x1c]
cmp dword [eax + 0x10], 0
je 0x10034ffb
sub esp, 8
mov ecx, esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x10034f03
lock inc dword [eax + 4]
mov eax, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp + 0x10]
mov dword [ecx + 4], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov eax, esp
mov ecx, dword [ecx + 0x14]
mov dword [eax], ecx
test ecx, ecx
je 0x10034f23
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
push dword [esi + 0x1c]
lea eax, [ebp - 0x200]
mov ecx, esi
push dword [ebp + 8]
push eax
call fcn.10031470
mov ecx, dword [eax]
cmp ecx, edi
mov eax, dword [eax + 4]
cmovg edi, ecx
mov dword [ebp - 0x1d4], ecx
mov dword [ebp - 0x1d0], eax
cmp dword [0x100a065c], edi
jl 0x10034f72
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x54]
call eax
test al, al
je 0x10034f72
mov eax, dword [0x100a065c]
sub eax, edi
cdq
sub eax, edx
mov edi, eax
sar edi, 1
jmp 0x10034f74
xor edi, edi
mov ecx, dword [ebp - 0x1d4]
mov edx, dword [ebp - 0x1c4]
add ecx, edi
add edx, dword [ebp - 0x1d0]
mov eax, dword [ebp - 0x1f0]
add ecx, eax
push edx
push ecx
push dword [ebp - 0x1c4]
add eax, edi
push eax
lea eax, [esi + 0x78]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 8]
add ecx, dword [ebp - 0x1d0]
add ecx, dword [ebp - 0x1f4]
mov eax, dword [eax + 0x124]
lea eax, [eax + edi*2]
mov edi, dword [ebp - 0x1e4]
add eax, dword [ebp - 0x1d4]
add dword [ebp - 0x1f0], eax
mov eax, dword [esi + 0x3c]
add eax, ecx
mov ecx, esi
cmp edi, eax
cmovle edi, eax
mov eax, dword [esi]
mov dword [ebp - 0x1e4], edi
mov eax, dword [eax + 0x54]
call eax
test al, al
je 0x10034ffb
add edi, dword [0x100a065c]
mov dword [ebp - 0x1e4], edi
mov eax, dword [esi + 0x1c]
cmp dword [eax + 0x34], 0
je 0x10035100
sub esp, 8
mov ecx, esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x10035025
lock inc dword [eax + 4]
mov eax, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp + 0x10]
mov dword [ecx + 4], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov eax, esp
mov ecx, dword [ecx + 0x14]
mov dword [eax], ecx
test ecx, ecx
je 0x10035045
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov eax, dword [esi + 0x1c]
mov ecx, esi
add eax, 0x24
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x200]
push eax
call fcn.10031470
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1d4], ecx
mov dword [ebp - 0x1d0], eax
cmp dword [0x100a065c], ecx
jl 0x10035099
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x54]
call eax
mov ecx, dword [ebp - 0x1d4]
test al, al
je 0x10035099
mov eax, dword [0x100a065c]
sub eax, ecx
cdq
sub eax, edx
mov edi, eax
sar edi, 1
jmp 0x1003509b
xor edi, edi
mov edx, dword [ebp - 0x1c4]
add ecx, edi
add edx, dword [ebp - 0x1d0]
mov eax, dword [ebp - 0x1f0]
add ecx, eax
push edx
push ecx
push dword [ebp - 0x1c4]
add eax, edi
push eax
lea eax, [esi + 0x88]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 8]
add ecx, dword [ebp - 0x1d0]
mov eax, dword [eax + 0x124]
lea eax, [eax + edi*2]
add eax, dword [ebp - 0x1d4]
add dword [ebp - 0x1f0], eax
mov eax, dword [esi + 0x3c]
add eax, ecx
mov ecx, dword [ebp - 0x1e4]
cmp ecx, eax
cmovle ecx, eax
mov dword [ebp - 0x1e4], ecx
push 0x190
lea eax, [ebp - 0x1a0]
push 0
push eax
call fcn.100535b0
mov ecx, dword [esi + 0x34]
xor edx, edx
mov edi, dword [ebp - 0x1f0]
add esp, 0xc
mov dword [ebp - 0x1cc], edi
mov dword [ebp - 0x1c8], edx
mov dword [ebp - 0x204], edx
mov dword [ebp - 0x1c0], ecx
test ecx, ecx
je 0x10035a7b
mov dword [ebp - 0x1d8], edx
jle 0x100356c3
lea eax, [esi + 0x1368]
mov dword [ebp - 0x1c0], ecx
mov dword [ebp - 0x1c4], edx
mov dword [ebp - 0x1e8], eax
nop word [eax + eax]
cmp dword [ebp - 0x1c4], 0xe10
mov dword [ebp - 0x1dc], edx
jge 0x100356c3
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 8]
add ecx, 0xcc
add eax, dword [ebp - 0x1ec]
add eax, dword [esi + 0x3c]
mov dword [ebp - 0x1c0], eax
cmp dword [ecx + 0x14], 8
jb 0x100351a9
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x1d8]
mov eax, dword [esi]
push ecx
push edx
push dword [esi + 0x2c]
lea ecx, [ebp - 0x1b8]
push ecx
mov ecx, esi
call dword [eax + 0x4c]
lea eax, [ebp - 0x1d4]
push eax
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x218], esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x100351ec
lock inc dword [eax + 4]
mov eax, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp + 0x10]
mov dword [ecx + 4], eax
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp + 0xc]
push ecx
mov eax, esp
mov dword [ebp - 0x1fc], esp
mov ecx, dword [ecx + 0x1c]
mov dword [eax], ecx
test ecx, ecx
je 0x10035216
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x1b8]
push dword [ebp - 0x1a8]
xorps xmm0, xmm0
sub esp, 0x18
mov edi, esp
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
cmp dword [ebp - 0x1a4], 8
mov eax, dword [ebp - 0x1a8]
cmovae ecx, dword [ebp - 0x1b8]
mov dword [ebp - 0x1bc], ecx
mov dword [ebp - 0x1f8], eax
cmp eax, 0x7ffffffe
ja 0x10035c8d
mov dword [edi + 0x14], 7
cmp eax, 8
jae 0x10035281
mov dword [edi + 0x10], eax
movups xmm0, xmmword [ecx]
movups xmmword [edi], xmm0
jmp 0x100352d7
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x10035292
mov eax, SysReAllocString
jmp 0x1003529d
cmp eax, 0xa
mov ecx, 0xa
cmovb eax, ecx
mov dword [ebp - 0x1c8], eax
mov ecx, edi
inc eax
push eax
call fcn.10003600
mov edx, dword [ebp - 0x1f8]
mov ecx, dword [ebp - 0x1c8]
mov dword [edi + 0x14], ecx
mov dword [edi], eax
lea ecx, [edx*2 + 2]
mov dword [edi + 0x10], edx
push ecx
push dword [ebp - 0x1bc]
push eax
call fcn.10053010
add esp, 0xc
mov eax, dword [esi]
mov ecx, esi
mov byte [ebp - 4], 0xa
call dword [eax + 0x58]
mov eax, dword [esi + 0x40]
imul eax, dword [ebp - 0x1d4]
mov ecx, dword [ebp - 0x1d0]
mov edx, dword [ebp - 0x1c0]
add ecx, edx
mov edi, dword [ebp - 0x1e8]
push ecx
add eax, dword [ebp - 0x1cc]
add edi, 0xfffff9c0
push eax
mov dword [ebp - 0x1c8], edi
mov eax, edi
mov edi, dword [ebp - 0x1cc]
add eax, 0xfffff9c0
push edx
push edi
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [ebp - 0x1d0]
imul eax, dword [esi + 0x40]
mov edx, dword [ebp - 0x1c0]
mov dword [ebp - 0x1bc], 0
add edx, eax
cmp dword [ebp - 0x204], edx
mov eax, edx
cmovg eax, dword [ebp - 0x204]
mov dword [ebp - 0x1f8], eax
mov eax, dword [ebp - 0x1d4]
test eax, eax
cmovs eax, dword [ebp - 0x1bc]
mov dword [ebp - 0x1cc], eax
mov eax, dword [esi + 0x18]
mov eax, dword [eax + 0x12c]
imul eax, dword [esi + 0x40]
add edx, eax
mov eax, dword [esi + 0x24]
mov dword [ebp - 0x1c0], edx
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov eax, 0x38e38e39
sub ecx, edx
mov dword [ebp - 0x1bc], edx
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, dword [ebp - 0x1d8]
jbe 0x10035c88
mov edx, dword [ebp - 0x1c4]
lea eax, [ebp - 0x1d4]
add edx, dword [ebp - 0x1bc]
push eax
sub esp, 8
mov dword [ebp - 0x1bc], edx
mov ecx, esp
mov dword [ebp - 0x1fc], esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x100353ee
lock inc dword [eax + 4]
mov eax, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp + 0x10]
mov dword [ecx + 4], eax
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp + 0xc]
push ecx
mov eax, esp
mov dword [ebp - 0x218], esp
mov ecx, dword [ecx + 0x18]
mov dword [eax], ecx
test ecx, ecx
je 0x1003541e
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov edx, dword [ebp - 0x1bc]
mov byte [ebp - 4], 0xe
push dword [edx + 0x10]
sub esp, 0x18
mov ecx, esp
push edx
call fcn.10004140
mov eax, dword [esi]
mov ecx, esi
mov byte [ebp - 4], 0xa
call dword [eax + 0x58]
mov eax, dword [esi + 0x44]
imul eax, dword [ebp - 0x1d4]
mov ecx, dword [ebp - 0x1d0]
mov edx, dword [ebp - 0x1c0]
add ecx, edx
push ecx
add eax, edi
push eax
push edx
push edi
push dword [ebp - 0x1c8]
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [esi + 0x44]
imul eax, dword [ebp - 0x1d0]
mov ecx, dword [ebp - 0x1c0]
add ecx, eax
mov eax, dword [ebp - 0x1d4]
cmp dword [ebp - 0x1f8], ecx
mov edx, ecx
mov ecx, dword [esi + 0x18]
cmovg edx, dword [ebp - 0x1f8]
cmp dword [ebp - 0x1cc], eax
mov dword [ebp - 0x204], edx
cmovg eax, dword [ebp - 0x1cc]
mov edx, dword [ebp - 0x1d8]
mov dword [ebp - 0x1cc], eax
mov eax, dword [esi + 0x30]
cmp edx, dword [eax]
jne 0x100355c1
test dword [ecx + 0x198], 0xff000000
jne 0x100355d1
mov byte [ebp - 0x1dd], 0
mov eax, dword [esi + 0x28]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov eax, 0x38e38e39
sub ecx, edx
mov dword [ebp - 0x1bc], edx
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, dword [ebp - 0x1d8]
jbe 0x10035c88
mov edx, dword [ebp - 0x1c4]
add edx, dword [ebp - 0x1bc]
mov dword [ebp - 0x1bc], edx
cmp dword [edx + 0x10], 0
je 0x100355dd
cmp dword [esi + 0x48], 0
je 0x100355dd
cmp byte [ebp - 0x1dd], 0
je 0x100355dd
lea eax, [ebp - 0x1d4]
push eax
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x1fc], esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x1003555a
lock inc dword [eax + 4]
mov eax, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp + 0x10]
mov dword [ecx + 4], eax
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp + 0xc]
push ecx
mov eax, esp
mov dword [ebp - 0x218], esp
mov ecx, dword [ecx + 0x20]
mov dword [eax], ecx
test ecx, ecx
je 0x1003558a
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov edx, dword [ebp - 0x1bc]
mov byte [ebp - 4], 0x10
push dword [edx + 0x10]
sub esp, 0x18
mov ecx, esp
push edx
call fcn.10004140
mov eax, dword [esi]
mov ecx, esi
mov byte [ebp - 4], 0xa
call dword [eax + 0x58]
mov edx, dword [ebp - 0x1d0]
mov ecx, dword [ebp - 0x1d4]
imul edx, dword [esi + 0x48]
imul ecx, dword [esi + 0x48]
push edx
add ecx, edi
push ecx
jmp 0x100355e0
test dword [ecx + 0x168], 0xff000000
je 0x100354c9
mov byte [ebp - 0x1dd], 1
jmp 0x100354d0
push 0
push edi
push 0
push edi
push dword [ebp - 0x1e8]
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [ebp - 0x1d4]
cmp dword [ebp - 0x1cc], ecx
mov eax, dword [ebp - 0x1d8]
cmovg ecx, dword [ebp - 0x1cc]
mov dword [ebp + eax*4 - 0x1a0], ecx
mov eax, dword [ebp - 0x1e8]
mov edx, dword [eax + 0xc]
sub edx, dword [eax + 4]
mov eax, dword [esi + 0x18]
cmp dword [ebp - 0x1dc], edx
cmovg edx, dword [ebp - 0x1dc]
mov eax, dword [eax + 0x128]
add eax, ecx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1a4]
add edi, eax
mov dword [ebp - 0x1c8], edx
mov dword [ebp - 0x1cc], edi
cmp ecx, 8
jb 0x1003568b
mov edx, dword [ebp - 0x1b8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1003567b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10035c83
push ecx
push edx
call fcn.1004d1ad
mov edx, dword [ebp - 0x1c8]
add esp, 8
mov eax, dword [ebp - 0x1d8]
mov ecx, dword [esi + 0x34]
inc eax
add dword [ebp - 0x1c4], 0x24
add dword [ebp - 0x1e8], 0x10
mov dword [ebp - 0x1d8], eax
mov dword [ebp - 0x1c0], ecx
cmp eax, ecx
jl 0x10035170
mov dword [ebp - 0x1c0], ecx
mov dword [ebp - 0x1c8], edx
mov eax, dword [esi + 0x18]
sub edi, dword [eax + 0x128]
cmp dword [ebp - 0x1f0], edi
cmovg edi, dword [ebp - 0x1f0]
add edi, dword [esi + 0x38]
mov dword [ebp - 0x1d8], edi
test ecx, ecx
je 0x10035a91
xor eax, eax
mov dword [ebp - 0x1cc], eax
test ecx, ecx
jle 0x100358bb
lea edi, [esi + 0xd30]
mov dword [ebp - 0x1e8], edi
nop word [eax + eax]
mov dword [ebp - 0x1c0], ecx
cmp eax, 0x64
jge 0x100358bb
mov edx, dword [esi + 0x18]
xor ecx, ecx
mov dword [ebp - 0x1c4], ecx
mov dword [ebp - 0x1c0], ecx
mov edx, dword [edx + 0x100]
cmp edx, 1
jne 0x1003578e
mov ecx, dword [ebp + eax*4 - 0x1a0]
mov eax, dword [edi - 0x648]
sub eax, dword [edi - 0x640]
add eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x1dc], eax
mov eax, dword [edi - 8]
sub eax, dword [edi]
add eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x1c4], eax
mov eax, dword [edi + 0x638]
sub eax, dword [edi + 0x640]
add eax, ecx
mov ecx, dword [ebp - 0x1dc]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x1c0], eax
jmp 0x100357e5
test edx, edx
jne 0x1003579f
mov edx, dword [esi + 0x18]
cmp byte [edx + 0x104], cl
je 0x100357e5
jmp 0x100357af
cmp edx, 2
jne 0x100357e5
mov edx, dword [esi + 0x18]
cmp byte [edx + 0x104], cl
jne 0x100357e5
mov edx, dword [edi - 8]
sub edx, dword [edi]
mov eax, dword [ebp + eax*4 - 0x1a0]
add edx, eax
mov ecx, dword [edi - 0x648]
sub ecx, dword [edi - 0x640]
mov dword [ebp - 0x1c4], edx
add ecx, eax
mov edx, dword [edi + 0x638]
sub edx, dword [edi + 0x640]
add edx, eax
mov dword [ebp - 0x1c0], edx
push 0
lea eax, [edi - 0x648]
push ecx
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
push 0
push dword [ebp - 0x1c4]
add edi, 0xfffffff8
push edi
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [esi + 0x18]
mov ecx, dword [ebp - 0x1e8]
add ecx, 0x638
mov eax, dword [eax + 0x12c]
add eax, dword [ebp - 0x204]
push eax
push dword [ebp - 0x1c0]
push ecx
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [ebp - 0x1e8]
mov ecx, dword [eax - 0x648]
cmp ecx, dword [edi]
cmovge ecx, dword [edi]
mov edi, eax
mov eax, dword [edi + 0x638]
cmp ecx, eax
cmovl eax, ecx
mov ecx, dword [edi - 0x640]
cmp ecx, dword [edi]
mov dword [edi - 0xc88], eax
cmovle ecx, dword [edi]
mov eax, dword [edi + 0x640]
cmp ecx, eax
cmovg eax, ecx
mov dword [edi - 0xc80], eax
mov eax, dword [edi - 0x644]
sub eax, dword [ebp - 0x1ec]
mov dword [edi - 0xc84], eax
mov eax, dword [edi + 0x63c]
add eax, dword [ebp - 0x1c8]
mov dword [edi - 0xc7c], eax
add edi, 0x10
mov eax, dword [ebp - 0x1cc]
mov ecx, dword [esi + 0x34]
inc eax
mov dword [ebp - 0x1cc], eax
mov dword [ebp - 0x1e8], edi
mov dword [ebp - 0x1c0], ecx
cmp eax, ecx
jl 0x10035710
mov edx, dword [esi + 0xac]
mov eax, dword [esi + 8]
mov edi, dword [ebp - 0x1e4]
sub eax, edx
add eax, dword [esi + 0x3c]
add eax, dword [esi + 0xb4]
cmp edi, eax
cmovle edi, eax
sub edx, dword [esi + 0x3c]
mov eax, edi
mov dword [ebp - 0x1e4], edi
add edx, eax
mov dword [ebp - 0x1e4], eax
cmp edx, dword [esi + 0xb4]
jle 0x10035923
xor ecx, ecx
cmp dword [ebp - 0x1c0], ecx
jle 0x10035923
lea edx, [esi + 0xb4]
cmp ecx, 0x64
jge 0x10035923
mov eax, dword [esi + 0xac]
inc ecx
sub eax, dword [esi + 8]
sub eax, dword [esi + 0x3c]
add eax, edi
mov dword [edx], eax
add edx, 0x10
cmp ecx, dword [esi + 0x34]
jl 0x10035905
mov eax, dword [esi + 0x18]
cmp byte [eax + 0x104], 0
jne 0x10035aa0
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x50]
call eax
mov ecx, dword [esi + 0x1c]
test al, al
jne 0x1003594e
cmp dword [ecx + 0x10], 0
je 0x1003594e
mov eax, dword [esi + 0x78]
jmp 0x10035962
cmp dword [ecx + 0x34], 0
je 0x1003595c
mov eax, dword [esi + 0x88]
jmp 0x10035962
mov eax, dword [esi + 0xa8]
mov ecx, dword [esi + 0x34]
sub ecx, 1
mov dword [ebp - 0x1ec], eax
mov dword [ebp - 0x1cc], ecx
js 0x10035a1d
mov edi, ecx
shl edi, 4
mov dword [ebp - 0x1c8], edi
mov eax, dword [esi + 0x34]
lea edx, [esi + 0xa8]
dec eax
add edx, edi
cmp ecx, eax
jne 0x1003599d
mov edi, dword [ebp - 0x1ec]
jmp 0x100359ad
mov eax, dword [esi + 0x18]
mov edi, dword [esi + edi + 0xc0]
add edi, dword [eax + 0x128]
sub edi, dword [edx]
push 0
push edi
push edx
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [ebp - 0x1c8]
push 0
add eax, 0x6e8
push edi
add eax, esi
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [ebp - 0x1c8]
push 0
add eax, 0xd28
push edi
add eax, esi
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
push 0
push edi
mov edi, dword [ebp - 0x1c8]
lea eax, [edi + 0x1368]
add eax, esi
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [ebp - 0x1cc]
sub edi, 0x10
dec ecx
mov dword [ebp - 0x1c8], edi
mov dword [ebp - 0x1cc], ecx
test ecx, ecx
jns 0x10035985
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x50]
call eax
mov edi, dword [sym.imp.USER32.dll_OffsetRect]
test al, al
jne 0x10035a53
mov eax, dword [esi + 0x1c]
cmp dword [eax + 0x10], 0
je 0x10035a53
mov eax, dword [esi + 0x18]
lea ecx, [esi + 0x78]
push 0
mov eax, dword [eax + 0x124]
add eax, dword [esi + 0xb0]
sub eax, dword [ecx]
push eax
push ecx
call edi
mov eax, dword [esi + 0x1c]
cmp dword [eax + 0x34], 0
je 0x10035aa0
mov eax, dword [esi + 0x18]
lea ecx, [esi + 0x88]
push 0
mov eax, dword [eax + 0x124]
add eax, dword [esi + 0xb0]
sub eax, dword [ecx]
push eax
push ecx
call edi
jmp 0x10035aa0
cmp dword [ebp - 0x1f0], edi
cmovg edi, dword [ebp - 0x1f0]
add edi, dword [esi + 0x38]
mov dword [ebp - 0x1d8], edi
mov eax, dword [esi + 0x18]
sub edi, dword [eax + 0x124]
mov dword [ebp - 0x1d8], edi
mov eax, dword [ebp - 0x1e4]
mov ecx, esi
add eax, dword [esi + 0x3c]
mov dword [ebp - 0x1ec], eax
mov eax, dword [esi + 0x30]
mov eax, dword [eax]
add eax, eax
movups xmm0, xmmword [esi + eax*8 + 0xa8]
lea eax, [ebp - 0x1ec]
push eax
lea eax, [ebp - 0x1d8]
push eax
movups xmmword [esi + 0x98], xmm0
call fcn.100321a0
mov ecx, dword [esi + 8]
mov eax, dword [esi + 4]
add ecx, dword [ebp - 0x1ec]
add eax, dword [ebp - 0x1d8]
cmp byte [ebp - 0x1de], 0
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], ecx
je 0x10035bde
cmp dword [esi + 0x34], 0
je 0x10035bde
mov edi, dword [esi + 0x18]
cmp byte [edi + 0x58], 0
jne 0x10035bde
mov edi, dword [edi + 0x134]
mov eax, dword [esi + 0x80]
add edi, ecx
add eax, dword [esi + 0x78]
sub edi, dword [esi + 8]
sub edi, dword [ebp - 0x1f4]
mov ecx, dword [ebp - 0x20c]
sub edi, dword [esi + 0x3c]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x1f4], eax
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0x1f4]
sar eax, 1
sub edx, eax
mov eax, dword [ebp - 0x208]
add eax, edi
mov dword [ebp - 0x1f4], edx
push eax
lea eax, [edx + ecx]
push eax
push edi
push edx
lea edi, [esi + 0x1bd4]
push edi
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1be0]
mov edx, dword [ebp - 0x1f4]
add ecx, dword [eax + 0x12c]
mov eax, dword [ebp - 0x210]
add eax, ecx
push eax
mov eax, dword [ebp - 0x214]
add eax, edx
push eax
push ecx
push edx
lea eax, [esi + 0x1be4]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x54]
call eax
test al, al
je 0x10035bde
mov eax, dword [0x100a065c]
neg eax
push eax
push 0
push edi
mov edi, dword [sym.imp.USER32.dll_OffsetRect]
call edi
mov eax, dword [0x100a065c]
neg eax
push eax
push 0
lea eax, [esi + 0x1be4]
push eax
call edi
push dword [esi + 0x74]
lea eax, [esi + 0x19c8]
push dword [esi + 0x70]
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_SetRect]
lea eax, [esi + 0x19c8]
push eax
lea edi, [esi + 0x19b8]
push edi
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esi + 8]
not eax
push eax
mov eax, dword [esi + 4]
not eax
push eax
push edi
mov edi, dword [sym.imp.USER32.dll_InflateRect]
call edi
lea eax, [ebp + 8]
mov ecx, esi
push eax
call fcn.10031d20
mov eax, dword [esi + 8]
neg eax
push eax
mov eax, dword [esi + 4]
neg eax
push eax
lea eax, [esi + 0x19c8]
push eax
call edi
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x10035c66
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x10035c66
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x10035c66
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004d19f
mov esp, ebp
pop ebp
ret 0xc
call fcn.1005ce0f
call fcn.10005be0
call fcn.100036f0
int3