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

Disassembly:
push 0xffffffffffffffff
push 0x46e041
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x164
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor esi, esi
push esi
lea ecx, [esp + 0x7c]
mov dword [esp + 0x18], edi
call fcn.0041f640
lea ecx, [esp + 0x20]
mov dword [esp + 0x17c], esi
call fcn.0041a3b0
mov byte [esp + 0x17c], 1
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 + 0x28], 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
call fcn.0045bebc
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x70], eax
mov eax, dword [edi + 0x44c]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push esi
push esi
push 0x1004
push eax
mov byte [esp + 0x18c], 2
mov dword [esp + 0x2c], esi
call ebx
test eax, eax
jle 0x40df62
xor ebp, ebp
lea esp, [esp]
mov ecx, dword [edi + 0x44c]
push 2
push esi
push 0x102c
push ecx
call ebx
test eax, eax
je 0x40df46
test ebp, ebp
jl 0x40ea6a
cmp esi, dword [edi + 0x488]
jge 0x40ea6a
mov eax, dword [edi + 0x484]
add eax, ebp
mov eax, dword [eax + 8]
test eax, eax
je 0x40df46
cmp eax, 3
je 0x40df46
cmp eax, 5
je 0x40df46
inc dword [esp + 0x1c]
mov edx, dword [edi + 0x44c]
push 0
push 0
push 0x1004
push edx
inc esi
add ebp, 0x50
call ebx
cmp esi, eax
jl 0x40df00
xor esi, esi
mov eax, dword [edi + 0x44c]
push esi
push esi
push 0x1004
push eax
mov dword [esp + 0x84], esi
mov dword [esp + 0x20], esi
call ebx
test eax, eax
jle 0x40e91f
jmp 0x40df90
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x44c]
push 2
push ecx
push 0x102c
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x40e8f4
mov eax, dword [esp + 0x10]
test eax, eax
jl 0x40ea6a
mov edx, dword [esp + 0x14]
cmp eax, dword [edx + 0x488]
jge 0x40ea6a
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x484]
shl ecx, 4
add eax, ecx
mov eax, dword [eax + 8]
test eax, eax
mov dword [esp + 0x18], ecx
je 0x40e8f4
cmp eax, 3
je 0x40e8f4
cmp eax, 5
je 0x40e8f4
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x1c]
inc eax
mov ebx, edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x74], eax
mov dword [esp + 0x170], eax
cmp edx, dword [ebx + 0x488]
mov dword [esp + 0x16c], ecx
jge 0x40ea6a
mov esi, dword [esp + 0x18]
mov eax, dword [ebx + 0x484]
add eax, esi
mov eax, dword [eax + 4]
mov esi, dword [esp + 0xe8]
lea ecx, [eax - 0x10]
add esi, 0xfffffff0
cmp ecx, esi
je 0x40e099
mov edx, dword [esi + 0xc]
test edx, edx
lea edi, [esi + 0xc]
jl 0x40e088
mov edx, dword [ecx]
cmp edx, dword [esi]
jne 0x40e088
push ecx
call fcn.00402590
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x40e07c
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
add ebp, 0x10
mov dword [esp + 0xe8], ebp
jmp 0x40e099
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0xf0]
call fcn.00402740
mov eax, dword [esp + 0x10]
cmp eax, dword [ebx + 0x488]
jge 0x40ea6a
mov esi, dword [esp + 0x18]
mov edi, dword [ebx + 0x484]
mov ecx, dword [edi + esi + 0x38]
add edi, esi
mov esi, dword [esp + 0xf0]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x40e117
mov edx, dword [esi + 0xc]
test edx, edx
lea ebp, [esi + 0xc]
jl 0x40e106
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x40e106
push eax
call fcn.00402590
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebp], eax
dec eax
test eax, eax
jg 0x40e0fa
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
add ebx, 0x10
mov dword [esp + 0xf0], ebx
jmp 0x40e117
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0xf8]
call fcn.00402740
mov ecx, dword [edi + 0x3c]
mov esi, dword [esp + 0xf4]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x40e178
mov edx, dword [esi + 0xc]
test edx, edx
lea ebp, [esi + 0xc]
jl 0x40e167
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x40e167
push eax
call fcn.00402590
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebp], eax
dec eax
test eax, eax
jg 0x40e15b
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
add ebx, 0x10
mov dword [esp + 0xf4], ebx
jmp 0x40e178
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0xfc]
call fcn.00402740
mov ecx, dword [edi + 0x40]
mov esi, dword [esp + 0xf8]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x40e1d9
mov edx, dword [esi + 0xc]
test edx, edx
lea ebp, [esi + 0xc]
jl 0x40e1c8
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x40e1c8
push eax
call fcn.00402590
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebp], eax
dec eax
test eax, eax
jg 0x40e1bc
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
add ebx, 0x10
mov dword [esp + 0xf8], ebx
jmp 0x40e1d9
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x100]
call fcn.00402740
mov ecx, dword [edi + 0x44]
mov esi, dword [esp + 0xfc]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x40e23a
mov edx, dword [esi + 0xc]
test edx, edx
lea ebp, [esi + 0xc]
jl 0x40e229
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x40e229
push eax
call fcn.00402590
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebp], eax
dec eax
test eax, eax
jg 0x40e21d
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
add ebx, 0x10
mov dword [esp + 0xfc], ebx
jmp 0x40e23a
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x104]
call fcn.00402740
mov ecx, dword [edi + 0x48]
mov esi, dword [esp + 0x100]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x40e29b
mov edx, dword [esi + 0xc]
test edx, edx
lea ebp, [esi + 0xc]
jl 0x40e28a
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x40e28a
push eax
call fcn.00402590
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebp], eax
dec eax
test eax, eax
jg 0x40e27e
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
add ebx, 0x10
mov dword [esp + 0x100], ebx
jmp 0x40e29b
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x108]
call fcn.00402740
mov edi, dword [edi + 0x4c]
mov esi, dword [esp + 0x104]
lea eax, [edi - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x40e2fc
mov ecx, dword [esi + 0xc]
test ecx, ecx
lea ebp, [esi + 0xc]
jl 0x40e2eb
mov ecx, dword [eax]
cmp ecx, dword [esi]
jne 0x40e2eb
push eax
call fcn.00402590
add esp, 4
mov edi, eax
or edx, 0xffffffff
lock xadd dword [ebp], edx
dec edx
test edx, edx
jg 0x40e2df
mov ecx, dword [esi]
mov eax, dword [ecx]
push esi
call dword [eax + 4]
add edi, 0x10
mov dword [esp + 0x104], edi
jmp 0x40e2fc
mov eax, dword [edi - 0xc]
push eax
push edi
lea ecx, [esp + 0x10c]
call fcn.00402740
lea ecx, [esp + 0x78]
call fcn.004574aa
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
cmp ecx, dword [eax + 0x488]
jge 0x40ea6a
mov ebp, dword [eax + 0x484]
mov esi, dword [esp + 0x18]
mov ecx, dword [ebp + esi]
add ebp, esi
mov esi, dword [esp + 0x24]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x40e37d
mov edx, dword [esi + 0xc]
test edx, edx
lea edi, [esi + 0xc]
jl 0x40e36f
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x40e36f
push eax
call fcn.00402590
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x40e366
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
add ebx, 0x10
mov dword [esp + 0x24], ebx
jmp 0x40e37d
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x2c]
call fcn.00402740
mov ecx, dword [ebp + 4]
mov esi, dword [esp + 0x28]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x40e3d4
mov edx, dword [esi + 0xc]
test edx, edx
lea edi, [esi + 0xc]
jl 0x40e3c6
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x40e3c6
push eax
call fcn.00402590
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x40e3bd
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
add ebx, 0x10
mov dword [esp + 0x28], ebx
jmp 0x40e3d4
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x30]
call fcn.00402740
mov eax, dword [ebp + 8]
mov dword [esp + 0x2c], eax
lea esi, [ebp + 0x10]
mov ecx, 0xa
lea edi, [esp + 0x34]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0x38]
mov esi, dword [esp + 0x5c]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x40e440
mov edx, dword [esi + 0xc]
test edx, edx
lea edi, [esi + 0xc]
jl 0x40e432
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x40e432
push eax
call fcn.00402590
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x40e429
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
add ebx, 0x10
mov dword [esp + 0x5c], ebx
jmp 0x40e440
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x64]
call fcn.00402740
mov eax, dword [ebp + 0x3c]
mov esi, dword [esp + 0x60]
lea ecx, [eax - 0x10]
add esi, 0xfffffff0
cmp ecx, esi
je 0x40e497
mov edx, dword [esi + 0xc]
test edx, edx
lea edi, [esi + 0xc]
jl 0x40e489
mov edx, dword [ecx]
cmp edx, dword [esi]
jne 0x40e489
push ecx
call fcn.00402590
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x40e480
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
add ebx, 0x10
mov dword [esp + 0x60], ebx
jmp 0x40e497
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x68]
call fcn.00402740
mov eax, dword [ebp + 0x40]
mov esi, dword [esp + 0x64]
lea ecx, [eax - 0x10]
add esi, 0xfffffff0
cmp ecx, esi
je 0x40e4ee
mov edx, dword [esi + 0xc]
test edx, edx
lea edi, [esi + 0xc]
jl 0x40e4e0
mov edx, dword [ecx]
cmp edx, dword [esi]
jne 0x40e4e0
push ecx
call fcn.00402590
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x40e4d7
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
add ebx, 0x10
mov dword [esp + 0x64], ebx
jmp 0x40e4ee
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x6c]
call fcn.00402740
mov eax, dword [ebp + 0x44]
mov esi, dword [esp + 0x68]
lea ecx, [eax - 0x10]
add esi, 0xfffffff0
cmp ecx, esi
je 0x40e545
mov edx, dword [esi + 0xc]
test edx, edx
lea edi, [esi + 0xc]
jl 0x40e537
mov edx, dword [ecx]
cmp edx, dword [esi]
jne 0x40e537
push ecx
call fcn.00402590
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x40e52e
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
add ebx, 0x10
mov dword [esp + 0x68], ebx
jmp 0x40e545
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x70]
call fcn.00402740
mov eax, dword [ebp + 0x48]
mov esi, dword [esp + 0x6c]
lea ecx, [eax - 0x10]
add esi, 0xfffffff0
cmp ecx, esi
je 0x40e59c
mov edx, dword [esi + 0xc]
test edx, edx
lea ebx, [esi + 0xc]
jl 0x40e58e
mov edx, dword [ecx]
cmp edx, dword [esi]
jne 0x40e58e
push ecx
call fcn.00402590
mov edi, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x40e585
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
add edi, 0x10
mov dword [esp + 0x6c], edi
jmp 0x40e59c
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x74]
call fcn.00402740
mov eax, dword [ebp + 0x4c]
mov esi, dword [esp + 0x70]
lea ecx, [eax - 0x10]
add esi, 0xfffffff0
cmp ecx, esi
je 0x40e5f4
mov edx, dword [esi + 0xc]
test edx, edx
lea ebp, [esi + 0xc]
jl 0x40e5e6
mov edx, dword [ecx]
cmp edx, dword [esi]
jne 0x40e5e6
push ecx
call fcn.00402590
mov edi, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebp], eax
dec eax
test eax, eax
jg 0x40e5dd
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
add edi, 0x10
mov dword [esp + 0x70], edi
jmp 0x40e5f4
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x78]
call fcn.00402740
mov eax, dword [esp + 0xf0]
mov esi, dword [esp + 0x5c]
lea ecx, [eax - 0x10]
add esi, 0xfffffff0
cmp ecx, esi
je 0x40e650
mov edx, dword [esi + 0xc]
test edx, edx
lea ebp, [esi + 0xc]
jl 0x40e642
mov edx, dword [ecx]
cmp edx, dword [esi]
jne 0x40e642
push ecx
call fcn.00402590
mov edi, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebp], eax
dec eax
test eax, eax
jg 0x40e639
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
add edi, 0x10
mov dword [esp + 0x5c], edi
jmp 0x40e650
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x64]
call fcn.00402740
mov eax, dword [esp + 0xf4]
mov esi, dword [esp + 0x60]
lea ecx, [eax - 0x10]
add esi, 0xfffffff0
cmp ecx, esi
je 0x40e6ab
mov edx, dword [esi + 0xc]
test edx, edx
lea edi, [esi + 0xc]
jl 0x40e69d
mov edx, dword [ecx]
cmp edx, dword [esi]
jne 0x40e69d
push ecx
call fcn.00402590
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x40e694
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
add ebx, 0x10
mov dword [esp + 0x60], ebx
jmp 0x40e6ab
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x68]
call fcn.00402740
mov ecx, dword [esp + 0xf8]
mov esi, dword [esp + 0x64]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x40e706
mov edx, dword [esi + 0xc]
test edx, edx
lea edi, [esi + 0xc]
jl 0x40e6f8
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x40e6f8
push eax
call fcn.00402590
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x40e6ef
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
add ebx, 0x10
mov dword [esp + 0x64], ebx
jmp 0x40e706
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x6c]
call fcn.00402740
mov ecx, dword [esp + 0xfc]
mov esi, dword [esp + 0x68]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x40e761
mov edx, dword [esi + 0xc]
test edx, edx
lea edi, [esi + 0xc]
jl 0x40e753
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x40e753
push eax
call fcn.00402590
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x40e74a
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
add ebx, 0x10
mov dword [esp + 0x68], ebx
jmp 0x40e761
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x70]
call fcn.00402740
mov ecx, dword [esp + 0x100]
mov esi, dword [esp + 0x6c]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x40e7bc
mov edx, dword [esi + 0xc]
test edx, edx
lea edi, [esi + 0xc]
jl 0x40e7ae
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x40e7ae
push eax
call fcn.00402590
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x40e7a5
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
add ebx, 0x10
mov dword [esp + 0x6c], ebx
jmp 0x40e7bc
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x74]
call fcn.00402740
mov ecx, dword [esp + 0x104]
mov esi, dword [esp + 0x70]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x40e817
mov edx, dword [esi + 0xc]
test edx, edx
lea edi, [esi + 0xc]
jl 0x40e809
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x40e809
push eax
call fcn.00402590
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x40e800
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
add ebx, 0x10
mov dword [esp + 0x70], ebx
jmp 0x40e817
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x78]
call fcn.00402740
mov eax, dword [esp + 0xec]
cmp eax, 1
jne 0x40e8eb
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x24]
call fcn.0041a750
test eax, eax
je 0x40e8f4
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x24]
call fcn.0041a560
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
cmp edx, dword [eax + 0x488]
jge 0x40ea6a
mov ebp, dword [eax + 0x484]
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0x24]
add ebp, ebx
push eax
mov ecx, ebp
call fcn.004028b0
lea edx, [esp + 0x28]
lea ecx, [ebp + 4]
push edx
call fcn.004028b0
mov eax, dword [esp + 0x2c]
mov dword [ebp + 8], eax
lea edi, [ebp + 0x10]
mov ecx, 0xa
lea esi, [esp + 0x34]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x5c]
lea esi, [ebp + 0x38]
push ecx
mov ecx, esi
call fcn.004028b0
lea edx, [esp + 0x60]
lea ecx, [esi + 4]
push edx
call fcn.004028b0
lea eax, [esp + 0x64]
lea ecx, [esi + 8]
push eax
call fcn.004028b0
lea edx, [esp + 0x68]
lea ecx, [esi + 0xc]
push edx
call fcn.004028b0
lea eax, [esp + 0x6c]
lea ecx, [esi + 0x10]
push eax
call fcn.004028b0
lea edx, [esp + 0x70]
lea ecx, [esi + 0x14]
push edx
call fcn.004028b0
jmp 0x40e8f4
test eax, eax
je 0x40e8f4
cmp eax, 0xffffffff
je 0x40e91f
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
mov ecx, dword [eax + 0x44c]
push 0
push 0
push 0x1004
inc esi
push ecx
mov dword [esp + 0x20], esi
call dword [sym.imp.USER32.dll_SendMessageA]
cmp esi, eax
jl 0x40df90
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x44c]
push 1
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esp + 0x70]
add eax, 0xfffffff0
mov byte [esp + 0x17c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e95a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x6c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e978
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 0x40e996
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 0x40e9b4
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 0x40e9d2
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 0x40e9f0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ea0e
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 0x40ea2c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x20]
mov byte [esp + 0x17c], 0
call fcn.0041aa10
lea ecx, [esp + 0x78]
mov dword [esp + 0x17c], 0xffffffff
call fcn.0041f070
mov ecx, dword [esp + 0x174]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x170
ret
jmp fcn.00454675