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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4733c8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x48e900]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x20], esi
cmp dword [ebp + 8], 0x7e8
jne 0x41104b
mov eax, dword [esi + 0x20]
push 0x3e8
push eax
call dword [sym.imp.USER32.dll_KillTimer]
xor edi, edi
mov dword [esi + 0x178], 1
cmp dword [0x49345c], edi
je 0x410b97
mov eax, dword [esi + 0x98]
mov edx, dword [eax + 0x1a4]
mov ecx, 0x64
cmp edx, ecx
jge 0x410b39
mov ecx, edx
cmp dword [eax + 0x1a8], ecx
je 0x410b82
mov dword [eax + 0x1a8], ecx
mov ecx, dword [eax + 0x88]
cmp ecx, edi
je 0x410b82
mov edx, dword [eax + 0x5c]
mov dword [esp + 0x34], edx
mov edx, dword [eax + 0x60]
mov dword [esp + 0x38], edx
mov edx, dword [eax + 0x64]
mov eax, dword [eax + 0x68]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
mov ecx, dword [ecx + 0x6c]
cmp ecx, edi
je 0x410b82
push 1
lea edx, [esp + 0x38]
push edx
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
push 3
mov edi, esi
call fcn.004105c0
mov ebx, esi
call fcn.00410490
jmp 0x41104b
call fcn.0043a385
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x410bb1
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x80], edi
mov eax, dword [esi + 0x194]
cmp eax, edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x18], edi
jle 0x410f11
add esi, 0x54
xor ebx, ebx
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], 2
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x28], esi
mov dword [esp + 0x1c], ebx
jmp 0x410c14
mov ebx, dword [esp + 0x1c]
push 0x1a4
call fcn.004388ce
mov esi, eax
add esp, 4
cmp esi, edi
je 0x410c3a
call fcn.004366b0
mov dword [esi], vtable.CUIButton.0
mov dword [esi + 0x1a0], edi
jmp 0x410c3c
xor esi, esi
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x28]
mov eax, 0xd
mov dword [esi + 0xcc], eax
mov dword [esi + 0xd0], eax
mov eax, dword [esp + 0x38]
mov dword [esi + 0x6c], edx
mov edx, dword [esp + 0x40]
mov dword [esi + 0x70], eax
lea eax, [esp + 0x24]
mov dword [esi + 0x48], ecx
mov ecx, dword [esp + 0x3c]
push eax
mov dword [esi + 0x74], ecx
push 0xd0
mov dword [esi + 0x78], edx
call fcn.0040cca0
mov edi, dword [esp + 0x24]
call fcn.00436e20
mov dword [esi + 0x1a0], 1
test ebx, ebx
jl 0x411073
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
cmp ecx, dword [edi + 0x194]
jge 0x411073
mov eax, dword [edi + 0x190]
add eax, ebx
mov dword [esi + 0xb0], eax
cmp ecx, dword [edi + 0x194]
jge 0x411073
mov eax, dword [edi + 0x190]
mov ecx, dword [eax + ebx + 4]
add eax, ebx
cmp dword [ecx - 0xc], 0
jne 0x410d28
cmp dword [esi + 0x80], 0
je 0x410d28
mov eax, dword [esi + 0x88]
mov dword [esi + 0x80], 0
test eax, eax
je 0x410d28
mov edx, dword [esi + 0x5c]
mov ecx, dword [esi + 0x60]
mov dword [esp + 0x44], edx
mov edx, dword [esi + 0x64]
mov dword [esp + 0x48], ecx
mov ecx, dword [esi + 0x68]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], ecx
mov eax, dword [eax + 0x6c]
test eax, eax
je 0x410d28
push 1
lea edx, [esp + 0x48]
push edx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [edi + 0x11c]
mov ebx, esi
call fcn.00433ae0
mov ebx, 1
cmp dword [esi + 0x84], ebx
je 0x410d89
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x410d67
mov eax, dword [esi + 0x88]
test eax, eax
je 0x410d67
push ecx
push eax
call fcn.004356e0
test eax, eax
je 0x410d67
push 0
mov ecx, eax
call fcn.00437f00
mov ecx, dword [esi + 0x40]
or ecx, 4
mov eax, esi
call fcn.00436dd0
mov ecx, dword [esi + 0x48]
mov dword [esi + 0x84], ebx
test ecx, ecx
je 0x410d89
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
push esi
call edx
push 0x1a0
call fcn.004388ce
add esp, 4
test eax, eax
je 0x410da5
mov esi, eax
call fcn.004366b0
mov esi, eax
jmp 0x410da7
xor esi, esi
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x48], eax
mov dword [esi + 0xcc], 0x6a
mov dword [esi + 0xd0], 0x12
cmp ecx, dword [edi + 0x194]
jge 0x411073
mov eax, dword [edi + 0x190]
add eax, dword [esp + 0x1c]
lea ebx, [eax + 4]
call fcn.00436e80
or eax, 0xffffffff
cmp dword [esi + 0x8c], eax
je 0x410e30
mov dword [esi + 0x8c], eax
mov eax, dword [esi + 0x88]
test eax, eax
je 0x410e30
mov edx, dword [esi + 0x5c]
mov ecx, dword [esi + 0x60]
mov dword [esp + 0x54], edx
mov edx, dword [esi + 0x64]
mov dword [esp + 0x58], ecx
mov ecx, dword [esi + 0x68]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], ecx
mov eax, dword [eax + 0x6c]
test eax, eax
je 0x410e30
push 1
lea edx, [esp + 0x58]
push edx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esp + 0x18]
mov dword [esi + 4], 3
cmp eax, dword [edi + 0x194]
jge 0x411073
mov eax, dword [edi + 0x190]
add eax, dword [esp + 0x1c]
mov ecx, dword [eax + 4]
cmp dword [ecx - 0xc], 0
jne 0x410ea8
cmp dword [esi + 0x80], 0
je 0x410ea8
mov eax, dword [esi + 0x88]
mov dword [esi + 0x80], 0
test eax, eax
je 0x410ea8
mov edx, dword [esi + 0x5c]
mov ecx, dword [esi + 0x60]
mov dword [esp + 0x64], edx
mov edx, dword [esi + 0x64]
mov dword [esp + 0x68], ecx
mov ecx, dword [esi + 0x68]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], ecx
mov eax, dword [eax + 0x6c]
test eax, eax
je 0x410ea8
push 1
lea edx, [esp + 0x68]
push edx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [edi + 0x11c]
mov ebx, esi
call fcn.00433ae0
mov esi, dword [esp + 0x18]
cmp esi, dword [edi + 0x194]
jge 0x411073
mov eax, dword [edi + 0x190]
mov edi, dword [esp + 0x1c]
add eax, edi
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.00405330
push 1
push 0x47bb70
lea ecx, [esp + 0x1c]
call fcn.00405330
add edi, 0xc
inc esi
mov dword [esp + 0x1c], edi
xor edi, edi
cmp esi, dword [esp + 0x2c]
mov dword [esp + 0x18], esi
jl 0x410c10
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x20]
mov eax, dword [ebx - 0xc]
cmp eax, edi
je 0x410fa7
dec eax
push eax
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x1c]
call fcn.00404c10
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x84], 1
call fcn.00401f60
mov byte [esp + 0x80], 0
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410f66
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x14]
push ecx
lea eax, [ebx - 0x10]
mov dword [esp + 0x30], esp
mov edi, esp
push eax
call fcn.004022a0
add eax, 0x10
mov dword [edi], eax
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x47cc38
mov byte [esp + 0x8c], 2
call fcn.00401b80
push esi
mov byte [esp + 0x8c], 0
call fcn.00414bd0
xor edi, edi
call fcn.0040e520
mov esi, dword [esp + 0x20]
mov ecx, dword [esi + 0x20]
push 1
push edi
mov edi, dword [sym.imp.USER32.dll_InvalidateRect]
push ecx
call edi
mov eax, dword [esi + 0x98]
mov ecx, dword [eax + 0x1a4]
mov edx, 0x64
cmp ecx, edx
jge 0x410fd6
mov edx, ecx
cmp dword [eax + 0x1a8], edx
je 0x41101b
mov ecx, dword [eax + 0x88]
mov dword [eax + 0x1a8], edx
test ecx, ecx
je 0x41101b
mov edx, dword [eax + 0x5c]
mov dword [esp + 0x64], edx
mov edx, dword [eax + 0x60]
mov dword [esp + 0x68], edx
mov edx, dword [eax + 0x64]
mov eax, dword [eax + 0x68]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], eax
mov ecx, dword [ecx + 0x6c]
test ecx, ecx
je 0x41101b
push 1
lea edx, [esp + 0x68]
push edx
push ecx
call edi
push 3
mov edi, esi
call fcn.004105c0
add ebx, 0xfffffff0
mov dword [esp + 0x80], 0xffffffff
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41104b
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push ecx
push edx
push eax
mov ecx, esi
call fcn.0044027c
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
call fcn.0043a595
int3