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

Disassembly:
push 0xffffffffffffffff
push 0x4d1713
mov eax, dword fs:[0]
push eax
sub esp, 0x84
push ebx
push ebp
push esi
push edi
mov eax, dword [0x517b6c]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov esi, dword [esp + 0xb0]
mov ebp, dword [esp + 0xa8]
xor ebx, ebx
mov dword [esp + 0x24], vtable.CPOS.0
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0xa0], ebx
push 4
mov dword [esp + 0x1c], vtable.CSMARTPTR_class_CSPRITE_.0
call fcn.004acfc8
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebx
mov dword [eax], 1
mov byte [esp + 0xa0], 1
mov eax, dword [ebp + 0x54]
add eax, dword [esi + 8]
mov edx, dword [ebp + 0x58]
mov ecx, dword [ebp + 0x5c]
mov edi, dword [ebp + 0x50]
add edi, dword [esi + 4]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x50]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x30], edx
add edx, eax
mov eax, dword [ebp + 0x5c]
mov dword [esp + 0x34], ecx
mov ecx, dword [ebp + 0x54]
add eax, ecx
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0x34]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
push ecx
push edx
lea eax, [esp + 0x54]
push eax
mov dword [esp + 0x34], edi
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [0x51be98]
mov edx, dword [0x51be94]
push ecx
push edx
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x43fbbc
cmp byte [esp + 0xb4], bl
je 0x43fbbc
mov eax, dword [ebp + 0xa4]
lea ecx, [esp + 0x24]
push ecx
jmp 0x43fbc7
mov eax, dword [ebp + 0xb0]
lea edx, [esp + 0x24]
push edx
mov edi, dword [esp + 0xb0]
push edi
push eax
lea esi, [esp + 0x30]
call fcn.00418610
mov eax, dword [ebp + 0x84]
cdq
and edx, 7
add eax, edx
sar eax, 3
test eax, eax
mov dword [esp + 0x14], 0
jle 0x43fd5c
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x43fc50
cmp ebx, dword [ebp + 0xd4]
je 0x43fcf8
mov esi, dword [esp + 0x1c]
add dword [esi], 0xffffffff
jne 0x43fc3f
test ebx, ebx
je 0x43fc36
cmp dword [ebx - 4], ecx
lea eax, [ebx - 4]
je 0x43fc2d
mov eax, dword [ebx]
mov edx, dword [eax]
push 3
mov ecx, ebx
call edx
jmp 0x43fc36
push eax
call fcn.004ad279
add esp, 4
push esi
call fcn.004ad032
add esp, 4
mov eax, dword [ebp + 0xd0]
mov ebx, dword [ebp + 0xd4]
jmp 0x43fced
add eax, 0xffffffff
cmp ecx, eax
jne 0x43fca5
cmp ebx, dword [ebp + 0xec]
je 0x43fcf8
mov esi, dword [esp + 0x1c]
add dword [esi], 0xffffffff
jne 0x43fc97
test ebx, ebx
je 0x43fc8e
cmp dword [ebx - 4], 0
lea eax, [ebx - 4]
je 0x43fc85
mov eax, dword [ebx]
mov edx, dword [eax]
push 3
mov ecx, ebx
call edx
jmp 0x43fc8e
push eax
call fcn.004ad279
add esp, 4
push esi
call fcn.004ad032
add esp, 4
mov eax, dword [ebp + 0xe8]
mov ebx, dword [ebp + 0xec]
jmp 0x43fced
cmp ebx, dword [ebp + 0xe0]
je 0x43fcf8
mov esi, dword [esp + 0x1c]
add dword [esi], 0xffffffff
jne 0x43fce1
test ebx, ebx
je 0x43fcd8
cmp dword [ebx - 4], 0
lea eax, [ebx - 4]
je 0x43fccf
mov eax, dword [ebx]
mov edx, dword [eax]
push 3
mov ecx, ebx
call edx
jmp 0x43fcd8
push eax
call fcn.004ad279
add esp, 4
push esi
call fcn.004ad032
add esp, 4
mov eax, dword [ebp + 0xdc]
mov ebx, dword [ebp + 0xe0]
add dword [eax], 1
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebx
mov eax, dword [ebp + 0x7c]
mov edx, dword [esp + 0x14]
mov ecx, dword [ebp + 0x80]
lea eax, [eax + edx*8]
mov edx, dword [esp + 0xb0]
add eax, dword [edx + 8]
mov edx, dword [edx + 4]
add edx, dword [ebp + 0x78]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x24]
push eax
push edi
push ebx
mov esi, eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], 8
call fcn.00418610
mov eax, dword [ebp + 0x84]
mov ecx, dword [esp + 0x14]
cdq
and edx, 7
add eax, edx
add ecx, 1
sar eax, 3
cmp ecx, eax
mov dword [esp + 0x14], ecx
jl 0x43fbf8
mov eax, dword [ebp + 0x68]
mov esi, dword [esp + 0xb0]
add eax, dword [esi + 8]
mov edx, dword [ebp + 0x6c]
mov ecx, dword [ebp + 0x70]
mov edi, dword [ebp + 0x64]
add edi, dword [esi + 4]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x64]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x30], edx
add edx, eax
mov eax, dword [ebp + 0x70]
mov dword [esp + 0x34], ecx
mov ecx, dword [ebp + 0x68]
add eax, ecx
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0x34]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
push ecx
push edx
lea eax, [esp + 0x54]
push eax
mov dword [esp + 0x34], edi
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [0x51be98]
mov edx, dword [0x51be94]
push ecx
push edx
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x43fdec
cmp byte [esp + 0xb4], 0
je 0x43fdec
mov eax, dword [ebp + 0xbc]
lea ecx, [esp + 0x24]
push ecx
jmp 0x43fdf7
mov eax, dword [ebp + 0xc8]
lea edx, [esp + 0x24]
push edx
mov edi, dword [esp + 0xb0]
push edi
push eax
lea esi, [esp + 0x30]
call fcn.00418610
cmp byte [ebp + 0x138], 0
je 0x4403a4
mov eax, vtable.CPOS.0
mov dword [esp + 0x5c], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x38], eax
mov esi, dword [esp + 0xb0]
mov byte [esp + 0xa0], 5
mov eax, dword [esi + 8]
add eax, dword [ebp + 0x90]
mov edx, dword [ebp + 0x94]
mov ecx, dword [ebp + 0x98]
mov edi, dword [ebp + 0x8c]
add edi, dword [esi + 4]
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0x8c]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x44], edx
add edx, eax
mov eax, dword [ebp + 0x98]
mov dword [esp + 0x48], ecx
mov ecx, dword [ebp + 0x90]
add eax, ecx
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0x34]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
push ecx
push edx
lea eax, [esp + 0x54]
push eax
mov dword [esp + 0x48], edi
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [0x51be98]
mov edx, dword [0x51be94]
push ecx
push edx
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x440141
cmp byte [ebp + 0x150], al
je 0x43fedd
cmp byte [esp + 0xb4], al
jne 0x440141
mov eax, dword [ebp + 0x11c]
mov ecx, dword [eax + 0x1c]
mov edx, dword [eax + 0x20]
mov dword [esp + 0x60], ecx
mov ecx, dword [eax + 0x24]
mov dword [esp + 0x64], edx
mov edx, dword [eax + 0x28]
mov eax, dword [ebp + 0x128]
mov dword [esp + 0x68], ecx
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x6c], edx
mov edx, dword [eax + 0x20]
mov dword [esp + 0x88], ecx
mov ecx, dword [eax + 0x24]
mov dword [esp + 0x8c], edx
mov edx, dword [eax + 0x28]
mov eax, dword [ebp + 0x134]
mov dword [esp + 0x90], ecx
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x94], edx
mov edx, dword [eax + 0x20]
mov dword [esp + 0x74], ecx
mov ecx, dword [eax + 0x24]
mov dword [esp + 0x78], edx
mov edx, dword [eax + 0x28]
mov eax, dword [ebp + 0x98]
test eax, eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
mov dword [esp + 0x14], 0
jle 0x4403a4
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x43ffe3
cmp ebx, dword [ebp + 0x11c]
je 0x43ffc2
mov esi, dword [esp + 0x1c]
add dword [esi], 0xffffffff
jne 0x43ffab
test ebx, ebx
je 0x43ffa2
cmp dword [ebx - 4], ecx
lea eax, [ebx - 4]
je 0x43ff99
mov eax, dword [ebx]
mov edx, dword [eax]
push 3
mov ecx, ebx
call edx
jmp 0x43ffa2
push eax
call fcn.004ad279
add esp, 4
push esi
call fcn.004ad032
add esp, 4
mov eax, dword [ebp + 0x118]
mov ebx, dword [ebp + 0x11c]
add dword [eax], 1
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebx
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x48], edx
jmp 0x4400d8
mov edi, dword [esp + 0x80]
sub eax, edi
cmp ecx, eax
jl 0x44005d
cmp ebx, dword [ebp + 0x134]
je 0x440043
mov esi, dword [esp + 0x1c]
add dword [esi], 0xffffffff
jne 0x44002c
test ebx, ebx
je 0x440023
cmp dword [ebx - 4], 0
lea eax, [ebx - 4]
je 0x44001a
mov eax, dword [ebx]
mov edx, dword [eax]
push 3
mov ecx, ebx
call edx
jmp 0x440023
push eax
call fcn.004ad279
add esp, 4
push esi
call fcn.004ad032
add esp, 4
mov eax, dword [ebp + 0x130]
mov ebx, dword [ebp + 0x134]
add dword [eax], 1
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebx
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x48], edi
jmp 0x4400d8
cmp ebx, dword [ebp + 0x128]
je 0x4400b0
mov esi, dword [esp + 0x1c]
add dword [esi], 0xffffffff
jne 0x440099
test ebx, ebx
je 0x440090
cmp dword [ebx - 4], 0
lea eax, [ebx - 4]
je 0x440087
mov edx, dword [ebx]
mov eax, dword [edx]
push 3
mov ecx, ebx
call eax
jmp 0x440090
push eax
call fcn.004ad279
add esp, 4
push esi
call fcn.004ad032
add esp, 4
mov eax, dword [ebp + 0x124]
mov ebx, dword [ebp + 0x128]
add dword [eax], 1
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebx
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x8c]
mov eax, dword [esp + 0x94]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x40], edx
mov dword [esp + 0x48], eax
mov edx, dword [esp + 0xb0]
mov esi, dword [ebp + 0x8c]
add esi, dword [edx + 4]
mov eax, dword [edx + 8]
add eax, dword [ebp + 0x90]
mov edi, dword [esp + 0xac]
add eax, dword [esp + 0x14]
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x4c]
push edi
mov dword [esp + 0x30], esi
push ebx
mov esi, edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], ecx
call fcn.00418610
mov ecx, dword [esp + 0x14]
add ecx, dword [esp + 0x48]
mov eax, dword [ebp + 0x98]
cmp ecx, eax
mov dword [esp + 0x14], ecx
jl 0x43ff68
jmp 0x4403a4
mov eax, dword [ebp + 0xf8]
mov ecx, dword [eax + 0x1c]
mov edx, dword [eax + 0x20]
mov dword [esp + 0x60], ecx
mov ecx, dword [eax + 0x24]
mov dword [esp + 0x64], edx
mov edx, dword [eax + 0x28]
mov eax, dword [ebp + 0x104]
mov dword [esp + 0x68], ecx
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x6c], edx
mov edx, dword [eax + 0x20]
mov dword [esp + 0x88], ecx
mov ecx, dword [eax + 0x24]
mov dword [esp + 0x8c], edx
mov edx, dword [eax + 0x28]
mov eax, dword [ebp + 0x110]
mov dword [esp + 0x90], ecx
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x94], edx
mov edx, dword [eax + 0x20]
mov dword [esp + 0x74], ecx
mov ecx, dword [eax + 0x24]
mov dword [esp + 0x78], edx
mov edx, dword [eax + 0x28]
mov eax, dword [ebp + 0x98]
test eax, eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
mov dword [esp + 0x14], 0
jle 0x4403a4
lea esp, [esp]
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x44024b
cmp ebx, dword [ebp + 0xf8]
je 0x44022a
mov esi, dword [esp + 0x1c]
add dword [esi], 0xffffffff
jne 0x440213
test ebx, ebx
je 0x44020a
cmp dword [ebx - 4], ecx
lea eax, [ebx - 4]
je 0x440201
mov eax, dword [ebx]
mov edx, dword [eax]
push 3
mov ecx, ebx
call edx
jmp 0x44020a
push eax
call fcn.004ad279
add esp, 4
push esi
call fcn.004ad032
add esp, 4
mov eax, dword [ebp + 0xf4]
mov ebx, dword [ebp + 0xf8]
add dword [eax], 1
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebx
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x48], edx
jmp 0x440340
mov edi, dword [esp + 0x80]
sub eax, edi
cmp ecx, eax
jl 0x4402c5
cmp ebx, dword [ebp + 0x110]
je 0x4402ab
mov esi, dword [esp + 0x1c]
add dword [esi], 0xffffffff
jne 0x440294
test ebx, ebx
je 0x44028b
cmp dword [ebx - 4], 0
lea eax, [ebx - 4]
je 0x440282
mov eax, dword [ebx]
mov edx, dword [eax]
push 3
mov ecx, ebx
call edx
jmp 0x44028b
push eax
call fcn.004ad279
add esp, 4
push esi
call fcn.004ad032
add esp, 4
mov eax, dword [ebp + 0x10c]
mov ebx, dword [ebp + 0x110]
add dword [eax], 1
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebx
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x48], edi
jmp 0x440340
cmp ebx, dword [ebp + 0x104]
je 0x440318
mov esi, dword [esp + 0x1c]
add dword [esi], 0xffffffff
jne 0x440301
test ebx, ebx
je 0x4402f8
cmp dword [ebx - 4], 0
lea eax, [ebx - 4]
je 0x4402ef
mov edx, dword [ebx]
mov eax, dword [edx]
push 3
mov ecx, ebx
call eax
jmp 0x4402f8
push eax
call fcn.004ad279
add esp, 4
push esi
call fcn.004ad032
add esp, 4
mov eax, dword [ebp + 0x100]
mov ebx, dword [ebp + 0x104]
add dword [eax], 1
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebx
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x8c]
mov eax, dword [esp + 0x94]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x40], edx
mov dword [esp + 0x48], eax
mov edx, dword [esp + 0xb0]
mov esi, dword [ebp + 0x8c]
add esi, dword [edx + 4]
mov eax, dword [edx + 8]
add eax, dword [ebp + 0x90]
mov edi, dword [esp + 0xac]
add eax, dword [esp + 0x14]
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x4c]
push edi
mov dword [esp + 0x30], esi
push ebx
mov esi, edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], ecx
call fcn.00418610
mov ecx, dword [esp + 0x14]
add ecx, dword [esp + 0x48]
mov eax, dword [ebp + 0x98]
cmp ecx, eax
mov dword [esp + 0x14], ecx
jl 0x4401d0
mov byte [esp + 0xa0], 0
mov esi, dword [esp + 0x1c]
add dword [esi], 0xffffffff
jne 0x4403e0
test ebx, ebx
je 0x4403d7
cmp dword [ebx - 4], 0
lea eax, [ebx - 4]
je 0x4403ce
mov eax, dword [ebx]
mov edx, dword [eax]
push 3
mov ecx, ebx
call edx
jmp 0x4403d7
push eax
call fcn.004ad279
add esp, 4
push esi
call fcn.004ad032
add esp, 4
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret 0x10