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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x582e3c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa0
push ebx
push ebp
push esi
mov ebp, ecx
xor esi, esi
push edi
mov eax, dword [ebp + 0x64]
mov ecx, dword [ebp + 0x60]
mov edx, dword [ebp + 0x5c]
push esi
push esi
push esi
push eax
push ecx
push edx
lea ecx, [esp + 0xb8]
mov dword [esp + 0x64], ebp
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], esi
mov dword [esp + 0xa0], esi
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa8], esi
call fcn.0053924c
mov eax, dword [ebp + 0x70]
mov ecx, dword [ebp + 0x6c]
mov edx, dword [ebp + 0x68]
push 0x3b
push 0x3b
push 0x17
push eax
push ecx
push edx
lea ecx, [esp + 0xa0]
call fcn.0053924c
lea eax, [esp + 0x94]
mov dword [esp + 0x14], esi
push eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
call fcn.00538f34
push esi
push esi
push esi
lea ecx, [esp + 0xa0]
call fcn.00538fdc
push eax
lea ecx, [esp + 0xa4]
call fcn.00538fb2
push eax
lea ecx, [esp + 0xa8]
call fcn.00538f88
push eax
lea ecx, [esp + 0xac]
call fcn.0053924c
mov eax, dword [0x5e8e38]
mov dword [esp + 0x20], eax
mov dword [esp + 0xb8], esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x70]
mov byte [esp + 0xb8], 2
call fcn.00557573
mov dword [esp + 0x2c], 0x58a35c
mov dword [esp + 0x30], esi
push 0x32
push esi
lea ecx, [esp + 0x78]
mov byte [esp + 0xc0], 4
mov dword [esp + 0x44], 0x32
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], esi
call fcn.00557606
mov ecx, dword [ebp + 0x74]
mov eax, dword [ecx + 0xc5c]
neg eax
sbb eax, eax
cmp eax, esi
mov dword [esp + 0x44], eax
je 0x4f7ae0
lea edx, [esp + 0x24]
lea eax, [esp + 0x20]
push edx
lea ecx, [esp + 0x48]
push eax
push ecx
mov ecx, dword [ebp + 0x74]
add ecx, 0xc50
call fcn.00558373
mov edx, dword [esp + 0x20]
cmp dword [edx - 8], 8
jne 0x4f7ada
push 4
lea eax, [esp + 0x54]
push esi
push eax
lea ecx, [esp + 0x2c]
call fcn.005548a2
mov eax, dword [eax]
push eax
call fcn.005414a3
add esp, 4
lea ecx, [esp + 0x50]
mov esi, eax
call fcn.0055962c
push 2
lea ecx, [esp + 0x4c]
push 4
push ecx
lea ecx, [esp + 0x2c]
call fcn.005548a2
mov eax, dword [eax]
push eax
call fcn.005414a3
add esp, 4
lea ecx, [esp + 0x48]
mov edi, eax
call fcn.0055962c
push 2
lea edx, [esp + 0x44]
push 6
push edx
lea ecx, [esp + 0x2c]
call fcn.005548a2
mov eax, dword [eax]
push eax
call fcn.005414a3
add esp, 4
lea ecx, [esp + 0x40]
mov ebp, eax
call fcn.0055962c
push 0
push 0
push 0
push ebp
push edi
push esi
lea ecx, [esp + 0x2c]
call fcn.0053924c
fld qword [esp + 0x14]
fcomp qword [esp + 0xa0]
fnstsw ax
test ah, 1
jne 0x4f7ad6
fld qword [esp + 0x14]
fcomp qword [esp + 0x88]
fnstsw ax
test ah, 0x41
je 0x4f7ad6
mov ecx, dword [esp + 0x34]
xor esi, esi
test ecx, ecx
jle 0x4f7a7d
mov edx, dword [esp + 0x30]
fld qword [edx]
fcomp qword [esp + 0x14]
fnstsw ax
test ah, 0x41
je 0x4f79e5
inc esi
add edx, 8
cmp esi, ecx
jl 0x4f79cb
jmp 0x4f7a7d
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
cmp esi, ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], edx
jl 0x4f7a0a
lea eax, [esi + 1]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x34]
call fcn.004496c0
jmp 0x4f7a49
mov edi, ecx
inc ecx
push 0xffffffffffffffff
push ecx
lea ecx, [esp + 0x34]
call fcn.004496c0
mov eax, dword [esp + 0x30]
mov ecx, esi
shl ecx, 0x1d
sub ecx, esi
lea edx, [eax + esi*8]
add ecx, edi
lea eax, [eax + esi*8 + 8]
shl ecx, 3
push ecx
push edx
push eax
call fcn.00541910
mov ecx, dword [esp + 0x3c]
add esp, 0xc
xor edx, edx
lea eax, [ecx + esi*8]
mov dword [eax], edx
mov dword [eax + 4], edx
xor ecx, ecx
lea eax, [esi*8]
fld qword [esp + 0x5c]
mov edx, dword [esp + 0x30]
add eax, 8
fstp qword [eax + edx - 8]
mov edx, ecx
dec ecx
test edx, edx
jne 0x4f7a52
lea eax, [esp + 0x24]
push 1
push eax
push esi
lea ecx, [esp + 0x7c]
call fcn.0055787d
mov ecx, dword [esp + 0x34]
cmp esi, ecx
jne 0x4f7ac2
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov esi, ecx
inc ecx
push 0xffffffffffffffff
push ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], eax
call fcn.004496c0
fld qword [esp + 0x64]
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x24]
push edx
fstp qword [ecx + esi*8]
mov eax, dword [esp + 0x7c]
lea ecx, [esp + 0x74]
push eax
call fcn.005577db
mov ecx, dword [esp + 0x34]
mov ebp, dword [esp + 0x4c]
mov eax, dword [esp + 0x44]
xor esi, esi
cmp eax, esi
jne 0x4f78d9
jmp 0x4f7ae4
mov ebp, dword [esp + 0x4c]
mov ecx, dword [esp + 0x34]
jmp 0x4f7ac6
mov ecx, dword [esp + 0x34]
mov ebx, 0x19
cmp ecx, ebx
jle 0x4f7aef
mov ebx, ecx
lea edi, [ebp + 0x480]
push ebx
push 2
mov ecx, edi
call fcn.004a2ed0
test ebx, ebx
jle 0x4f7be4
cmp esi, dword [esp + 0x34]
jl 0x4f7b4c
push 0
push 0
push 0xff0000
push 0xffffff
push 0x5d9564
push esi
push 0
mov ecx, edi
call fcn.004a33a0
push 0
push 0
push 0xff0000
push 0xffffff
push 0x5d9564
push esi
push 1
mov ecx, edi
call fcn.004a33a0
jmp 0x4f7bdb
mov ecx, dword [esp + 0x30]
fld qword [ecx + esi*8]
lea ecx, [esp + 0x14]
fstp qword [esp + 0x14]
call fcn.00538fdc
push eax
lea ecx, [esp + 0x18]
call fcn.00538fb2
push eax
lea ecx, [esp + 0x1c]
call fcn.00538f88
push eax
lea edx, [esp + 0x34]
push str._04d__02d__02d
push edx
call fcn.00554dd4
fld qword [esp + 0x28]
fcomp qword [esp + 0xa8]
add esp, 0x14
fnstsw ax
test ah, 1
jne 0x4f7ba0
mov ebp, 0xff0000
jmp 0x4f7ba2
xor ebp, ebp
mov eax, dword [esp + 0x28]
push 0
push 0
push ebp
push 0xffffff
push eax
push esi
push 0
mov ecx, edi
call fcn.004a33a0
mov ecx, dword [esp + 0x74]
push 0
push 0
push ebp
mov eax, dword [ecx + esi*4]
push 0xffffff
push eax
push esi
push 1
mov ecx, edi
call fcn.004a33a0
mov ebp, dword [esp + 0x4c]
inc esi
cmp esi, ebx
jl 0x4f7b07
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x34]
call fcn.004496c0
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x78]
call fcn.00557606
mov edx, dword [ebp + 0x74]
mov eax, dword [edx + 0xc78]
neg eax
sbb eax, eax
test eax, eax
mov dword [esp + 0x44], eax
je 0x4f7d9e
lea eax, [esp + 0x24]
lea ecx, [esp + 0x20]
push eax
push ecx
mov ecx, dword [ebp + 0x74]
lea edx, [esp + 0x4c]
push edx
add ecx, 0xc6c
call fcn.00558373
mov eax, dword [esp + 0x20]
cmp dword [eax - 8], 0x12
jne 0x4f7d8c
push ecx
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x70], esp
push edx
call fcn.005593a1
mov ecx, dword [ebp + 0x74]
call fcn.00446000
fst qword [esp + 0x14]
fcomp qword [esp + 0xa0]
fnstsw ax
test ah, 1
jne 0x4f7d8c
fld qword [esp + 0x14]
fcomp qword [esp + 0x88]
fnstsw ax
test ah, 0x41
je 0x4f7d8c
mov ecx, dword [esp + 0x34]
xor esi, esi
test ecx, ecx
jle 0x4f7d4b
mov edx, dword [esp + 0x30]
fld qword [edx]
fcomp qword [esp + 0x14]
fnstsw ax
test ah, 0x41
je 0x4f7cb3
inc esi
add edx, 8
cmp esi, ecx
jl 0x4f7c99
jmp 0x4f7d4b
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
cmp esi, ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], edx
jl 0x4f7cd8
lea eax, [esi + 1]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x34]
call fcn.004496c0
jmp 0x4f7d17
mov edi, ecx
inc ecx
push 0xffffffffffffffff
push ecx
lea ecx, [esp + 0x34]
call fcn.004496c0
mov eax, dword [esp + 0x30]
mov ecx, esi
shl ecx, 0x1d
sub ecx, esi
lea edx, [eax + esi*8]
add ecx, edi
lea eax, [eax + esi*8 + 8]
shl ecx, 3
push ecx
push edx
push eax
call fcn.00541910
mov ecx, dword [esp + 0x3c]
add esp, 0xc
xor edx, edx
lea eax, [ecx + esi*8]
mov dword [eax], edx
mov dword [eax + 4], edx
xor ecx, ecx
lea eax, [esi*8]
fld qword [esp + 0x5c]
mov edx, dword [esp + 0x30]
add eax, 8
fstp qword [eax + edx - 8]
mov edx, ecx
dec ecx
test edx, edx
jne 0x4f7d20
lea eax, [esp + 0x24]
push 1
push eax
push esi
lea ecx, [esp + 0x7c]
call fcn.0055787d
mov ecx, dword [esp + 0x34]
cmp esi, ecx
jne 0x4f7d90
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov esi, ecx
inc ecx
push 0xffffffffffffffff
push ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], eax
call fcn.004496c0
fld qword [esp + 0x64]
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x24]
push edx
fstp qword [ecx + esi*8]
mov eax, dword [esp + 0x7c]
lea ecx, [esp + 0x74]
push eax
call fcn.005577db
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x4f7c17
jmp 0x4f7da2
mov ecx, dword [esp + 0x34]
mov ebx, 0x19
cmp ecx, ebx
mov dword [esp + 0x48], ebx
jle 0x4f7db5
mov dword [esp + 0x48], ecx
mov ebx, ecx
lea edi, [ebp + 0x61c]
push ebx
push 5
mov ecx, edi
call fcn.004a2ed0
xor esi, esi
test ebx, ebx
jle 0x4f8098
mov bl, 7
cmp esi, dword [esp + 0x34]
jl 0x4f7e71
push 0
push 0
push 0xff0000
push 0xffffff
push 0x5d9564
push esi
push 0
mov ecx, edi
call fcn.004a33a0
push 0
push 0
push 0xff0000
push 0xffffff
push 0x5d9564
push esi
push 1
mov ecx, edi
call fcn.004a33a0
push 0
push 0
push 0xff0000
push 0xffffff
push 0x5d9564
push esi
push 2
mov ecx, edi
call fcn.004a33a0
push 0
push 0
push 0xff0000
push 0xffffff
push 0x5d9564
push esi
push 3
mov ecx, edi
call fcn.004a33a0
push 0
push 0
push 0xff0000
push 0xffffff
push 0x5d9564
push esi
push 4
mov ecx, edi
call fcn.004a33a0
jmp 0x4f808b
mov eax, dword [0x5e8e38]
mov dword [esp + 0x40], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
lea ecx, [esp + 0x50]
lea edx, [esp + 0x58]
push ecx
lea eax, [esp + 0x58]
push edx
lea ecx, [esp + 0xb4]
push eax
lea edx, [esp + 0x4c]
push ecx
lea eax, [esp + 0x74]
push edx
push eax
push esi
lea ecx, [esp + 0x8c]
mov byte [esp + 0xd4], bl
call fcn.0041e2e0
push ecx
mov ecx, esp
mov dword [esp + 0x78], esp
push eax
call fcn.005593a1
mov ecx, dword [ebp + 0x74]
call fcn.004459a0
mov eax, dword [esp + 0x50]
cmp eax, 1
jne 0x4f7edc
mov ebp, 0xff
jmp 0x4f7eed
xor ecx, ecx
cmp eax, 2
setne cl
dec ecx
and ecx, 0xff0000
mov ebp, ecx
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x14]
fld qword [edx + esi*8]
fstp qword [esp + 0x14]
call fcn.00538fdc
push eax
lea ecx, [esp + 0x18]
call fcn.00538fb2
push eax
lea ecx, [esp + 0x1c]
call fcn.00538f88
push eax
lea eax, [esp + 0x34]
push str._04d__02d__02d
push eax
call fcn.00554dd4
mov ecx, dword [esp + 0x3c]
add esp, 0x14
push 0
push 0
push ebp
push 0xffffff
push ecx
push esi
push 0
mov ecx, edi
call fcn.004a33a0
lea ecx, [esp + 0x14]
call fcn.0053905a
push eax
lea ecx, [esp + 0x18]
call fcn.00539030
push eax
lea ecx, [esp + 0x1c]
call fcn.00539006
push eax
lea edx, [esp + 0x34]
push str._02d:_02d:_02d
push edx
call fcn.00554dd4
mov eax, dword [esp + 0x3c]
add esp, 0x14
mov ecx, edi
push 0
push 0
push ebp
push 0xffffff
push eax
push esi
push 1
call fcn.004a33a0
mov eax, dword [esp + 0x50]
cmp eax, 1
jne 0x4f7fa4
push 0
push 0
push ebp
push 0xffffff
push 0x5da54c
jmp 0x4f7fbf
push 0
push 0
cmp eax, 2
push ebp
push 0xffffff
jne 0x4f7fba
push 0x5da544
jmp 0x4f7fbf
push 0x5da53c
push esi
push 2
mov ecx, edi
call fcn.004a33a0
mov ecx, dword [esp + 0x40]
push 0
push 0
push ebp
push 0xffffff
push ecx
push esi
push 3
mov ecx, edi
call fcn.004a33a0
lea edx, [esp + 0x54]
push 0x5d9564
lea eax, [esp + 0x70]
push edx
push eax
call fcn.005598c1
lea ecx, [esp + 0x58]
lea edx, [esp + 0x84]
push ecx
push eax
push edx
mov byte [esp + 0xc4], 8
call fcn.0055985b
mov eax, dword [eax]
push 0
push 0
push ebp
push 0xffffff
push eax
push esi
push 4
mov ecx, edi
mov byte [esp + 0xd4], 9
call fcn.004a33a0
lea ecx, [esp + 0x84]
mov byte [esp + 0xb8], 8
call fcn.0055962c
lea ecx, [esp + 0x6c]
mov byte [esp + 0xb8], bl
call fcn.0055962c
lea ecx, [esp + 0x58]
mov byte [esp + 0xb8], 6
call fcn.0055962c
lea ecx, [esp + 0x54]
mov byte [esp + 0xb8], 5
call fcn.0055962c
lea ecx, [esp + 0x40]
mov byte [esp + 0xb8], 4
call fcn.0055962c
mov ebp, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
inc esi
cmp esi, eax
jl 0x4f7dd1
mov eax, dword [ebp + 0x49c]
mov esi, dword [sym.imp.USER32.dll_InvalidateRect]
push 1
push 0
push eax
call esi
mov ecx, dword [ebp + 0x638]
push 1
push 0
push ecx
call esi
mov eax, dword [esp + 0x30]
mov dword [esp + 0x2c], 0x58a35c
test eax, eax
je 0x4f80d1
push eax
call fcn.00558a4c
add esp, 4
lea ecx, [esp + 0x70]
mov byte [esp + 0xb8], 2
call fcn.005575a6
lea ecx, [esp + 0x28]
mov byte [esp + 0xb8], 1
call fcn.0055962c
lea ecx, [esp + 0x24]
mov byte [esp + 0xb8], 0
call fcn.0055962c
lea ecx, [esp + 0x20]
mov dword [esp + 0xb8], 0xffffffff
call fcn.0055962c
mov ecx, dword [esp + 0xb0]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret