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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007d5b3
mov eax, dword fs:[0]
push eax
sub esp, 0x84
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 - 0x8c], esi
mov dword [ebp - 4], 0
mov edi, dword [esi + 0x18]
mov dword [ebp - 0x50], 0
test dword [edi + 0x19c], 0xff000000
mov eax, dword [edi + 0x12c]
mov dword [ebp - 0x68], eax
mov eax, dword [esi + 0x3c]
mov dword [ebp - 0x30], eax
je 0x10032684
lea eax, [ebp - 0x74]
mov dword [ebp - 0x74], 0
push eax
sub esp, 8
mov dword [ebp - 0x70], 0
cmp dword [edi + 0xf4], 0
mov ecx, esp
mov dword [ebp - 0x34], esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [ebp + 0x10]
jne 0x100325e4
test eax, eax
je 0x10032590
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 - 0x58], esp
mov ecx, dword [ecx + 0x18]
mov dword [eax], ecx
test ecx, ecx
je 0x100325b7
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 0x10032630
test eax, eax
je 0x100325ec
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 - 0x58], esp
mov ecx, dword [ecx + 0x18]
mov dword [eax], ecx
test ecx, ecx
je 0x10032613
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 ecx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x70]
mov dword [esi + 0xc], ecx
mov dword [esi + 0x14], eax
cmp dword [edi + 0xf4], 0
jne 0x10032668
mov eax, ecx
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
mov dword [esi + 0xc], ecx
cmp dword [edi + 0xf4], 0
je 0x1003266e
add ecx, dword [edi + 0x12c]
mov dword [esi + 0x10], ecx
test dword [edi + 0x19c], 0xff000000
je 0x10032684
mov edx, ecx
mov dword [ebp - 0x78], edx
jmp 0x1003268b
mov dword [ebp - 0x78], 0
lea eax, [ebp - 0x80]
mov dword [ebp - 0x80], 0
push eax
sub esp, 8
mov dword [ebp - 0x7c], 0
mov ecx, esp
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x34], esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x100326d1
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 - 0x58], esp
mov ecx, dword [ecx + 0x14]
mov dword [eax], ecx
test ecx, ecx
je 0x100326f8
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 - 0x88]
push eax
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x34], esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x10032745
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 - 0x58], esp
mov ecx, dword [ecx + 0x14]
mov dword [eax], ecx
test ecx, ecx
je 0x1003276c
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 0x100327db
test dword [eax + 0x1a4], 0xff000000
je 0x100327db
mov ecx, dword [eax + 0x130]
mov eax, dword [eax + 0x12c]
mov edi, dword [ebp - 0x84]
mov byte [ebp - 0x45], 1
lea eax, [eax + ecx*2]
add eax, dword [ebp - 0x88]
add eax, dword [ebp - 0x80]
cmp dword [ebp - 0x7c], edi
mov dword [ebp - 0x58], eax
cmovg edi, dword [ebp - 0x7c]
jmp 0x100327e8
mov byte [ebp - 0x45], 0
xor edi, edi
mov dword [ebp - 0x58], 0
mov eax, dword [esi]
mov ecx, esi
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov eax, dword [eax + 0x50]
call eax
test al, al
jne 0x10032913
mov eax, dword [esi + 0x1c]
cmp dword [eax + 0x10], 0
je 0x10032913
sub esp, 8
mov ecx, esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x10032831
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 0x10032851
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
push dword [esi + 0x1c]
lea eax, [ebp - 0x74]
mov ecx, esi
push dword [ebp + 8]
push eax
call fcn.10031480
mov ecx, dword [eax]
mov eax, dword [eax + 4]
cmp eax, edi
mov dword [ebp - 0x44], ecx
cmovg edi, eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edi
cmp dword [0x100a0654], edi
jl 0x1003289a
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x54]
call eax
test al, al
je 0x1003289a
mov eax, dword [0x100a0654]
sub eax, edi
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
jmp 0x1003289c
xor ecx, ecx
mov edi, dword [ebp - 0x40]
mov eax, dword [ebp - 0x30]
add edi, ecx
add edi, dword [ebp - 0x30]
mov edx, dword [esi + 0x38]
mov dword [ebp - 0x38], ecx
mov ecx, dword [esi + 0x38]
add ecx, dword [ebp - 0x44]
add eax, dword [ebp - 0x38]
push edi
push ecx
push eax
push edx
lea eax, [esi + 0x78]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [esi + 0x18]
xor edi, edi
mov ecx, dword [ebp - 0x38]
mov eax, dword [eax + 0x124]
lea eax, [eax + ecx*2]
mov ecx, dword [esi + 0x38]
add eax, dword [ebp - 0x3c]
add dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x44]
lea eax, [eax + ecx*2]
mov ecx, esi
add eax, dword [ebp - 0x58]
cmovns edi, eax
mov eax, dword [esi]
mov dword [ebp - 0x50], edi
mov eax, dword [eax + 0x54]
call eax
test al, al
je 0x10032903
add edi, dword [0x100a0654]
mov dword [ebp - 0x50], edi
push dword [esi + 8]
lea eax, [esi + 0x78]
push dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [esi + 0x1c]
cmp dword [eax + 0x34], 0
je 0x10032a03
sub esp, 8
mov ecx, esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x1003293d
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 0x1003295d
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 - 0x74]
push eax
call fcn.10031480
mov edi, dword [eax + 4]
mov ecx, dword [eax]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], edi
cmp dword [0x100a0654], edi
jl 0x100329a3
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x54]
call eax
mov edi, dword [ebp - 0x40]
test al, al
je 0x100329a3
mov eax, dword [0x100a0654]
sub eax, edi
cdq
sub eax, edx
sar eax, 1
jmp 0x100329a5
xor eax, eax
mov ecx, dword [esi + 0x38]
add edi, eax
add edi, dword [ebp - 0x30]
add ecx, dword [ebp - 0x44]
mov edx, dword [esi + 0x38]
push edi
mov dword [ebp - 0x38], eax
lea edi, [esi + 0x88]
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x38]
push ecx
push eax
push edx
push edi
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [esi + 0x18]
mov ecx, dword [ebp - 0x38]
push dword [esi + 8]
mov eax, dword [eax + 0x124]
push dword [esi + 4]
push edi
lea eax, [eax + ecx*2]
mov ecx, dword [esi + 0x38]
add eax, dword [ebp - 0x40]
add dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x44]
lea eax, [eax + ecx*2]
mov ecx, dword [ebp - 0x50]
cmp ecx, eax
cmovle ecx, eax
mov dword [ebp - 0x50], ecx
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [esi + 0x34]
xor edi, edi
xor edx, edx
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x6c], edx
test ecx, ecx
jle 0x10032f0a
xor eax, eax
lea edi, [esi + 0xd28]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x54], edi
cmp eax, 0xe10
jge 0x10032f07
test edx, edx
jle 0x10032a4e
mov eax, dword [esi + 0x18]
mov ecx, dword [ebp - 0x30]
add ecx, dword [eax + 0x128]
mov dword [ebp - 0x30], ecx
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x38]
add ecx, 0xcc
add eax, dword [ebp - 0x78]
mov dword [ebp - 0x4c], eax
cmp dword [ecx + 0x14], 8
jb 0x10032a68
mov ecx, dword [ecx]
mov eax, dword [esi]
push ecx
push edx
push dword [esi + 0x2c]
lea ecx, [ebp - 0x28]
push ecx
mov ecx, esi
call dword [eax + 0x4c]
lea eax, [ebp - 0x44]
push eax
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x34], esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x10032a9c
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 - 0x2c], esp
mov ecx, dword [ecx + 0x1c]
mov dword [eax], ecx
test ecx, ecx
je 0x10032ac3
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.100040e0
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 - 0x44]
mov ecx, dword [ebp - 0x40]
add ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x4c]
push ecx
add eax, edx
push eax
push dword [ebp - 0x30]
lea eax, [edi - 0x640]
push edx
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov esi, dword [ebp - 0x8c]
lea eax, [edi - 0x640]
push dword [esi + 8]
push dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [ebp - 0x44]
xor edx, edx
add eax, dword [ebp - 0x68]
imul eax, dword [esi + 0x40]
mov ecx, dword [ebp - 0x40]
add dword [ebp - 0x4c], eax
test ecx, ecx
cmovs ecx, edx
add eax, dword [ebp - 0x78]
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 0x24]
mov dword [ebp - 0x5c], ecx
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov eax, 0x38e38e39
sub ecx, edx
mov dword [ebp - 0x2c], edx
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, dword [ebp - 0x6c]
jbe 0x10033266
mov edx, dword [ebp - 0x60]
lea eax, [ebp - 0x44]
add edx, dword [ebp - 0x2c]
push eax
sub esp, 8
mov dword [ebp - 0x2c], edx
mov ecx, esp
mov dword [ebp - 0x90], esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x10032b98
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 - 0x70], esp
mov ecx, dword [ecx + 0x18]
mov dword [eax], ecx
test ecx, ecx
je 0x10032bc2
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov edx, dword [ebp - 0x2c]
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 - 0x44]
mov ecx, dword [ebp - 0x40]
add ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x4c]
push ecx
add eax, edx
push eax
push dword [ebp - 0x30]
push edx
push edi
call dword [sym.imp.USER32.dll_SetRect]
push dword [esi + 8]
push dword [esi + 4]
push edi
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [esi + 0x44]
imul eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x40]
add dword [ebp - 0x4c], eax
cmp dword [ebp - 0x5c], ecx
cmovg ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x5c], ecx
mov ecx, dword [ebp - 0x34]
add ecx, eax
mov eax, dword [esi + 0x28]
cmp dword [ebp - 0x38], ecx
cmovg ecx, dword [ebp - 0x38]
mov edx, dword [eax]
mov dword [ebp - 0x38], ecx
mov ecx, dword [eax + 4]
mov eax, 0x38e38e39
sub ecx, edx
mov dword [ebp - 0x34], edx
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, dword [ebp - 0x6c]
jbe 0x10033266
mov edx, dword [ebp - 0x60]
add edx, dword [ebp - 0x34]
mov dword [ebp - 0x34], edx
cmp dword [edx + 0x10], 0
je 0x10032d4e
cmp dword [esi + 0x48], 0
je 0x10032d4e
mov ecx, dword [ebp - 0x4c]
add ecx, dword [ebp - 0x68]
cmp dword [ebp - 0x64], ecx
mov eax, ecx
mov dword [ebp - 0x4c], ecx
cmovg eax, dword [ebp - 0x64]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x44]
push eax
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x70], esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x10032cae
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 - 0x90], esp
mov ecx, dword [ecx + 0x20]
mov dword [eax], ecx
test ecx, ecx
je 0x10032cdb
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov edx, dword [ebp - 0x34]
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 eax, dword [esi + 0x48]
add edi, 0x640
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x30]
add ecx, edx
imul eax, dword [ebp - 0x44]
push ecx
push eax
push edx
push 0
push edi
call dword [sym.imp.USER32.dll_SetRect]
push dword [esi + 8]
push dword [esi + 4]
push edi
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [esi + 0x48]
imul ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x40]
mov edi, dword [ebp - 0x54]
add dword [ebp - 0x4c], ecx
cmp dword [ebp - 0x5c], eax
cmovg eax, dword [ebp - 0x5c]
cmp dword [ebp - 0x3c], ecx
mov edx, eax
mov dword [ebp - 0x5c], edx
cmovg ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x3c], ecx
jmp 0x10032d51
mov edx, dword [ebp - 0x5c]
mov eax, dword [esi + 0x18]
xor ecx, ecx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x2c], ecx
mov eax, dword [eax + 0x100]
cmp eax, 1
jne 0x10032da3
mov eax, dword [edi - 0x63c]
sub eax, dword [edi - 0x634]
add eax, edx
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [edi + 4]
sub eax, dword [edi + 0xc]
add eax, dword [ebp - 0x5c]
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
mov dword [ebp - 0x54], eax
mov eax, dword [edi + 0x644]
sub eax, dword [edi + 0x64c]
add eax, dword [ebp - 0x5c]
cdq
sub eax, edx
sar eax, 1
jmp 0x10032dce
test eax, eax
jne 0x10032dd1
mov eax, dword [edi + 4]
sub eax, dword [edi + 0xc]
mov ecx, dword [edi - 0x63c]
add eax, edx
sub ecx, dword [edi - 0x634]
mov dword [ebp - 0x54], eax
add ecx, edx
mov eax, dword [edi + 0x644]
sub eax, dword [edi + 0x64c]
add eax, edx
mov dword [ebp - 0x2c], eax
push ecx
push 0
lea eax, [edi - 0x640]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
push dword [ebp - 0x54]
push 0
push edi
call dword [sym.imp.USER32.dll_OffsetRect]
push dword [ebp - 0x2c]
lea eax, [edi + 0x640]
push 0
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [edi - 0x634]
sub eax, dword [edi - 0x63c]
mov ecx, dword [edi + 4]
mov edx, dword [edi + 0xc]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x54], edx
test eax, eax
jle 0x10032e3d
mov eax, dword [edi - 0x63c]
cmp eax, ecx
cmovge eax, ecx
mov ecx, eax
mov dword [ebp - 0x2c], eax
mov eax, dword [edi - 0x634]
cmp eax, edx
jle 0x10032e3a
mov dword [ebp - 0x54], eax
jmp 0x10032e3d
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x34], ecx
mov ecx, dword [edi + 0x64c]
mov eax, ecx
sub eax, dword [edi + 0x644]
test eax, eax
jle 0x10032e6d
mov eax, dword [edi + 0x644]
cmp dword [ebp - 0x34], eax
cmovl eax, dword [ebp - 0x34]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x54], ecx
jg 0x10032e6d
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0x38]
mov edx, dword [esi + 4]
push dword [ebp - 0x54]
sub edx, eax
add eax, dword [esi + 4]
add edx, dword [ebp - 0x50]
push edx
push dword [ebp - 0x2c]
push eax
lea eax, [edi - 0xc80]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x50], eax
cmovg eax, dword [ebp - 0x50]
mov ecx, eax
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x5c]
mov dword [ebp - 0x50], ecx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x30], eax
cmp ecx, 8
jb 0x10032ee6
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10032edc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10033261
push ecx
push edx
call fcn.1004d17b
add esp, 8
mov edx, dword [ebp - 0x6c]
add edi, 0x10
mov eax, dword [ebp - 0x60]
inc edx
mov ecx, dword [esi + 0x34]
add eax, 0x24
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x54], edi
cmp edx, ecx
jl 0x10032a30
mov edi, dword [ebp - 0x38]
mov eax, dword [ebp - 0x64]
add eax, dword [ebp - 0x3c]
cmp edi, eax
cmovle edi, eax
mov eax, dword [esi + 0x38]
lea eax, [edi + eax*2]
mov edi, dword [ebp - 0x50]
cmp edi, eax
cmovle edi, eax
xor edx, edx
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x3c], edx
test ecx, ecx
jle 0x1003300f
lea eax, [esi + 0x6ec]
mov dword [ebp - 0x38], eax
nop
cmp edx, 0x64
jge 0x1003300a
mov edi, dword [eax + 0x640]
lea ecx, [eax + 0xc7c]
mov eax, dword [eax + 0x648]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0x38]
add eax, dword [ebp - 0x64]
push 0
push eax
push ecx
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [ebp - 0x38]
mov eax, dword [ecx + 8]
mov edx, dword [ecx]
sub eax, edx
test eax, eax
jle 0x10032f9a
mov eax, dword [ecx + 8]
cmp edx, edi
cmovge edx, edi
mov edi, edx
mov edx, dword [ecx + 0x648]
mov dword [ebp - 0x2c], edx
cmp eax, edx
jle 0x10032f9d
mov edx, eax
mov dword [ebp - 0x2c], edx
jmp 0x10032f9d
mov edx, dword [ebp - 0x2c]
mov eax, dword [ecx + 0xc88]
sub eax, dword [ecx + 0xc80]
mov dword [ebp - 0x68], edi
test eax, eax
jle 0x10032fc9
mov eax, dword [ecx + 0xc80]
mov edi, eax
cmp dword [ebp - 0x68], eax
mov eax, dword [ecx + 0xc88]
cmovl edi, dword [ebp - 0x68]
cmp edx, eax
jle 0x10032fcc
mov eax, dword [ebp - 0x2c]
mov edx, dword [esi + 4]
mov ecx, dword [esi + 0x38]
push eax
mov eax, edx
sub eax, ecx
add eax, dword [ebp - 0x50]
push eax
push edi
lea eax, [edx + ecx]
push eax
mov eax, dword [ebp - 0x38]
add eax, 0xfffff9bc
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x38]
inc edx
mov ecx, dword [esi + 0x34]
add eax, 0x10
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], eax
cmp edx, ecx
jl 0x10032f40
mov edi, dword [ebp - 0x50]
test ecx, ecx
jne 0x10033020
mov edx, dword [esi + 0x18]
mov eax, dword [ebp - 0x30]
sub eax, dword [edx + 0x124]
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 0x1c]
mov edx, dword [ebp - 0x30]
add edx, dword [esi + 0x3c]
mov dword [ebp - 0x3c], edx
cmp dword [eax + 0x10], 0
je 0x10033055
test ecx, ecx
je 0x10033055
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx + 0x108]
cmp edi, eax
cmovle edi, eax
mov eax, dword [ecx + 0x110]
cmp edx, eax
mov dword [ebp - 0x60], edi
cmovle edx, eax
mov dword [ebp - 0x3c], edx
lea eax, [ebp - 0x3c]
mov ecx, esi
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.100321b0
xor edi, edi
cmp dword [esi + 0x34], edi
jle 0x10033095
lea edx, [esi + 0xb0]
cmp edi, 0x64
jge 0x10033095
mov eax, dword [esi + 0x38]
mov ecx, dword [edx - 8]
add eax, eax
sub ecx, eax
mov eax, dword [edx]
add ecx, dword [ebp - 0x60]
cmp eax, ecx
cmovle eax, ecx
inc edi
mov dword [edx], eax
add edx, 0x10
cmp edi, dword [esi + 0x34]
jl 0x10033071
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x60]
lea ecx, [eax + ecx*2]
mov eax, dword [esi + 4]
mov dword [esi + 0x74], ecx
lea edx, [edx + eax*2]
mov eax, dword [esi + 0x30]
mov dword [esi + 0x70], edx
mov eax, dword [eax]
add eax, eax
cmp byte [ebp - 0x45], 0
movups xmm0, xmmword [esi + eax*8 + 0xa8]
movups xmmword [esi + 0x98], xmm0
je 0x10033197
cmp dword [esi + 0x34], 0
je 0x10033197
mov edi, dword [esi + 0x18]
cmp byte [edi + 0x58], 0
jne 0x10033197
mov edi, dword [edi + 0x130]
sub edi, dword [esi + 0x38]
sub edi, dword [esi + 4]
sub edi, dword [ebp - 0x58]
mov eax, dword [esi + 0x84]
add edi, edx
add eax, dword [esi + 0x7c]
mov ecx, dword [ebp - 0x7c]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x58], eax
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0x58]
sar eax, 1
sub edx, eax
mov dword [ebp - 0x58], edx
lea eax, [edx + ecx]
push eax
mov eax, dword [ebp - 0x80]
add eax, edi
push eax
push edx
push edi
lea edi, [esi + 0x1bd4]
push edi
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1bdc]
mov edx, dword [ebp - 0x58]
add ecx, dword [eax + 0x12c]
mov eax, dword [ebp - 0x84]
add eax, edx
push eax
mov eax, dword [ebp - 0x88]
add eax, ecx
push eax
push edx
push ecx
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 0x10033197
mov eax, dword [0x100a0654]
push 0
neg eax
push eax
push edi
mov edi, dword [sym.imp.USER32.dll_OffsetRect]
call edi
mov eax, dword [0x100a0654]
push 0
neg eax
push eax
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 0x1003321c
push 0xffffffffffffffff
push 0xffffffffffffffff
push edi
call dword [sym.imp.USER32.dll_InflateRect]
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x10033244
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x10033244
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x10033244
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
int3