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

Disassembly:
push 0xffffffffffffffff
push 0x517f06
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x13c
mov al, byte [esp + 0x1b]
push ebx
push ebp
push esi
push edi
mov ebx, ecx
xor edi, edi
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x10], al
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov cl, byte [esp + 0x2b]
mov dword [esp + 0x154], edi
mov byte [esp + 0x4c], cl
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dl, byte [esp + 0x2b]
xor eax, eax
mov byte [esp + 0x3c], dl
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edi
mov edx, dword [ebx + 0x13c]
mov byte [esp + 0x154], 2
inc edx
mov ecx, edx
mov dword [ebx + 0x13c], edx
mov dword [esp + 0xf4], ecx
mov ecx, dword [esp + 0x16c]
cmp ecx, edi
je 0x4e6716
mov edx, dword [esp + 0x164]
push ecx
mov ecx, esp
mov dword [esp + 0x100], esp
push edx
call fcn.00508411
lea eax, [esp + 0x7c]
mov ecx, ebx
push eax
call fcn.004ec340
mov ebp, dword [eax]
mov eax, dword [eax + 4]
lea edx, [esp + 0x84]
mov dword [esp + 0x64], eax
mov ecx, 1
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x18]
push edx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], ecx
push ecx
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x98], ebp
call fcn.004b3b00
mov eax, dword [ebx + 0x260]
lea esi, [ebx + 0x258]
lea ecx, [esp + 0x10]
push ecx
push 1
push eax
mov ecx, esi
call fcn.004f2380
cmp ebp, edi
je 0x4e6ad3
cmp dword [esp + 0x64], edi
je 0x4e6ad3
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
push edx
push eax
push eax
call fcn.004b41d0
add esp, 0xc
mov edi, eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push eax
push edi
call fcn.004b3e40
xor eax, eax
xor ecx, ecx
test ebp, ebp
mov dword [esp + 0x18], edi
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
jle 0x4e66a4
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x84]
push ecx
push 1
push edx
lea ecx, [esp + 0x1c]
call fcn.004b3b00
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x20]
push eax
push 1
push ecx
lea ecx, [esp + 0x48]
mov dword [esp + 0x2c], 0
call fcn.004c5620
dec ebp
jne 0x4e666c
mov edi, dword [esp + 0x64]
xor ebx, ebx
cmp edi, ebx
jle 0x4e66dc
mov eax, dword [esi + 8]
lea edx, [esp + 0x10]
push edx
push 1
push eax
mov ecx, esi
call fcn.004f2380
mov ecx, dword [esp + 0x54]
lea eax, [esp + 0x20]
push eax
push 1
push ecx
lea ecx, [esp + 0x58]
mov dword [esp + 0x2c], ebx
call fcn.004c5620
dec edi
jne 0x4e66ae
mov ebx, dword [esp + 0x5c]
lea edx, [esp + 0x3c]
push edx
push 1
mov eax, dword [ebx + 0x270]
lea esi, [ebx + 0x268]
push eax
mov ecx, esi
call fcn.004f2610
mov eax, dword [esi + 8]
lea ecx, [esp + 0x4c]
push ecx
push 1
push eax
mov ecx, esi
call fcn.004f2610
mov ebp, dword [esp + 0x60]
jmp 0x4e6ad3
mov esi, dword [ebx + 0x138]
mov ecx, dword [ebx + 0x25c]
shl esi, 4
add esi, ecx
lea edx, [esp + 0x10]
cmp edx, esi
je 0x4e684c
mov edi, dword [esi + 4]
test edi, edi
je 0x4e6752
mov ecx, dword [esi + 8]
mov eax, 0x2aaaaaab
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
jne 0x4e678a
mov eax, dword [esi + 8]
push 0
push eax
push edi
call fcn.004b41d0
mov ecx, dword [esp + 0x24]
add esp, 0xc
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.004b3e40
mov ecx, esi
call fcn.004b3ad0
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x14]
lea ecx, [eax + edx*8]
mov dword [esp + 0x18], ecx
jmp 0x4e6848
mov ecx, esi
call fcn.004b3ad0
lea ecx, [esp + 0x10]
mov edi, eax
call fcn.004f0f40
cmp edi, eax
ja 0x4e67ee
mov edi, dword [esi + 4]
lea ecx, [esp + 0x10]
call fcn.004b3ad0
mov ecx, dword [esp + 0x14]
lea edx, [eax + eax*2]
mov eax, dword [esi + 4]
push ecx
lea edi, [edi + edx*8]
push edi
push eax
call fcn.004b41d0
mov edx, dword [esp + 0x24]
mov eax, dword [esi + 8]
add esp, 0xc
lea ecx, [esp + 0x10]
push edx
push eax
push edi
call fcn.004f0f70
mov ecx, esi
call fcn.004b3ad0
mov ecx, dword [esp + 0x14]
lea eax, [eax + eax*2]
lea edx, [ecx + eax*8]
mov dword [esp + 0x18], edx
jmp 0x4e6848
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.004b3e40
mov edx, dword [esp + 0x14]
push edx
call fcn.00508c5b
add esp, 4
mov ecx, esi
call fcn.004b3ad0
test eax, eax
jge 0x4e681b
xor eax, eax
lea eax, [eax + eax*2]
shl eax, 3
push eax
call fcn.00508c32
add esp, 4
mov dword [esp + 0x14], eax
mov ecx, dword [esi + 8]
mov esi, dword [esi + 4]
push eax
push ecx
push esi
lea ecx, [esp + 0x1c]
call fcn.004f0f70
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x14]
mov ecx, 6
lea edi, [esp + 0x84]
lea edx, [esp + 0x3c]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0xf4]
mov esi, dword [ebx + 0x26c]
mov ebp, dword [esp + 0x8c]
mov ecx, dword [esp + 0x90]
shl edi, 5
add esi, edi
mov dword [esp + 0x60], ebp
cmp edx, esi
mov dword [esp + 0x64], ecx
je 0x4e69ad
mov edx, dword [esi + 4]
test edx, edx
jne 0x4e689d
xor ecx, ecx
jmp 0x4e68a5
mov ecx, dword [esi + 8]
sub ecx, edx
sar ecx, 2
cmp dword [esp + 0x40], 0
jne 0x4e68b0
xor eax, eax
jmp 0x4e68b7
sub eax, dword [esp + 0x40]
sar eax, 2
cmp ecx, eax
ja 0x4e68f3
mov ecx, dword [esp + 0x40]
mov eax, dword [esi + 8]
push ecx
push eax
push edx
call fcn.004f2e60
mov edx, dword [esp + 0x50]
add esp, 0xc
lea ecx, [esp + 0x3c]
push edx
push eax
call fcn.004b3e40
mov ecx, esi
call fcn.004f0fd0
mov ecx, dword [esp + 0x40]
lea edx, [ecx + eax*4]
mov dword [esp + 0x44], edx
jmp 0x4e69ad
mov ecx, esi
call fcn.004f0fd0
lea ecx, [esp + 0x3c]
mov ebp, eax
call fcn.004f0fb0
cmp ebp, eax
ja 0x4e6952
mov ebp, dword [esi + 4]
lea ecx, [esp + 0x3c]
call fcn.004f0fd0
mov ecx, dword [esp + 0x40]
lea ebp, [ebp + eax*4]
mov eax, dword [esi + 4]
push ecx
push ebp
push eax
call fcn.004f2e60
mov edx, dword [esp + 0x50]
mov eax, dword [esi + 8]
add esp, 0xc
lea ecx, [esp + 0x3c]
push edx
push eax
push ebp
call fcn.004c5830
mov ecx, esi
call fcn.004f0fd0
mov ecx, dword [esp + 0x40]
lea edx, [ecx + eax*4]
mov dword [esp + 0x44], edx
jmp 0x4e69a9
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
push eax
push ecx
lea ecx, [esp + 0x44]
call fcn.004b3e40
mov edx, dword [esp + 0x40]
push edx
call fcn.00508c5b
add esp, 4
mov ecx, esi
call fcn.004f0fd0
test eax, eax
jge 0x4e697f
xor eax, eax
shl eax, 2
push eax
call fcn.00508c32
add esp, 4
mov dword [esp + 0x40], eax
mov ecx, dword [esi + 8]
mov esi, dword [esi + 4]
push eax
push ecx
push esi
lea ecx, [esp + 0x48]
call fcn.004c5830
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov ebp, dword [esp + 0x60]
mov esi, dword [ebx + 0x26c]
lea ecx, [esp + 0x4c]
lea esi, [esi + edi + 0x10]
cmp ecx, esi
je 0x4e6ad3
mov eax, dword [esi + 4]
test eax, eax
jne 0x4e69ce
xor edi, edi
jmp 0x4e69d6
mov edi, dword [esi + 8]
sub edi, eax
sar edi, 2
lea ecx, [esp + 0x4c]
call fcn.004f0fd0
cmp edi, eax
ja 0x4e6a1e
mov edx, dword [esp + 0x50]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push edx
push eax
push ecx
call fcn.004f2e60
mov ecx, dword [esp + 0x60]
add esp, 0xc
push ecx
push eax
lea ecx, [esp + 0x54]
call fcn.004b3e40
mov ecx, esi
call fcn.004f0fd0
mov edx, dword [esp + 0x50]
lea eax, [edx + eax*4]
mov dword [esp + 0x54], eax
jmp 0x4e6ad3
mov ecx, esi
call fcn.004f0fd0
lea ecx, [esp + 0x4c]
mov edi, eax
call fcn.004f0fb0
cmp edi, eax
ja 0x4e6a7c
mov edi, dword [esi + 4]
lea ecx, [esp + 0x4c]
call fcn.004f0fd0
mov ecx, dword [esp + 0x50]
lea edi, [edi + eax*4]
mov eax, dword [esi + 4]
push ecx
push edi
push eax
call fcn.004f2e60
mov edx, dword [esp + 0x60]
mov eax, dword [esi + 8]
add esp, 0xc
lea ecx, [esp + 0x4c]
push edx
push eax
push edi
call fcn.004c5830
mov ecx, esi
call fcn.004f0fd0
mov ecx, dword [esp + 0x50]
lea edx, [ecx + eax*4]
mov dword [esp + 0x54], edx
jmp 0x4e6ad3
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
push eax
push ecx
lea ecx, [esp + 0x54]
call fcn.004b3e40
mov edx, dword [esp + 0x50]
push edx
call fcn.00508c5b
add esp, 4
mov ecx, esi
call fcn.004f0fd0
test eax, eax
jge 0x4e6aa9
xor eax, eax
shl eax, 2
push eax
call fcn.00508c32
add esp, 4
mov dword [esp + 0x50], eax
mov ecx, dword [esi + 8]
mov esi, dword [esi + 4]
push eax
push ecx
push esi
lea ecx, [esp + 0x58]
call fcn.004c5830
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov edx, dword [ebx + 0x138]
xor edi, edi
inc edx
cmp ebp, edi
mov eax, edx
mov dword [ebx + 0x138], edx
mov dword [esp + 0xd8], eax
je 0x4e88cf
mov ecx, dword [esp + 0x64]
cmp ecx, edi
je 0x4e88cf
lea esi, [ebx + 0x24]
add eax, ecx
push str.table
mov ecx, esi
mov dword [ebx + 0x138], eax
call fcn.005087d9
push edi
mov ecx, ebx
call fcn.004eb860
push esi
mov ecx, ebx
call fcn.004edce0
mov eax, dword [esi]
push esi
push eax
mov ecx, ebx
call fcn.004eb830
mov edi, dword [esp + 0x168]
push 0x59c084
mov edx, edi
mov eax, dword [edx]
mov dword [esp + 0xac], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0xb0], ecx
mov eax, dword [edx + 8]
mov dword [esp + 0xb4], eax
mov ecx, dword [edx + 0xc]
mov eax, dword [edx]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xe0], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0xe4], ecx
mov eax, dword [edx + 8]
mov dword [esp + 0xe8], eax
xor eax, eax
mov ecx, dword [edx + 0xc]
mov dword [esp + 0x28], eax
mov dword [esp + 0xec], ecx
lea ecx, [esp + 0xc8]
mov dword [esp + 0xa8], eax
call fcn.0050870a
push 0x59c084
lea ecx, [esp + 0x100]
mov byte [esp + 0x158], 3
call fcn.0050870a
push 0x59c084
lea ecx, [esp + 0xc4]
mov byte [esp + 0x158], 4
call fcn.0050870a
push 0x59c084
lea ecx, [esp + 0x110]
mov byte [esp + 0x158], 5
call fcn.0050870a
push 0x59c084
lea ecx, [esp + 0xc0]
mov byte [esp + 0x158], 6
call fcn.0050870a
mov ecx, dword [esp + 0x164]
lea edx, [esp + 0x24]
lea eax, [esp + 0xbc]
push edx
push eax
lea edx, [esp + 0x28]
push ecx
push edx
mov ecx, ebx
mov byte [esp + 0x164], 7
call fcn.004edda0
lea ecx, [esp + 0x20]
call fcn.0050869c
lea eax, [esp + 0xbc]
push esi
lea ecx, [esp + 0x7c]
push eax
push ecx
mov ecx, ebx
call fcn.004ee5d0
mov edx, dword [esp + 0x160]
mov ecx, ebx
push edx
call fcn.004ebb70
mov edx, dword [esp + 0x16c]
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x38], eax
test edx, edx
mov dword [esp + 0x30], ecx
jne 0x4e6e9c
test ebp, ebp
jle 0x4e6c91
mov edx, dword [esp + 0x40]
mov esi, dword [edx]
add edx, 4
add eax, esi
dec ebp
jne 0x4e6c83
mov dword [esp + 0x38], eax
mov esi, dword [esp + 0x64]
test esi, esi
jle 0x4e6cab
mov edx, dword [esp + 0x50]
mov ebp, dword [edx]
add edx, 4
add ecx, ebp
dec esi
jne 0x4e6c9d
mov dword [esp + 0x30], ecx
mov ebp, dword [esp + 0xa8]
push 0
push eax
mov eax, dword [esp + 0xb8]
sub eax, ebp
lea ecx, [esp + 0xc4]
push eax
push ecx
mov ecx, ebx
call fcn.004ef2c0
mov edx, dword [esp + 0xa8]
mov ecx, eax
mov eax, dword [edi + 8]
mov edi, dword [edi]
add ecx, edx
mov esi, eax
mov ebp, ecx
sub esi, edi
sub ebp, edx
mov dword [esp + 0xb0], ecx
cmp ebp, esi
jge 0x4e6d29
mov esi, dword [ebx + 0x68]
dec esi
je 0x4e6d0d
dec esi
jne 0x4e6d29
sub eax, edi
push 0
sub eax, ecx
add eax, edx
lea edx, [esp + 0xac]
push eax
push edx
jmp 0x4e6d23
sub eax, edi
push 0
sub eax, ecx
add eax, edx
cdq
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0xb0]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [ebx + 0x70]
mov edi, 6
cmp eax, edi
mov eax, dword [ebx + 0x74]
jne 0x4e6d44
mov edx, dword [esp + 0x30]
lea ecx, [eax + eax*2]
lea eax, [edx + ecx*2]
jmp 0x4e6d4b
mov ecx, dword [esp + 0x30]
lea eax, [ecx + eax*2]
mov edx, dword [esp + 0xac]
mov dword [esp + 0x30], eax
add edx, eax
mov eax, dword [ebx + 0x60]
test eax, eax
mov dword [esp + 0xb4], edx
jl 0x4e6d9f
mov esi, dword [esp + 0x160]
test esi, esi
jne 0x4e6d75
xor ecx, ecx
jmp 0x4e6d78
mov ecx, dword [esi + 4]
mov edx, dword [ebx + 0x58]
push 0
push 5
push edx
mov edx, dword [ebx + 0x54]
push edx
mov edx, dword [ebx + 0x48]
push edx
lea edx, [esp + 0xbc]
push edx
push eax
push ecx
lea ecx, [ebx + 0xb8]
call fcn.004f4d10
jmp 0x4e6e03
mov ecx, dword [ebx + 0x64]
lea eax, [ebx + 0x64]
mov edx, dword [ecx - 8]
test edx, edx
je 0x4e6dfc
push ecx
mov ecx, esp
mov dword [esp + 0x7c], esp
push eax
call fcn.00508411
lea ecx, [esp + 0xac]
mov byte [esp + 0x158], 7
call fcn.004e8e40
push eax
lea ecx, [esp + 0xb0]
call fcn.004e8e30
mov edx, dword [esp + 0xb4]
mov esi, dword [esp + 0x168]
push eax
mov eax, dword [esp + 0xb4]
push edx
push eax
push esi
mov ecx, ebx
call fcn.004ef490
jmp 0x4e6e03
mov esi, dword [esp + 0x160]
test esi, esi
je 0x4e6e0a
mov esi, dword [esi + 4]
mov ecx, dword [ebx + 0x74]
mov edx, dword [ebx + 0x70]
mov eax, dword [ebx + 0x50]
push ecx
mov ecx, dword [ebx + 0x4c]
push edx
push eax
lea edx, [esp + 0xb4]
push ecx
push edx
push esi
lea ecx, [ebx + 0xb8]
call fcn.004f5bf0
mov eax, dword [ebx + 0x70]
cmp eax, edi
mov eax, dword [ebx + 0x74]
jne 0x4e6e3b
lea eax, [eax + eax*2]
mov ecx, eax
lea edx, [esp + 0xa8]
neg ecx
neg eax
push ecx
push eax
push edx
call dword [sym.imp.USER32.dll_InflateRect]
mov ecx, dword [esp + 0xb0]
mov esi, dword [esp + 0xa8]
mov eax, dword [esp + 0x38]
sub ecx, esi
cmp eax, ecx
jge 0x4e6e9c
mov esi, dword [esp + 0x60]
sub ecx, eax
mov eax, ecx
cdq
idiv esi
mov edi, eax
mov eax, ecx
cdq
idiv esi
mov eax, dword [esp + 0x40]
mov ebp, dword [eax]
add ebp, edx
mov dword [eax], ebp
xor eax, eax
test esi, esi
jle 0x4e6e9c
mov ecx, dword [esp + 0x40]
mov ebp, dword [ecx + eax*4]
add ebp, edi
mov dword [ecx + eax*4], ebp
inc eax
cmp eax, esi
jl 0x4e6e8b
mov esi, dword [esp + 0x15c]
mov ecx, dword [esp + 0x40]
xor eax, eax
push ecx
mov dword [esi], eax
mov dword [esi + 4], edi
call fcn.00508c5b
mov edx, dword [esp + 0x54]
mov dword [esp + 0x44], edi
push edx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
call fcn.00508c5b
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi