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

Disassembly:
push 0xffffffffffffffff
push 0x4d90b8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov eax, dword [0x51b260]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov esi, dword [esp + 0x78]
mov edi, ecx
mov eax, dword [edi + 0x1c4]
mov ecx, dword [edi + 0x48c]
mov ebp, dword [edi + 0x1c8]
mov dword [esp + 0x18], eax
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
sub ebp, eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x20], eax
cdq
sub eax, edx
xor ebx, ebx
inc ebp
sar eax, 1
cmp eax, dword [esp + 0x58]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x24], ebp
jg 0x46758c
mov eax, 0x55555556
imul ecx
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
add dword [esp + 0x18], ecx
mov edx, dword [esi]
mov eax, dword [edi + 0x16c]
mov edx, dword [edx + 0x28]
push eax
mov ecx, esi
call edx
mov ecx, dword [edi + 0x24]
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
push ecx
mov ecx, esi
call edx
push 1
mov ecx, esi
call fcn.0048feef
cmp dword [edi + 0xfcc], 1
jne 0x467649
cmp dword [esp + 0x20], ebx
jle 0x467649
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x1c], eax
cmp ebx, dword [esp + 0x70]
jbe 0x4675dd
call fcn.0049eacd
cmp dword [esp + 0x74], 0x10
mov eax, dword [esp + 0x60]
jae 0x4675ec
lea eax, [esp + 0x60]
mov cl, byte [eax + ebx]
lea ebp, [ebx + 1]
mov byte [esp + 0x14], cl
cmp ebp, dword [esp + 0x70]
jbe 0x467601
call fcn.0049eacd
cmp dword [esp + 0x74], 0x10
mov eax, dword [esp + 0x60]
jae 0x467610
lea eax, [esp + 0x60]
mov dl, byte [eax + ebp]
mov ebp, dword [esp + 0x1c]
push 2
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x1d], dl
mov edx, dword [esi]
mov edx, dword [edx + 0x5c]
inc eax
push eax
push ebp
mov ecx, esi
call edx
add ebp, dword [esp + 0x54]
add ebx, 2
cmp ebx, dword [esp + 0x20]
mov dword [esp + 0x1c], ebp
jl 0x4675d2
mov ebp, dword [esp + 0x24]
xor ebx, ebx
mov ecx, dword [edi + 0x20]
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
push ecx
mov ecx, esi
call edx
mov eax, dword [esp + 0x70]
cmp eax, ebx
mov dword [esp + 0x20], eax
jle 0x4676ea
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x1c], ecx
jmp 0x467674
mov eax, dword [esp + 0x70]
cmp ebx, eax
jbe 0x467681
call fcn.0049eacd
mov eax, dword [esp + 0x70]
cmp dword [esp + 0x74], 0x10
mov ebp, dword [esp + 0x60]
jae 0x467690
lea ebp, [esp + 0x60]
mov dl, byte [ebx + ebp]
lea ebp, [ebx + 1]
mov byte [esp + 0x14], dl
cmp ebp, eax
jbe 0x4676a3
call fcn.0049eacd
cmp dword [esp + 0x74], 0x10
mov eax, dword [esp + 0x60]
jae 0x4676b2
lea eax, [esp + 0x60]
mov al, byte [eax + ebp]
mov ecx, dword [esp + 0x24]
mov edx, dword [esi]
mov ebp, dword [esp + 0x1c]
mov edx, dword [edx + 0x5c]
push 2
mov byte [esp + 0x19], al
lea eax, [esp + 0x18]
push eax
push ecx
push ebp
mov ecx, esi
call edx
add ebp, dword [esp + 0x54]
add ebx, 2
cmp ebx, dword [esp + 0x20]
mov dword [esp + 0x1c], ebp
jl 0x467670
mov ebp, dword [esp + 0x24]
xor ebx, ebx
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
call dword [sym.imp.user32.dll_SetRectEmpty]
mov ecx, dword [edi + 0x48c]
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + ebp]
push ecx
mov ecx, dword [esp + 0x1c]
add eax, ecx
push eax
push ebp
push ecx
lea edx, [esp + 0x38]
push edx
call dword [sym.imp.user32.dll_SetRect]
mov eax, dword [edi + 0x240]
mov edx, dword [edi + 0x23c]
add edx, dword [edi + 0x48c]
push eax
push edx
lea eax, [esp + 0x30]
lea ecx, [edi + 0x530]
push eax
push ecx
call fcn.00414900
cmp dword [esp + 0x74], 0x10
jb 0x467766
mov ecx, dword [esp + 0x60]
push ecx
call fcn.0048dd02
add esp, 4
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 0x28