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

Disassembly:
cmp dword [0x477a74], 0
mov dword [0x477a78], eax
mov eax, dword [esp + 4]
mov dword [0x477a70], eax
mov eax, dword [esp + 8]
mov dword [0x477a38], eax
mov eax, dword [esp + 0xc]
mov dword [0x477a60], eax
jne 0x411a33
call fcn.004131b9
test eax, eax
jne 0x411a38
call fcn.0041358a
test eax, eax
jne 0x411a38
call fcn.0041372c
test eax, eax
jne 0x411a38
call fcn.00413999
test eax, eax
jne 0x411a38
cmp dword [0x477a74], eax
jne 0x411a33
push edi
call fcn.00413168
mov edi, eax
call fcn.00413094
add edi, eax
call fcn.00412feb
add edi, eax
call fcn.00412f42
add edi, eax
call fcn.00412d94
add edi, eax
call fcn.00412cd0
add edi, eax
call fcn.00411de7
add edi, eax
call fcn.00411a97
add edi, eax
pop edi
jne 0x411a38
cmp dword [0x477a74], 0
jne 0x411a33
call fcn.00412a33
test eax, eax
jne 0x411a38
jmp 0x411f94
ret
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xa4
mov ecx, dword [0x477a38]
cmp ecx, 0xfffffffe
push ebx
push esi
push edi
je 0x411fdd
mov eax, dword [0x477a74]
test eax, eax
jne 0x411fc7
cmp byte [0x472ce9], al
jne 0x411fc7
cmp dword [0x477a70], 0xe
jge 0x411fdd
cmp ecx, 0xffffffff
je 0x412a1a
test ecx, ecx
je 0x412213
cmp ecx, 1
je 0x411fe4
xor eax, eax
jmp 0x412a28
test eax, eax
jne 0x412a25
push 0x476ce4
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [0x476cdc]
mov edi, dword [0x476ce0]
and dword [ebp + 0x54], 0
add esi, 5
mov dword [ebp + 0x74], esi
imul esi, esi, 0x1c
mov eax, esi
add eax, 3
and eax, 0xfffffffc
mov dword [ebp + 0x70], edi
call fcn.00461410
mov ebx, esp
push esi
push 0
push ebx
call sub.NSCRT.dll_memset
xor eax, eax
inc eax
mov dword [ebx + 4], eax
mov dword [ebx], eax
add esp, 0xc
lea eax, [ebx + 8]
call fcn.00406d5e
lea eax, [ebx + 0x24]
call fcn.00406da6
mov eax, dword [0x472cfc]
mov dword [ebx + 0x1c], eax
lea eax, [ebx + 0x40]
call fcn.00406e10
mov eax, dword [0x472d0c]
mov dword [ebx + 0x38], eax
lea eax, [ebx + 0x78]
call fcn.00406e3a
mov eax, dword [0x47b490]
push 5
mov dword [ebx + 0x70], eax
pop eax
cmp dword [ebp + 0x74], eax
mov dword [ebp + 0x6c], eax
jle 0x4120d8
lea eax, [ebx + 0x94]
mov dword [ebp + 0x20], eax
jmp 0x412087
mov edi, dword [ebp + 0x70]
test edi, edi
je 0x4120d8
push dword [edi]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4120a6
push dword [edi]
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
jne 0x4120a6
inc eax
jmp 0x4120a8
xor eax, eax
mov ecx, dword [ebp + 0x20]
mov dword [ecx - 8], eax
mov eax, dword [ebp + 0x70]
mov dword [ecx + 0x10], eax
lea esi, [eax + 8]
mov edi, ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
and dword [eax + 0x20], 0
mov eax, dword [eax + 0x1c]
inc dword [ebp + 0x6c]
mov dword [ebp + 0x70], eax
mov eax, dword [ebp + 0x6c]
add ecx, 0x1c
cmp eax, dword [ebp + 0x74]
mov dword [ebp + 0x20], ecx
jl 0x412084
mov ecx, dword [0x477a60]
and dword [ebp + 0x6c], 0
xor eax, eax
inc eax
shr ecx, 2
and ecx, eax
mov dword [0x477a74], eax
xor eax, eax
cmp byte [0x472cd7], al
setne al
xor ecx, eax
je 0x4121ef
mov eax, dword [ebp + 0x6c]
imul eax, eax, 0x1c
add eax, ebx
cmp dword [eax], 0
mov dword [ebp + 0x20], eax
je 0x41217b
cmp dword [eax + 4], 0
je 0x41217b
and dword [ebp + 0x70], 0
cmp dword [ebp + 0x74], 0
jle 0x41217b
lea eax, [ebx + 4]
mov dword [ebp + 0x58], eax
mov eax, dword [ebp + 0x6c]
cmp dword [ebp + 0x70], eax
je 0x41216c
mov eax, dword [ebp + 0x58]
cmp dword [eax], 0
jne 0x41216c
mov esi, eax
add esi, 4
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0x20]
add esi, 8
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00406e64
add esp, 0x20
test eax, eax
je 0x41216c
mov ecx, dword [ebp + 0x58]
xor eax, eax
inc eax
mov dword [ecx], eax
mov dword [ebp + 0x54], eax
inc dword [ebp + 0x70]
mov eax, dword [ebp + 0x70]
add dword [ebp + 0x58], 0x1c
cmp eax, dword [ebp + 0x74]
jl 0x412128
mov eax, dword [ebp + 0x6c]
xor edx, edx
cmp eax, edx
jne 0x41218c
cmp dword [ebp + 0x54], edx
je 0x412199
mov dword [ebp + 0x54], edx
inc eax
cdq
idiv dword [ebp + 0x74]
mov dword [ebp + 0x6c], edx
jmp 0x412102
cmp dword [ebx + 0x20], edx
je 0x4121a8
mov dword [0x477a74], 3
cmp dword [ebx + 0x3c], edx
je 0x4121b4
or dword [0x477a74], 4
cmp dword [ebx + 0x58], edx
je 0x4121c0
or dword [0x477a74], 8
cmp dword [ebx + 0x74], edx
je 0x4121cc
or dword [0x477a74], 0x10
push 5
pop ecx
cmp dword [ebp + 0x74], ecx
jle 0x4121ef
add ebx, 0xa4
mov eax, dword [ebx]
cmp eax, edx
je 0x4121ef
mov esi, dword [ebx - 0x14]
inc ecx
add ebx, 0x1c
cmp ecx, dword [ebp + 0x74]
mov dword [eax + 0x20], esi
jl 0x4121da
push 0x476ce4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x477a78]
mov dword [0x47e230], eax
mov eax, dword [0x477a70]
mov dword [0x47e22c], eax
jmp 0x412a25
test eax, eax
je 0x412a25
push dword [0x480950]
mov esi, dword [sym.imp.USER32.dll_GetParent]
call esi
push dword [0x480840]
neg eax
sbb eax, eax
neg eax
mov dword [ebp + 8], eax
call esi
push dword [0x481580]
neg eax
sbb eax, eax
neg eax
mov dword [ebp + 0xc], eax
call esi
neg eax
sbb eax, eax
neg eax
push 0x476ce4
mov dword [ebp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp + 0x44]
call fcn.00406da6
lea eax, [ebp + 0x24]
call fcn.00406e10
lea eax, [ebp + 0x34]
call fcn.00406e3a
lea eax, [ebp + 0x5c]
call fcn.00406d5e
mov ecx, dword [0x477a78]
sub ecx, dword [0x47e230]
mov esi, eax
mov eax, dword [0x477a70]
sub eax, dword [0x47e22c]
lea edi, [ebp - 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add dword [ebp + 0x60], eax
add dword [ebp + 0x68], eax
add dword [ebp + 0x5c], ecx
add dword [ebp + 0x64], ecx
mov eax, dword [0x477a60]
shr eax, 2
xor ecx, ecx
and eax, 1
cmp byte [0x472cd7], cl
setne cl
xor eax, ecx
je 0x4123b6
mov esi, dword [0x476ce0]
lea ebx, [ebp + 0x5c]
mov dword [ebp + 0x74], esi
call fcn.00407e3b
xor ebx, ebx
cmp dword [ebp + 8], ebx
jne 0x41230c
cmp dword [0x472cfc], ebx
je 0x41230c
test byte [0x477a74], 2
jne 0x41230c
sub esp, 0x10
lea esi, [ebp + 0x44]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp + 0x5c]
movsd dword es:[edi], dword [esi]
call fcn.00406eef
mov esi, dword [ebp + 0x74]
add esp, 0x10
cmp dword [ebp + 0xc], ebx
jne 0x41233c
cmp dword [0x472d0c], ebx
je 0x41233c
test byte [0x477a74], 4
jne 0x41233c
sub esp, 0x10
lea esi, [ebp + 0x24]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp + 0x5c]
movsd dword es:[edi], dword [esi]
call fcn.00406eef
mov esi, dword [ebp + 0x74]
add esp, 0x10
cmp dword [ebp + 0x20], ebx
jne 0x41236c
cmp dword [0x47b490], ebx
je 0x41236c
test byte [0x477a74], 0x10
jne 0x41236c
sub esp, 0x10
lea esi, [ebp + 0x34]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp + 0x5c]
movsd dword es:[edi], dword [esi]
call fcn.00406eef
mov esi, dword [ebp + 0x74]
add esp, 0x10
cmp esi, ebx
je 0x4123b6
jmp 0x412375
mov esi, dword [ebp + 0x74]
push dword [esi]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4123ac
push dword [esi]
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
jne 0x4123ac
cmp dword [esi + 0x20], ebx
jne 0x4123ac
add esi, 8
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp + 0x5c]
movsd dword es:[edi], dword [esi]
call fcn.00406eef
mov esi, dword [ebp + 0x74]
add esp, 0x10
mov esi, dword [esi + 0x1c]
cmp esi, ebx
mov dword [ebp + 0x74], esi
jne 0x412372
mov esi, dword [ebp + 0x5c]
mov edi, dword [ebp + 0x60]
mov edx, dword [0x477a74]
sub esi, dword [ebp - 8]
sub edi, dword [ebp - 4]
test dl, 2
mov ebx, dword [0x476ce0]
je 0x4123df
add dword [ebp + 0x44], esi
add dword [ebp + 0x4c], esi
add dword [ebp + 0x48], edi
add dword [ebp + 0x50], edi
test dl, 4
je 0x4123f0
add dword [ebp + 0x24], esi
add dword [ebp + 0x2c], esi
add dword [ebp + 0x28], edi
add dword [ebp + 0x30], edi
test dl, 8
je 0x412401
add dword [ebp + 0x10], esi
add dword [ebp + 0x18], esi
add dword [ebp + 0x14], edi
add dword [ebp + 0x1c], edi
test dl, 0x10
je 0x412412
add dword [ebp + 0x34], esi
add dword [ebp + 0x3c], esi
add dword [ebp + 0x38], edi
add dword [ebp + 0x40], edi
test ebx, ebx
je 0x412440
push dword [ebx]
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
jne 0x412433
cmp dword [ebx + 0x20], eax
je 0x412433
add dword [ebx + 8], esi
add dword [ebx + 0x10], esi
add dword [ebx + 0xc], edi
add dword [ebx + 0x14], edi
mov ebx, dword [ebx + 0x1c]
test ebx, ebx
jne 0x412416
mov edx, dword [0x477a74]
mov eax, dword [0x477a60]
shr eax, 2
xor ecx, ecx
and eax, 1
cmp byte [0x472cd7], cl
setne cl
xor eax, ecx
je 0x41291c
test byte [0x472cde], 1
je 0x4126ce
mov esi, dword [0x476ce0]
mov dword [ebp + 0x70], esi
xor ebx, ebx
xor edi, edi
inc edi
lea ecx, [ebx + 1]
mov eax, edi
shl eax, cl
mov dword [ebp + 0x74], ecx
mov ecx, edx
and ecx, eax
not eax
and eax, edx
xor edx, edx
cmp ebx, edx
mov dword [ebp + 0x58], eax
jne 0x4124ac
cmp dword [0x472cfc], edx
je 0x4124a5
cmp dword [ebp + 8], edx
jne 0x4124a5
mov eax, edi
jmp 0x4124a7
xor eax, eax
lea ebx, [ebp + 0x44]
jmp 0x412524
cmp ebx, edi
jne 0x4124c8
cmp dword [0x472d0c], edx
je 0x4124c1
cmp dword [ebp + 0xc], edx
jne 0x4124c1
mov eax, edi
jmp 0x4124c3
xor eax, eax
lea ebx, [ebp + 0x24]
jmp 0x412524
cmp ebx, 3
jne 0x4124e5
cmp dword [0x47b490], edx
je 0x4124de
cmp dword [ebp + 0x20], edx
jne 0x4124de
mov eax, edi
jmp 0x4124e0
xor eax, eax
lea ebx, [ebp + 0x34]
jmp 0x412524
cmp esi, edx
je 0x41261a
push dword [esi]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x412509
push dword [esi]
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
jne 0x412509
mov eax, edi
jmp 0x41250b
xor eax, eax
mov edx, dword [0x477a74]
mov ecx, dword [esi + 0x20]
mov dword [ebp + 0x58], edx
mov edx, dword [esi + 0x1c]
lea ebx, [esi + 8]
mov dword [ebp + 0x70], edx
mov esi, edx
xor edx, edx
cmp eax, edx
je 0x41260c
test ecx, ecx
je 0x41260c
mov eax, dword [0x476ce0]
mov esi, ebx
lea edi, [ebp - 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp + 0x54], eax
movsd dword es:[edi], dword [esi]
call fcn.00407e3b
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
sub eax, esi
add dword [ebp + 0x60], eax
add dword [ebp + 0x68], eax
sub ecx, edi
add dword [ebp + 0x5c], ecx
add dword [ebp + 0x64], ecx
test byte [ebp + 0x58], 2
je 0x412580
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
sub ecx, edi
add dword [ebp + 0x44], ecx
add dword [ebp + 0x4c], ecx
sub eax, esi
add dword [ebp + 0x48], eax
add dword [ebp + 0x50], eax
test byte [ebp + 0x58], 4
je 0x41259b
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
sub ecx, edi
add dword [ebp + 0x24], ecx
add dword [ebp + 0x2c], ecx
sub eax, esi
add dword [ebp + 0x28], eax
add dword [ebp + 0x30], eax
test byte [ebp + 0x58], 8
je 0x4125b6
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
sub ecx, edi
add dword [ebp + 0x10], ecx
add dword [ebp + 0x18], ecx
sub eax, esi
add dword [ebp + 0x14], eax
add dword [ebp + 0x1c], eax
test byte [ebp + 0x58], 0x10
je 0x4125d1
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
sub ecx, edi
add dword [ebp + 0x34], ecx
add dword [ebp + 0x3c], ecx
sub eax, esi
add dword [ebp + 0x38], eax
add dword [ebp + 0x40], eax
mov edi, dword [ebp + 0x54]
test edi, edi
je 0x412609
jmp 0x4125dd
mov edi, dword [ebp + 0x54]
lea eax, [edi + 8]
cmp eax, ebx
je 0x4125ff
cmp dword [edi + 0x20], 0
je 0x4125ff
mov edx, dword [ebx]
mov ecx, dword [ebx + 4]
sub edx, dword [ebp - 8]
sub ecx, esi
add dword [eax], edx
add dword [eax + 8], edx
add dword [eax + 4], ecx
add dword [eax + 0xc], ecx
mov edi, dword [edi + 0x1c]
test edi, edi
mov dword [ebp + 0x54], edi
jne 0x4125da
mov esi, dword [ebp + 0x70]
mov ebx, dword [ebp + 0x74]
mov edx, dword [0x477a74]
jmp 0x412476
lea esi, [ebp + 0x5c]
lea edi, [ebp - 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea ebx, [ebp + 0x5c]
movsd dword es:[edi], dword [esi]
call fcn.00407e3b
mov dl, byte [0x477a74]
test dl, 2
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
je 0x412653
mov eax, dword [ebp + 0x60]
mov ecx, dword [ebp + 0x5c]
sub ecx, esi
add dword [ebp + 0x44], ecx
add dword [ebp + 0x4c], ecx
sub eax, edi
add dword [ebp + 0x48], eax
add dword [ebp + 0x50], eax
test dl, 4
je 0x41266e
mov eax, dword [ebp + 0x60]
mov ecx, dword [ebp + 0x5c]
sub ecx, esi
add dword [ebp + 0x24], ecx
add dword [ebp + 0x2c], ecx
sub eax, edi
add dword [ebp + 0x28], eax
add dword [ebp + 0x30], eax
test dl, 8
je 0x412689
mov eax, dword [ebp + 0x60]
mov ecx, dword [ebp + 0x5c]
sub ecx, esi
add dword [ebp + 0x10], ecx
add dword [ebp + 0x18], ecx
sub eax, edi
add dword [ebp + 0x14], eax
add dword [ebp + 0x1c], eax
test dl, 0x10
je 0x4126a4
mov eax, dword [ebp + 0x60]
mov ecx, dword [ebp + 0x5c]
sub ecx, esi
add dword [ebp + 0x34], ecx
add dword [ebp + 0x3c], ecx
sub eax, edi
add dword [ebp + 0x38], eax
add dword [ebp + 0x40], eax
mov eax, dword [0x476ce0]
jmp 0x4126ca
cmp dword [eax + 0x20], 0
je 0x4126c7
mov ecx, dword [ebp + 0x60]
mov edx, dword [ebp + 0x5c]
sub edx, esi
add dword [eax + 8], edx
add dword [eax + 0x10], edx
sub ecx, edi
add dword [eax + 0xc], ecx
add dword [eax + 0x14], ecx
mov eax, dword [eax + 0x1c]
test eax, eax
jne 0x4126ab
mov ebx, dword [0x476ce0]
xor edi, edi
xor esi, esi
inc edi
mov edx, dword [0x477a74]
lea ecx, [esi + 1]
mov eax, edi
shl eax, cl
mov dword [ebp - 0xc], ecx
mov ecx, eax
not eax
and eax, edx
and ecx, edx
test esi, esi
mov dword [ebp + 0x74], eax
jne 0x412702
mov eax, dword [0x472cfc]
lea edx, [ebp + 0x44]
jmp 0x412757
cmp esi, edi
jne 0x412710
mov eax, dword [0x472d0c]
lea edx, [ebp + 0x24]
jmp 0x412757
cmp esi, 3
jne 0x41271f
mov eax, dword [0x47b490]
lea edx, [ebp + 0x34]
jmp 0x412757
test ebx, ebx
je 0x41291c
push dword [ebx]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x412743
push dword [ebx]
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
jne 0x412743
mov eax, edi
jmp 0x412745
xor eax, eax
mov edx, dword [0x477a74]
mov ecx, dword [ebx + 0x20]
mov dword [ebp + 0x74], edx
lea edx, [ebx + 8]
mov ebx, dword [ebx + 0x1c]
test ecx, ecx
mov dword [ebp + 0x6c], edx
jne 0x412914
test eax, eax
je 0x412914
mov esi, dword [0x476ce0]
mov dword [ebp + 0x54], esi
xor eax, eax
lea ecx, [eax + 1]
mov edx, edi
shl edx, cl
mov dword [ebp + 0x58], ecx
and edx, dword [ebp + 0x74]
test eax, eax
jne 0x412791
mov ecx, dword [0x472cfc]
lea eax, [ebp + 0x44]
jmp 0x4127f0
cmp eax, edi
jne 0x4127a0
mov ecx, dword [0x472d0c]
lea eax, [ebp + 0x24]
jmp 0x4127f0
cmp eax, 3
jne 0x4127b0
mov ecx, dword [0x47b490]
lea eax, [ebp + 0x34]
jmp 0x4127f0
test esi, esi
je 0x412914
push dword [esi]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4127d4
push dword [esi]
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
jne 0x4127d4
mov ecx, edi
jmp 0x4127d6
xor ecx, ecx
lea eax, [esi + 8]
cmp eax, dword [ebp + 0x6c]
je 0x4127e8
cmp dword [esi + 0x20], 0
je 0x4127e8
mov edx, edi
jmp 0x4127ea
xor edx, edx
mov esi, dword [esi + 0x1c]
mov dword [ebp + 0x54], esi
test ecx, ecx
je 0x412906
test edx, edx
je 0x412906
mov esi, eax
lea edi, [ebp - 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, eax
lea edi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [0x476ce0]
lea esi, [ebp + 0x5c]
lea edi, [ebp - 0x2c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0x6c]
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 8]
mov dword [ebp + 0x70], ecx
movsd dword es:[edi], dword [esi]
call fcn.00406eef
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x1c]
add dword [ebp + 0x60], eax
add dword [ebp + 0x5c], ecx
add dword [ebp + 0x64], ecx
add dword [ebp + 0x68], eax
mov esi, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x28]
add esp, 0x10
test byte [ebp + 0x74], 2
je 0x412876
mov eax, dword [ebp + 0x60]
mov ecx, dword [ebp + 0x5c]
sub ecx, esi
add dword [ebp + 0x44], ecx
add dword [ebp + 0x4c], ecx
sub eax, edi
add dword [ebp + 0x48], eax
add dword [ebp + 0x50], eax
test byte [ebp + 0x74], 4
je 0x412892
mov eax, dword [ebp + 0x60]
mov ecx, dword [ebp + 0x5c]
sub ecx, esi
add dword [ebp + 0x24], ecx
add dword [ebp + 0x2c], ecx
sub eax, edi
add dword [ebp + 0x28], eax
add dword [ebp + 0x30], eax
test byte [ebp + 0x74], 8
je 0x4128ae
mov eax, dword [ebp + 0x60]
mov ecx, dword [ebp + 0x5c]
sub ecx, esi
add dword [ebp + 0x10], ecx
add dword [ebp + 0x18], ecx
sub eax, edi
add dword [ebp + 0x14], eax
add dword [ebp + 0x1c], eax
test byte [ebp + 0x74], 0x10
je 0x4128ca
mov eax, dword [ebp + 0x60]
mov ecx, dword [ebp + 0x5c]
sub ecx, esi
add dword [ebp + 0x34], ecx
add dword [ebp + 0x3c], ecx
sub eax, edi
add dword [ebp + 0x38], eax
add dword [ebp + 0x40], eax
mov ecx, dword [ebp + 0x70]
test ecx, ecx
je 0x412906
jmp 0x4128d6
mov ecx, dword [ebp + 0x70]
lea eax, [ecx + 8]
cmp eax, dword [ebp + 0x6c]
je 0x4128fc
cmp dword [ecx + 0x20], 0
je 0x4128fc
mov ecx, dword [ebp + 0x60]
mov edx, dword [ebp + 0x5c]
sub ecx, edi
add dword [eax + 4], ecx
sub edx, esi
add dword [eax], edx
add dword [eax + 8], edx
add dword [eax + 0xc], ecx
mov ecx, dword [ebp + 0x70]
mov ecx, dword [ecx + 0x1c]
test ecx, ecx
mov dword [ebp + 0x70], ecx
jne 0x4128d3
mov eax, dword [ebp + 0x58]
mov esi, dword [ebp + 0x54]
xor edi, edi
inc edi
jmp 0x412775
mov esi, dword [ebp - 0xc]
jmp 0x4126d9
push 0xa
call dword [sym.imp.USER32.dll_BeginDeferWindowPos]
test byte [0x477a74], 2
mov esi, dword [sym.imp.USER32.dll_DeferWindowPos]
je 0x41295e
xor ebx, ebx
cmp dword [ebp + 8], ebx
jne 0x412960
mov edx, dword [ebp + 0x48]
mov ecx, dword [ebp + 0x44]
push 0x15
push ebx
push ebx
push edx
push ecx
push ebx
push dword [0x480950]
mov dword [0x472cf4], ecx
push eax
mov dword [0x472cf8], edx
call esi
jmp 0x412960
xor ebx, ebx
test byte [0x477a74], 4
je 0x412990
cmp dword [ebp + 0xc], ebx
jne 0x412990
mov edx, dword [ebp + 0x28]
mov ecx, dword [ebp + 0x24]
push 0x15
push ebx
push ebx
push edx
push ecx
push ebx
push dword [0x480840]
mov dword [0x472d04], ecx
push eax
mov dword [0x472d08], edx
call esi
test byte [0x477a74], 0x10
je 0x4129c0
cmp dword [ebp + 0x20], ebx
jne 0x4129c0
mov edx, dword [ebp + 0x38]
mov ecx, dword [ebp + 0x34]
push 0x15
push ebx
push ebx
push edx
push ecx
push ebx
push dword [0x481580]
mov dword [0x472d3c], ecx
push eax
mov dword [0x472d40], edx
call esi
mov edx, dword [ebp + 0x60]
mov ecx, dword [ebp + 0x5c]
push 0x15
push ebx
push ebx
push edx
push ecx
push ebx
push dword [0x47b6c8]
mov dword [0x472ce0], ecx
push eax
mov dword [0x472ce4], edx
call esi
mov edi, dword [0x476ce0]
jmp 0x412a02
cmp dword [edi + 0x20], ebx
je 0x4129ff
push 0x15
push ebx
push ebx
push dword [edi + 0xc]
push dword [edi + 8]
push ebx
push dword [edi]
push eax
call esi
mov edi, dword [edi + 0x1c]
cmp edi, ebx
jne 0x4129ea
push eax
call dword [sym.imp.USER32.dll_EndDeferWindowPos]
push 0x476ce4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x412a25
test eax, eax
je 0x412a25
and dword [0x477a74], 0
xor eax, eax
inc eax
lea esp, [ebp - 0x38]
pop edi
pop esi
pop ebx
add ebp, 0x78
leave
ret