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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007d83a
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 0x10034c19
sub esp, 8
mov ecx, esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x10034bff
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.10035cd0
jmp 0x10035c6d
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 - 0x1cc], 0
mov dword [ebp - 0x1c8], 0
test dword [edi + 0x19c], 0xff000000
mov dword [ebp - 0x1d8], ecx
mov dword [ebp - 0x1e8], eax
je 0x10034da7
lea eax, [ebp - 0x208]
mov dword [ebp - 0x208], 0
push eax
sub esp, 8
mov dword [ebp - 0x204], 0
cmp dword [edi + 0xf4], 0
mov ecx, esp
mov dword [ebp - 0x1bc], esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [ebp + 0x10]
jne 0x10034cfb
test eax, eax
je 0x10034ca4
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 - 0x1c4], esp
mov ecx, dword [ecx + 0x18]
mov dword [eax], ecx
test ecx, ecx
je 0x10034cce
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 0x1008ba58
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10003610
jmp 0x10034d4a
test eax, eax
je 0x10034d03
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 - 0x1c4], esp
mov ecx, dword [ecx + 0x18]
mov dword [eax], ecx
test ecx, ecx
je 0x10034d2d
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.100040e0
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 - 0x208]
mov ecx, dword [ebp - 0x204]
mov dword [esi + 0xc], eax
mov dword [esi + 0x14], ecx
cmp dword [edi + 0xf4], 0
jne 0x10034d88
mov eax, ecx
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
mov dword [esi + 0x14], ecx
cmp dword [edi + 0xf4], 0
je 0x10034d8e
add ecx, dword [edi + 0x12c]
mov dword [esi + 0x10], ecx
test dword [edi + 0x19c], 0xff000000
je 0x10034da7
mov edx, ecx
mov dword [ebp - 0x1f8], edx
jmp 0x10034db1
mov dword [ebp - 0x1f8], 0
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 0
push eax
sub esp, 8
mov dword [ebp - 0x20c], 0
mov ecx, esp
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x1bc], esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x10034e03
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 - 0x1c4], esp
mov ecx, dword [ecx + 0x14]
mov dword [eax], ecx
test ecx, ecx
je 0x10034e2d
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.100040e0
mov eax, dword [esi]
mov ecx, esi
mov byte [ebp - 4], 1
call dword [eax + 0x58]
lea eax, [ebp - 0x218]
push eax
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x1bc], esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x10034e7d
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 - 0x1c4], esp
mov ecx, dword [ecx + 0x14]
mov dword [eax], ecx
test ecx, ecx
je 0x10034ea7
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.100040e0
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 0x10034f25
test dword [eax + 0x1a4], 0xff000000
je 0x10034f25
mov ecx, dword [eax + 0x134]
mov eax, dword [eax + 0x12c]
mov edi, dword [ebp - 0x218]
mov byte [ebp - 0x1d1], 1
lea eax, [eax + ecx*2]
add eax, dword [ebp - 0x214]
add eax, dword [ebp - 0x20c]
cmp dword [ebp - 0x210], edi
mov dword [ebp - 0x1fc], eax
cmovg edi, dword [ebp - 0x210]
jmp 0x10034f38
mov byte [ebp - 0x1d1], 0
xor edi, edi
mov dword [ebp - 0x1fc], 0
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x50]
call eax
test al, al
jne 0x10035069
mov eax, dword [esi + 0x1c]
cmp dword [eax + 0x10], 0
je 0x10035069
sub esp, 8
mov ecx, esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x10034f73
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 0x10034f93
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
push dword [esi + 0x1c]
lea eax, [ebp - 0x208]
mov ecx, esi
push dword [ebp + 8]
push eax
call fcn.10031480
mov ecx, dword [eax]
cmp ecx, edi
mov eax, dword [eax + 4]
cmovg edi, ecx
mov dword [ebp - 0x1cc], ecx
mov dword [ebp - 0x1c8], eax
cmp dword [0x100a065c], edi
jl 0x10034fe2
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x54]
call eax
test al, al
je 0x10034fe2
mov eax, dword [0x100a065c]
sub eax, edi
cdq
sub eax, edx
mov edi, eax
sar edi, 1
jmp 0x10034fe4
xor edi, edi
mov ecx, dword [ebp - 0x1cc]
mov edx, dword [ebp - 0x1e8]
add ecx, edi
add edx, dword [ebp - 0x1c8]
mov eax, dword [ebp - 0x1f0]
add ecx, eax
push edx
push ecx
push dword [ebp - 0x1e8]
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, esi
mov eax, dword [eax + 0x124]
lea eax, [eax + edi*2]
mov edi, dword [ebp - 0x1d8]
add eax, dword [ebp - 0x1cc]
add dword [ebp - 0x1f0], eax
mov eax, dword [esi + 0x3c]
add eax, dword [esi + 8]
add eax, dword [ebp - 0x1c8]
add eax, dword [ebp - 0x1fc]
cmp edi, eax
cmovle edi, eax
mov eax, dword [esi]
mov dword [ebp - 0x1d8], edi
mov eax, dword [eax + 0x54]
call eax
test al, al
je 0x10035069
add edi, dword [0x100a065c]
mov dword [ebp - 0x1d8], edi
mov eax, dword [esi + 0x1c]
cmp dword [eax + 0x34], 0
je 0x1003516e
sub esp, 8
mov ecx, esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x10035093
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 0x100350b3
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 - 0x208]
push eax
call fcn.10031480
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1cc], ecx
mov dword [ebp - 0x1c8], eax
cmp dword [0x100a065c], ecx
jl 0x10035107
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x54]
call eax
mov ecx, dword [ebp - 0x1cc]
test al, al
je 0x10035107
mov eax, dword [0x100a065c]
sub eax, ecx
cdq
sub eax, edx
mov edi, eax
sar edi, 1
jmp 0x10035109
xor edi, edi
mov edx, dword [ebp - 0x1e8]
add ecx, edi
add edx, dword [ebp - 0x1c8]
mov eax, dword [ebp - 0x1f0]
add ecx, eax
push edx
push ecx
push dword [ebp - 0x1e8]
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 + 0x3c]
add ecx, dword [esi + 8]
mov eax, dword [eax + 0x124]
lea eax, [eax + edi*2]
add eax, dword [ebp - 0x1cc]
add dword [ebp - 0x1f0], eax
mov eax, dword [ebp - 0x1c8]
add eax, ecx
mov ecx, dword [ebp - 0x1d8]
cmp ecx, eax
cmovle ecx, eax
mov dword [ebp - 0x1d8], ecx
push 0x190
lea eax, [ebp - 0x1a0]
push 0
push eax
call fcn.10053570
mov ecx, dword [esi + 0x34]
add esp, 0xc
mov edi, dword [ebp - 0x1f0]
mov dword [ebp - 0x1f4], edi
mov dword [ebp - 0x1e8], 0
mov dword [ebp - 0x1ec], 0
mov dword [ebp - 0x1d0], ecx
test ecx, ecx
je 0x10035a8b
xor edx, edx
mov dword [ebp - 0x1dc], edx
test ecx, ecx
jle 0x100356dd
lea eax, [esi + 0x1368]
mov dword [ebp - 0x1d0], ecx
mov dword [ebp - 0x1e4], edx
mov dword [ebp - 0x1e0], eax
nop dword [eax]
cmp dword [ebp - 0x1e4], 0xe10
jge 0x100356dd
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x3c]
add ecx, 0xcc
add eax, dword [esi + 8]
add eax, dword [ebp - 0x1f8]
mov dword [ebp - 0x1d0], eax
cmp dword [ecx + 0x14], 8
jb 0x10035213
mov ecx, dword [ecx]
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 - 0x1cc]
push eax
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x1bc], esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x10035250
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 - 0x204], esp
mov ecx, dword [ecx + 0x1c]
mov dword [eax], ecx
test ecx, ecx
je 0x1003527a
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 - 0x1c4], ecx
mov dword [ebp - 0x200], eax
cmp eax, 0x7ffffffe
ja 0x10035cbc
mov dword [edi + 0x14], 7
cmp eax, 8
jae 0x100352e5
mov dword [edi + 0x10], eax
movups xmm0, xmmword [ecx]
movups xmmword [edi], xmm0
jmp 0x1003533b
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x100352f6
mov eax, SysReAllocString
jmp 0x10035301
cmp eax, 0xa
mov ecx, 0xa
cmovb eax, ecx
mov dword [ebp - 0x1c0], eax
mov ecx, edi
inc eax
push eax
call fcn.100035b0
mov edx, dword [ebp - 0x200]
mov ecx, dword [ebp - 0x1c0]
mov dword [edi + 0x14], ecx
mov dword [edi], eax
lea ecx, [edx*2 + 2]
mov dword [edi + 0x10], edx
push ecx
push dword [ebp - 0x1c4]
push eax
call fcn.10052fd0
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 - 0x1cc]
mov ecx, dword [ebp - 0x1c8]
mov edx, dword [ebp - 0x1d0]
add ecx, edx
mov edi, dword [ebp - 0x1e0]
push ecx
add eax, dword [ebp - 0x1f4]
add edi, 0xfffff9c0
push eax
mov dword [ebp - 0x1c0], edi
mov eax, edi
mov edi, dword [ebp - 0x1f4]
add eax, 0xfffff9c0
push edx
push edi
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [esi + 0x40]
imul eax, dword [ebp - 0x1c8]
mov edx, dword [ebp - 0x1d0]
mov dword [ebp - 0x1c4], 0
add edx, eax
cmp dword [ebp - 0x1ec], edx
mov eax, edx
cmovg eax, dword [ebp - 0x1ec]
mov dword [ebp - 0x200], eax
mov eax, dword [ebp - 0x1cc]
test eax, eax
cmovs eax, dword [ebp - 0x1c4]
mov dword [ebp - 0x1bc], 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 - 0x1d0], edx
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov eax, 0x38e38e39
sub ecx, edx
mov dword [ebp - 0x1c4], edx
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, dword [ebp - 0x1dc]
jbe 0x10035cb7
mov edx, dword [ebp - 0x1c4]
lea eax, [ebp - 0x1cc]
add edx, dword [ebp - 0x1e4]
push eax
sub esp, 8
mov dword [ebp - 0x1c4], edx
mov ecx, esp
mov dword [ebp - 0x204], esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x10035452
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 - 0x1ec], esp
mov ecx, dword [ecx + 0x18]
mov dword [eax], ecx
test ecx, ecx
je 0x10035482
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov edx, dword [ebp - 0x1c4]
mov byte [ebp - 4], 0xe
push dword [edx + 0x10]
sub esp, 0x18
mov ecx, esp
push edx
call fcn.100040e0
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 - 0x1cc]
mov ecx, dword [ebp - 0x1c8]
mov edx, dword [ebp - 0x1d0]
add ecx, edx
push ecx
add eax, edi
push eax
push edx
push edi
push dword [ebp - 0x1c0]
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [esi + 0x44]
imul eax, dword [ebp - 0x1c8]
mov ecx, dword [ebp - 0x1d0]
add ecx, eax
mov eax, dword [ebp - 0x1cc]
cmp dword [ebp - 0x200], ecx
mov edx, ecx
cmovg edx, dword [ebp - 0x200]
cmp dword [ebp - 0x1bc], eax
mov dword [ebp - 0x1ec], edx
cmovg eax, dword [ebp - 0x1bc]
mov dword [ebp - 0x1c0], eax
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 - 0x1dc]
jbe 0x10035cb7
mov edx, dword [ebp - 0x1bc]
add edx, dword [ebp - 0x1e4]
mov dword [ebp - 0x1bc], edx
cmp dword [edx + 0x10], 0
je 0x100355ec
cmp dword [esi + 0x48], 0
je 0x100355ec
lea eax, [ebp - 0x1cc]
push eax
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x204], esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x10035586
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 - 0x1c4], esp
mov ecx, dword [ecx + 0x20]
mov dword [eax], ecx
test ecx, ecx
je 0x100355b6
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.100040e0
mov eax, dword [esi]
mov ecx, esi
mov byte [ebp - 4], 0xa
call dword [eax + 0x58]
mov ecx, dword [esi + 0x48]
mov eax, ecx
imul eax, dword [ebp - 0x1c8]
imul ecx, dword [ebp - 0x1cc]
push eax
add ecx, edi
push ecx
jmp 0x100355ef
push 0
push edi
push 0
push edi
push dword [ebp - 0x1e0]
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [ebp - 0x1cc]
cmp dword [ebp - 0x1c0], ecx
mov eax, dword [ebp - 0x1dc]
cmovg ecx, dword [ebp - 0x1c0]
mov edx, dword [ebp - 0x1e0]
mov edi, dword [ebp - 0x1e8]
mov dword [ebp + eax*4 - 0x1a0], ecx
mov eax, dword [edx + 0xc]
sub eax, dword [edx + 4]
cmp edi, eax
cmovle edi, eax
mov eax, edi
mov dword [ebp - 0x1e8], edi
mov edi, dword [ebp - 0x1f4]
mov dword [ebp - 0x1e8], eax
mov eax, dword [esi + 0x18]
mov eax, dword [eax + 0x128]
add eax, ecx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1a4]
add edi, eax
mov dword [ebp - 0x1f4], edi
cmp ecx, 8
jb 0x100356a6
mov edx, dword [ebp - 0x1b8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10035696
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10035cb2
push ecx
push edx
call fcn.1004d17b
mov edx, dword [ebp - 0x1e0]
add esp, 8
mov eax, dword [ebp - 0x1dc]
add edx, 0x10
mov ecx, dword [esi + 0x34]
inc eax
add dword [ebp - 0x1e4], 0x24
mov dword [ebp - 0x1dc], eax
mov dword [ebp - 0x1e0], edx
mov dword [ebp - 0x1d0], ecx
cmp eax, ecx
jge 0x100356d7
mov edx, eax
jmp 0x100351e0
mov dword [ebp - 0x1d0], ecx
mov edx, dword [esi + 0x18]
sub edi, dword [edx + 0x128]
cmp dword [ebp - 0x1f0], edi
cmovg edi, dword [ebp - 0x1f0]
add edi, dword [esi + 0x38]
mov dword [ebp - 0x1e0], edi
test ecx, ecx
je 0x10035a9e
xor eax, eax
mov dword [ebp - 0x1c0], eax
test ecx, ecx
jle 0x100358cb
lea edi, [esi + 0xd30]
mov dword [ebp - 0x1dc], edi
mov dword [ebp - 0x1d0], ecx
cmp eax, 0x64
jge 0x100358cb
mov edx, dword [esi + 0x18]
xor ecx, ecx
mov dword [ebp - 0x1f4], ecx
mov dword [ebp - 0x1e4], ecx
mov edx, dword [edx + 0x100]
cmp edx, 1
jne 0x1003579e
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 - 0x1bc], eax
mov eax, dword [edi - 8]
sub eax, dword [edi]
add eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x1f4], eax
mov eax, dword [edi + 0x638]
sub eax, dword [edi + 0x640]
add eax, ecx
mov ecx, dword [ebp - 0x1bc]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x1e4], eax
jmp 0x100357f5
test edx, edx
jne 0x100357af
mov edx, dword [esi + 0x18]
cmp byte [edx + 0x104], cl
je 0x100357f5
jmp 0x100357bf
cmp edx, 2
jne 0x100357f5
mov edx, dword [esi + 0x18]
cmp byte [edx + 0x104], cl
jne 0x100357f5
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 - 0x1f4], edx
add ecx, eax
mov edx, dword [edi + 0x638]
sub edx, dword [edi + 0x640]
add edx, eax
mov dword [ebp - 0x1e4], edx
push 0
lea eax, [edi - 0x648]
push ecx
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
push 0
push dword [ebp - 0x1f4]
add edi, 0xfffffff8
push edi
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [esi + 0x18]
mov ecx, dword [ebp - 0x1dc]
add ecx, 0x638
mov eax, dword [eax + 0x12c]
add eax, dword [ebp - 0x1ec]
push eax
push dword [ebp - 0x1e4]
push ecx
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [ebp - 0x1dc]
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 - 0x1f8]
mov dword [edi - 0xc84], eax
mov eax, dword [edi + 0x63c]
add eax, dword [ebp - 0x1e8]
mov dword [edi - 0xc7c], eax
add edi, 0x10
mov eax, dword [ebp - 0x1c0]
mov ecx, dword [esi + 0x34]
inc eax
mov dword [ebp - 0x1c0], eax
mov dword [ebp - 0x1dc], edi
mov dword [ebp - 0x1d0], ecx
cmp eax, ecx
jl 0x10035720
mov edx, dword [esi + 0xac]
mov eax, dword [esi + 0x3c]
mov edi, dword [esi + 0xb4]
sub eax, edx
add eax, dword [esi + 8]
mov ecx, dword [ebp - 0x1d8]
add eax, edi
cmp ecx, eax
cmovle ecx, eax
sub edx, dword [esi + 0x3c]
mov eax, ecx
mov dword [ebp - 0x1d8], ecx
add edx, eax
mov dword [ebp - 0x1d8], eax
cmp edx, edi
jle 0x10035933
xor ecx, ecx
cmp dword [ebp - 0x1d0], ecx
jle 0x10035933
lea edx, [esi + 0xb4]
mov edi, eax
cmp ecx, 0x64
jge 0x10035933
mov eax, dword [esi + 0xac]
inc ecx
sub eax, dword [esi + 0x3c]
sub eax, dword [esi + 8]
add eax, edi
mov dword [edx], eax
add edx, 0x10
cmp ecx, dword [esi + 0x34]
jl 0x10035915
mov eax, dword [esi + 0x18]
cmp byte [eax + 0x104], 0
jne 0x10035aaa
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x50]
call eax
mov ecx, dword [esi + 0x1c]
test al, al
jne 0x1003595e
cmp dword [ecx + 0x10], 0
je 0x1003595e
mov eax, dword [esi + 0x78]
jmp 0x10035972
cmp dword [ecx + 0x34], 0
je 0x1003596c
mov eax, dword [esi + 0x88]
jmp 0x10035972
mov eax, dword [esi + 0xa8]
mov ecx, dword [esi + 0x34]
sub ecx, 1
mov dword [ebp - 0x1f8], eax
mov dword [ebp - 0x1c0], ecx
js 0x10035a2d
mov edi, ecx
shl edi, 4
mov dword [ebp - 0x1ec], edi
mov eax, dword [esi + 0x34]
lea edx, [esi + 0xa8]
dec eax
add edx, edi
cmp ecx, eax
jne 0x100359ad
mov edi, dword [ebp - 0x1f8]
jmp 0x100359bd
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 - 0x1ec]
push 0
add eax, 0x6e8
push edi
add eax, esi
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [ebp - 0x1ec]
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 - 0x1ec]
lea eax, [edi + 0x1368]
add eax, esi
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [ebp - 0x1c0]
sub edi, 0x10
dec ecx
mov dword [ebp - 0x1ec], edi
mov dword [ebp - 0x1c0], ecx
test ecx, ecx
jns 0x10035995
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 0x10035a63
mov eax, dword [esi + 0x1c]
cmp dword [eax + 0x10], 0
je 0x10035a63
mov eax, dword [esi + 0x18]
lea edx, [esi + 0x78]
mov ecx, dword [esi + 0xb0]
push 0
add ecx, dword [eax + 0x124]
sub ecx, dword [edx]
push ecx
push edx
call edi
mov eax, dword [esi + 0x1c]
cmp dword [eax + 0x34], 0
je 0x10035aaa
mov eax, dword [esi + 0x18]
lea edx, [esi + 0x88]
mov ecx, dword [esi + 0xb0]
push 0
add ecx, dword [eax + 0x124]
sub ecx, dword [edx]
push ecx
push edx
call edi
jmp 0x10035aaa
cmp dword [ebp - 0x1f0], edi
mov edx, dword [esi + 0x18]
cmovg edi, dword [ebp - 0x1f0]
add edi, dword [esi + 0x38]
sub edi, dword [edx + 0x124]
mov dword [ebp - 0x1e0], edi
mov eax, dword [ebp - 0x1d8]
mov ecx, esi
add eax, dword [esi + 0x3c]
mov dword [ebp - 0x1c0], eax
mov eax, dword [esi + 0x30]
mov eax, dword [eax]
add eax, eax
movups xmm0, xmmword [esi + eax*8 + 0xa8]
lea eax, [ebp - 0x1c0]
push eax
lea eax, [ebp - 0x1e0]
push eax
movups xmmword [esi + 0x98], xmm0
call fcn.100321b0
mov ecx, dword [esi + 8]
mov eax, dword [esi + 4]
add ecx, dword [ebp - 0x1c0]
add eax, dword [ebp - 0x1e0]
cmp byte [ebp - 0x1d1], 0
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], ecx
je 0x10035be8
cmp dword [esi + 0x34], 0
je 0x10035be8
mov edi, dword [esi + 0x18]
cmp byte [edi + 0x58], 0
jne 0x10035be8
mov edi, dword [edi + 0x134]
mov eax, dword [esi + 0x80]
add edi, ecx
add eax, dword [esi + 0x78]
sub edi, dword [esi + 0x3c]
sub edi, dword [esi + 8]
sub edi, dword [ebp - 0x1fc]
mov ecx, dword [ebp - 0x210]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x1fc], eax
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0x1fc]
sar eax, 1
sub edx, eax
mov eax, dword [ebp - 0x20c]
add eax, edi
mov dword [ebp - 0x1fc], 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 - 0x1fc]
add ecx, dword [eax + 0x12c]
mov eax, dword [ebp - 0x214]
add eax, ecx
push eax
mov eax, dword [ebp - 0x218]
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 0x10035be8
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
call dword [sym.imp.USER32.dll_InflateRect]
lea eax, [ebp + 8]
mov ecx, esi
push eax
call fcn.10031d30
mov eax, dword [esi + 0x18]
lea edi, [esi + 0x19c8]
mov eax, dword [eax + 0x118]
cdq
sub eax, edx
sar eax, 1
mov ecx, eax
sub eax, dword [esi + 4]
sub ecx, dword [esi + 8]
push ecx
push eax
push edi
call dword [sym.imp.USER32.dll_InflateRect]
mov eax, dword [esi + 0x18]
test byte [eax + 0x118], 1
jne 0x10035c6d
push 0xffffffffffffffff
push 0xffffffffffffffff
push edi
call dword [sym.imp.USER32.dll_InflateRect]
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x10035c95
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x10035c95
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x10035c95
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.1004d16d
mov esp, ebp
pop ebp
ret 0xc
call fcn.1005cdcf
call fcn.10005b80
call fcn.100036a0
int3