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

Disassembly:
push 0xffffffffffffffff
push 0x4d1828
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x517b6c]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x18]
xor edi, edi
cmp eax, edi
je 0x436b43
mov edx, dword [eax + 8]
cmp edx, edi
jne 0x4368f1
xor ebp, ebp
jmp 0x436907
mov ecx, dword [eax + 0xc]
sub ecx, edx
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov ebp, edx
shr ebp, 0x1f
add ebp, edx
mov eax, vtable.CPOS.0
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov byte [esp + 0x78], 1
call fcn.00436cc0
mov eax, dword [esi + 0x8c]
mov ebx, dword [esi + 0x80]
imul ebx, eax
cmp eax, edi
mov dword [esi + 0xc], ebp
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], edi
jle 0x436b2b
lea edi, [ebx + ebx*8]
add edi, edi
add edi, edi
add edi, edi
mov dword [esp + 0x18], edi
jmp 0x436984
mov edi, dword [esp + 0x18]
cmp ebx, dword [esi + 0x84]
jge 0x436b2b
mov eax, dword [esi + 0x94]
test eax, eax
je 0x4369b7
mov ecx, dword [esi + 0x98]
sub ecx, eax
mov eax, 0x38e38e39
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x4369bc
call fcn.004ad47b
mov eax, dword [esi + 0x94]
mov edx, dword [eax + edi + 0x2c]
mov ecx, dword [eax + edi + 0x28]
mov ebx, dword [esi + 0x18]
add eax, edi
mov edi, dword [esi + 0x24]
mov dword [esp + 0x38], edx
mov edx, dword [edi + 8]
mov edi, dword [edi + 4]
add edx, dword [esp + 0x38]
mov dword [esp + 0x34], ecx
mov ecx, dword [eax + 0x30]
add edi, dword [esp + 0x34]
mov eax, dword [eax + 0x34]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x50], ecx
add ecx, edi
push ecx
push edx
push edi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x60], eax
add eax, edx
push ebp
push ebx
mov ecx, eax
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edx
call fcn.0040dfa0
mov ecx, dword [esp + 0x20]
xor eax, eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x6c], eax
mov eax, dword [esi + 4]
lea edx, [esp + 0x58]
push edx
mov dword [esp + 0x64], eax
mov eax, dword [esi + 0x18]
push ebp
push eax
mov dword [esp + 0x64], ebp
mov byte [esp + 0x70], 8
mov dword [esp + 0x74], ecx
call fcn.0040e2d0
push 4
mov dword [esp + 0x28], vtable.CSMARTPTR_class_CPHWND_.0
call fcn.004acfc8
mov edi, eax
add esp, 4
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], 0
mov dword [edi], 1
mov ebx, dword [esp + 0x1c]
mov byte [esp + 0x78], 2
mov eax, dword [esi + 0x94]
test eax, eax
je 0x436aad
mov ecx, dword [esi + 0x98]
sub ecx, eax
mov eax, 0x38e38e39
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x436ab2
call fcn.004ad47b
mov eax, dword [esi + 0x94]
add eax, dword [esp + 0x18]
cmp dword [eax + 0x40], 0
mov dword [esp + 0x1c], eax
je 0x436ae9
add dword [edi], 0xffffffff
jne 0x436ad8
push edi
call fcn.004ad032
mov eax, dword [esp + 0x20]
add esp, 4
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x40]
add dword [ecx], 1
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x18]
push ebp
push eax
lea ecx, [esp + 0x2c]
call fcn.0040e5b0
add dword [esp + 0x18], 0x48
add ebx, 1
lea ecx, [esp + 0x24]
add ebp, 1
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x78], 1
call fcn.0040eba0
mov eax, dword [esp + 0x20]
add eax, 1
cmp eax, dword [esi + 0x8c]
mov dword [esp + 0x20], eax
jl 0x436980
mov edi, esi
call fcn.00436b60
mov esi, dword [esi + 0xc4]
test esi, esi
je 0x436b43
mov bl, 7
call fcn.0043f6f0
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret