Function at 0x408880
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]
push 0
push 0
push 0x1004
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, eax
sub esi, 2
mov dword [esp + 0x10], esi
js 0x408ca7
lea edi, [esi + esi*4]
lea edx, [esi + 1]
shl edi, 4
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], edi
nop
mov eax, dword [ebp + 0x1c]
push 2
push esi
push 0x102c
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x408c86
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 esi, esi
mov dword [esp + 0x78], 0
jl 0x408cd0
cmp esi, dword [ebp + 8]
jge 0x408cd0
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 eax, dword [ebp + 8]
mov ebx, dword [esp + 0x1c]
cmp ebx, eax
jg 0x408cd0
mov edx, dword [esp + 0x10]
mov esi, dword [ebp + 4]
sub eax, edx
dec eax
mov edi, eax
add esi, dword [esp + 0x14]
mov eax, dword [esi + 0x4c]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408a69
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 0x408a86
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 0x408aa3
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 0x408ac0
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 0x408add
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 0x408afa
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 0x408b17
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 0x408b33
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
test edi, edi
je 0x408b54
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x14]
add eax, ecx
lea edx, [edi + edi*4]
shl edx, 4
push edx
lea ecx, [eax + 0x50]
push ecx
push eax
call fcn.004329c0
add esp, 0xc
dec dword [ebp + 8]
push 1
lea edx, [esp + 0x24]
push edx
push ebx
mov ecx, ebp
call fcn.004073c0
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
push 2
push 0
push eax
mov ecx, esi
call fcn.00454f14
push 2
push 2
push ebx
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 0x408bac
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 0x408bca
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 0x408be8
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 0x408c06
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 0x408c24
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 0x408c42
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 0x408c60
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 0x408c7e
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 ecx, dword [esp + 0x1c]
dec esi
sub edi, 0x50
dec ecx
test esi, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], ecx
jge 0x4088e0
push 0
call dword [sym.imp.USER32.dll_LockWindowUpdate]
mov eax, dword [ebp + 0x1c]
push 1
push 0
push eax
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