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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008b778
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x100ab040]
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 - 0xfc], esi
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0xc8], edx
mov dword [ebp - 4], 0
mov eax, dword [esi + 0x38]
add eax, dword [esi + 4]
mov edi, dword [esi + 0x3c]
add edi, dword [esi + 8]
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xa8], eax
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xd4], edi
cmp dword [eax + 0x188], 0
je 0x10041195
test dword [eax + 0x22c], 0xff000000
je 0x10041195
push 0
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0xe4], 0
push ecx
push edx
push dword [edx + 0x18]
add eax, 0x178
mov dword [ebp - 0xe0], 0
sub esp, 0x18
mov ecx, esp
push eax
call fcn.10007d40
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x48]
mov ecx, dword [ebp - 0xe4]
mov eax, dword [ebp - 0xe0]
mov edx, dword [ebp - 0xc8]
mov dword [esi + 0x14], eax
lea eax, [ecx + 4]
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x18]
test dword [eax + 0x22c], 0xff000000
je 0x100411b8
cmp dword [eax + 0x188], 0
je 0x100411b8
mov eax, dword [esi + 0x10]
mov dword [ebp - 0xb8], eax
jmp 0x100411c2
mov dword [ebp - 0xb8], 0
push 0
lea eax, [ebp - 0xec]
mov dword [ebp - 0xec], 0
push eax
push edx
push dword [edx + 0x14]
lea eax, [esi + 0x43c]
mov dword [ebp - 0xe8], 0
sub esp, 0x18
mov dword [ebp - 0xf4], 0
mov ecx, esp
mov dword [ebp - 0xf0], 0
push eax
call fcn.10007d40
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x48]
push 0
lea eax, [ebp - 0xf4]
push eax
mov eax, dword [ebp - 0xc8]
push eax
push dword [eax + 0x14]
lea eax, [esi + 0x454]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.10007d40
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x48]
mov eax, dword [esi + 0x18]
mov ecx, dword [eax + 0x1bc]
mov eax, dword [eax + 0x1b8]
lea eax, [eax + ecx*2]
mov ecx, dword [ebp - 0xf0]
add eax, dword [ebp - 0xf4]
add eax, dword [ebp - 0xec]
cmp dword [ebp - 0xe8], ecx
mov dword [ebp - 0xf8], eax
mov eax, dword [esi]
cmovg ecx, dword [ebp - 0xe8]
mov dword [ebp - 0xa4], ecx
mov ecx, esi
mov eax, dword [eax + 0x40]
call eax
test al, al
jne 0x1004139a
mov ecx, dword [esi + 0x1c]
cmp dword [ecx + 0x10], 0
je 0x1004139a
mov eax, dword [ebp - 0xc8]
push eax
push dword [eax + 0x14]
lea eax, [ebp - 0xdc]
push ecx
push dword [ebp + 8]
mov ecx, esi
push eax
call fcn.1003a8e0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0xc0], ecx
mov ecx, dword [ebp - 0xa4]
cmp eax, ecx
mov dword [ebp - 0xbc], eax
cmovg ecx, eax
mov dword [ebp - 0xa4], ecx
cmp dword [0x100b103c], ecx
jl 0x100412fc
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x44]
call eax
test al, al
je 0x100412fc
mov eax, dword [0x100b103c]
sub eax, dword [ebp - 0xa4]
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
jmp 0x100412fe
xor ecx, ecx
mov edx, dword [ebp - 0xbc]
add edx, ecx
mov dword [ebp - 0xb0], ecx
mov ecx, dword [ebp - 0xa8]
add edx, edi
add ecx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0xb0]
push edx
push ecx
add eax, edi
push eax
push dword [ebp - 0xa8]
lea eax, [esi + 0x6c]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [esi + 0x18]
dec edi
mov ecx, dword [ebp - 0xb0]
mov eax, dword [eax + 0x1ac]
lea eax, [eax + ecx*2]
mov ecx, dword [esi + 0x38]
add eax, dword [ebp - 0xa4]
add edi, eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xd4], edi
lea eax, [eax + ecx*2]
mov ecx, dword [ebp - 0xc4]
add eax, dword [ebp - 0xf8]
cmp ecx, eax
cmovle ecx, eax
mov eax, dword [esi]
mov dword [ebp - 0xc4], ecx
mov ecx, esi
mov eax, dword [eax + 0x44]
call eax
mov ecx, dword [ebp - 0xc4]
test al, al
je 0x100413a0
add ecx, dword [0x100b103c]
mov dword [ebp - 0xc4], ecx
jmp 0x100413a0
mov ecx, dword [ebp - 0xc4]
mov eax, dword [esi + 0x1c]
cmp dword [eax + 0x34], 0
je 0x1004147a
mov ecx, dword [ebp - 0xc8]
add eax, 0x24
push ecx
push dword [ecx + 0x14]
mov ecx, esi
push eax
push dword [ebp + 8]
lea eax, [ebp - 0xdc]
push eax
call fcn.1003a8e0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0xc0], ecx
mov ecx, eax
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xbc], ecx
cmp dword [0x100b103c], ecx
jl 0x1004140e
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x44]
call eax
mov ecx, dword [ebp - 0xbc]
test al, al
je 0x1004140e
mov eax, dword [0x100b103c]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
jmp 0x10041410
xor eax, eax
lea edx, [eax + ecx]
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xa8]
add edx, edi
add ecx, dword [ebp - 0xc0]
add eax, edi
push edx
push ecx
push eax
push dword [ebp - 0xa8]
lea eax, [esi + 0x7c]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [esi + 0x18]
mov ecx, dword [ebp - 0xa4]
mov eax, dword [eax + 0x1ac]
lea eax, [eax + ecx*2]
mov ecx, dword [esi + 0x38]
dec eax
add eax, dword [ebp - 0xbc]
add edi, eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xd4], edi
lea eax, [eax + ecx*2]
mov ecx, dword [ebp - 0xc4]
cmp ecx, eax
cmovle ecx, eax
mov dword [ebp - 0xc4], ecx
mov eax, dword [esi + 0x34]
xorps xmm0, xmm0
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xb0], 0
movq qword [ebp - 0x18], xmm0
movq qword [ebp - 0x40], xmm0
movq qword [ebp - 0x68], xmm0
movups xmmword [ebp - 0x38], xmm0
movups xmmword [ebp - 0x28], xmm0
movups xmmword [ebp - 0x60], xmm0
movups xmmword [ebp - 0x50], xmm0
movups xmmword [ebp - 0x88], xmm0
movups xmmword [ebp - 0x78], xmm0
test eax, eax
je 0x10041b9a
mov edi, dword [esi + 0x38]
xor ecx, ecx
add edi, dword [esi + 4]
mov edx, eax
mov dword [ebp - 0xb4], ecx
test eax, eax
jle 0x100419c0
mov dword [ebp - 0xcc], eax
lea eax, [esi + 0x13c]
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0xac], eax
nop word [eax + eax]
cmp dword [ebp - 0xa4], 0x168
mov eax, dword [ebp - 0xcc]
jge 0x100419c0
test ecx, ecx
jle 0x10041523
mov eax, dword [esi + 0x18]
add edi, dword [eax + 0x1b4]
mov eax, dword [esi + 0x30]
cmp dword [eax], ecx
jne 0x10041530
add edi, dword [ebp - 0xb8]
mov ecx, dword [esi + 0x18]
add ecx, 0x160
cmp dword [ecx + 0x14], 7
jbe 0x10041541
mov ecx, dword [ecx]
mov eax, dword [esi]
push ecx
push dword [ebp - 0xb4]
lea ecx, [ebp - 0xa0]
push dword [esi + 0x2c]
push ecx
mov ecx, esi
call dword [eax + 0x3c]
push 0
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 1
push eax
mov eax, dword [ebp - 0xc8]
push eax
push dword [eax + 0x1c]
lea eax, [ebp - 0xa0]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.10007d40
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x48]
mov eax, dword [esi + 0x44]
imul eax, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0xbc]
mov edx, dword [ebp - 0xd4]
add ecx, edx
push ecx
add eax, edi
push eax
push edx
push edi
push dword [ebp - 0xac]
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [esi + 0x44]
imul ecx, dword [ebp - 0xc0]
mov eax, dword [esi + 0x18]
mov eax, dword [eax + 0x1b8]
add eax, ecx
mov dword [ebp - 0xa8], ecx
add edi, eax
mov eax, dword [esi + 0x24]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov eax, 0x38e38e39
sub ecx, edx
mov dword [ebp - 0xcc], edx
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, dword [ebp - 0xb4]
jbe 0x10041e14
mov eax, dword [ebp - 0xa4]
lea ecx, [ebp - 0xc0]
add eax, dword [ebp - 0xcc]
push 0
push ecx
mov ecx, dword [ebp - 0xc8]
push ecx
push dword [ecx + 0x18]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.10007d40
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x48]
mov eax, dword [esi + 0x40]
imul eax, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0xbc]
mov edx, dword [ebp - 0xd4]
add ecx, edx
push ecx
add eax, edi
push eax
mov eax, dword [ebp - 0xac]
push edx
push edi
add eax, 0xa0
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [esi + 0x40]
imul eax, dword [ebp - 0xc0]
add edi, eax
mov eax, dword [esi + 0x18]
mov eax, dword [eax + 0x1b8]
add eax, dword [ebp - 0xc0]
imul eax, dword [esi + 0x40]
add dword [ebp - 0xa8], eax
mov eax, dword [esi + 0x28]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov eax, 0x38e38e39
sub ecx, edx
mov dword [ebp - 0xcc], edx
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, dword [ebp - 0xb4]
jbe 0x10041e14
mov eax, dword [ebp - 0xa4]
add eax, dword [ebp - 0xcc]
cmp dword [eax + 0x10], 0
je 0x10041754
cmp dword [esi + 0x48], 0
je 0x10041754
push 0
lea ecx, [ebp - 0xc0]
push ecx
mov ecx, dword [ebp - 0xc8]
push ecx
push dword [ecx + 0x20]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.10007d40
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x48]
mov eax, dword [esi + 0x18]
mov ecx, dword [ebp - 0xbc]
mov edx, dword [ebp - 0xd4]
add ecx, edx
push ecx
add edi, dword [eax + 0x1b8]
mov eax, dword [esi + 0x48]
imul eax, dword [ebp - 0xc0]
add eax, edi
push eax
mov eax, dword [ebp - 0xac]
push edx
push edi
add eax, 0x140
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [esi + 0x48]
imul eax, dword [ebp - 0xc0]
add edi, eax
mov eax, dword [esi + 0x18]
mov eax, dword [eax + 0x1b8]
add eax, dword [ebp - 0xc0]
imul eax, dword [esi + 0x48]
add dword [ebp - 0xa8], eax
jmp 0x10041778
mov eax, dword [ebp - 0xbc]
mov ecx, dword [ebp - 0xd4]
add eax, ecx
push eax
mov eax, dword [ebp - 0xac]
push edi
push ecx
push edi
add eax, 0x140
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [esi + 0x30]
mov edx, dword [ebp - 0xac]
mov eax, dword [eax]
mov ecx, dword [edx]
mov dword [ebp - 0xcc], eax
mov eax, ecx
sub eax, dword [ebp - 0xb8]
mov edx, dword [ebp - 0xcc]
cmp dword [ebp - 0xb4], edx
mov edx, dword [ebp - 0xac]
cmove ecx, eax
mov eax, dword [esi + 0x18]
mov eax, dword [eax + 0x194]
mov dword [ebp - 0xe0], eax
test eax, eax
jle 0x100418c5
mov eax, dword [esi + 0x38]
add eax, dword [esi + 4]
cmp ecx, eax
jle 0x100418c5
mov eax, dword [esi + 0x38]
sub eax, dword [esi + 4]
add eax, dword [edx + 0x148]
cmp eax, dword [ebp - 0xe0]
jle 0x100418c5
mov eax, dword [edx + 0x138]
mov ecx, dword [ebp - 0xb0]
cmp ecx, eax
cmovle ecx, eax
mov eax, dword [ebp - 0xcc]
xor edi, edi
mov dword [ebp - 0xd8], ecx
cmp dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xd0]
cmove edi, dword [ebp - 0xb8]
mov ecx, dword [esi + 0x18]
add edi, dword [esi + 4]
add edi, dword [esi + 0x38]
mov eax, dword [ebp + eax*4 - 0x38]
add eax, dword [ecx + 0x1b4]
push eax
mov dword [ebp - 0xe0], edi
sub edi, dword [edx]
push edi
push edx
mov dword [ebp - 0xb0], eax
call dword [sym.imp.USER32.dll_OffsetRect]
push dword [ebp - 0xb0]
mov eax, dword [ebp - 0xac]
push edi
add eax, 0xa0
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
push dword [ebp - 0xb0]
mov eax, dword [ebp - 0xac]
push edi
add eax, 0x140
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov edi, dword [ebp - 0xd0]
mov eax, dword [ebp - 0xd4]
mov edx, dword [ebp - 0xac]
inc dword [ebp - 0xd0]
mov dword [ebp + edi*4 - 0x88], eax
add eax, dword [ebp - 0xb0]
mov edi, dword [ebp - 0xe0]
mov ecx, dword [edx + 0x148]
add edi, dword [ebp - 0xa8]
cmp dword [ebp - 0xd8], ecx
mov dword [ebp - 0xd4], eax
cmovg ecx, dword [ebp - 0xd8]
mov dword [ebp - 0xb0], ecx
jmp 0x100418da
cmp dword [ebp - 0xb0], edi
mov eax, edi
cmovg eax, dword [ebp - 0xb0]
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 0xd0]
mov eax, dword [ebp - 0xd4]
mov dword [ebp + ecx*4 - 0x88], eax
mov eax, dword [edx + 0xc]
sub eax, dword [edx + 4]
mov ecx, dword [ebp + ecx*4 - 0x38]
cmp ecx, eax
mov edx, dword [edx + 0xac]
cmovle ecx, eax
mov eax, dword [ebp - 0xac]
sub edx, dword [eax + 0xa4]
cmp ecx, edx
cmovg edx, ecx
mov ecx, eax
mov eax, dword [ecx + 0x14c]
sub eax, dword [ecx + 0x144]
cmp edx, eax
mov byte [ebp - 4], 0
cmovle edx, eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp + eax*4 - 0x38], edx
mov eax, dword [ebp - 0xb4]
mov edx, dword [ebp - 0xd0]
mov dword [ebp + eax*4 - 0x60], edx
mov edx, dword [ebp - 0x8c]
cmp edx, 7
jbe 0x10041990
lea ecx, [edx*2 + 2]
mov edx, dword [ebp - 0xa0]
mov eax, edx
cmp ecx, 0x1000
jb 0x1004197a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10041e0f
push ecx
push edx
call fcn.1005a5aa
mov ecx, dword [ebp - 0xac]
add esp, 8
mov eax, dword [ebp - 0xb4]
add dword [ebp - 0xa4], 0x24
inc eax
add ecx, 0x10
mov dword [ebp - 0xb4], eax
mov eax, dword [esi + 0x34]
mov edx, eax
mov dword [ebp - 0xac], ecx
mov ecx, dword [ebp - 0xb4]
mov dword [ebp - 0xcc], eax
cmp ecx, eax
jl 0x10041500
xor ecx, ecx
mov dword [ebp - 0xa8], ecx
test eax, eax
jle 0x10041b59
lea edi, [esi + 0x148]
cmp ecx, 0xa
jge 0x10041b59
mov eax, dword [esi + 0x30]
mov edx, dword [edi - 0xc]
mov ecx, edx
sub ecx, dword [ebp - 0xb8]
mov esi, dword [ebp - 0xa8]
cmp esi, dword [eax]
mov eax, esi
cmove edx, ecx
mov eax, dword [ebp + eax*4 - 0x60]
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp + eax*4 - 0x88]
mov eax, dword [ebp + eax*4 - 0x38]
add eax, ecx
push eax
push dword [edi + 0x13c]
lea eax, [edi - 0xac]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov esi, dword [ebp - 0xfc]
xor ecx, ecx
mov dword [ebp - 0xc8], ecx
mov dword [ebp - 0xb4], ecx
mov eax, dword [esi + 0x18]
mov eax, dword [eax]
cmp eax, 1
jne 0x10041a99
mov ecx, dword [ebp - 0xa4]
mov eax, dword [edi - 8]
sub eax, dword [edi]
add eax, dword [ebp + ecx*4 - 0x38]
cdq
sub eax, edx
mov edx, dword [ebp - 0xa4]
mov ecx, eax
mov eax, dword [edi + 0x98]
sub eax, dword [edi + 0xa0]
sar ecx, 1
add eax, dword [ebp + edx*4 - 0x38]
cdq
sub eax, edx
mov edx, dword [ebp - 0xa4]
sar eax, 1
mov dword [ebp - 0xc8], eax
mov eax, dword [edi + 0x138]
sub eax, dword [edi + 0x140]
add eax, dword [ebp + edx*4 - 0x38]
cdq
sub eax, edx
sar eax, 1
jmp 0x10041ad0
test eax, eax
jne 0x10041ad6
mov eax, dword [ebp - 0xa4]
mov ecx, dword [edi - 8]
sub ecx, dword [edi]
mov edx, dword [ebp + eax*4 - 0x38]
add ecx, edx
mov eax, dword [edi + 0x98]
sub eax, dword [edi + 0xa0]
add eax, edx
mov dword [ebp - 0xc8], eax
mov eax, dword [edi + 0x138]
sub eax, dword [edi + 0x140]
add eax, edx
mov dword [ebp - 0xb4], eax
push ecx
push 0
lea eax, [edi - 0xc]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
push dword [ebp - 0xc8]
lea eax, [edi + 0x94]
push 0
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
push dword [ebp - 0xb4]
lea eax, [edi + 0x134]
push 0
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [esi + 0x34]
mov ecx, dword [ebp - 0xa8]
dec eax
cmp ecx, eax
jge 0x10041b27
mov edx, dword [ebp + ecx*4 - 0x60]
cmp edx, dword [ebp + ecx*4 - 0x5c]
jl 0x10041b29
cmp ecx, eax
jne 0x10041b44
mov edx, dword [ebp - 0xb0]
mov eax, edx
cmp dword [ebp - 0xc4], edx
cmovg eax, dword [ebp - 0xc4]
mov dword [edi - 0xa4], eax
mov edx, dword [esi + 0x34]
inc ecx
add edi, 0x10
mov dword [ebp - 0xa8], ecx
cmp ecx, edx
jl 0x100419d6
mov eax, dword [ebp - 0xb0]
cmp dword [ebp - 0xc4], eax
cmovg eax, dword [ebp - 0xc4]
mov ecx, eax
mov eax, dword [esi + 0x30]
mov eax, dword [eax]
add eax, eax
movups xmm0, xmmword [esi + eax*8 + 0x9c]
mov eax, dword [ebp - 0xd0]
movups xmmword [esi + 0x8c], xmm0
mov edi, dword [ebp + eax*4 - 0x88]
sub edi, dword [esi + 8]
add edi, dword [ebp + eax*4 - 0x38]
jmp 0x10041ba8
mov edx, dword [esi + 0x18]
sub edi, dword [edx + 0x1ac]
mov edx, eax
sub edi, dword [esi + 8]
mov eax, dword [esi + 0x1c]
add ecx, dword [esi + 0x38]
add edi, dword [esi + 0x3c]
mov dword [ebp - 0xa4], ecx
cmp dword [eax + 0x10], 0
mov dword [ebp - 0xb8], edi
je 0x10041bec
test edx, edx
jne 0x10041bec
mov edx, dword [esi + 0x18]
mov eax, dword [edx + 0x190]
cmp ecx, eax
cmovle ecx, eax
mov eax, dword [edx + 0x198]
cmp edi, eax
mov dword [ebp - 0xa4], ecx
cmovle edi, eax
mov dword [ebp - 0xb8], edi
lea eax, [ebp - 0xb8]
mov ecx, esi
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.1003b510
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 0xb8]
lea edx, [eax + ecx*2]
mov eax, dword [ebp - 0xa4]
add eax, dword [esi + 4]
lea ecx, [esi + 0x33c]
push edx
push eax
push 0
push 0
push ecx
mov dword [esi + 0x64], eax
mov dword [esi + 0x68], edx
call dword [sym.imp.USER32.dll_SetRect]
cmp dword [esi + 0x34], 0
je 0x10041d0f
mov edi, dword [esi + 0x18]
cmp byte [edi + 0x144], 0
jne 0x10041d0f
mov eax, dword [esi + 0x78]
add eax, dword [esi + 0x70]
mov ecx, dword [ebp - 0xe8]
mov edi, dword [edi + 0x1bc]
sub edi, dword [esi + 0x38]
sub edi, dword [esi + 4]
sub edi, dword [ebp - 0xf8]
add edi, dword [esi + 0x64]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0xb8], eax
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0xb8]
sar eax, 1
sub edx, eax
mov dword [ebp - 0xb8], edx
lea eax, [edx + ecx]
push eax
mov eax, dword [ebp - 0xec]
add eax, edi
push eax
push edx
push edi
lea edi, [esi + 0x41c]
push edi
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [esi + 0x18]
mov edx, dword [ebp - 0xb8]
mov ecx, dword [eax + 0x1b8]
mov eax, dword [ebp - 0xf0]
add ecx, dword [esi + 0x424]
add eax, edx
push eax
mov eax, dword [ebp - 0xf4]
add eax, ecx
push eax
push edx
push ecx
lea eax, [esi + 0x42c]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x44]
call eax
test al, al
je 0x10041d0f
mov eax, dword [0x100b103c]
push 0
neg eax
push eax
push edi
mov edi, dword [sym.imp.USER32.dll_OffsetRect]
call edi
mov eax, dword [0x100b103c]
push 0
neg eax
push eax
lea eax, [esi + 0x42c]
push eax
call edi
lea eax, [esi + 0x33c]
push eax
lea edi, [esi + 0x32c]
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.1003b090
cmp dword [ebp - 0xd0], 0
je 0x10041db8
mov byte [esi + 0x3e1], 0
mov edx, 1
mov ecx, dword [esi + 0x34]
lea eax, [esi + ecx*4]
mov byte [ecx + eax + 0x3dd], 0
cmp dword [esi + 0x34], edx
jle 0x10041db8
lea ecx, [esi + 0x3e6]
mov al, byte [esi + 0x3e4]
mov edi, dword [ebp + edx*4 - 0x60]
mov byte [ecx + 3], al
mov eax, dword [ebp - 0xd0]
cmp edi, eax
jne 0x10041d92
dec eax
cmp dword [ebp + edx*4 - 0x64], eax
jne 0x10041d92
mov byte [ecx], 1
test edi, edi
jne 0x10041da9
cmp dword [ebp + edx*4 - 0x5c], 1
jne 0x10041da9
mov eax, dword [esi + 0x18]
mov al, byte [eax + 0x144]
mov byte [ecx + 1], al
inc edx
add ecx, 5
cmp edx, dword [esi + 0x34]
jl 0x10041d71
mov edi, dword [sym.imp.USER32.dll_InflateRect]
mov eax, dword [esi + 0x18]
mov eax, dword [eax + 0x1a0]
cdq
sub eax, edx
sar eax, 1
mov ecx, eax
sub eax, dword [esi + 4]
sub ecx, dword [esi + 8]
push ecx
push eax
lea eax, [esi + 0x33c]
push eax
call edi
mov eax, dword [esi + 0x18]
test byte [eax + 0x1a0], 1
jne 0x10041df2
push 0xffffffffffffffff
push 0xffffffffffffffff
add esi, 0x33c
push esi
call edi
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.1005a59c
mov esp, ebp
pop ebp
ret 8
call fcn.1006a2cf
call fcn.10007df0
int3