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

Disassembly:
push 0xffffffffffffffff
push 0x46db58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push ebp
push esi
mov ebp, ecx
mov eax, dword [ebp + 0x1c]
push edi
push eax
mov dword [esp + 0x1c], ebp
call dword [sym.imp.USER32.dll_LockWindowUpdate]
mov ecx, dword [ebp + 0x1c]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x1004
mov esi, 1
push ecx
mov dword [esp + 0x20], esi
call ebx
cmp eax, esi
jle 0x408849
mov edi, 0x50
mov dword [esp + 0x14], edi
jmp 0x408470
mov edx, dword [ebp + 0x1c]
push 2
push esi
push 0x102c
push edx
call ebx
test eax, eax
je 0x40881c
call fcn.0045bebc
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
call fcn.0045bebc
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x24], eax
call fcn.0045bebc
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x58], eax
call fcn.0045bebc
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x5c], eax
call fcn.0045bebc
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x60], eax
call fcn.0045bebc
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x64], eax
call fcn.0045bebc
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x68], eax
call fcn.0045bebc
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x6c], eax
add ebp, 0x50
test edi, edi
mov dword [esp + 0x78], 0
jl 0x408872
cmp esi, dword [ebp + 8]
jge 0x408872
mov ebx, dword [ebp + 4]
add ebx, edi
push ebx
lea ecx, [esp + 0x24]
call fcn.004028b0
lea eax, [ebx + 4]
push eax
lea ecx, [esp + 0x28]
call fcn.004028b0
mov ecx, dword [ebx + 8]
mov dword [esp + 0x28], ecx
lea esi, [ebx + 0x10]
mov ecx, 0xa
lea edi, [esp + 0x30]
rep movsd dword es:[edi], dword [esi]
add ebx, 0x38
push ebx
lea ecx, [esp + 0x5c]
call fcn.004028b0
lea edx, [ebx + 4]
push edx
lea ecx, [esp + 0x60]
call fcn.004028b0
lea eax, [ebx + 8]
push eax
lea ecx, [esp + 0x64]
call fcn.004028b0
lea ecx, [ebx + 0xc]
push ecx
lea ecx, [esp + 0x68]
call fcn.004028b0
lea edx, [ebx + 0x10]
push edx
lea ecx, [esp + 0x6c]
call fcn.004028b0
add ebx, 0x14
push ebx
lea ecx, [esp + 0x70]
call fcn.004028b0
mov ebx, dword [esp + 0x10]
mov eax, dword [ebp + 8]
lea edi, [ebx - 1]
lea ecx, [edi + 2]
cmp ecx, eax
jg 0x408872
mov edx, dword [esp + 0x14]
mov esi, dword [ebp + 4]
sub eax, ebx
dec eax
add esi, edx
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x4c]
sub eax, 0x10
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4085fb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esi + 0x48]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408618
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esi + 0x44]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408635
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esi + 0x40]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408652
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esi + 0x3c]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40866f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esi + 0x38]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40868c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esi + 4]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4086a9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov esi, dword [esi]
sub esi, 0x10
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4086c5
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x4086ea
mov eax, dword [ebp + 4]
mov edx, dword [esp + 0x14]
lea ecx, [ecx + ecx*4]
add eax, edx
shl ecx, 4
push ecx
lea edx, [eax + 0x50]
push edx
push eax
call fcn.004329c0
add esp, 0xc
mov esi, dword [ebp + 8]
push 1
lea eax, [esp + 0x24]
push eax
dec esi
push edi
mov ecx, ebp
mov dword [ebp + 8], esi
call fcn.004073c0
mov esi, dword [esp + 0x18]
push 2
push 0
push ebx
mov ecx, esi
call fcn.00454f14
push 2
push 2
push edi
mov ecx, esi
call fcn.00454f14
mov eax, dword [esp + 0x6c]
add eax, 0xfffffff0
mov dword [esp + 0x78], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408742
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x68]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408760
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x64]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40877e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x60]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40879c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x5c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4087ba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4087d8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4087f6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408814
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov esi, dword [esp + 0x10]
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov eax, dword [ebp + 0x1c]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x1004
inc esi
add edi, 0x50
push eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], edi
call ebx
cmp esi, eax
jl 0x408470
push 0
call dword [sym.imp.USER32.dll_LockWindowUpdate]
mov ecx, dword [ebp + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [esp + 0x70]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x6c
ret
jmp fcn.00454675